四零语境前端代码仓库
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.
 
 
 

39 lines
696 B

<template>
<view class="container">
<view class="sub-container">
<view class="rich-text">
<rich-text :nodes="this.configParamContent('production_desc')"></rich-text>
</view>
</view>
</view>
</template>
<script >
export default {
data() {
return {
htmlContent: '<h1>这是一个标题</h1><p>这是一个段落</p>'
}
}
}
</script>
<style scoped lang="scss">
.container {
box-sizing: border-box;
height: 100vh;
margin: 0;
padding: 0;
background-color: #F7F8FA;
overflow: hidden;
.sub-container{
box-sizing: border-box;
border-radius: 32rpx;
padding: 32rpx;
margin: 40rpx;
background: #fff;
}
}
</style>