From c6d5b22ef1bc7735b35fbdaa14602109c3699159 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: Thu, 27 Feb 2020 18:01:34 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E9=80=80=E5=87=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
constant/UrlConstant.js | 4 ++--
pages/my/my.vue | 41 ++++++++++++++++++++++++++++++++++++++++-
2 files changed, 42 insertions(+), 3 deletions(-)
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(){
+
}
}