40 lines
606 B
Vue
40 lines
606 B
Vue
<template>
|
|
<view class="container">
|
|
<view class="content">
|
|
<view v-if="userInfo && userInfo.levelExplain" v-html="userInfo.levelExplain"></view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapGetters } from "vuex";
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
computed: mapGetters(["userInfo"]),
|
|
onLoad:function(e){
|
|
|
|
},
|
|
onShow:function(){
|
|
this.$store.dispatch("getUser", true);
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.content{
|
|
background-color: #fff;
|
|
margin: 20rpx;
|
|
padding:20rpx;
|
|
font-size: 30rpx;
|
|
font-weight: normal;
|
|
border-radius: 10rpx;
|
|
}
|
|
</style>
|