From 00cb45fbb7e6b7a49b28b40e92a5676bc27eb996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Tue, 19 Mar 2024 14:07:42 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=90=B4=E9=97=A8=E4=B9=8B=E5=85=89?= =?UTF-8?q?=E6=94=B9=E6=88=90=E5=90=B4=E9=97=A8=E7=BC=98=E8=B5=B7=202?= =?UTF-8?q?=E3=80=81=E5=AD=A6=E6=9C=AF=20=E5=AF=8C=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 32 ++++++++++++++++------------- config/baseUrl.js | 4 ++-- main.js | 10 ++++++--- pages/medicaldes/medicaldes.vue | 4 ++-- pages/medicaldes/zhuanzhuchuban.vue | 4 ++-- pages/peanut/home.vue | 2 +- 6 files changed, 32 insertions(+), 24 deletions(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 2122ab4..2e9a4a4 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -4,26 +4,30 @@ "version" : "0.0", "configurations" : [ { - "app-plus" : { - "launchtype" : "local" - }, - "default" : { - "launchtype" : "local" - }, - "h5" : { - "launchtype" : "local" - }, - "mp-weixin" : { - "launchtype" : "local" - }, - "type" : "uniCloud" + "app-plus" : + { + "launchtype" : "remote" + }, + "default" : + { + "launchtype" : "local" + }, + "h5" : + { + "launchtype" : "local" + }, + "mp-weixin" : + { + "launchtype" : "local" + }, + "type" : "uniCloud" }, { "playground" : "custom", "type" : "uni-app:app-ios" }, { - "playground" : "custom", + "playground" : "standard", "type" : "uni-app:app-android" } ] diff --git a/config/baseUrl.js b/config/baseUrl.js index 745fa3a..9abd593 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -5,8 +5,8 @@ if (process.env.NODE_ENV === 'development') { // baseUrl = "http://localhost:7001/"; // socketUrl = "ws://localhost:6001/"; // baseUrl = "https://twin-ui.com/demo/"; - // baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境 - baseUrl = "https://api.nuttyreading.com/"; // 线上正式 + baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境 + // baseUrl = "https://api.nuttyreading.com/"; // 线上正式 // baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑 // baseUrl = "http://59.110.212.44:9200/pb/"; // baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑 diff --git a/main.js b/main.js index dd62395..36abda4 100644 --- a/main.js +++ b/main.js @@ -26,12 +26,16 @@ Vue.prototype.$apkUrl = "https://a.app.qq.com/o/simple.jsp?pkgname=com.cn.nuttyr // 判断手机型号 uni.getSystemInfo({ - success: function(res) { + success: function (res) { + Vue.prototype.iosHidden = true; if (res.platform == 'ios') { - Vue.prototype.iosHide = false; - // Vue.prototype.iosHide = true; + // Vue.prototype.iosHide = false; + Vue.prototype.iosHidden = false;//ios临时隐藏听书 + Vue.prototype.iosHide = true; + } else { Vue.prototype.iosHide = true; + } } }) diff --git a/pages/medicaldes/medicaldes.vue b/pages/medicaldes/medicaldes.vue index 22c9274..91507e3 100644 --- a/pages/medicaldes/medicaldes.vue +++ b/pages/medicaldes/medicaldes.vue @@ -37,7 +37,7 @@ - + - + 打 卡 --> - +