主题 : 生成静态页的问题 |
级别: 童生
![]() |
22# 发表于:2017-07-17 16:00:29 IP:202.121.*.*
<!DOCTYPE HTML>
<html> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>${channel.title!channel.name} - ${site.name} - Powered by JEECMS</title> <meta http-equiv="keywords" content="${channel.keywords!}"/> <meta http-equiv="description" content="${channel.description!}"/> <script src="${resSys}/jquery.js" type="text/javascript"></script> <script src="${resSys}/front.js" type="text/javascript"></script> <link type="text/css" rel="stylesheet" href="/${res}/css/index.css" /> <!--[if lt IE 9]> <script src="/${res}/js/html5shiv.min.js"></script> <script src="/${res}/js/respond.min.js"></script> <![endif]--> <script type="text/javascript"> function g(o){ return document.getElementById(o); } function HoverLi(x,y,m,n,counter){ for(var i=1;i<=counter;i++){ g(x+m+i).className='normaltab'; g(y+m+i).className='undis'; } g(y+m+n).className='dis'; g(x+m+n).className='curr'; } $(function() { Cms.channelViewCount("${base}","${channel.id}"); Cms.siteFlow("${base}", location.href, document.referrer,"${site.config.flowSwitch?string}"); }); </script> <head> <body style="background-color:#f9f9f9;"> [#include "../include/top.html"/] [#include "../include/header.html"/] <div class="main container job clearfix"> <div class="job_main"> <section class="job_banner"><img src="/${res}/images/job_banner.jpg"></section> <section class="job_search"> <form action="${base}/searchJob.jspx" target="_self"> [@cms_model id="8"] [#list tag_bean.items as item] [#if item.field=="category"] [#assign category=item.optValue/] [#elseif item.field=="workplace"] [#assign workplace=item.optValue/] [/#if] [/#list] <select class="job_select" name="category"> <option value= "" >请选择职位</option> [#list category!?split(",") as opt] <option value="${opt!}" [#if queryCategory??][#if queryCategory=="${opt}"]selected="selected"[/#if][/#if]>${opt!}</option> [/#list] </select> <select class="job_select" name="workplace"> <option value= "" >请选择工作地点</option> [#list workplace!?split(",") as opt] <option value="${opt!}"[#if queryWorkplace??][#if queryWorkplace=="${opt}"]selected="selected"[/#if][/#if]>${opt!}</option> [/#list] </select> [/@cms_model] <input class="job_searchCon" name="q" type="text" id="txtKey" placeholder="网页设计" autocomplete="off" /> <input class="job_searchMenu" type="submit" value="职位搜索" /> </form> </section> <section class="job_list"> [@cms_content_page count='10' orderBy='4' channelId=channel.id channelOption='1' dateFormat='yyyy-MM-dd'] <table cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr class="job_list_menu"> <td width="30%">招聘职位</td> <td width="30%">企业名称</td> <td>工作地点</td> <td>招聘人数</td> <td>发布时间</td> </tr> [#list tag_pagination.list as a] <tr> <td width="30%" class="job_name"><a href="${a.url}">${a.title}</a></td> <td width="30%">${a.companyName!}</td> <td>${a.attr.workplace!}</td> <td>${a.attr.nums!}</td> <td>${a.date?string(dateFormat)}</td> </tr> [/#list] </tbody> </table> [#include "../include/page.html"/] [/@cms_content_page] </section> </div> </div> [#include "../include/footer.html"/] [#include "../include/right-fixed.html"/] </body> </html> |
||
---|---|---|---|
级别: 童生
![]() |
27# 发表于:2017-07-17 16:10:03 IP:202.121.*.*
<!DOCTYPE HTML>
<html> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>客户经理 - test0 - Powered by JEECMS</title> <meta content="客户经理" http-equiv="keywords" /> <meta content="" http-equiv="description" /> <script src="/newscenter/r/cms/jquery.js" type="text/javascript"></script> <script src="/newscenter/r/cms/front.js" type="text/javascript"></script> <link type="text/css" rel="stylesheet" href="/newscenter/r/cms/www/test0/www/test0/css/index.css" /> <!--[if lt IE 9]> <script src="/newscenter/r/cms/www/test0/www/test0/js/html5shiv.min.js"></script> <script src="/newscenter/r/cms/www/test0/www/test0/js/respond.min.js"></script> <![endif]--> <script type="text/javascript"> $(function() { Cms.checkPerm("/newscenter","152"); Cms.collectCsi("/newscenter","collectCsiDiv","collect_csi","152"); Cms.viewCount("/newscenter","152"); Cms.siteFlow("/newscenter", location.href, document.referrer,"true"); }); </script> <head> <body style="background-color:#f9f9f9;"> <section class="top"> <div class="yellow"></div><div class="red"></div><div class="blue"></div><div class="yellow"></div><div class="red"></div> </section><link rel="stylesheet" type="text/css" href="/newscenter/r/cms/www/test0/www/test0/css/login.css" /> <script> function qkeypress(){ var q=$("input[name=q]"); if(q.val().trim()!=""){ $("input[name=q]").autocomplete("enable"); }else{ $("input[name=q]").autocomplete("disable"); } } </script> <header class="header rel"> <div class="header-jf"><a class="jf-btn" name="gb2big5" id="gb2big5">繁</a></div> <Script Language=Javascript Src="/newscenter/r/cms/gb2big5.js"></Script> <div class="header-rss"><a class="rss-btn" href="/newscenter/rss.jspx" target="_blank" title="RSS订阅">RSS</a></div> <div class="header-tag"><a class="tag-btn" href="/newscenter/tag.jspx" target="_blank" title="Tags标签">Tags</a></div> <div class="container clearfix"> <a class="logo" href="/newscenter/"></a> <nav class="nav"> <ul class="menu"> <li ><a href="/newscenter/">测试新闻</a></li> <li class="on"><a href="/newscenter/lmjthzp">测试招聘</a></li> <li><a href="http://bbs.jeecms.com" target="_blank">论坛</a></li> <li class="more"> <ul class="menu-child"> </ul> </li> </ul> </nav> <div class="header-r"> <div class="search"> <form action="/newscenter/search.jspx" target="_blank" id="searchForm"> <input type="text" name="q" value="" maxlength="50" autocomplete="off" class="searchCon" style="width:202px;"><input type="submit" value="" class="searchMenu"> </form> </div> <div id="loginCsiDiv" style="float:left;"></div> <script type="text/javascript"> $(function(){ Cms.loginCsi("/newscenter","loginCsiDiv",{"returnUrl":"http://localhost:8080/newscenter/nrjthzp"}); }); </script> </div> </div> </header><div class="main container video clearfix"> <section class="job-top"> <h1>客户经理</h1> <div class="job-des"><span class="ye">1500-2000</span>|<span></span>|<span>1-3人</span>|<span></span>|<span>专科</span>| <span>1-3年</span></div> <div class="job-tag"><span>客户经理</span></div> <div class="job_btn" onclick="Cms.jobApply('/newscenter','152');">投递简历</div> </section> <section class="job-item"> <h1>职位介绍</h1> <div class="job-item-txt"> <p>客户经理</p> </div> </section> <section class="job-item"> <h1>公司介绍</h1> <div class="job-item-txt"> <p><a href="http://www.jeecms.com" target="_blank">test0</a></p> <p><span>公司性质:</span> </p> <p><span>公司行业:</span> </p> <p><span>公司规模:</span> </p> <p><span>公司地址:</span> </p> </div> </section> </div> <footer class="footer"> <div class="footer-link container"> <a style="margin-left:0;" href="http://www.jeecms.com">关于我们</a><a href="http://www.jeecms.com/lxwm.htm">联系我们</a><a href="http://www.jeecms.com/zhaopin.htm">诚聘英才</a><a href="http://www.jeecms.com/">友情链接</a><a href="http://bbs.jeecms.com/fabu/index.jhtml">程序下载</a><a href="http://www.jeecms.com/ad.htm">合作服务</a><a href="http://www.jeecms.com/xkxy.htm">许可协议</a><a onclick="AddFavorite(window.location,document.title)" href="javascript:void(0)">加入收藏</a><a onclick="SetHome(window.location)" href="javascript:void(0)">设为首页</a><a href="http://v8.jeecms.com/jeeadmin/jeecms/index.do" target="_blank">管理登录</a> </div> <div class="copyright container"><p>电话:0791-86538070 13576281815 传真:0791-86538070 ICP备案号:赣ICP备13005266号 Powered by JeeCms Copyright © 2007-2015 www.jeecms.com, All Rights Reserved</p> <p> 浏览总量<span id="pv"></span> | 访客数总量 <span id="visitor"></span>| 今日浏览总量<span id="dayPv"></span> | 今日访客数<span id="dayVisitor"></span>| 本周浏览总量<span id="weekPv"></span> | 本周访客数<span id="weekVisitor"></span>| 本月浏览总量<span id="monthPv"></span> | 本月访客数<span id="monthVisitor"></span> </p> </div> </footer> <script type="text/javascript" language="javascript"> //加入收藏 function AddFavorite(sURL, sTitle) { sURL =encodeURI(sURL); try{ window.external.addFavorite(sURL, sTitle); }catch(e) { try{ window.sidebar.addPanel(sTitle, sURL, ""); }catch (e){ alert("您的浏览器不支持自动加入收藏功能,请使用Ctrl+D进行添加,或手动在浏览器里进行设置!"); } } } //设为首页 function SetHome(url){ if (document.all) { document.body.style.behavior='url(#default#homepage)'; document.body.setHomePage(url); }else{ alert("您的浏览器不支持自动设置页面为首页功能,请您手动在浏览器里设置该页面为首页!"); } } </script><div class="right-fixed"> <ul> <!-- <li class="app"> <div class="app-logo"></div> </li> --> <li class="weixin"> <div class="weixin-logo"></div> </li> <li class="wap"> <div class="wap-logo"><img src="/newscenter/u/cms/www/test0/codeimg/152.png"/></div> </li> <li class="back-top"></li> </ul> <script type="text/javascript"> $(function(){ var $body = $(document.body);; var $bottomTools = $('.right-fixed'); $(window).scroll(function () { var scrollHeight = $(document).height(); var scrollTop = $(window).scrollTop(); scrollTop > 50 ? $(".back-top").slideDown(300).css("display","block") : $(".back-top").slideUp(300); }); $('.back-top').click(function (e) { e.preventDefault(); $('html,body').animate({ scrollTop:0}); }); }); </script> </div></body> </html> |
||
---|---|---|---|
级别: 版主
![]() |
29# 发表于:2017-07-17 16:11:34 IP:182.216.*.*
你这两个链接一模一样怎么可能还访问的不一样的链接,访问内容页会带上内容id
http://demo.jeecms.com/news/130.jhtml 静态化了也会 |
||
---|---|---|---|
级别: 童生
![]() |
30# 发表于:2017-07-17 16:15:07 IP:202.121.*.*
但是实际上就是没有带内容id啊 ,而且生成静态页就只有一条。是不是我这个版本有毒,你们发布了其他版本了
|
||
---|---|---|---|