纸通宝小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

38 lines
2.0 KiB

<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">完善店铺</view>
</cu-custom>
<view class="cu-form-group margin-top">
<view class="title">店铺名称:</view>
<input id="name" disabled="{{disabled}}" placeholder-style="color:#aaa" placeholder="请输入店铺名称" value="{{form.name}}" bindinput="bindinput"></input>
</view>
<view class="cu-form-group">
<view class="title">店主昵称:</view>
<input id="contacts" disabled="{{disabled}}" placeholder-style="color:#aaa" placeholder="请输入店主昵称" value="{{form.contacts}}" bindinput="bindinput"></input>
</view>
<view class="cu-form-group">
<view class="title">联系电话:</view>
<input id="contactPhoneNo" disabled="{{disabled}}" placeholder-style="color:#aaa" placeholder="请输入联系电话" value="{{form.contactPhoneNo}}" bindinput="bindinput"></input>
</view>
<view class="cu-form-group" data-index="1" style="border-top: 1px solid #f3f3f3" bindtap="showRegion">
<view class="flex text-sg">所在地区:
<view class="{{form.areaStr||'input-grey'}}">{{form.areaStr||'请选择所在地区'}}</view>
</view>
<text class="cuIcon-right text-gray" wx:if="{{!disabled}}"></text>
</view>
<view class="cu-form-group" style="border-top: 1rpx solid #f3f3f3">
<view class="title">详细地址:</view>
<input id="locDetails" disabled="{{disabled}}" placeholder-style="color:#aaa" placeholder="请输入店铺详细地址" value="{{form.locDetails}}" bindinput="bindinput"></input>
</view>
<view class="cu-bar bg-white margin-top">
<view class="action text-bold" style="color:#333333">{{!disabled?'上传或拍照店铺图片:':'店铺图片:'}}</view>
</view>
<wux-uploader count="5" fileList="{{imgList}}" bindcustomevent="onUploadChange"></wux-uploader>
<view style="padding:48rpx">
<wux-button block type="positive" disabled="{{requesting}}" bind:click="submitForm">提交</wux-button>
</view>
<wux-cascader id="wux-cascader" value="{{region}}" options="{{ options }}" bind:close="onRegionChange" />