|
|
@@ -25,6 +25,12 @@
|
|
|
:key="index"
|
|
|
:class="[index === active_index ? 'active' : '']"
|
|
|
@click="active_index = index"
|
|
|
+ :style="{
|
|
|
+ color:
|
|
|
+ index === active_index && data.unified_attrib && data.unified_attrib.topic_color
|
|
|
+ ? data.unified_attrib.topic_color
|
|
|
+ : '',
|
|
|
+ }"
|
|
|
>{{ label }}</span
|
|
|
>
|
|
|
</div>
|
|
|
@@ -32,9 +38,15 @@
|
|
|
<li v-for="(file, i) in source_list[active_index]" :key="i">
|
|
|
<div class="file-name">
|
|
|
<span>
|
|
|
- <SvgIcon :icon-class="icon_list[active_index]" size="16" />
|
|
|
+ <SvgIcon :icon-class="icon_list[active_index]" size="24" />
|
|
|
<p>
|
|
|
- <span>{{ data.file_info[file.file_id].xuhao + data.file_info[file.file_id].file_name }} </span
|
|
|
+ <span
|
|
|
+ :style="{
|
|
|
+ fontSize:
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size ? data.unified_attrib.font_size : '',
|
|
|
+ fontFamily: data.unified_attrib && data.unified_attrib.font ? data.unified_attrib.font : '',
|
|
|
+ }"
|
|
|
+ >{{ data.file_info[file.file_id].xuhao + data.file_info[file.file_id].file_name }} </span
|
|
|
><span
|
|
|
>{{
|
|
|
multilingualTextList[getLang()] && multilingualTextList[getLang()][i]
|
|
|
@@ -44,10 +56,11 @@
|
|
|
</span>
|
|
|
</p>
|
|
|
</span>
|
|
|
- <SvgIcon v-show="file.file_id" icon-class="uploadPreview" size="16" @click="viewDialog(file)" />
|
|
|
+ <SvgIcon v-show="file.file_id" icon-class="uploadPreview" size="24" @click="viewDialog(file)" />
|
|
|
+
|
|
|
<img
|
|
|
- v-if="isEnable(data.is_enable_download)"
|
|
|
- style="width: 16px; height: 16px"
|
|
|
+ v-if="isEnable(data.property.is_enable_download)"
|
|
|
+ style="width: 24px; height: 24px; cursor: pointer"
|
|
|
src="@/assets/download.png"
|
|
|
alt="download"
|
|
|
@click="downLoad(file)"
|
|
|
@@ -55,7 +68,16 @@
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
- <p v-else class="label-tips">暂无本类型文件,看看其他类型吧</p>
|
|
|
+ <p
|
|
|
+ v-else
|
|
|
+ class="label-tips"
|
|
|
+ :style="{
|
|
|
+ fontSize: data.unified_attrib && data.unified_attrib.font_size ? data.unified_attrib.font_size : '',
|
|
|
+ fontFamily: data.unified_attrib && data.unified_attrib.font ? data.unified_attrib.font : '',
|
|
|
+ }"
|
|
|
+ >
|
|
|
+ 暂无本类型文件,看看其他类型吧
|
|
|
+ </p>
|
|
|
</template>
|
|
|
</div>
|
|
|
<el-dialog
|