主题 : 浏览次数 |
级别: 举人
![]() |
1# 发表于:2021-06-23 11:12:19 IP:171.157.*.*
|
||||
---|---|---|---|---|---|
级别: 举人
![]() |
3# 发表于:2021-06-23 14:23:15 IP:171.157.*.*
用views 这个字段 只显示 了一个浏览量 然后也不往上加了 其他页面都是用的这一个模板 只有这一个页面有浏览量
![]() |
||
---|---|---|---|
级别: 管理员
![]() |
5# 发表于:2021-06-23 14:28:59 IP:59.210.*.*
统计front.js有调用吗? 我们都是footer模板里有统计js,所有模板调用了自动统计
|
||
---|---|---|---|
级别: 管理员
![]() |
7# 发表于:2021-06-23 14:44:51 IP:59.210.*.*
<script src="${res}/js/front.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript"> $(function(){ console.log(new Date()) var date = new Date() $(".new-date").html(date.getFullYear()); $(".blogroll").css("right",(405-(($(".blogroll").width())/2))); $('.body-top-nav .link').on('mouseenter',function(){ $('.blogroll').show() }) $('.body-top-nav .link').on('mouseleave',function(){ $('.blogroll').hide() }) $('.blogroll').on('mouseleave',function(){ $('.blogroll').hide() }); $('.statistics .clicks li').click(function(){ var index = $(this).index(); $('.statistics .clicks li a').removeClass('reds'); $(this).find('a').addClass('reds'); $(".statistics .click-content .quantity").eq(index).removeClass("none").siblings().addClass("none"); }); }); $(function () { Cms.siteFlow("${base}"); }); </script> |
||
---|---|---|---|
级别: 举人
![]() |
8# 发表于:2021-06-23 14:56:42 IP:171.157.*.*
<!DOCTYPE html>
<html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" charset="utf-8" /> <title>河南省保安协会</title> <meta name="keywords" content="保安帽*** 保安臂章 制服式保安服务标志 便服式保安服务标志" /> <meta name="description" content="河南省保安协会河成立于2015年2月,为非营利性社会组织,业务主管单位为河南省公安厅。协会在公安机关指导下依法开展提供服务、规范行为、反映诉求等保安服务行业自律工作。" /> <link href="${res}/css/csss/index.css" rel="stylesheet" type="text/css" /> <link href="${res}/css/csss/home.css" rel="stylesheet" type="text/css" /> <link rel="${res}/css/csss/elscss"> <script src="${res}/js/jss/jquery-1.9.1_$.js" type="text/javascript"></script> <script src="${res}/js/jss/jquery.flexslider-min.js" type="text/javascript"></script> <script src="${res}/js/jss/index.js" type="text/javascript"></script> <script src="${res}/js/jss/system.js" type="text/javascript"></script> <script src="${res}/js/jss/vue.js"></script> <script src="${res}/js/jss/eleui.js"></script> </head> </head> <style> .sub_con_rs { min-height: 500px; border-top: 5px solid #435392; border-bottom: 5px solid #435392; border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; padding-bottom: 50px; } .show_news_detail_ts { padding: 50px 0px 10px 0px; line-height: 35px; font-size: 26px; text-align: center; } .show_news_detail_d_ls { font-size: 18px; font-weight: 500; } .show_news_detail_d_ls span { color: #435392; } </style> <body> [#include "../includes/header.html"] <div class="content" id="app"> <div> [@cms_content_list typeId='3' count='7' channelId='66'] [#list tag_list as a] <img src="${a.typeImg!}" alt="" /> <span class="descs" style="display: none;">${a.title}</span> [/#list] [/@cms_content_list] </div> <br /> <br /> <div class="sub_con_rs" style="width: 1200px; margin: 0 auto;"> <div class="show_news_detail"> <div class="show_news_detail_ts"> ${content.title!}</div> <div class="show_news_detail_d"> <div class="shortTitle"> ${content.shortTitle!} </div> <div class="show_news_detail_d_ls"> <span>发布日期:</span>${content.releaseTime!}<span> 阅读:</span> <span id="views"></span> 次 <span> 发布者:</span>${content.author} </div> <div class="show_news_detail_c"> ${txt!} </div> [@cms_content_list id=content.id] [#list tag_list as a] <img src="${a.neirongtu!}" /> [/#list] [/@cms_content_list] </div> </div> </div> </div> [#include "../includes/footer.html"/] </body> </html> <script src="${res}/js/front.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript"> $(function () { console.log(new Date()) var date = new Date() $(".new-date").html(date.getFullYear()); $(".blogroll").css("right", (405 - (($(".blogroll").width()) / 2))); $('.body-top-nav .link').on('mouseenter', function () { $('.blogroll').show() }) $('.body-top-nav .link').on('mouseleave', function () { $('.blogroll').hide() }) $('.blogroll').on('mouseleave', function () { $('.blogroll').hide() }); $('.statistics .clicks li').click(function () { var index = $(this).index(); $('.statistics .clicks li a').removeClass('reds'); $(this).find('a').addClass('reds'); $(".statistics .click-content .quantity").eq(index).removeClass("none").siblings().addClass("none"); }); }); $(function () { Cms.siteFlow("${base}"); }); </script> </script> |
||
---|---|---|---|