From fe0cc84e703ae8eeedcdfb2a40a2bea5d8471cc6 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Wed, 9 Feb 2022 16:03:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9uniId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 14 ++++++++++---- pages/mine/details.vue | 22 +++++++++------------- pages/mine/details2.vue | 20 ++++++++------------ utils/domain.js | 8 ++++---- 4 files changed, 31 insertions(+), 33 deletions(-) diff --git a/manifest.json b/manifest.json index 84fc630..8003bb7 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { - "name" : "去房质控管家", - "appid" : "__UNI__6CC21FF", + "name" : "数智工牌", + "appid" : "__UNI__D88F14A", "description" : "AI营销助理", "versionName" : "1.1.0", "versionCode" : "100", @@ -91,7 +91,7 @@ }, "quickapp" : {}, "mp-weixin" : { - "appid" : "wx8f883dca5ecc5510", + "appid" : "wxe044603515ff2cb5", "setting" : { "urlCheck" : false, "es6" : true, @@ -105,6 +105,9 @@ "version" : "0.3.4", "provider" : "wx069ba97219f66d99" } + }, + "uniStatistics" : { + "enable" : true } }, "mp-alipay" : { @@ -114,7 +117,10 @@ "usingComponents" : true }, "mp-toutiao" : { - "usingComponents" : true + "usingComponents" : true, + "uniStatistics" : { + "enable" : false + } }, "h5" : { "router" : { diff --git a/pages/mine/details.vue b/pages/mine/details.vue index 98efa7e..0391c46 100644 --- a/pages/mine/details.vue +++ b/pages/mine/details.vue @@ -304,21 +304,17 @@ this.init(info) }, onHide() { - if (this.innerAudioContext) { - //暂停 - this.innerAudioContext.pause() - // 销毁 - this.innerAudioContext.destroy(); - } + //暂停 + this.innerAudioContext.pause() + // 销毁 + // this.innerAudioContext.destroy(); }, onUnload() { - if (this.innerAudioContext) { - //暂停 - this.innerAudioContext.pause() - // 销毁 - this.innerAudioContext.destroy(); - } + //暂停 + this.innerAudioContext.pause() + // 销毁 + // this.innerAudioContext.destroy(); }, methods: { @@ -1149,7 +1145,7 @@ creatAudio() { this.innerAudioContext = uni.createInnerAudioContext(); // if(uni.getStorageSync('entrance')==1){ - this.innerAudioContext.autoplay = false; + this.innerAudioContext.autoplay = false; // }else{ // this.innerAudioContext.autoplay = true; // } diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index 5d12886..231126d 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -631,21 +631,17 @@ }, onHide() { - if (this.innerAudioContext) { - //暂停 - this.innerAudioContext.pause() - // 销毁 - this.innerAudioContext.destroy(); - } + //暂停 + this.innerAudioContext.pause() + // 销毁 + // this.innerAudioContext.destroy(); }, onUnload() { - if (this.innerAudioContext) { - //暂停 - this.innerAudioContext.pause() - // 销毁 - this.innerAudioContext.destroy(); - } + //暂停 + this.innerAudioContext.pause() + // 销毁 + // this.innerAudioContext.destroy(); }, methods: { rolexuanze(index) { diff --git a/utils/domain.js b/utils/domain.js index a380029..8cfcb7b 100644 --- a/utils/domain.js +++ b/utils/domain.js @@ -4,8 +4,8 @@ // const baseUrl = 'http://192.168.31.167:8080/autoSR/api'; // 长龙 // const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 -const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 -// const baseUrl = 'https://hfju.com/api'; // 数智正式 +// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 +const baseUrl = 'https://hfju.com/api'; // 数智正式 // config使用域名 @@ -18,8 +18,8 @@ const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 // const host = 'http://192.168.31.167:8080/autoSR/api'; // 长龙 // const host = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 // const host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 -const host = 'https://zkgj.quhouse.com/api'; // 质控正式 -// const host = 'https://hfju.com/api'; // 数智正式 +// const host = 'https://zkgj.quhouse.com/api'; // 质控正式 +const host = 'https://hfju.com/api'; // 数智正式 const iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式