修改670人员信息重复发送的问题/修改版本更新的方式/加入检查更新的连接
This commit is contained in:
@ -22,9 +22,14 @@
|
||||
<text class="title">隐私协议</text>
|
||||
<uni-icons type="right" size="25" color="rgba(255, 255, 255, 0.4)" class="uniIcon"></uni-icons>
|
||||
</view>
|
||||
<view class="menu-item" @click="gotoAppStore()">
|
||||
<image src="/static/images/common/ver.png" class="icon"></image>
|
||||
<text class="title">版本更新 ({{appVersion}})</text>
|
||||
<uni-icons type="right" size="25" color="rgba(255, 255, 255, 0.4)" class="uniIcon"></uni-icons>
|
||||
</view>
|
||||
<view class="menu-item" @click="aboutUs">
|
||||
<image src="/static/images/common/wm.png" class="icon"></image>
|
||||
<text class="title">关于我们 ({{appVersion}})</text>
|
||||
<text class="title">关于我们</text>
|
||||
<uni-icons type="right" size="25" color="rgba(255, 255, 255, 0.4)" class="uniIcon"></uni-icons>
|
||||
</view>
|
||||
<view class="menu-item" @click="account">
|
||||
@ -88,6 +93,25 @@
|
||||
|
||||
},
|
||||
methods: {
|
||||
//版本更新
|
||||
gotoAppStore(){
|
||||
let os=uni.getSystemInfoSync().platform;
|
||||
let url=''
|
||||
if(os==='ios'){
|
||||
url='https://apps.apple.com/cn/app/星汉物联/id6752555460'
|
||||
}
|
||||
|
||||
else if(os==='android'){
|
||||
url='https://www.pgyer.com/xhwl';
|
||||
}
|
||||
|
||||
plus.runtime.openURL(url, (res) => {
|
||||
uni.showToast({
|
||||
title: '打开失败',
|
||||
icon: 'none'
|
||||
});
|
||||
});
|
||||
},
|
||||
// 取消
|
||||
handleDisagree() {
|
||||
this.showAgreement = false,
|
||||
|
||||
Reference in New Issue
Block a user