初始化代码
This commit is contained in:
1
front/business/pages/store-manage.wxml
Normal file
1
front/business/pages/store-manage.wxml
Normal file
@@ -0,0 +1 @@
|
||||
<view class="mine-store-manage"><view class="fill-base pl-lg pb-sm flex-between b-1px-b"><view class="flex-y-center"><view class="iconfont icon-required c-warning _i"></view><view class="item-text">店铺头像</view></view><view class="flex-1 flex-between mr-lg"><upload vue-id="029c5559-1" imagelist="{{subForm.cover}}" imgtype="cover" text="添加封面" imgsize="{{1}}" imgclass="sm" data-event-opts="{{[['^upload',[['imgUpload']]]]}}" bind:upload="__e" bind:__l="__l"></upload><view></view></view></view><view class="fill-base pd-lg flex-between b-1px-b"><view class="flex-y-center"><view class="iconfont icon-required c-warning _i"></view><view class="item-text">店铺名称</view></view><input class="item-input flex-1" type="text" maxlength="20" placeholder-class="c-placeholder" placeholder="{{rule[1].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','title','$event',[]],['subForm']]]]]}}" value="{{subForm.title}}" bindinput="__e"/></view><view class="fill-base pd-lg flex-between b-1px-b"><view class="flex-y-center"><view class="iconfont icon-required c-warning _i"></view><view class="item-text">店铺地址</view></view><view class="item-input flex-1"><view data-event-opts="{{[['tap',[['toChooseLocation',['$event']]]]]}}" class="flex-y-center" catchtap="__e"><view class="{{['flex-1',[(!subForm.address)?'c-placeholder':''],[(subForm.address)?'c-title':'']]}}">{{''+(subForm.address||'点击右边图标设置')+''}}</view><view class="iconfont icon-dingwei ml-sm _i" style="{{'color:'+(primaryColor)+';'}}"></view></view></view></view><view class="fill-base pd-lg"><view class="flex-y-center"><view class="iconfont icon-required c-warning _i"></view><view class="item-text">店铺描述</view></view><textarea class="item-textarea mt-md flex-1" type="text" maxlength="200" placeholder-class="c-placeholder" placeholder="{{rule[3].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','desc','$event',[]],['subForm']]]]]}}" value="{{subForm.desc}}" bindinput="__e"></textarea></view><view class="fill-base mt-md pd-lg flex-between b-1px-b"><view class="flex-y-center"><view class="iconfont icon-required c-warning _i"></view><view class="item-text">姓名</view></view><input class="item-input flex-1" type="text" placeholder-class="c-placeholder" placeholder="{{rule[4].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','user_name','$event',[]],['subForm']]]]]}}" value="{{subForm.user_name}}" bindinput="__e"/></view><view class="fill-base mt-md pd-lg flex-between b-1px-b"><view class="flex-y-center"><view class="iconfont icon-required c-warning _i"></view><view class="item-text">联系电话</view></view><input class="item-input flex-1" type="number" placeholder-class="c-placeholder" placeholder="{{rule[5].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['subForm']]]]]}}" value="{{subForm.mobile}}" bindinput="__e"/></view><view class="fill-base pd-lg flex-between"><view class="flex-y-center"><view class="iconfont icon-required c-warning _i"></view><view class="item-text">是否营业</view></view><view class="flex-1 flex-between"><view class="f-desc">{{workType[subForm.business_status]}}</view><view data-event-opts="{{[['tap',[['toChangeItem',['business_status']]]]]}}" catchtap="__e"><view class="{{['iconfont','icon-switch','c-caption','ml-sm','_i',[(subForm.business_status==1)?'icon-switch-on':'']]}}" style="{{'color:'+(subForm.business_status==1?primaryColor:'')+';'}}"></view></view></view></view><view class="space-max-footer"></view><w-picker class="vue-ref" vue-id="029c5559-2" visible="{{showTime}}" mode="time" value="{{toDayTime}}" current="{{false}}" second="{{false}}" themeColor="{{primaryColor}}" data-ref="time" data-event-opts="{{[['^updateVisible',[['__set_sync',['$0','showTime','$event'],['']]]],['^confirm',[['onConfirm']]]]}}" bind:updateVisible="__e" bind:confirm="__e" bind:__l="__l"></w-picker><fix-bottom-button vue-id="029c5559-3" text="{{[{text:'保存',type:'confirm'}]}}" bgColor="#fff" data-event-opts="{{[['^confirm',[['submit']]]]}}" bind:confirm="__e" bind:__l="__l"></fix-bottom-button></view>
|
||||
Reference in New Issue
Block a user