diff --git a/App.vue b/App.vue index edb4820..eb826f1 100644 --- a/App.vue +++ b/App.vue @@ -3,7 +3,7 @@ import upgrade from '@/utils/update.js' export default { - onLaunch: function() { + onLaunch: function() { //以下代码仅在开发时使用,否则会出现不可预知的问题。 //清除登陆之外的所有信息; // let store=uni.getStorageInfoSync(); @@ -28,24 +28,29 @@ // }); // uni.clearStorageSync(); //以上代码仅在开发时使用,否则会出现不可预知的问题。 - - + + // #ifdef APP-PLUS + var appid = plus.runtime.appid; + console.log('应用的 appid 为:' + appid); + // #endif }, onShow: function() { console.log('App Show'); //将检查更新换到onshow,因为苹果用户喜欢一直挂着 - uni.getSystemInfo({success:function(res){ - if(res.uniPlatform=='app'){ - bleTool.getBleTool(); - let appid=plus.runtime.appid; - if(appid!=='HBuilder'){ - console.log("appid=",appid); + uni.getSystemInfo({ + success: function(res) { + if (res.uniPlatform == 'app') { + bleTool.getBleTool(); + let appid = plus.runtime.appid; + if (appid !== 'HBuilder') { + console.log("appid=", appid); upgrade.checkAndUpdateWgt(); } - - + + } - }}); + } + }); }, onHide: function() { console.log('App Hide'); @@ -55,66 +60,117 @@ + font-family: "PingFang SC"; + src: url("~@/static/fonts/PingFangSC.ttf") format("opentype"); + } + + @font-face { + font-family: "PingFangBold"; + src: url("~@/static/fonts/PingFangBold.ttf") format("opentype"); + } + \ No newline at end of file diff --git a/manifest.json b/manifest.json index 12cf937..282ed38 100644 --- a/manifest.json +++ b/manifest.json @@ -132,7 +132,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "", + "appid" : "wxe16dcf57e925a6b5", "setting" : { "urlCheck" : false }, diff --git a/pages.json b/pages.json index 96309dc..4498b63 100644 --- a/pages.json +++ b/pages.json @@ -263,12 +263,66 @@ "navigationBarTitleText": "BJQ6331" } }, + { - "path": "pages/6331/AudioManager", + "path": "pages/4877/BJQ4877", "style": { - "navigationBarTitleText": "语音管理" + "navigationBarTitleText": "BJQ 4877" } }, + { + "path": "pages/100/HBY100", + "style": { + "navigationBarTitleText": "HBY 100" + } + }, + { + "path": "pages/common/audioManager/AudioList", + "style": { + "navigationBarTitleText": "语音管理", + "disableScroll":true, + "app-plus": { + "bounce":"none", + "titleNView": { + "buttons": [ + + { + "color": "#00000000", + "text": "删", + "fontSize": "10", + "float": "right", + "fontWeight": "normal" + + }, + { + "color": "#ffffffde", + "text": "编辑", + "fontSize": "14", + "float": "right", + "fontWeight": "normal" + + }, + { + "color": "#ffffffde", + "text": "取消", + "fontSize": "14", + "float": "right", + "fontWeight": "normal" + + } + ] + } + } + } + }, + { + "path" : "pages/common/audioManager/Recording", + "style" : + { + "navigationBarTitleText" : "录制语音" + } + }, + { "path": "pages/4877/BJQ4877", "style": { diff --git a/pages/100/HBY100.vue b/pages/100/HBY100.vue index 7744731..4dcc609 100644 --- a/pages/100/HBY100.vue +++ b/pages/100/HBY100.vue @@ -1,9 +1,9 @@ - - diff --git a/pages/6331/BJQ6331.vue b/pages/6331/BJQ6331.vue index 8a5fcc9..300a0c4 100644 --- a/pages/6331/BJQ6331.vue +++ b/pages/6331/BJQ6331.vue @@ -1,8 +1,8 @@