1 |
- <view class="app-phone-binding data-v-76f8839c"><block wx:if="{{bind}}"><view class="app-bound dir-top-nowrap cross-center data-v-76f8839c"><image class="app-image data-v-76f8839c" src="{{wxapp_img.mall.binding}}"></image><view class="app-phone-text dir-top-nowrap data-v-76f8839c"><text class="data-v-76f8839c">已绑定手机</text><text class="app-hone data-v-76f8839c">{{phone}}</text></view><view class="app-button data-v-76f8839c"><app-button vue-id="6816edd8-1" type="important" round="{{true}}" background="#ff4544" height="88" width="700" fontSize="32" data-event-opts="{{[['^click',[['clearPhone',[false]]]]]}}" bind:click="__e" class="data-v-76f8839c" bind:__l="__l" vue-slots="{{['default']}}">更换绑定</app-button></view></view></block><block wx:else><view class="app-unbound data-v-76f8839c"><block wx:if="{{is_manual_mobile_auth==1}}"><view class="header dir-left-nowrap data-v-76f8839c"><view data-event-opts="{{[['tap',[['setActive',[1]]]]]}}" class="box-grow-1 data-v-76f8839c" bindtap="__e"><app-form-id vue-id="6816edd8-2" class="data-v-76f8839c" bind:__l="__l" vue-slots="{{['default']}}"><text class="{{['data-v-76f8839c',(activeIndex===1)?'active-index':'']}}">直接授权</text></app-form-id></view><view data-event-opts="{{[['tap',[['setActive',[2]]]]]}}" class="box-grow-1 data-v-76f8839c" bindtap="__e"><app-form-id vue-id="6816edd8-3" class="data-v-76f8839c" bind:__l="__l" vue-slots="{{['default']}}"><text class="{{['data-v-76f8839c',(activeIndex===2)?'active-index':'']}}">手动输入</text></app-form-id></view></view></block><view class="content data-v-76f8839c"><block wx:if="{{activeIndex===1}}"><view class="input-view dir-left-nowrap cross-center data-v-76f8839c"><view class="{{['input','data-v-76f8839c',(value!=='')?'input-value':'']}}">{{value===''?'点击授权获取手机号':value}}</view><view class="line data-v-76f8839c"></view><button class="button data-v-76f8839c" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e">点击授权</button></view></block><block wx:if="{{activeIndex===2}}"><view class="manual-input dir-top-nowrap data-v-76f8839c"><view class="top data-v-76f8839c"><input type="number" placeholder="输入手机号" data-event-opts="{{[['input',[['__set_model',['','phoneNumber','$event',[]]]]]]}}" value="{{phoneNumber}}" bindinput="__e" class="data-v-76f8839c"/></view><view class="bottom dir-left-nowrap cross-center data-v-76f8839c"><input type="number" placeholder="输入验证码" data-event-opts="{{[['input',[['__set_model',['','verificationCode','$event',[]]]]]]}}" value="{{verificationCode}}" bindinput="__e" class="data-v-76f8839c"/><view class="line data-v-76f8839c"></view><view data-event-opts="{{[['tap',[['obtain',['$event']]]]]}}" class="btn data-v-76f8839c" bindtap="__e">获取验证码</view></view></view></block><view data-event-opts="{{[['tap',[['bindPhone',[true,'$0'],['activeIndex']]]]]}}" class="sure-button data-v-76f8839c" bindtap="__e">确认</view></view></view></block></view>
|