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.
yanzong_qianduan/pages/news/rules/index.vue

41 lines
675 B

10 months ago
<template>
<view class="pages">
<view class="header">
<u-navbar is-back="false" :title="title" ></u-navbar>
</view>
<view class="content">
<rich-text :nodes="strings"></rich-text>
</view>
</view>
</template>
<script>
export default{
data(){
return{
title:'',
strings:'',
itemInfo:{}
}
},
onLoad(options){
9 months ago
this.itemInfo = JSON.parse(decodeURIComponent(options.itemInfo))
10 months ago
this.title = this.itemInfo.title;
this.strings = this.itemInfo.content;
},
methods:{
},
}
</script>
<style scoped lang="scss">
.pages{
width: 100%;
height: 100%;
padding: 30rpx;
9 months ago
span{
white-space: normal !important
}
10 months ago
}
</style>