From 21cf4b9524e2c80ac70a5918a743e42bad727bbf Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Wed, 11 Dec 2024 16:32:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=89=88=E6=9C=AC=E5=8F=B7?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.js | 12 ++++++------ me/setting/index.vue | 8 ++++++-- pages/me/index.vue | 1 + 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/common/config.js b/common/config.js index 4c7923a..ef54693 100644 --- a/common/config.js +++ b/common/config.js @@ -1,10 +1,10 @@ -// const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; // -// const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名 -// const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名 +const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; // +const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名 +const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名 -const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; // -const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名 -const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名 +// const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; // +// const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名 +// const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名 module.exports = { APIHOST: ROOTPATH, diff --git a/me/setting/index.vue b/me/setting/index.vue index d65351d..86a4302 100644 --- a/me/setting/index.vue +++ b/me/setting/index.vue @@ -29,6 +29,7 @@ 退出登录 + {{ version }}版本 @@ -36,11 +37,14 @@ export default { data() { return { - + version: null, } }, onLoad() { - + plus.runtime.getProperty(plus.runtime.appid, widgetInfo => { + console.log(widgetInfo) + this.version = widgetInfo.version + }) }, methods: { goNav(e) { diff --git a/pages/me/index.vue b/pages/me/index.vue index b0fb443..4d8d90d 100644 --- a/pages/me/index.vue +++ b/pages/me/index.vue @@ -297,6 +297,7 @@ this.getBannerList() }, onShow() { + this.isWxIosPay = uni.getStorageSync('isWxIosPay') this.kmPaySel = this.$queue.getData('kmPaySel'); this.numCount = uni.getStorageSync('numCount')