|
@@ -48,6 +48,36 @@
|
|
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
+
|
|
|
|
+ <!-- NOTE: 附件材料 -->
|
|
|
|
+ <template v-else-if="type === 'files'">
|
|
|
|
+ <div class="files-container">
|
|
|
|
+ <div class="files-row"
|
|
|
|
+ v-for="(file, idx) in value"
|
|
|
|
+ :key="idx"
|
|
|
|
+ >
|
|
|
|
+ <div class="icon">
|
|
|
|
+ <!-- NOTE: 根据文件类型放置Icon -->
|
|
|
|
+ </div>
|
|
|
|
+ <div class="files-row__info">
|
|
|
|
+ <div class="files-name">{{ file.name }}</div>
|
|
|
|
+ <div class="files-other-info flex flex-row flex-row-aic">
|
|
|
|
+ <div class="size">{{ file.size }}</div>
|
|
|
|
+ <div class="review">预览</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+
|
|
|
|
+ <!-- NOTE:图片 -->
|
|
|
|
+ <template v-else-if="type === 'images'">
|
|
|
|
+ <div class="images-container">
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|