| 1 |
- <block wx:if="{{XCXIsSelect=='是'}}"><view><form><view class="cu-form-group"><view class="title">联系人</view><input placeholder="请输入联系人" name="input" data-event-opts="{{[['input',[['__set_model',['$0','userName','$event',[]],['form']]]]]}}" value="{{form.userName}}" bindinput="__e"/></view><view class="cu-form-group"><view class="title">联系电话</view><input placeholder="请输入联系电话" name="input" maxlength="11" data-event-opts="{{[['input',[['__set_model',['$0','userPhone','$event',[]],['form']]]]]}}" value="{{form.userPhone}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['pickerShow',['$event']]]]]}}" class="cu-form-group" bindtap="__e"><view class="title">所在地区</view><input placeholder="请选择地区" name="input" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['$0','address','$event',[]],['form']]]]]}}" value="{{form.address}}" bindinput="__e"/><text class="cuIcon-locationfill text-orange"></text></view><view class="cu-form-group"><view class="title">详细地址</view><input placeholder="请输入详细地址" name="input" data-event-opts="{{[['input',[['__set_model',['$0','addressDetail','$event',[]],['form']]]]]}}" value="{{form.addressDetail}}" bindinput="__e"/></view><view class="cu-form-group"><view class="title">设为默认</view><switch class="{{[form.addressDefault?'checked':'']}}" checked="{{form.addressDefault?true:false}}" data-event-opts="{{[['change',[['SwitchA',['$event']]]]]}}" bindchange="__e"></switch></view></form><block wx:if="{{!id}}"><view class="btn"><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="address_push" bindtap="__e">保存</view></view></block><block wx:if="{{id}}"><view class="btn"><view data-event-opts="{{[['tap',[['updata',['$event']]]]]}}" class="address_push" bindtap="__e">修改</view></view></block></view></block><block wx:else><view><view style="font-size:28rpx;"><rich-text nodes="{{content}}"></rich-text></view></view></block>
|