连云港陪玩陪聊
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chunwan/pages/users/about/index.vue

35 lines
550 B

<template>
<view class="about">
<view class="content" v-html="content"></view>
</view>
</template>
<script>
export default {
data() {
return {
content: "",
type: ""
};
},
onLoad(o) {
this.type = o.type;
this.getInfo();
},
methods: {
async getInfo() {
const { code,data } = await this.$api.getConfigData({dictType: this.type});
if(code == 200){
this.content = data.content;
uni.setNavigationBarTitle({
title: data.title
})
}
},
}
}
</script>
<style lang="scss">
</style>