| | |
| | | <view> |
| | | <view class="list"> |
| | | <view class="list-call"> |
| | | <u--input |
| | | v-model="username" |
| | | <u--input v-model="username" |
| | | clearable |
| | | maxlength="32" |
| | | type="text" |
| | | placeholder="请输入手机号" |
| | | prefixIcon="account" |
| | | prefixIconStyle="font-size: 22px;color: #909399" |
| | | ></u--input> |
| | | fontSize='40' |
| | | prefixIconStyle="font-size: 25px;color: #909399"></u--input> |
| | | </view> |
| | | <view class="list-call"> |
| | | <u--input |
| | | v-model="password" |
| | | <u--input v-model="password" |
| | | clearable |
| | | maxlength="32" |
| | | type="password" |
| | | placeholder="请输入密码" |
| | | prefixIcon="lock" |
| | | prefixIconStyle="font-size: 22px;color: #909399" |
| | | ></u--input> |
| | | fontSize='40' |
| | | prefixIconStyle="font-size: 25px;color: #909399"></u--input> |
| | | </view> |
| | | </view> |
| | | <view class="loginBtn"><u-button type="primary" :text="btnText == 1 ? '绑定' : '登录'" @click="submit()"></u-button></view> |
| | | <view class="loginBtn"><u-button type="primary" |
| | | :text="btnText == 1 ? '绑定' : '登录'" |
| | | @click="submit()"></u-button></view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | } |
| | | }); |
| | | if (uni.getStorageSync('bindcode')) { |
| | | this.$reqPost('wxBind', { state: 'MINI', code: uni.getStorageSync('bindcode') }, 'params').then(res => { |
| | | this.$reqPost('wxBind', { state: 'MINI', code: uni.getStorageSync('bindcode') }, |
| | | 'params').then(res => { |
| | | uni.hideLoading(); |
| | | if (res.code == 0) { |
| | | this.$u.toast('绑定成功!即将回到登录页!'); |
| | |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | <style lang="scss" |
| | | scoped> |
| | | @import 'index.scss'; |
| | | |
| | | .dengluBtn { |
| | | margin-top: 80rpx; |
| | | } |
| | | |
| | | /deep/.loginBtn { |
| | | .u-button { |
| | | font-size: 40rpx !important; |
| | | letter-spacing: 10rpx; |
| | | } |
| | | } |
| | | </style> |