|
@@ -18,7 +18,7 @@
|
|
|
<div v-if="detailsData&&detailsData.content" v-html="detailsData.content" class="editor-box"></div>
|
|
|
<span v-else>--</span>
|
|
|
</a-descriptions-item>
|
|
|
- <a-descriptions-item label="图片" :span="2">
|
|
|
+ <a-descriptions-item label="图片" :span="2" v-if="detailsData.type !== 'tx'">
|
|
|
<div style="display: flex;">
|
|
|
<p class="pic-box" v-for="(item,index) in imgPathsArr" :key="index">
|
|
|
<img :src="item" title="点击查看大图" class="productPic" @click="getPreview(item)" />
|
|
@@ -26,7 +26,7 @@
|
|
|
</div>
|
|
|
<span v-if="imgPathsArr.length == 0">--</span>
|
|
|
</a-descriptions-item>
|
|
|
- <a-descriptions-item label="附件" :span="2">
|
|
|
+ <a-descriptions-item label="附件" :span="2" v-if="detailsData.type !== 'tx'">
|
|
|
<p style="margin: 0 0 5px;" v-for="(item,index) in attachPathsArr" :key="index">
|
|
|
<a :href="item.filePath" :download="item.fileName" class="attachLink">{{ item.fileName }}</a>
|
|
|
</p>
|
|
@@ -70,6 +70,8 @@ export default {
|
|
|
str = '企业新闻'
|
|
|
} else if (this.detailsData && this.detailsData.type == 'news_trade') {
|
|
|
str = '行业咨询'
|
|
|
+ } else if (this.detailsData && this.detailsData.type == 'tx') {
|
|
|
+ str = '提醒'
|
|
|
} else {
|
|
|
str = '--'
|
|
|
}
|