From 150724b80da65b14996f861956cf8d9ff1e6abad Mon Sep 17 00:00:00 2001 From: xuwenbo <717567226@qq.com> Date: Mon, 14 Sep 2020 17:06:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E6=8E=A7=E5=88=B6=E5=85=85?= =?UTF-8?q?=E5=80=BC=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 4 ++-- pages/user/UserAccount/index.vue | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config/index.js b/config/index.js index b46828a..191bc6d 100644 --- a/config/index.js +++ b/config/index.js @@ -1,7 +1,7 @@ // export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api'; // export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api'; -// export const VUE_APP_API_URL = 'http://192.168.31.223:8008/api'; -export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api'; +export const VUE_APP_API_URL = 'http://127.0.0.1:8008/api'; +// export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api'; export const VUE_APP_RESOURCES_URL = 'https://wx.yixiang.co/static'; diff --git a/pages/user/UserAccount/index.vue b/pages/user/UserAccount/index.vue index 17852a7..0b6cfbc 100644 --- a/pages/user/UserAccount/index.vue +++ b/pages/user/UserAccount/index.vue @@ -8,7 +8,7 @@ 总资产(元) {{ now_money }} - 充值 + 充值 @@ -31,7 +31,7 @@ 消费记录 - + @@ -54,6 +54,7 @@ export default { props: {}, data: function() { return { + is_hide: "1", now_money: 0, orderStatusSum: 0, recharge: 0, @@ -82,6 +83,7 @@ export default { that.now_money = res.data.now_money; that.orderStatusSum = res.data.orderStatusSum; that.recharge = res.data.recharge; + this.is_hide = res.data.is_hide; }, err => { uni.showToast({