sadjv3_jishi/my/setting/about.vue

50 lines
1022 B
Vue

<template>
<view style="font-size: 14px;line-height: 26px;padding: 32upx;" class="home1">
<view class="header">
<image style="width:100px;height: 100px;" src="@/static/logo.png" mode=""></image>
<view class="" style="font-size: 12px;">
version: {{version}}
</view>
</view>
<view style="font-size: 28upx;margin-top: 40px;" v-html="content"></view>
</view>
</template>
<script>
export default {
data() {
return {
content: '',
version: "",
}
},
onLoad() {
this.getGuize();
this.getCurrentAppVersion();
},
methods: {
getCurrentAppVersion() {
plus.runtime.getProperty(plus.runtime.appid, (widgetInfo) => {
this.version = widgetInfo.version;
})
},
getGuize() {
this.$Request.getT('/app/common/type/187').then(res => {
if (res.code === 0) {
this.content = res.data.value;
}
});
}
}
}
</script>
<style>
.header {
width: 100%;
display: flex;
align-items: center;
flex-direction: column;
color: #959595;
}
</style>