h5/pages/visitorSubGuide/index.vue
对比新文件 @@ -0,0 +1,36 @@ <template> <view class="box"> <!-- <view v-html="info"></view> --> <mp-html :content="info" /> </view> </template> <script> import { getSystemDictData } from '@/api' export default { data() { return { info: "", } }, onLoad() { this.initData() }, methods: { initData() { getSystemDictData({ dictCode: 'SYSTEM', label: 'VISIT_TIPS' }).then(res => { if (res.code === 200) { this.info = res.data.code } }) } } } </script> <style lang="scss" scoped> .box { padding: 0 30rpx; } </style>