diff --git a/apis/interfaces/home.js b/apis/interfaces/home.js index ac1034c..8996910 100644 --- a/apis/interfaces/home.js +++ b/apis/interfaces/home.js @@ -27,9 +27,9 @@ const crowdfundsDetail = crowdfund_id => req({ url: "crowdfunds/" + crowdfund_id }) -// 获取关注列表 +// 获取项目关注列表 const getCrowdfundsLike = page => req({ - url: "user/subscribes", + url: "user/subscribes/crowdfunds", method: "get", data: { page: page @@ -123,8 +123,6 @@ const graces = (company_id, page) => req({ page: page } }) - - // 企业风采更多列表 const videos = (company_id, page) => req({ url: "videos/" + company_id + "/advert", @@ -132,7 +130,6 @@ const videos = (company_id, page) => req({ page: page } }) - // 更多员工列表 const users = (company_id, page) => req({ url: "company/" + company_id + "/users", @@ -140,7 +137,7 @@ const users = (company_id, page) => req({ page: page } }) -// 我的活动列表啥 +// 我的活动列表 const userActives = (state, page) => req({ url: "user/actives", data: { @@ -167,7 +164,6 @@ const getOrderInfo = (orderId) => req({ url: "crowdorders/" + orderId }) - // 退款售后详情 const getRefundInfo = (refundId) => req({ url: "refunds/" + refundId diff --git a/pages/user/setting/aboutMine/aboutMine.json b/pages/user/setting/aboutMine/aboutMine.json index e8c2c06..4cb5236 100644 --- a/pages/user/setting/aboutMine/aboutMine.json +++ b/pages/user/setting/aboutMine/aboutMine.json @@ -1,4 +1,6 @@ { "usingComponents": {}, - "navigationBarTitleText": "设置" + "navigationBarTitleText": "修改信息", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#378fff" } \ No newline at end of file diff --git a/pages/user/setting/aboutUs/aboutUs.json b/pages/user/setting/aboutUs/aboutUs.json index 0d3baf0..6b7297f 100644 --- a/pages/user/setting/aboutUs/aboutUs.json +++ b/pages/user/setting/aboutUs/aboutUs.json @@ -1,6 +1,6 @@ { "usingComponents": {}, - "navigationBarTitleText": "设置", + "navigationBarTitleText": "关于我们", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#378fff" } \ No newline at end of file diff --git a/pages/user/setting/setting.js b/pages/user/setting/setting.js index b22397c..4dceb12 100644 --- a/pages/user/setting/setting.js +++ b/pages/user/setting/setting.js @@ -5,5 +5,15 @@ Page({ title: '正在完善,看看其他的吧', icon: 'none' }) + }, + // 退出登录 + loginOut() { + wx.clearStorage({ + success: (res) => { + wx.reLaunch({ + url: '/pages/welcome/index', + }) + }, + }) } }) \ No newline at end of file diff --git a/pages/user/setting/setting.wxml b/pages/user/setting/setting.wxml index 38de18b..f67a908 100644 --- a/pages/user/setting/setting.wxml +++ b/pages/user/setting/setting.wxml @@ -1,7 +1,4 @@ - - + 个人信息 @@ -9,4 +6,7 @@ 关于我们 - \ No newline at end of file + + + 退出登录 + \ No newline at end of file diff --git a/static/images/none_1.png b/static/images/none_1.png deleted file mode 100644 index 7fa0fd2..0000000 Binary files a/static/images/none_1.png and /dev/null differ diff --git a/static/images/out.png b/static/images/out.png new file mode 100644 index 0000000..df9f251 Binary files /dev/null and b/static/images/out.png differ diff --git a/static/mall_icon/select_avtive.png b/static/mall_icon/select_avtive.png index 35143b2..21020f6 100644 Binary files a/static/mall_icon/select_avtive.png and b/static/mall_icon/select_avtive.png differ diff --git a/static/mall_icon/share_pyq.png b/static/mall_icon/share_pyq.png index eb02cbd..ef83df7 100644 Binary files a/static/mall_icon/share_pyq.png and b/static/mall_icon/share_pyq.png differ