hookehuyr

fix(StudentInfo): 修复图片预览时未显示原图的问题

修改图片预览逻辑,移除预览时添加的缩略图参数以保证显示原图
<!--
* @Date: 2025-11-10 18:12:23
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-11-12 20:26:46
* @LastEditTime: 2025-11-13 10:27:23
* @FilePath: /stdj_h5/src/views/StudentInfo.vue
* @Description: 戒子详情页
-->
......@@ -106,7 +106,7 @@ const loadUserInfo = async () => {
if (student_info.value.photo?.length) {
student_info.value.photo = student_info.value.photo.map(item => ({
id: item.id,
src: item.url,
src: item.url + '?imageMogr2/thumbnail/400x/strip/quality/70',
title: item.name,
height: Math.floor(Math.random() * 200) + 200
}))
......@@ -146,7 +146,7 @@ const distributeImages = (images) => {
// 图片点击事件 - 仅预览当前单张图片
const onImageClick = (item) => {
showImagePreview({
images: [item.src],
images: [item.src.replace('?imageMogr2/thumbnail/400x/strip/quality/70', '')],
startPosition: 0,
showIndex: false,
loop: false,
......