You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
3.6 KiB
108 lines
3.6 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="__TMPL__/static/css/layui.css" />
|
|
<!-- 通用 -->
|
|
{include file="common/head" /}
|
|
<!-- 当前 -->
|
|
<link rel="stylesheet" href="__TMPL__/static/css/mixin.css" />
|
|
<link rel="stylesheet" href="__TMPL__/static/css/culture.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<!-- header start -->
|
|
{include file="common/header" /}
|
|
<!-- header end -->
|
|
<div class="bannerList">
|
|
<div class="img">
|
|
<img src="__TMPL__/static/images/dangjian/img-3.jpg" alt="" />
|
|
</div>
|
|
<div class="w1280">
|
|
<div class="bannerTitle">党建文化</div>
|
|
</div>
|
|
</div>
|
|
<div class="crumb-head">
|
|
<ul class="w1280">
|
|
<li><a href="/">首页</a></li>
|
|
{hcTaglib:breadcrumb cid="$current_cate['id']" item="cate"}
|
|
<li>></li>
|
|
<li><a href="{$cate.url}">{$cate.title}</a></li>
|
|
{/hcTaglib:breadcrumb}
|
|
</ul>
|
|
</div>
|
|
<div class="culture-bg">
|
|
<div class="culture-detail w1280">
|
|
<div class="title">
|
|
{$hc_content['title']}
|
|
</div>
|
|
<div class="tools">
|
|
<div class="text">发布时间:{$hc_content['publish_time']|date='Y.m.d'}</div>
|
|
<div class="text">来源:{$hc_content['author']}</div>
|
|
<div class="text">浏览:{$hc_content['hits']}</div>
|
|
<div class="share">
|
|
<p>分享:</p>
|
|
<div class="wechat">
|
|
<img src="__TMPL__/static/images/dangjian/weixin.png" />
|
|
<div class="posiCode" id="qrcode"></div>
|
|
</div>
|
|
<div class="toutiao">
|
|
<img src="__TMPL__/static/images/dangjian/toutiao.png" />
|
|
<div class="posiCode" id="qrcode2"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="content">
|
|
{$hc_content['content']|raw}
|
|
</div>
|
|
<div class="page-detail">
|
|
<div class="page">
|
|
<p>下一篇:</p>
|
|
{hcTaglib:preContent preName='' /}
|
|
</div>
|
|
<a href="{:hcUrl('list/index',['id'=>$hc_content['category_id']])}" class="back">
|
|
<img src="__TMPL__/static/images/dangjian/back.png" />
|
|
<p>返回列表</p>
|
|
</a>
|
|
<div class="page">
|
|
<p>下一篇:</p>
|
|
{hcTaglib:nextContent nextName='' /}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- footer start-->
|
|
{include file="common/footer" /}
|
|
<!-- footer end -->
|
|
<!-- 通用 -->
|
|
{include file="common/foot" /}
|
|
<!-- 当前 -->
|
|
<script src="__TMPL__/static/js/layui.js"></script>
|
|
<script src="__TMPL__/static/js/qrcode.js"></script>
|
|
<script>
|
|
var qrcode = new QRCode(document.getElementById("qrcode"), {
|
|
width: 128,
|
|
height: 128,
|
|
colorDark : "#000000",
|
|
colorLight : "#ffffff",
|
|
});
|
|
var qrcode2 = new QRCode(document.getElementById("qrcode2"), {
|
|
width: 128,
|
|
height: 128,
|
|
colorDark : "#000000",
|
|
colorLight : "#ffffff",
|
|
});
|
|
let codeUrl = window.location.href
|
|
qrcode.makeCode(codeUrl); // 生成另外一个二维码
|
|
qrcode2.makeCode(codeUrl); // 生成另外一个二维码
|
|
//
|
|
$('.culture-detail .tools .share > div img').hover(function(){
|
|
$(this).siblings('.posiCode').stop().fadeIn()
|
|
},function(){
|
|
$(this).siblings('.posiCode').stop().fadeOut()
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|