|
|
@@ -102,6 +102,10 @@
|
|
|
</tui-list-cell>
|
|
|
|
|
|
<!-- #ifdef APP-PLUS -->
|
|
|
+ <tui-list-cell @click="getHzg()" class="line-cell" :hover="false" :arrow="true">
|
|
|
+ <view class="tui-title">下载最新版</view>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
<tui-list-cell @click="closeApp()" class="line-cell" :hover="false" :arrow="true" v-if="!$util.isEmpty(getLoginInfo.admin) && getLoginInfo.admin.currentShopId > 0">
|
|
|
<view class="tui-title">关闭APP</view>
|
|
|
</tui-list-cell>
|
|
|
@@ -174,6 +178,21 @@ export default {
|
|
|
},
|
|
|
init(){
|
|
|
|
|
|
+ },
|
|
|
+ getHzg(){
|
|
|
+ // #ifdef APP-PLUS
|
|
|
+ let that = this
|
|
|
+ let type = uni.getSystemInfoSync().platform
|
|
|
+ switch(type){
|
|
|
+ case 'android':
|
|
|
+ plus.runtime.openURL('http://www.wixhb.com/main/app')
|
|
|
+ break;
|
|
|
+ case 'ios':
|
|
|
+ that.$msg('请到应用市场下载')
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ }
|
|
|
+ // #endif
|
|
|
},
|
|
|
suggest(){
|
|
|
let that = this
|