Browse Source

更新页面

master
xiaodong 2 weeks ago
parent
commit
51ac32317c
  1. 39
      public/themes/website/1/zh/dongya-web/a_gotogw.html

39
public/themes/website/1/zh/dongya-web/a_gotogw.html

@ -171,7 +171,7 @@
</div>
<!-- 诚聘英才 -->
{hcTaglib:category id="193" item="vo" field="*"}
<div class="abpg5 mpage" style="background: url('{$vo.banner.url|default=''}') no-repeat center/cover;" id="abpg5">
<div id="abpg5" class="abpg5 mpage" style="background: url('{$vo.banner.url|default=''}') no-repeat center/cover;">
<div class="wrap wow fadeInUp" data-wow-delay="0.3s" data-wow-duration="1s">
<div class="tit">
<h2 style="color: #fff;">{$vo.title}</h2>
@ -180,6 +180,17 @@
<div class="bds">
<div class="swipjoin">
<div class="swiper-wrapper">
<!-- 文章列表 -->
{hcTaglib:contentPage2 cid="193" mainField="*" subField="*" name="hc_content" limit="30" item="vo" sort="id asc"}
<div class="swiper-slide" data-id="{$vo.id}" data-title="{$vo.title}" data-content="{$vo.content}">
<a href="javascript:;">
<h3>{$vo.title}</h3>
<p></p>
<h6>了解更多</h6>
</a>
</div>
{/hcTaglib:contentPage2}
</div>
</div>
<div class="spans"></div>
@ -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);
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();

Loading…
Cancel
Save