set.wxml 3.6 KB

1
  1. <view class="home"><block wx:if="{{show}}"><view class="putWarp dffd"><block wx:if="{{type==1}}"><block><view class="putin bb dffs"><input type="number" placeholder="请输入手机号" data-event-opts="{{[['confirm',[['clickHandle',['$event']]]],['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindconfirm="__e" bindinput="__e"/></view><view class="putin bb dffs"><input type="text" placeholder="请输入短信验证码" data-event-opts="{{[['input',[['__set_model',['','code','$event',[]]]]]]}}" value="{{code}}" bindinput="__e"/><verif vue-id="5bdc36dc-1" phone="{{phone}}" bind:__l="__l"></verif></view></block></block><block wx:if="{{type==2}}"><block><view class="putin dffs"><input type="text" placeholder="请输入昵称" data-event-opts="{{[['confirm',[['clickHandle',['$event']]]],['input',[['__set_model',['','name','$event',[]]]]]]}}" value="{{name}}" bindconfirm="__e" bindinput="__e"/></view></block></block><block wx:if="{{type==3}}"><block><view class="putin dffs"><input type="text" placeholder="填写学校信息" data-event-opts="{{[['confirm',[['clickHandle',['$event']]]],['input',[['__set_model',['','school','$event',[]]]]]]}}" value="{{school}}" bindconfirm="__e" bindinput="__e"/></view></block></block><block wx:if="{{type==4}}"><block><view class="putin spec bb dfsb"><text class="fontmid flex1">支付密码</text><input type="password" placeholder="设置支付密码" data-event-opts="{{[['confirm',[['clickHandle',['$event']]]],['input',[['__set_model',['','oldpass','$event',[]]]]]]}}" value="{{oldpass}}" bindconfirm="__e" bindinput="__e"/></view></block></block><block wx:if="{{type==6}}"><block><view class="putin spec bb dfsb"><text class="fontmid flex1">支付密码</text><text class="fontmid textgrey">已设置</text></view></block></block><block wx:if="{{type==5}}"><block><view class="putin bb dffs"><input disabled="true" type="number" placeholder="请输入手机号" data-event-opts="{{[['confirm',[['clickHandle',['$event']]]],['input',[['__set_model',['$0','phone','$event',[]],['userInfo.userInfo']]]]]}}" value="{{userInfo.userInfo.phone}}" bindconfirm="__e" bindinput="__e"/></view><view class="putin bb dffs"><input type="text" placeholder="请输入短信验证码" data-event-opts="{{[['input',[['__set_model',['','code','$event',[]]]]]]}}" value="{{code}}" bindinput="__e"/><verif vue-id="5bdc36dc-2" phone="{{userInfo.userInfo.phone}}" bind:__l="__l"></verif></view><view class="putin spec bb dfsb"><text class="fontmid flex1">新密码</text><input type="password" placeholder="请输入新密码" data-event-opts="{{[['confirm',[['clickHandle',['$event']]]],['input',[['__set_model',['','newpass','$event',[]]]]]]}}" value="{{newpass}}" bindconfirm="__e" bindinput="__e"/></view><view class="putin spec bb dfsb"><text class="fontmid flex1">确认新密码</text><input type="password" placeholder="请输入确认新密码" data-event-opts="{{[['confirm',[['clickHandle',['$event']]]],['input',[['__set_model',['','two_pay_pass','$event',[]]]]]]}}" value="{{two_pay_pass}}" bindconfirm="__e" bindinput="__e"/></view></block></block></view></block><block wx:if="{{type!=6}}"><u-button class="custom-style" vue-id="5bdc36dc-3" color="#ED742F" iconColor="#fff" throttleTime="2000" shape="circle" text="确定修改" data-event-opts="{{[['^click',[['clickHandle']]]]}}" bind:click="__e" bind:__l="__l"></u-button></block><block wx:if="{{type==6}}"><u-button class="custom-style" vue-id="5bdc36dc-4" color="#ED742F" iconColor="#fff" throttleTime="2000" shape="circle" text="修改支付密码" data-event-opts="{{[['^click',[['e0']]]]}}" bind:click="__e" bind:__l="__l"></u-button></block></view>