Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -578,17 +578,17 @@ | ... | @@ -578,17 +578,17 @@ |
| 578 | 578 | ||
| 579 | <!-- 统一使用移动端操作逻辑:根据文件类型显示不同的预览按钮 --> | 579 | <!-- 统一使用移动端操作逻辑:根据文件类型显示不同的预览按钮 --> |
| 580 | <!-- Office 文档显示预览按钮 --> | 580 | <!-- Office 文档显示预览按钮 --> |
| 581 | - <button | 581 | + <!-- <button |
| 582 | v-if="isOfficeFile(file.url)" | 582 | v-if="isOfficeFile(file.url)" |
| 583 | @click="showOfficeDocument(file)" | 583 | @click="showOfficeDocument(file)" |
| 584 | class="btn-primary flex-1 py-2.5 text-sm font-medium flex items-center justify-center gap-2" | 584 | class="btn-primary flex-1 py-2.5 text-sm font-medium flex items-center justify-center gap-2" |
| 585 | > | 585 | > |
| 586 | <van-icon name="description" size="16" /> | 586 | <van-icon name="description" size="16" /> |
| 587 | 文档预览 | 587 | 文档预览 |
| 588 | - </button> | 588 | + </button> --> |
| 589 | <!-- PDF文件显示在线查看按钮 --> | 589 | <!-- PDF文件显示在线查看按钮 --> |
| 590 | <button | 590 | <button |
| 591 | - v-else-if="file.url && file.url.toLowerCase().includes('.pdf')" | 591 | + v-if="file.url && file.url.toLowerCase().includes('.pdf')" |
| 592 | @click="showPdf(file)" | 592 | @click="showPdf(file)" |
| 593 | class="btn-primary flex-1 py-2.5 text-sm font-medium flex items-center justify-center gap-2" | 593 | class="btn-primary flex-1 py-2.5 text-sm font-medium flex items-center justify-center gap-2" |
| 594 | > | 594 | > | ... | ... |
-
Please register or login to post a comment