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.

1 line
13 KiB

5 months ago
<block wx:if="{{orderInfo.coach_id}}"><view class="order-pages"><block wx:if="{{configInfo.plugAuth.store&&orderInfo.is_store==1}}"><view class="mt-lg ml-lg mr-lg fill-base radius-16"><view class="flex-between pd-lg"><view class="f-title c-title text-bold">服务方式</view><view class="flex-center"><block wx:for="{{serviceTypeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toChangeItem',[index,3]]]]]}}" class="{{['flex-center','service-type-item','c-caption',[(index!=0)?'ml-lg':'']]}}" style="{{'background:'+(serviceTypeInd==index?'linear-gradient(68deg, '+primaryColor+', '+subColor+')':'')+';'+('color:'+(serviceTypeInd==index?'#fff':'')+';')}}" catchtap="__e">{{''+item.title+''}}</view></block></view></view></view></block><block wx:if="{{$root.g0}}"><view><block wx:if="{{serviceTypeList[serviceTypeInd].id===1}}"><block><view class="store-info mt-md ml-lg mr-lg pd-lg fill-base radius-16"><view class="f-mini-title c-title text-bold pb-md">{{''+orderInfo.store_info.title+''}}</view><view class="flex-between"><view class="flex-y-center" style="color:#303030;"><view class="iconfont icondizhi1 mr-sm _i"></view><view class="c-title flex-1 mr-md"><label class="_span">{{orderInfo.store_info.address||'暂未设置门店地址'}}</label><block wx:if="{{orderInfo.store_info.address}}"><label data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="copy-btn span radius-5 f-icontext ml-sm _span" style="{{'color:'+(primaryColor)+';'+('border-color:'+(primaryColor)+';')}}" catchtap="__e">复制</label></block></view></view><view class="flex-center"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="item-icon rel flex-center radius-16" catchtap="__e"><view class="item-icon radius-16 abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="iconfont icondadianhua_1 _i" style="{{'color:'+(primaryColor)+';'}}"></view></view><block wx:if="{{orderInfo.store_info.address}}"><view data-event-opts="{{[['tap',[['toMap',['$event']]]]]}}" class="item-icon rel flex-center radius-16 ml-md" catchtap="__e"><view class="item-icon radius-16 abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="iconfont icondizhi_1 _i" style="{{'color:'+(primaryColor)+';'}}"></view></view></block></view></view></view><view class="mt-md ml-lg mr-lg pl-lg pr-lg fill-base radius-16"><view class="flex-between b-1px-b"><view class="item-text flex-y-center"><view class="iconfont icon-required c-warning _i"></view>姓名</view><input class="item-input flex-1" type="text" maxlength="20" placeholder="{{rule[0].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','user_name','$event',[]],['form']]]]]}}" value="{{form.user_name}}" bindinput="__e"/></view><view class="flex-between"><view class="item-text flex-y-center"><view class="iconfont icon-required c-warning _i"></view>手机号</view><input class="item-input flex-1" type="text" placeholder="{{rule[1].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','user_phone','$event',[]],['form']]]]]}}" value="{{form.user_phone}}" bindinput="__e"/></view></view></block></block><block wx:if="{{serviceTypeList[serviceTypeInd].id===0}}"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="address-info flex-warp mt-md ml-lg mr-lg pd-lg fill-base radius-16" catchtap="__e"><view class="address-icon flex-center c-base radius" style="{{'background:'+('linear-gradient(to right, '+subColor+', '+primaryColor+')')+';'}}"><view class="iconfont iconjuli _i"></view></view><view class="flex-1 flex-between ml-md"><view class="max-500"><block wx:if="{{orderInfo.address_info.id}}"><block><view class="flex-y-baseline username c-title text-bold">{{''+orderInfo.address_info.user_name+''}}<view class="ml-md f-desc c-caption">{{orderInfo.address_info.mobile}}</view></view><view class="f-desc c-title ellipsis">{{''+(orderInfo.address_info.address+' '+orderInfo.address_info.address_info)+''}}</view></block></block><block wx:else><block><view class="username c-title text-bold">请选择地址</view></block></block></view><view class="