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')