验证码 登录页隐私协议

cyl/master-0804
zsk 4 months ago
parent 9bfd968beb
commit 4de14928db

@ -434,7 +434,8 @@ export default {
} }
that.G.Get( that.G.Get(
that.api.login_sendMsg, that.api.login_sendMsg,
{ {
type:"assistant",
tel: uni.getStorageSync("apply-tel"), tel: uni.getStorageSync("apply-tel"),
}, },
(res) => { (res) => {

@ -387,6 +387,7 @@ export default {
that.api.login_sendMsg, that.api.login_sendMsg,
{ {
tel: uni.getStorageSync("apply-tel"), tel: uni.getStorageSync("apply-tel"),
type:"assistant",
}, },
(res) => { (res) => {
that.msgCode.countdown = 60; that.msgCode.countdown = 60;

@ -45,6 +45,18 @@
</view> </view>
<!-- #endif --> <!-- #endif -->
</view> </view>
<!-- <view class="g_flex_column_between g_flex_1 g_pb_24">
<view class="g_fs_12 g_c_9 g_flex_row_center g_mb_32" style="align-items: center; margin-top: 16px">
<radio-group class="dib">
<radio :checked="switchChecked" @click="switchChange" value="0" class="dib biggerSize" color="#00b666" style="transform: scale(0.7)" />
</radio-group>
我已阅读并同意
<navigator url="/root/person/agreeUser" class="g_c_sub">用户服务协议</navigator>
<navigator url="/root/person/agreePrive" class="g_c_sub">隐私政策</navigator>
</view>
</view> -->
</view> </view>
</template> </template>
@ -55,6 +67,7 @@ export default {
}, },
data() { data() {
return { return {
switchChecked: false,
localBaseImg: this.G.store().localBaseImg, localBaseImg: this.G.store().localBaseImg,
v3BaseImg: this.G.store().v3BaseImg, v3BaseImg: this.G.store().v3BaseImg,
isLoginCode: false, isLoginCode: false,
@ -89,6 +102,7 @@ export default {
uni.setStorageSync('apply-code', res) uni.setStorageSync('apply-code', res)
}) })
}, },
onShow() { onShow() {
this.G.clearLocalStorage() this.G.clearLocalStorage()
}, },
@ -98,6 +112,11 @@ export default {
} }
}, },
methods: { methods: {
switchChange() {
console.log('switchChecked', this.switchChecked);
console.log(this.switchChecked);
this.switchChecked = !this.switchChecked;
},
hideKeyboard(e) { hideKeyboard(e) {
console.log(e) console.log(e)
if (e.length >= 4) { if (e.length >= 4) {
@ -333,6 +352,7 @@ export default {
that.api.login_sendMsg, that.api.login_sendMsg,
{ {
tel: that.form.tel, tel: that.form.tel,
type:"assistant",
}, },
(res) => { (res) => {
that.msgCode.countdown = 60 that.msgCode.countdown = 60

Loading…
Cancel
Save