108 lines
2.2 KiB
Vue
Executable File
108 lines
2.2 KiB
Vue
Executable File
<template>
|
||
<view class="page">
|
||
<view class="my-operate">
|
||
<view class="my-item " >
|
||
<view class="icon-text">当前版本</view>
|
||
<view class="text-right">{{versionCode}}</view>
|
||
</view>
|
||
<view class="my-item " >
|
||
<view class="icon-text">客服电话</view>
|
||
<view class="text-right">400-878-8790</view>
|
||
</view>
|
||
</view>
|
||
<!-- <view class="my-operate">
|
||
<view class="my-item">
|
||
<view class="icon-text">升级日志</view>
|
||
<image src="../../../static/myinfo/right-arrow.png" style="height: 25.36upx;width: 25.36upx;margin-right: 43.47upx;"></image>
|
||
</view>
|
||
</view> -->
|
||
<view class="v-bottom">
|
||
客服电话:400-878-8790
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
import Vue from 'vue';
|
||
import version from '@/common/version.js';
|
||
export default {
|
||
data() {
|
||
return {
|
||
versionCode:''
|
||
}
|
||
},
|
||
|
||
onLoad:function(){
|
||
this.versionCode = 'v' + version.versionName;
|
||
let _self = this;
|
||
// #ifdef APP-PLUS
|
||
plus.runtime.getProperty(plus.runtime.appid,(wgtinfo)=>{
|
||
_self.versionCode = 'v' + wgtinfo.version;
|
||
});
|
||
// #endif
|
||
},
|
||
|
||
methods: {
|
||
},
|
||
}
|
||
</script>
|
||
|
||
<style>
|
||
.page{
|
||
width: 100%;
|
||
height: 100%;
|
||
background:#F2F2F2;
|
||
}
|
||
.my-operate {
|
||
//使用flex布局 使内容垂直居中
|
||
display: flex;
|
||
flex-direction: column;
|
||
padding-top: 30upx;
|
||
}
|
||
|
||
.my-item {
|
||
background:#FFFFFF;
|
||
padding-left: 30upx;
|
||
display: flex;
|
||
justify-content: flex-start;
|
||
align-items: center;
|
||
padding: 25upx 0;
|
||
flex: 1;
|
||
//margin-bottom: 10upx;
|
||
border-bottom: 0.5px solid #F2F2F2
|
||
}
|
||
|
||
.my-item:nth-of-type(1) {
|
||
border-top: 0.5px solid #F2F2F2
|
||
}
|
||
.my-item view{
|
||
display: flex;
|
||
flex: 1;
|
||
}
|
||
.icon-text{
|
||
margin-left: 43.47upx;
|
||
|
||
font-size: 32.6upx;
|
||
font-family: PingFangSC-Regular, PingFang SC;
|
||
font-weight: 400;
|
||
color: #232323;
|
||
}
|
||
.text-right{
|
||
justify-content: flex-end;
|
||
margin-right: 43.47upx;
|
||
|
||
font-size: 32.6upx;
|
||
font-family: PingFangSC-Regular, PingFang SC;
|
||
font-weight: 400;
|
||
color: #686868;
|
||
}
|
||
|
||
.v-bottom{
|
||
width: 100%;
|
||
position:absolute;
|
||
bottom:0px;
|
||
text-align: center;
|
||
font-size: 30upx;
|
||
padding: 30upx 0;
|
||
}
|
||
</style> |