feat(details): 添加图片预览功能并更新构建文件

在详情页添加图片预览功能,引入preview-image组件。更新构建相关文件,包括新的构建ID和资源映射。移除旧构建文件并更新依赖引用。
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-11-21 12:25:00 +08:00
parent 2b6be9612f
commit 3623603a10
38 changed files with 350 additions and 1589 deletions

View File

@@ -714,7 +714,7 @@ const goLogin = inject("goLogin");
let openAttest = inject("openAttest");
const realname = inject("realname");
useHead({ script: [{ src: "https://app.gter.net/bottom?tpl=header&menukey=mj" }, { src: "https://app.gter.net/bottom?tpl=footer,popupnotification", body: true }, { src: "https://app.gter.net/image/gter/commonCom/bi/bi.js" }] });
useHead({ script: [{ src: "https://app.gter.net/bottom?tpl=header&menukey=mj" }, { src: "https://app.gter.net/bottom?tpl=footer,popupnotification", body: true }, { src: "https://app.gter.net/image/gter/commonCom/bi/bi.js" }, { src: "https://app.gter.net/image/gter/commonCom/preview-image/preview.js" }] });
let contentRightRef = ref(null);
let contentRightHeight = ref(null);
@@ -2373,9 +2373,8 @@ let dialogSrc = ref(""); // 大图的src
// 处理点击答案图片 展开大图
const handleAnswerText = (e) => {
if (e.target.tagName === "IMG") {
var src = e.target.getAttribute("src");
dialogSrc.value = src;
window.addEventListener("keydown", handleKeydown);
const src = e.target.getAttribute("src");
previewImage.initComponent(src);
}
};