This commit is contained in:
parent
d566862448
commit
f9e79f4f23
|
@ -18,30 +18,30 @@
|
|||
<span class="title">教学大纲内容</span>
|
||||
<a-divider />
|
||||
</a-col>
|
||||
<a-col :span="24" v-for="(item, index) in zyJxdgMainTable.dataSource" :key="index">
|
||||
<a-col :span="23" v-for="(item, index) in zyJxdgMainTable.dataSource" :key="index" style="margin:8px auto; background:#fff;border:1px solid #eee;">
|
||||
<a-row>
|
||||
<a-col :span="24" style="margin-bottom: 15px; height: 40px; margin-top: 15px; background-color: rgba(1, 156, 136, 0.1)">
|
||||
<a-col :span="24" style="height: 40px; line-height:40px; background-color:#f6f6f6">
|
||||
<span class="title">{{ item.title }}</span>
|
||||
</a-col>
|
||||
<!-- 单行文本 1 -->
|
||||
<a-col v-if="item.type === '1'" :span="24" style="margin: 10px; ">
|
||||
<span v-text="item.content"></span>
|
||||
<span class="message-word" v-text="item.content"></span>
|
||||
</a-col>
|
||||
<!-- 多行文本 2 -->
|
||||
<a-col v-else-if="item.type === '2'" :span="24" style="margin: 10px; ">
|
||||
<span v-text="item.content"></span>
|
||||
<span class="message-word" v-text="item.content"></span>
|
||||
</a-col>
|
||||
<!-- 富文本 3 -->
|
||||
<a-col v-else-if="item.type === '3'" :span="24">
|
||||
<div v-html="item.content"></div>
|
||||
<div class="message-word" v-html="item.content"></div>
|
||||
</a-col>
|
||||
<!-- 固定表单(基础信息) 4 -->
|
||||
<a-col v-else-if="item.type === '4'" v-model:value="item.content" :span="24">
|
||||
<a-form v-bind="formItemLayout">
|
||||
<a-row>
|
||||
<a-col v-for="(item2, index2) in item.zyJxdgPzxxList" :key="index2" :span="12">
|
||||
<a-form-item :label="item2.title" >
|
||||
<span v-text="item2.content"></span>
|
||||
<a-form-item :label="item2.title">
|
||||
<span class="Sheet-word" v-text="item2.content"></span>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
|
@ -58,8 +58,8 @@
|
|||
<!-- 自增单行文本 6 -->
|
||||
<a-col v-else-if="item.type === '6'" :span="24">
|
||||
<a-row>
|
||||
<a-col v-for="(item2, index2) in item.list" :key="index2" style="margin: 10px; ">
|
||||
<span v-text="item2.title"></span>
|
||||
<a-col v-for="(item2, index2) in item.list" :key="index2" >
|
||||
<span style="padding:20px; color:#888" v-text="item2.title"></span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-col>
|
||||
|
@ -67,7 +67,7 @@
|
|||
<a-col v-else-if="item.type === '7'" :span="24">
|
||||
<a-row>
|
||||
<a-col v-for="(item2, index2) in item.list" :key="index2">
|
||||
<div v-html="item2.title"></div>
|
||||
<div class="message-word" v-html="item2.title"></div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-col>
|
||||
|
@ -75,7 +75,7 @@
|
|||
<a-col v-else-if="item.type === '8'" :span="24">
|
||||
<a-row>
|
||||
<a-col v-for="(item2, index2) in item.list" :key="index2" style="margin: 10px; ">
|
||||
<span v-text="item2.title"></span>
|
||||
<span class="message-word" v-text="item2.title"></span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-col>
|
||||
|
@ -583,4 +583,11 @@ onMounted(() => {
|
|||
border-left: 5px solid #029c88;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.message-word{
|
||||
color: #888;
|
||||
padding:10px 20px;
|
||||
}
|
||||
.Sheet-word{
|
||||
color: #888;
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue