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 @@ - + - + 打 卡 --> - +