<view class="app-phone-binding data-v-d884ed82"><block wx:if="{{bind}}"><view class="app-bound dir-top-nowrap cross-center data-v-d884ed82"><image class="app-image data-v-d884ed82" src="{{wxapp_img.mall.binding}}"></image><view class="app-phone-text dir-top-nowrap data-v-d884ed82"><text class="data-v-d884ed82">已绑定手机</text><text class="app-hone data-v-d884ed82">{{phone}}</text></view><view class="app-button data-v-d884ed82"><app-button vue-id="55f32db6-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-d884ed82" bind:__l="__l" vue-slots="{{['default']}}">更换绑定</app-button></view></view></block><block wx:else><view class="app-unbound data-v-d884ed82"><block wx:if="{{is_manual_mobile_auth==1}}"><view class="header dir-left-nowrap data-v-d884ed82"><view data-event-opts="{{[['tap',[['setActive',[1]]]]]}}" class="box-grow-1 data-v-d884ed82" bindtap="__e"><app-form-id vue-id="55f32db6-2" class="data-v-d884ed82" bind:__l="__l" vue-slots="{{['default']}}"><text class="{{['data-v-d884ed82',(activeIndex===1)?'active-index':'']}}">直接授权</text></app-form-id></view><view data-event-opts="{{[['tap',[['setActive',[2]]]]]}}" class="box-grow-1 data-v-d884ed82" bindtap="__e"><app-form-id vue-id="55f32db6-3" class="data-v-d884ed82" bind:__l="__l" vue-slots="{{['default']}}"><text class="{{['data-v-d884ed82',(activeIndex===2)?'active-index':'']}}">手动输入</text></app-form-id></view></view></block><view class="content data-v-d884ed82"><block wx:if="{{activeIndex===1}}"><view class="input-view dir-left-nowrap cross-center data-v-d884ed82"><view class="{{['input data-v-d884ed82',(value!=='')?'input-value':'']}}">{{value===''?'点击授权获取手机号':value}}</view><view class="line data-v-d884ed82"></view><button class="button data-v-d884ed82" 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-d884ed82"><view class="top data-v-d884ed82"><input type="number" placeholder="输入手机号" data-event-opts="{{[['input',[['__set_model',['','phoneNumber','$event',[]]]]]]}}" value="{{phoneNumber}}" bindinput="__e" class="data-v-d884ed82"/></view><view class="bottom dir-left-nowrap cross-center data-v-d884ed82"><input type="number" placeholder="输入验证码" data-event-opts="{{[['input',[['__set_model',['','verificationCode','$event',[]]]]]]}}" value="{{verificationCode}}" bindinput="__e" class="data-v-d884ed82"/><view class="line data-v-d884ed82"></view><view data-event-opts="{{[['tap',[['obtain',['$event']]]]]}}" class="btn data-v-d884ed82" bindtap="__e">获取验证码</view></view></view></block><view data-event-opts="{{[['tap',[['bindPhone',[true,'$0'],['activeIndex']]]]]}}" class="sure-button data-v-d884ed82" bindtap="__e">确认</view></view></view></block></view>