增加版本

h5
wangdong 7 months ago
parent 5b92e3254d
commit 88cfd930bd
  1. 13
      pages/news1/setting.vue

@ -63,6 +63,12 @@
关于我们
</view>
<u-icon style="margin-left: 5rpx; color: #8A8A8A" name="arrow-right"></u-icon>
</view>
<view class="box-avter conten-height" style="border: none;">
<view class="name-text">
当前版本
</view>
<text>{{ systemInfo.version }}</text>
</view>
</view>
<view class="box" style="padding: 0 40rpx;" @click="onOut">
@ -104,14 +110,17 @@ export default {
info: '',
imageList: [],
avatar_id: [],
nick_name: ''
nick_name: '',
systemInfo: {},
};
},
onShow() { },
onLoad(params) {
console.log(uni.getStorageSync("userInfo"))
this.info = uni.getStorageSync("userInfo")
this.genderIndex = this.info.gender == '男' ? 0 : 1
this.genderIndex = this.info.gender == '男' ? 0 : 1
this.systemInfo = uni.getSystemInfoSync();
console.log({...this.systemInfo});
},
methods: {
formSubmit(e) {

Loading…
Cancel
Save