1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <template>
- <view style="background: #FABB43;height: 100vh;">
- <image src="/static/images/tabBar/104.png"
- style="width:100%;height: 645rpx;margin-right: 10rpx;position: relative;bottom: 150rpx;" mode="scaleToFill">
- </image>
- <!-- <u-navbar :autoBack="true" title="设置" bgColor="#fd5003" leftIconColor="#fff" titleStyle="color:#fff"></u-navbar> -->
- <view class="content">
- <view style="text-align: center;">
- <image src="/static/images/tabBar/105.png"
- style="width:563rpx;height: 176rpx;" mode="scaleToFill">
- </image>
- <view style="color: #fff;font-size: 26rpx;margin-top: 20rpx;">version:{{versionNumber}}</view>
- </view>
- </view>
- <view style="width: 100%;position:fixed; bottom:200rpx;padding: 0;">
- <view style="width:468rpx;margin: 0 auto;">
- <u-button type="primary" @click="logOut" text="退出登录" color="#E75F37" shape='circle'></u-button>
- </view>
- <view style="width: 100%;position:fixed;bottom:20rpx;text-align: center;">
- <!-- <view>
- {{name}}软件许可及服务协议
- </view> -->
- <!-- <view style="color: #fd5003;">
- 《隐私保护指引》
- </view> -->
- <!-- <web-view src="http://www.turbosoft.net/privacyPolicy.html" bindload="bindload" binderror="binderror"></web-view> -->
- <!-- <a href="http://www.turbosoft.net/privacyPolicy.html" style="color: #fd5003;">《隐私保护指引》</a> -->
- </view>
- </view>
- </u-modal>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- name: '获取失败',
- versionNumber: '获取失败'
- }
- },
- created() {
- // #ifdef MP-WEIXIN
- let _this = this
- const accountInfo = wx.getAccountInfoSync();
- if (accountInfo.miniProgram) {
- _this.versionNumber = accountInfo.miniProgram.version?accountInfo.miniProgram.version:'获取失败' // 小程序 版本号
- }
- // #endif
- },
- methods: {
- logOut() {
- uni.clearStorageSync();
- uni.navigateTo()
- uni.reLaunch({
- url: '/pages/login/login'
- });
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .content {
- width: 96%;
- margin: 60rpx auto;
- }
- .head{
- padding-top: var(--status-bar-height);
- }
- .head ::v-deep.u-navbar-inner {
- z-index: -99999;
- }
- </style>
|