diff --git a/pages/clock/clock.vue b/pages/clock/clock.vue index efa4f08..9431764 100644 --- a/pages/clock/clock.vue +++ b/pages/clock/clock.vue @@ -431,7 +431,13 @@ previewImage(url) { console.log(url) uni.previewImage({ - urls: [url] + urls: [url], + longPressActions:{ + itemList:['很抱歉,暂不支持保存图片到本地'], + success:function(res){ + // console.log(res,'+++++') + } + } }); }, // 获取打卡参数 diff --git a/pages/user/forget.vue b/pages/user/forget.vue index e3cf0bf..75f0a5b 100644 --- a/pages/user/forget.vue +++ b/pages/user/forget.vue @@ -1,8 +1,8 @@ + \ No newline at end of file diff --git a/pages/user/login.vue b/pages/user/login.vue index 1aebe44..f100b06 100644 --- a/pages/user/login.vue +++ b/pages/user/login.vue @@ -64,7 +64,11 @@ 密码登录 - 验证码登录 + + 验证码登录 + 忘记密码? + + @@ -188,6 +192,13 @@ methods: { ...mapMutations(['setUserInfo']), ...mapMutations(['setHealthMes']), + // 修改密码 + resetPassWord(){ + console.log('重置密码') + uni.navigateTo({ + url: "/pages/home/shop/goodsDetail" + }) + }, // 显示协议 showXieyi(str){ if(str == 'user'){ diff --git a/pages/user/persData.vue b/pages/user/persData.vue index d73cf2b..675abdb 100644 --- a/pages/user/persData.vue +++ b/pages/user/persData.vue @@ -91,14 +91,14 @@ 请修改密码 -

{{note}}

- @@ -207,24 +207,26 @@ // 密码验证 inputMethod(value) { this.passwordOk = false - console.log('输入的值为:', value) + // console.log('输入的值为:', value) if (strongRegex.test(value)) { //console.log('强密码-----',value) this.str2 = "密码强度很不错哦!" - // this.note = '请至少使用大小写字母、数字、符号两种类型组合的密码,长度至少为8位。' + // this.note = '请至少使用大小写字母、数字、符号两种类型组合的密码,长度为8位。' this.note = '' this.passwordOk = true } else if (mediumRegex.test(value)) { //console.log('中等密码-----',value) - this.note = '请至少使用大小写字母、数字、符号两种类型组合的密码,长度至少为8位。' + this.note = '请至少使用大小写字母、数字、符号两种类型组合的密码,长度为8位。' this.str2 = "密码强度中等!" this.passwordOk = true } else if (enoughRegex.test(value)) { //console.log('弱密码-----',value) this.str2 = "密码强度太弱!" - this.note = '请至少使用大小写字母、数字、符号两种类型组合的密码,长度至少为8位。' + this.note = '请至少使用大小写字母、数字、符号两种类型组合的密码,长度为8位。' } else { - this.note = '请至少使用大小写字母、数字、符号两种类型组合的密码,长度至少为8位。' + this.passwordOk = false + this.note = '请至少使用大小写字母、数字、符号两种类型组合的密码,长度为8位。' + this.str2 = "" //console.log('密码-----',value) } },