diff --git a/constant/UrlConstant.js b/constant/UrlConstant.js index ba21cbd..26a01a9 100644 --- a/constant/UrlConstant.js +++ b/constant/UrlConstant.js @@ -4,8 +4,8 @@ * add by wuxw 2019-12-28 */ // 服务器域名 -//const baseUrl = 'https://app.demo.winqi.cn/'; -const baseUrl = '/'; +const baseUrl = 'https://app.demo.winqi.cn/'; +//const baseUrl = '/'; const hcBaseUrl = 'https://hc.demo.winqi.cn'; // 登录接口 const loginUrl = baseUrl + 'app/loginProperty'; diff --git a/pages/my/my.vue b/pages/my/my.vue index 285a74b..abccc84 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -42,6 +42,34 @@ + + + + + + 退 出 + + + + + + + + + 退出系统 + + + + + + 您确认退出系统吗? + + + 取消 + 确定 + + + @@ -54,7 +82,8 @@ img: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big99008.jpg', name: '一纸荒年', }, - currentCommunityName:'' + currentCommunityName:'', + logoutUser:false } }, @@ -89,6 +118,16 @@ uni.navigateTo({ url:"/pages/changePwd/changePwd" }); + }, + //退出系统 + _logout:function(){ + this.logoutUser = true; + }, + _cancleLogout:function(){ + this.logoutUser = false; + }, + _doLogoutUser:function(){ + } }