调整会员页面,重构会员页面,移出会员页面冗余代码

This commit is contained in:
唐明明
2021-11-10 17:02:13 +08:00
parent ddd62f8995
commit c1c0d720f7
5 changed files with 417 additions and 634 deletions

58
App.vue
View File

@@ -24,35 +24,35 @@
//#ifdef APP-PLUS
// 获取系统版本号
getVersions({
platform: plus.os.name,
version : plus.runtime.versionCode
}).then(res => {
if(res.update){
uni.showModal({
title: "更新提示",
content: res.note || '版本更新信息',
confirmText: "更新",
success: modalRes => {
if (modalRes.confirm) {
if (plus.os.name == "Android") {
plus.runtime.openURL(res.info.download);
} else{
uni.showToast({
title: 'IOS应用暂未上架请打开测试(TestFlight)工具点击更新',
icon : 'none'
})
}
}
}
})
}
}).catch(err => {
uni.showToast({
title: err.message,
icon : 'none'
})
})
// getVersions({
// platform: plus.os.name,
// version : plus.runtime.versionCode
// }).then(res => {
// if(res.update){
// uni.showModal({
// title: "更新提示",
// content: res.note || '版本更新信息',
// confirmText: "更新",
// success: modalRes => {
// if (modalRes.confirm) {
// if (plus.os.name == "Android") {
// plus.runtime.openURL(res.info.download);
// } else{
// uni.showToast({
// title: 'IOS应用暂未上架请打开测试(TestFlight)工具点击更新',
// icon : 'none'
// })
// }
// }
// }
// })
// }
// }).catch(err => {
// uni.showToast({
// title: err.message,
// icon : 'none'
// })
// })
//#endif
},
onShow() {