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
9.3 KiB

5 months ago
<block wx:if="{{isLoad}}"><view class="apply-pages"><view class="apply-form"><view class="fill-base mt-md radius-16"><view class="flex-between pl-lg pr-lg 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','coach_name','$event',[]],['form']]]]]}}" value="{{form.coach_name}}" bindinput="__e"/></view><view class="flex-between pl-lg pr-lg b-1px-b"><view class="item-text flex-y-center"><view class="iconfont icon-required c-warning _i"></view>性别</view><view class="item-input flex-1 flex-y-center"><block wx:for="{{['男','女']}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({index})}}" class="{{['flex-y-center',[(index==0)?'mr-lg':'']]}}" style="{{'color:'+(form.sex==index?primaryColor:'')+';'}}" catchtap="__e"><view class="{{['iconfont','icon-xuanze','mr-sm','_i',[(form.sex==index)?'icon-xuanze-fill':'']]}}"></view>{{item+''}}</view></block></view></view><view class="flex-between ml-lg mr-lg b-1px-b"><view class="item-text flex-y-center"><view class="iconfont icon-required c-warning _i"></view>生日</view><view class="item-input text flex-1"><picker mode="date" end="{{endYear}}" value="{{form.birthday}}" data-event-opts="{{[['change',[['pickerChange',['$event','birthday']]]]]}}" bindchange="__e"><view class="flex-between">{{''+(form.birthday||'请选择')+''}}<view class="iconfont icon-right ml-sm _i" style="font-size:28rpx;"></view></view></picker></view></view><view class="flex-between pl-lg pr-lg 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="11" placeholder="{{rule[2].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['form']]]]]}}" value="{{form.mobile}}" bindinput="__e"/></view><block wx:if="{{$root.g0}}"><view class="flex-between pl-lg pr-lg b-1px-b"><view class="item-text flex-y-center"><view class="iconfont icon-required c-warning _i"></view>验证码</view><view class="flex-between"><input class="item-input flex-1" type="text" maxlength="6" placeholder="请输入验证码" data-event-opts="{{[['input',[['__set_model',['$0','short_code','$event',[]],['form']]]]]}}" value="{{form.short_code}}" bindinput="__e"/><view data-event-opts="{{[['tap',[['toSend',['$event']]]]]}}" style="{{'color:'+(primaryColor)+';'}}" catchtap="__e">{{''+(authTime>0?'重新获取('+authTime+'s)':'获取验证码')+''}}</view></view></view></block><view class="flex-between pl-lg pr-lg 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="number" placeholder="{{rule[3].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','work_time','$event',[]],['form']]]]]}}" value="{{form.work_time}}" bindinput="__e"/></view><view class="flex-between pl-lg pr-lg b-1px-b"><view class="item-text flex-y-center" style="width:230rpx;"><view class="iconfont icon-required c-warning _i"></view>意向工作城市</view><view class="item-input text flex-1"><picker value="{{cityIndex}}" range="{{cityList}}" range-key="title" data-event-opts="{{[['change',[['pickerChange',['$event','city']]]]]}}" bindchange="__e"><view class="flex-between">{{''+(cityIndex!=-1?cityList[cityIndex].title:'请选择')+''}}<view class="iconfont icon-right ml-sm _i" style="font-size:28rpx;"></view></view></picker></view></view><block wx:if="{{configInfo.plugAuth.store&&form.admin_id}}"><view class="flex-between pl-lg pr-lg b-1px-b"><view class="item-text">挂靠门店</view><view class="item-input text flex-1"><picker value="{{storeIndex}}" range="{{storeList}}" range-key="title" data-event-opts="{{[['change',[['pickerChange',['$event','store']]]]]}}" bindchange="__e"><view class="flex-between"><view class="max-4