From 51ac32317ccb83a20d74da124cad07fe89c81188 Mon Sep 17 00:00:00 2001 From: xiaodong Date: Tue, 21 Jul 2026 10:31:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../themes/website/1/zh/dongya-web/a_gotogw.html | 43 ++++++++++++++++++---- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/public/themes/website/1/zh/dongya-web/a_gotogw.html b/public/themes/website/1/zh/dongya-web/a_gotogw.html index 41c34e9..3a9ce61 100644 --- a/public/themes/website/1/zh/dongya-web/a_gotogw.html +++ b/public/themes/website/1/zh/dongya-web/a_gotogw.html @@ -171,7 +171,7 @@ {hcTaglib:category id="193" item="vo" field="*"} -
+

{$vo.title}

@@ -180,6 +180,17 @@
+ + {hcTaglib:contentPage2 cid="193" mainField="*" subField="*" name="hc_content" limit="30" item="vo" sort="id asc"} + + {/hcTaglib:contentPage2} +
@@ -338,14 +349,32 @@ }) + // $('.abpg5 .swipjoin .swiper-slide').click(function () { + // $.getJSON("/default/article-detail-json", { id: $(this).data('id') }, function (result) { + // $("#article-title").html(result.data.title); + // $("#article-content").html(result.data.content); + // $('.zrys').show(); + // $('.mask').show(); + // }); + // }) + $('.abpg5 .swipjoin .swiper-slide').click(function () { - $.getJSON("/default/article-detail-json", { id: $(this).data('id') }, function (result) { - $("#article-title").html(result.data.title); - $("#article-content").html(result.data.content); - $('.zrys').show(); - $('.mask').show(); - }); + let id = $(this).data('id'); + let title = $(this).data('title'); + let content = $(this).data('content'); + $("#article-title").html(title); + $("#article-content").html(content); + $('.zrys').show(); + $('.mask').show(); + + // $.getJSON("/default/article-detail-json", { id: $(this).data('id') }, function (result) { + // $("#article-title").html(result.data.title); + // $("#article-content").html(result.data.content); + // $('.zrys').show(); + // $('.mask').show(); + // }); }) + $('.zrys .icon').click(function () { $('.zrys').hide(); $('.mask').hide();