fix(图片预览): 隐藏预览组件的索引显示并修正描述文本
将图片预览组件的索引显示关闭,并统一将"头像"相关描述改为"封面"
Showing
2 changed files
with
7 additions
and
5 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-08-27 17:44:53 | 2 | * @Date: 2025-08-27 17:44:53 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-09-11 11:06:38 | 4 | + * @LastEditTime: 2025-09-11 19:55:19 |
| 5 | * @FilePath: /lls_program/src/pages/CreateFamily/index.vue | 5 | * @FilePath: /lls_program/src/pages/CreateFamily/index.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -153,6 +153,7 @@ | ... | @@ -153,6 +153,7 @@ |
| 153 | v-model:show="previewVisible" | 153 | v-model:show="previewVisible" |
| 154 | :images="previewImages" | 154 | :images="previewImages" |
| 155 | :init-no="previewIndex" | 155 | :init-no="previewIndex" |
| 156 | + :show-index="false" | ||
| 156 | @close="closePreview" | 157 | @close="closePreview" |
| 157 | /> | 158 | /> |
| 158 | 159 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-08-27 17:44:53 | 2 | * @Date: 2025-08-27 17:44:53 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-09-11 10:41:23 | 4 | + * @LastEditTime: 2025-09-11 19:58:10 |
| 5 | * @FilePath: /lls_program/src/pages/EditFamily/index.vue | 5 | * @FilePath: /lls_program/src/pages/EditFamily/index.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -149,6 +149,7 @@ | ... | @@ -149,6 +149,7 @@ |
| 149 | v-model:show="previewVisible" | 149 | v-model:show="previewVisible" |
| 150 | :images="previewImages" | 150 | :images="previewImages" |
| 151 | :init-no="previewIndex" | 151 | :init-no="previewIndex" |
| 152 | + :show-index="false" | ||
| 152 | @close="closePreview" | 153 | @close="closePreview" |
| 153 | /> | 154 | /> |
| 154 | 155 | ||
| ... | @@ -347,7 +348,7 @@ const uploadImage = (filePath) => { | ... | @@ -347,7 +348,7 @@ const uploadImage = (filePath) => { |
| 347 | }; | 348 | }; |
| 348 | 349 | ||
| 349 | /** | 350 | /** |
| 350 | - * 预览头像 | 351 | + * 预览封面 |
| 351 | */ | 352 | */ |
| 352 | const previewAvatar = () => { | 353 | const previewAvatar = () => { |
| 353 | const imageToPreview = familyAvatar.value || defaultFamilyCover.value; | 354 | const imageToPreview = familyAvatar.value || defaultFamilyCover.value; |
| ... | @@ -357,11 +358,11 @@ const previewAvatar = () => { | ... | @@ -357,11 +358,11 @@ const previewAvatar = () => { |
| 357 | }; | 358 | }; |
| 358 | 359 | ||
| 359 | /** | 360 | /** |
| 360 | - * 删除头像 | 361 | + * 删除封面 |
| 361 | */ | 362 | */ |
| 362 | const deleteAvatar = () => { | 363 | const deleteAvatar = () => { |
| 363 | familyAvatar.value = ''; | 364 | familyAvatar.value = ''; |
| 364 | - showToast('头像已删除', 'success'); | 365 | + showToast('封面已删除', 'success'); |
| 365 | }; | 366 | }; |
| 366 | 367 | ||
| 367 | /** | 368 | /** | ... | ... |
-
Please register or login to post a comment