修改密码

This commit is contained in:
@fawn-nine
2023-10-16 17:49:14 +08:00
parent 05829f5617
commit bd998074a3
4 changed files with 305 additions and 227 deletions

View File

@@ -64,7 +64,11 @@
<view class="qie_huan" style="display: flex; justify-content: center;">
<view style="width: 30%;" @click="type = 1000" v-if="type == 2000">密码登录</view>
<view style="width: 30%;" @click="type = 2000" v-if="type == 1000">验证码登录</view>
<view style="width:50%; display: flex; justify-content:space-between;" v-if="type == 1000">
<text @click="type = 2000">验证码登录</text>
<text v-if="type == 1000" @click="onPageJump('/pages/user/forget')">忘记密码</text>
<!-- <text @click="resetPassWord()">忘记密码</text> -->
</view>
</view>
<z-popup v-model="HealthOpen" type="center" :hideOnBlur="false">
@@ -188,6 +192,13 @@
methods: {
...mapMutations(['setUserInfo']),
...mapMutations(['setHealthMes']),
// 修改密码
resetPassWord(){
console.log('重置密码')
uni.navigateTo({
url: "/pages/home/shop/goodsDetail"
})
},
// 显示协议
showXieyi(str){
if(str == 'user'){