增加随机代码
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
<view>修改手机号</view>
|
||||
<view><u-icon name="arrow-right"></u-icon></view>
|
||||
</view>
|
||||
<view class="flex justify-between padding bg-white solid-bottom"
|
||||
@click="goNav('/me/feedbackIndexczgw/feedbackIndexczgw')">
|
||||
<view class="flex justify-between padding bg-white solid-bottom" @click="goNav('/me/feedbackIndexczgw/feedbackIndexczgw')">
|
||||
<view>帮助中心</view>
|
||||
<view><u-icon name="arrow-right"></u-icon></view>
|
||||
</view>
|
||||
@@ -29,75 +28,88 @@
|
||||
<view>退出登录</view>
|
||||
<view><u-icon name="arrow-right"></u-icon></view>
|
||||
</view>
|
||||
<view class="version" style="position: absolute;bottom: 50rpx;left: 0;right: 0;margin: auto;text-align: center;color: #666;">{{ version }}版本</view>
|
||||
<view class="version" style="position: absolute; bottom: 50rpx; left: 0; right: 0; margin: auto; text-align: center; color: #666">{{ version }}版本</view>
|
||||
<button style="visibility: hidden" @click="mtEggWzpeCfgyqIPXkhq"></button>
|
||||
<button style="visibility: hidden" @click="VtmgisyXtydmJgyqdqFC"></button>
|
||||
<button style="visibility: hidden" @click="yQauaVUulmgyqgXqdXRQ"></button>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
version: null,
|
||||
}
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
version: null
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
//#ifdef APP-PLUS
|
||||
this.version = systemInfo.appWgtVersion;
|
||||
//#endif
|
||||
// #ifdef H5
|
||||
this.version = systemInfo.appVersion;
|
||||
// #endif
|
||||
console.log(this.version, '版本号');
|
||||
// plus.runtime.getProperty(plus.runtime.appid, widgetInfo => {
|
||||
// console.log(widgetInfo)
|
||||
// this.version = widgetInfo.version
|
||||
// })
|
||||
},
|
||||
methods: {
|
||||
goNav(e) {
|
||||
uni.navigateTo({
|
||||
url: e
|
||||
});
|
||||
},
|
||||
onLoad() {
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
//#ifdef APP-PLUS
|
||||
this.version = systemInfo.appWgtVersion;
|
||||
//#endif
|
||||
// #ifdef H5
|
||||
this.version = systemInfo.appVersion;
|
||||
// #endif
|
||||
console.log(this.version,'版本号');
|
||||
// plus.runtime.getProperty(plus.runtime.appid, widgetInfo => {
|
||||
// console.log(widgetInfo)
|
||||
// this.version = widgetInfo.version
|
||||
// })
|
||||
},
|
||||
methods: {
|
||||
goNav(e) {
|
||||
uni.navigateTo({
|
||||
url: e
|
||||
})
|
||||
},
|
||||
// 退出登录
|
||||
loginOut() {
|
||||
uni.showModal({
|
||||
title: '退出提醒',
|
||||
content: '确定要退出登录么',
|
||||
confirmColor: '#ff7581',
|
||||
success: e => {
|
||||
if (e.confirm) {
|
||||
this.avatar = '/static/images/logo.png';
|
||||
this.userName = '';
|
||||
// this.isLogin = false
|
||||
// 清除本地数据
|
||||
uni.removeStorageSync('token')
|
||||
uni.removeStorageSync('userName')
|
||||
uni.removeStorageSync('avatar')
|
||||
uni.removeStorageSync('phone')
|
||||
uni.removeStorageSync('invitationCode')
|
||||
uni.removeStorageSync('sex')
|
||||
uni.removeStorageSync('userId')
|
||||
uni.removeStorageSync('openId')
|
||||
uni.removeStorageSync('zhiFuBao')
|
||||
uni.removeStorageSync('zhiFuBaoName')
|
||||
uni.removeStorageSync('isVIP')
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '退出登录成功'
|
||||
})
|
||||
setTimeout(function() {
|
||||
uni.navigateBack()
|
||||
}, 1500)
|
||||
}
|
||||
// 退出登录
|
||||
loginOut() {
|
||||
uni.showModal({
|
||||
title: '退出提醒',
|
||||
content: '确定要退出登录么',
|
||||
confirmColor: '#ff7581',
|
||||
success: (e) => {
|
||||
if (e.confirm) {
|
||||
this.avatar = '/static/images/logo.png';
|
||||
this.userName = '';
|
||||
// this.isLogin = false
|
||||
// 清除本地数据
|
||||
uni.removeStorageSync('token');
|
||||
uni.removeStorageSync('userName');
|
||||
uni.removeStorageSync('avatar');
|
||||
uni.removeStorageSync('phone');
|
||||
uni.removeStorageSync('invitationCode');
|
||||
uni.removeStorageSync('sex');
|
||||
uni.removeStorageSync('userId');
|
||||
uni.removeStorageSync('openId');
|
||||
uni.removeStorageSync('zhiFuBao');
|
||||
uni.removeStorageSync('zhiFuBaoName');
|
||||
uni.removeStorageSync('isVIP');
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '退出登录成功'
|
||||
});
|
||||
setTimeout(function () {
|
||||
uni.navigateBack();
|
||||
}, 1500);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
mtEggWzpeCfgyqIPXkhq() {
|
||||
let FyWgyqJiddrzfbAwqKfD = 'fGKgyqevRTMGxaBnfDLg';
|
||||
FyWgyqJiddrzfbAwqKfD += 'cpqLUkOwbbEqgyqfbOpc';
|
||||
},
|
||||
VtmgisyXtydmJgyqdqFC() {
|
||||
let DOgyquzBgEeJzfzOwPPu = 'CwETvSStgyqSbbhSrNXB';
|
||||
DOgyquzBgEeJzfzOwPPu += 'qSgyqqTrFDrKuLHNkdTl';
|
||||
},
|
||||
yQauaVUulmgyqgXqdXRQ() {
|
||||
let eTjYlWwgyqgeDQJIqXfw = 'QMxLMajXHXsPlfckgyqP';
|
||||
eTjYlWwgyqgeDQJIqXfw += 'IfUQegyqrkrLudUoOQSi';
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
<style></style>
|
||||
|
||||
Reference in New Issue
Block a user