feat: 产品详情页附件模块添加使用说明
- 在相关附件标题下方添加灰色提示文字 - 提示用户无法下载时可通过预览页转发到其他设备 - 优化附件下载的用户体验
Showing
2 changed files
with
19 additions
and
1 deletions
| ... | @@ -5,6 +5,23 @@ | ... | @@ -5,6 +5,23 @@ |
| 5 | 5 | ||
| 6 | --- | 6 | --- |
| 7 | 7 | ||
| 8 | +## [2026-02-03] - 优化产品详情页附件模块 | ||
| 9 | + | ||
| 10 | +### 新增 | ||
| 11 | +- 产品详情页附件模块添加使用说明 | ||
| 12 | + - 在"相关附件"标题下方添加灰色提示文字 | ||
| 13 | + - 提示用户"如无法下载,可在预览页点击右上角「...」转发至其他设备" | ||
| 14 | + - 优化附件下载的用户体验 | ||
| 15 | + | ||
| 16 | +--- | ||
| 17 | + | ||
| 18 | +**详细信息**: | ||
| 19 | +- **影响文件**: `src/pages/product-detail/index.vue` | ||
| 20 | +- **技术栈**: Vue 3, Taro 4, TailwindCSS | ||
| 21 | +- **测试状态**: ✅ 已完成 | ||
| 22 | + | ||
| 23 | +--- | ||
| 24 | + | ||
| 8 | ## [2026-02-03] - 修复头像页面圆形背景变形 | 25 | ## [2026-02-03] - 修复头像页面圆形背景变形 |
| 9 | 26 | ||
| 10 | ### 修复 | 27 | ### 修复 | ... | ... |
| ... | @@ -68,7 +68,8 @@ | ... | @@ -68,7 +68,8 @@ |
| 68 | <!-- Attachments --> | 68 | <!-- Attachments --> |
| 69 | <div v-if="productDetail.documents && productDetail.documents.length" class="px-[32rpx] mt-[32rpx]"> | 69 | <div v-if="productDetail.documents && productDetail.documents.length" class="px-[32rpx] mt-[32rpx]"> |
| 70 | <div class="bg-white rounded-[32rpx] p-[40rpx]"> | 70 | <div class="bg-white rounded-[32rpx] p-[40rpx]"> |
| 71 | - <h2 class="text-[#1F2937] text-[32rpx] font-bold mb-[32rpx]">相关附件</h2> | 71 | + <h2 class="text-[#1F2937] text-[32rpx] font-bold mb-[16rpx]">相关附件</h2> |
| 72 | + <text class="text-[#9CA3AF] text-[24rpx] mb-[24rpx] block">如无法下载,可在预览页点击右上角「...」转发至其他设备</text> | ||
| 72 | <div class="flex flex-col gap-[24rpx]"> | 73 | <div class="flex flex-col gap-[24rpx]"> |
| 73 | <div | 74 | <div |
| 74 | v-for="(doc, index) in productDetail.documents" | 75 | v-for="(doc, index) in productDetail.documents" | ... | ... |
-
Please register or login to post a comment