|
@@ -28,6 +28,8 @@
|
|
<script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/local/bootstrap.min.js"></script>
|
|
<script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/local/bootstrap.min.js"></script>
|
|
<script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/js/share.js?v={{Msg "seo" "version"}}"></script>
|
|
<script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/js/share.js?v={{Msg "seo" "version"}}"></script>
|
|
<script src="//cdn-common.jianyu360.com/cdn/lib/html2canvas/1.3.3/dist/html2canvas.min.js"></script>
|
|
<script src="//cdn-common.jianyu360.com/cdn/lib/html2canvas/1.3.3/dist/html2canvas.min.js"></script>
|
|
|
|
+ <link href='{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/tags/css/tags-module-common.css?v={{Msg "seo" "version"}}' rel="stylesheet" />
|
|
|
|
+
|
|
|
|
|
|
{{include "/common/js.html"}}
|
|
{{include "/common/js.html"}}
|
|
<style>
|
|
<style>
|
|
@@ -344,6 +346,7 @@
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ {{if .T.obj.hasSession}}
|
|
<div class="app-layout-header jy-app-header">
|
|
<div class="app-layout-header jy-app-header">
|
|
<span class="app-back jyapp-icon jyapp-icon-zuojiantou share-back"></span>
|
|
<span class="app-back jyapp-icon jyapp-icon-zuojiantou share-back"></span>
|
|
<span class="header-title">公告信息</span>
|
|
<span class="header-title">公告信息</span>
|
|
@@ -399,7 +402,15 @@
|
|
<!-- 分享 end -->
|
|
<!-- 分享 end -->
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
+ {{else}}
|
|
|
|
+ {{include "tags/template/tag-header.html" .}}
|
|
|
|
+ {{end}}
|
|
|
|
+
|
|
<div class="app-layout-content-b">
|
|
<div class="app-layout-content-b">
|
|
|
|
+ {{if not .T.obj.hasSession}}
|
|
|
|
+ {{include "tags/template/tag-info-type-nav.html" .}}
|
|
|
|
+ {{include "tags/template/tag-area-nav.html" .}}
|
|
|
|
+ {{end}}
|
|
<div class="mask"></div>
|
|
<div class="mask"></div>
|
|
<div class="info">
|
|
<div class="info">
|
|
<!-- <div class="_c2l0w7g3cjf"></div> -->
|
|
<!-- <div class="_c2l0w7g3cjf"></div> -->
|
|
@@ -1132,6 +1143,9 @@
|
|
{{end}}
|
|
{{end}}
|
|
{{end}}
|
|
{{end}}
|
|
{{end}}
|
|
{{end}}
|
|
|
|
+ {{if not .T.obj.hasSession}}
|
|
|
|
+ {{include "tags/template/tag-footer.html" .}}
|
|
|
|
+ {{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 三方认证弹窗 -->
|
|
<!-- 三方认证弹窗 -->
|
|
@@ -1155,7 +1169,6 @@
|
|
$(this).wrap('<div class="scroll-tab-container" style="max-width: 100%;overflow-x: scroll;"></div>')
|
|
$(this).wrap('<div class="scroll-tab-container" style="max-width: 100%;overflow-x: scroll;"></div>')
|
|
})
|
|
})
|
|
});
|
|
});
|
|
-
|
|
|
|
var canRead = {{.T.canRead}} //免费用户当天查看是否查看三次公告
|
|
var canRead = {{.T.canRead}} //免费用户当天查看是否查看三次公告
|
|
var shareimgflag = true;
|
|
var shareimgflag = true;
|
|
var area = {{.T.obj.area}}
|
|
var area = {{.T.obj.area}}
|
|
@@ -3520,7 +3533,60 @@
|
|
return key
|
|
return key
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
</script>
|
|
</script>
|
|
|
|
+{{if not .T.obj.hasSession }}
|
|
|
|
+ <script>
|
|
|
|
+ var areaNavModule = {
|
|
|
|
+ $el: null,
|
|
|
|
+ init: function () {
|
|
|
|
+ this.getTargetDOM()
|
|
|
|
+ this.addListener()
|
|
|
|
+ },
|
|
|
|
+ getTargetDOM: function () {
|
|
|
|
+ this.$el = $('.tag-area-nav-container')
|
|
|
|
+ },
|
|
|
|
+ addListener: function () {
|
|
|
|
+ var _this = this
|
|
|
|
+ if (!this.$el) return
|
|
|
|
+ this.$el.find('.action-show-more').on('click', function () {
|
|
|
|
+ _this.$el.find('.tag-area-nav-list-group').toggle()
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ var backToTop = {
|
|
|
|
+ $scrollDOM: $('.app-layout-content-b'),
|
|
|
|
+ $backToTop: $('.back-to-top'),
|
|
|
|
+ init: function () {
|
|
|
|
+ this.checkBackToTopButtonShow()
|
|
|
|
+ this.bindEvents()
|
|
|
|
+ },
|
|
|
|
+ bindEvents: function () {
|
|
|
|
+ var _this = this
|
|
|
|
+ this.$backToTop.on('click', function () {
|
|
|
|
+ $('.app-layout-content-b').animate({
|
|
|
|
+ scrollTop: 0
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ this.$scrollDOM.on('scroll', function (e) {
|
|
|
|
+ _this.checkBackToTopButtonShow()
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ checkBackToTopButtonShow: function () {
|
|
|
|
+ var scrollTop = this.$scrollDOM.scrollTop()
|
|
|
|
+ if (scrollTop < 5) {
|
|
|
|
+ this.$backToTop.hide()
|
|
|
|
+ } else {
|
|
|
|
+ this.$backToTop.show()
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ }
|
|
|
|
+ $(function(){
|
|
|
|
+ areaNavModule.init()
|
|
|
|
+ backToTop.init()
|
|
|
|
+ })
|
|
|
|
+ </script>
|
|
|
|
+{{end}}
|
|
{{include "/common/baiducc.html"}}
|
|
{{include "/common/baiducc.html"}}
|
|
</body>
|
|
</body>
|
|
</html>
|
|
</html>
|