64 lines
1008 B
Vue
64 lines
1008 B
Vue
<template>
|
|
<view class="content">
|
|
<view class="version-box">
|
|
<image
|
|
style="width: 200rpx; height: 200rpx"
|
|
mode="aspectFit"
|
|
:src="logo"
|
|
></image>
|
|
|
|
<text> {{ version }}</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>
|