InspectionCleaning/pages/user/versionInfo/index.vue

64 lines
1.1 KiB
Vue

<template>
<view class="content">
<view class="version-box">
<image
style="width: 200rpx; height: 200rpx"
mode="aspectFit"
:src="logo"
></image>
<text> {{ $systemConfig.h5AppVersion }}</text>
</view>
</view>
</template>
<script>
import {
toast,
clearStorageSync,
setStorageSync,
getStorageSync,
useRouter,
} from "@/utils/utils.js";
export default {
data() {
return {
logo: "/static/images/version.png",
// version: "v1.0.2", // 改用配置文件版本号
};
},
onLoad(op) {
//this.id = op.id
},
onShow() {},
onReady() {
// this.getUserInfo();
},
methods: {
// getUserInfo() {
// this.$api.baseInfo().then((res) => {
// this.baseInfo = res.data;
// });
// },
},
};
</script>
<style lang="scss" scoped>
page {
background: #f6f8fc;
}
.content {
padding-top: 100rpx;
.version-box {
display: flex;
flex-direction: column;
align-items: center;
text {
color: #999;
margin-top: 32rpx;
}
}
}
</style>