|
|
@@ -5,7 +5,7 @@
|
|
|
<uni-row :gutter="0">
|
|
|
<uni-col v-for="(attachment, index) in attachments" :key="index" :xs="{span: 24}" :sm="6">
|
|
|
<view class="attachment">
|
|
|
- <text @click="seeAttachment(attachment.path)">{{ attachment.fileName || '附件名为空' }}</text>
|
|
|
+ <text @click="seeAttachment(attachment.path)">{{ attachment.fileName.length > 10 ? attachment.fileName.substring(0, 10) + '...' : attachment.fileName || '附件名为空' }}</text>
|
|
|
<view class="icon-container">
|
|
|
<uni-icons @click="shareAttachment(attachment.path)" :size="14" color="#2196f3" type="redo-filled"
|
|
|
style="margin-left:10px;">分享</uni-icons>
|