| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <!--index.wxml-->
- <view class="wrap">
- <view class="wrap_nr">
- <image class="user_thumb" src="{{ userInfo.thumb }}"></image>
- <view class="user_name">您好,{{ userInfo.nickname }}</view>
- <view class="tips">为了您的账户安全,请绑定手机号</view>
- <view class="form_wrap">
- <view class="form_item">
- <view class="item_label">手机号码</view>
- <view class="item_file">
- <van-field
- value="{{ phone }}"
- placeholder="请输入手机号码"
- border="{{ false }}"
- bind:change="getPhone"
- />
- <button hover-class="none" class="btn_code" disabled="{{codeLoading}}" loading="{{codeLoading}}" bind:tap="sendCode">{{ codeBtnName }}</button>
- </view>
- </view>
- <view class="form_item">
- <view class="item_label">手机验证码</view>
- <view class="item_file">
- <van-field
- value="{{ code }}"
- placeholder="请输入手机验证码"
- border="{{ false }}"
- bind:change="getPhoneCode"
- />
- </view>
- </view>
- </view>
- <button class="custom_btn" bind:tap="phoneLogin">登录</button>
- </view>
- </view>
- <!-- loading -->
- <!-- <van-overlay show="{{ loading }}" z-index="100">
- <van-loading custom-class="custom_loading" />
- </van-overlay> -->
|