From 587ee8f99e7cc430139766b2fbe0faf29a4d9ef1 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Sat, 22 Nov 2025 00:41:38 +0800 Subject: [PATCH] sfgsd --- js/index.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/js/index.js b/js/index.js index ab9d27a..59d7134 100644 --- a/js/index.js +++ b/js/index.js @@ -210,14 +210,12 @@ $(function () { loading: true, }); - // 点击显示图片 - $(".cert-item,.practice-box,.brand-box").click(function () { - // 设置图片 - $("#viewer").attr("src", $(this).find("img").attr("src")); - viewer.show(); - }); - - initBannerSwiper(); + // 点击显示图片 + $(".cert-item,.practice-box,.brand-box").click(function () { + // 设置图片 + $("#viewer").attr("src", $(this).find("img").attr("src")); + viewer.show(); + }); function formateTimeFun(time) { const date = new Date(time * 1000); Y = date.getFullYear() + "-";