From 7df957d3c1eba8f38501024887d3dbfef99054dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=99=93=E7=90=AA?= Date: Wed, 31 Aug 2022 10:15:01 +0800 Subject: [PATCH] =?UTF-8?q?app2.0=20=E8=A7=A3=E7=BB=91=E5=BE=AE=E4=BF=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LearunApp-2.2.0/pages/my.vue | 24 ++++++++++++++++++ .../LearunApp-2.2.0/static/unbound.png | Bin 0 -> 452 bytes 2 files changed, 24 insertions(+) create mode 100644 Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/unbound.png diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my.vue index 7774d7de3..cfd6573c3 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my.vue @@ -33,6 +33,10 @@ 修改密码 + + + 解绑微信 + @@ -149,6 +153,26 @@ export default { goTo(urlPath) { this.NAV_TO(`/pages/my/${urlPath}`) }, + + // 解绑微信 + unbound(){ + this.CONFIRM('提示', '确定要解绑微信账号?', true).then(res => { + if (res) { + this.LOADING('正在解绑…'); + this.HTTP_POST('learun/adms/user/unbundWeiXin', null, '解绑失败').then(success => { + this.HIDE_LOADING(); + if (!success) { + return + } + this.TOAST("解绑成功") + setTimeout(()=>{ + this.CLEAR_GLOBAL() + this.RELAUNCH_TO('/pages/login') + },1000) + }); + } + }); + }, // 用户头像 url avatarSrc() { diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/unbound.png b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/unbound.png new file mode 100644 index 0000000000000000000000000000000000000000..61073664cf8f2c48d9d359ffc35da01cdc5cf71f GIT binary patch literal 452 zcmV;#0XzPQP)Px$en~_@R5(wilT9c@VHAd+GbNdtrIIWxlqqX}kz!@xFEwLnVIxZ$CFc9?kg~Cq zjk5HUVq`rf7T8&hSXfBPa*CwpXs)^U&YhW<@~z+V^q%*;pYYEobVx*-ygTTocM$T(yWVIb}vuF+jtj38jjq*@hX9OeJ zDo9$FDbS0R$pEmaF+RDcz$jMk@SF&Jq~zL%I64kwYK5r41V+xv#IwMjA8cCtfnyr! zWJ&VD6|9~T;hL0eRM{=Rj?x9}V