提交 5d215e41 authored 作者: 杨斌基's avatar 杨斌基

feat(上报内容): 新增示例

上级 a91f8ad0
......@@ -18,6 +18,17 @@
</view>
</view>
<!-- 示例 -->
<view v-if="activeItem" class="step_box">
<view class="tep_one">
<image mode="aspectFill" class="tep_icon" src="/static/icon/ic_rw_neirong@2x.png" />
<view class="one">示例</view>
</view>
<view class="example">
<u-parse :content="activeItem.desc" />
</view>
</view>
<!-- 违法地点-->
<view class="step_box">
<view class="tep_one">
......@@ -406,6 +417,12 @@ export default {
};
},
computed: {
activeItem() {
return this.typeList.find(v => v.id === this.id)
}
},
onLoad(query) {
console.log(query);
this.query = query;
......@@ -660,4 +677,8 @@ export default {
<style scoped lang="scss">
@import 'index.scss';
.example {
margin-top: 16rpx;
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论