国内海外详情 - 发布稿 - 文件多个显示
This commit is contained in:
@@ -69,7 +69,7 @@
|
|||||||
<label style=" margin-right: 164px;">{{ child.attrName }}</label>
|
<label style=" margin-right: 164px;">{{ child.attrName }}</label>
|
||||||
<template v-if="child.value && child.value.length > 0"
|
<template v-if="child.value && child.value.length > 0"
|
||||||
v-for="(file, fileIndex) in child1Func(child.value)">
|
v-for="(file, fileIndex) in child1Func(child.value)">
|
||||||
|
<!-- 单个文件时-->
|
||||||
<span v-if="child.value && child.value.length > 0 && child.value.length === 1">
|
<span v-if="child.value && child.value.length > 0 && child.value.length === 1">
|
||||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
|
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
|
||||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||||
@@ -88,6 +88,7 @@
|
|||||||
/>
|
/>
|
||||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||||
</span>
|
</span>
|
||||||
|
<!-- 多个文件时-->
|
||||||
<span v-else-if="child.value && child.value.length > 0">
|
<span v-else-if="child.value && child.value.length > 0">
|
||||||
<div style="margin-left: 19%">
|
<div style="margin-left: 19%">
|
||||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
|
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
|
||||||
|
|||||||
Reference in New Issue
Block a user