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();