hookehuyr

refactor(material): 移除冗余的图片预览提示

- 删除资料列表和本周热门资料中的预览 Toast 提示
- 简化用户体验流程,减少干扰
- 同步更新 components.d.ts

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
......@@ -27,7 +27,7 @@ declare module 'vue' {
OfficeViewer: typeof import('./src/components/OfficeViewer.vue')['default']
PdfPreview: typeof import('./src/components/PdfPreview.vue')['default']
Picker: typeof import('./src/components/time-picker-data/picker.vue')['default']
PlanPopup: typeof import('./src/components/PlanSchemes/PlanPopup.vue')['default']
PlanPopup: typeof import('./src/components/PlanPopup/index.vue')['default']
PosterBuilder: typeof import('./src/components/PosterBuilder/index.vue')['default']
QrCode: typeof import('./src/components/qrCode.vue')['default']
QrCodeSearch: typeof import('./src/components/qrCodeSearch.vue')['default']
......
......@@ -665,13 +665,6 @@ const { handleClick: onView } = useListItemClick({
const urls = [item.downloadUrl]
try {
// 预览前提示用户可以长按保存
Taro.showToast({
title: '点击图片预览,长按可保存到相册',
icon: 'none',
duration: 2000
})
// 短暂延迟后打开预览(让用户看到提示)
await new Promise(resolve => setTimeout(resolve, 300))
......
......@@ -274,13 +274,6 @@ const { handleClick: onView } = useListItemClick({
const urls = [item.downloadUrl]
try {
// 预览前提示用户可以长按保存
Taro.showToast({
title: '点击图片预览,长按可保存到相册',
icon: 'none',
duration: 2000
})
// 短暂延迟后打开预览(让用户看到提示)
await new Promise(resolve => setTimeout(resolve, 300))
......