|
@@ -89,26 +89,36 @@
|
|
|
'name': '客服热线',
|
|
|
'desc': '400-888-1688',
|
|
|
'path': ''
|
|
|
- }
|
|
|
- ]
|
|
|
+ },
|
|
|
+ ]
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
- // setTimeout(function() {
|
|
|
- // uni.setNavigationBarColor({
|
|
|
- // frontColor: '#ffffff',
|
|
|
- // backgroundColor: '#00000000',
|
|
|
- // animation: {
|
|
|
- // duration: 400,
|
|
|
- // timingFunc: 'easeIn'
|
|
|
- // }
|
|
|
- // })
|
|
|
- // }, 200);
|
|
|
+ // #ifdef APP-PLUS
|
|
|
+ this.getAppVersion()
|
|
|
+ // #endif
|
|
|
},
|
|
|
onShow() {
|
|
|
this.loadData();
|
|
|
},
|
|
|
methods: {
|
|
|
+ getAppVersion() {
|
|
|
+ uni.getSystemInfo({
|
|
|
+ success: (info) => {
|
|
|
+ // app系统环境
|
|
|
+ let appPlatform = info.platform;
|
|
|
+ console.log("appPlatform", appPlatform)
|
|
|
+ // 获取本机版本号
|
|
|
+ plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
|
|
|
+ this.list.push({
|
|
|
+ 'name': '版本号',
|
|
|
+ 'desc': 'V' + wgtinfo.version,
|
|
|
+ 'path': ''
|
|
|
+ })
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
onBack() {},
|
|
|
chkSel() {
|
|
|
if (this.sel == 1) {
|