Commit 6fc8d04c authored by 王's avatar

关键词回复

parent 01c6f046
......@@ -13,9 +13,9 @@
<el-form label-position="top" class="demo-table-expand">
<el-form-item label="回复内容">
<div v-for="(item, index) in JSON.parse(props.row.desc)">
<span>内容{{ item.content }}</span>
<span v-if="item.teacher_id"> 老师ID:{{item.teacher_id}}</span>
<span v-if="item.start_at"> 开课时间:{{item.start_at}}</span>
<span v-if="item.content && item.type==='text'">回复{{index+1}}{{ item.content }}</span>
<span v-if="item.content && item.type==='image'">回复{{index+1}}<img class="img" :src="item.content"/></span>
<span v-if="item.variable">回复{{index+1}}:老师二维码</span>
</div>
</el-form-item>
</el-form>
......@@ -126,4 +126,7 @@
.add-btn {
margin: 10px 0;
}
.img {
width: 10%;
}
</style>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment