Commit d02ee84e9d7fa6f4b597192ad1e5432187d8c805

Authored by teemitop
1 parent 83d94044

前端调整

@@ -6,7 +6,7 @@ class Index extends Common{ @@ -6,7 +6,7 @@ class Index extends Common{
6 parent::initialize(); 6 parent::initialize();
7 } 7 }
8 public function index(){ 8 public function index(){
9 - return redirect('http://xt03.colorcun.com/admin'); 9 + return redirect('http://xt03.colorcun.com/user');
10 $order = input('order','createtime'); 10 $order = input('order','createtime');
11 $time = time(); 11 $time = time();
12 $list=db('article')->alias('a') 12 $list=db('article')->alias('a')
@@ -40,7 +40,6 @@ @@ -40,7 +40,6 @@
40 <ul> 40 <ul>
41 <li class="author-icon">{$info.username}</li> 41 <li class="author-icon">{$info.username}</li>
42 <li class="tag-icon"><a href="{$info.fromlink}" target="_blank">{$info.copyfrom}</a></li> 42 <li class="tag-icon"><a href="{$info.fromlink}" target="_blank">{$info.copyfrom}</a></li>
43 - <li class="comment-icon"><a href="#SOHUCS"><b id="changyan_count_unit"></b> 评论</a></li>  
44 </ul> 43 </ul>
45 </div> 44 </div>
46 <div class="post-content"> 45 <div class="post-content">
@@ -54,18 +53,9 @@ @@ -54,18 +53,9 @@
54 <!-- 代码2:用来读取评论框配置,此代码需放置在代码1之后。 --> 53 <!-- 代码2:用来读取评论框配置,此代码需放置在代码1之后。 -->
55 <!-- 如果当前页面有评论框,代码2请勿放置在评论框代码之前。 --> 54 <!-- 如果当前页面有评论框,代码2请勿放置在评论框代码之前。 -->
56 <!-- 如果页面同时使用多个实验室项目,以下代码只需要引入一次,只配置上面的div标签即可 --> 55 <!-- 如果页面同时使用多个实验室项目,以下代码只需要引入一次,只配置上面的div标签即可 -->
57 - <script type="text/javascript" charset="utf-8" src="https://changyan.itc.cn/js/lib/jquery.js"></script>  
58 - <script type="text/javascript" charset="utf-8" src="https://changyan.sohu.com/js/changyan.labs.https.js?appid=cytu7fNxW"></script> 56 + <script type="text/javascript" charset="utf-8" src="https://cy-cdn.kuaizhan.com/js/changyan.labs.https.js?appid=cyv9A8z4m"></script>
59 </div > 57 </div >
60 58
61 - <div class="fly-panel detail-box" id="flyReply">  
62 - <fieldset class="layui-elem-field layui-field-title" style="text-align: center;">  
63 - <legend>评论</legend>  
64 - </fieldset>  
65 - <!--PC和WAP自适应版-->  
66 - <div id="SOHUCS" sid="{$info.id}" ></div>  
67 - </div>  
68 -  
69 59
70 60
71 </div> 61 </div>
@@ -83,18 +73,6 @@ @@ -83,18 +73,6 @@
83 </div> 73 </div>
84 </div> 74 </div>
85 </section> 75 </section>
86 -<script type="text/javascript">  
87 - (function(){  
88 - var appid = '{$changyan.app_id}';  
89 - var conf = '{$changyan.config}';  
90 - var width = window.innerWidth || document.documentElement.clientWidth;  
91 - if (width < 960) {  
92 - window.document.write('<script id="changyan_mobile_js" charset="utf-8" type="text/javascript" src="https://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=' + appid + '&conf=' + conf + '"><\/script>'); } else { var loadJs=function(d,a){var c=document.getElementsByTagName("head")[0]||document.head||document.documentElement;var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("charset","UTF-8");b.setAttribute("src",d);if(typeof a==="function"){if(window.attachEvent){b.onreadystatechange=function(){var e=b.readyState;if(e==="loaded"||e==="complete"){b.onreadystatechange=null;a()}}}else{b.onload=a}}c.appendChild(b)};loadJs("https://changyan.sohu.com/upload/changyan.js",function(){window.changyan.api.config({appid:appid,conf:conf})}); } })();  
93 - function changyan_wtx() {  
94 - window.location.href="{:url('user/login/index')}";  
95 - }  
96 -</script>  
97 -<script type="text/javascript" src="https://assets.changyan.sohu.com/upload/plugins/plugins.count.js"></script>  
98 76
99 <!-- maincontent end here --> 77 <!-- maincontent end here -->
100 {include file="common/footer"/} 78 {include file="common/footer"/}
@@ -2,9 +2,9 @@ @@ -2,9 +2,9 @@
2 <footer> 2 <footer>
3 <div class="row"> 3 <div class="row">
4 <div class="three columns mobile-two"> 4 <div class="three columns mobile-two">
5 - <!--<img src="/static/home/images/logo2.png" alt="纳极科技" class="img-left" />--> 5 + <img src="/static/home/images/logo.png" alt="纳极科技" class="img-left" />
6 <p class="copyright-text"> 6 <p class="copyright-text">
7 - &copy;{$sys.copyright} <a href="http://www.纳极科技.com/" style="color: #747373" rel="external" title="{$sys.title}">{$sys.title}</a><br> 7 + &copy;{$sys.copyright} <a href="http://xt03.colorcun.com/" style="color: #747373" rel="external" title="{$sys.title}">{$sys.title}</a><br>
8 <a href="http://www.miitbeian.gov.cn/" style="color: #747373" target="_blank" rel="nofollow">{$sys.bah}</a><br> 8 <a href="http://www.miitbeian.gov.cn/" style="color: #747373" target="_blank" rel="nofollow">{$sys.bah}</a><br>
9 </p> 9 </p>
10 </div> 10 </div>
@@ -21,26 +21,18 @@ @@ -21,26 +21,18 @@
21 <h5>友情链接</h5> 21 <h5>友情链接</h5>
22 <ul> 22 <ul>
23 {volist name="linkList" id="vo"} 23 {volist name="linkList" id="vo"}
24 - <!--<li><a href="{$vo.url}" rel="external" title="{$vo.name}">{$vo.name}</a></li>--> 24 + <li><a href="{$vo.url}" rel="external" title="{$vo.name}">{$vo.name}</a></li>
25 {/volist} 25 {/volist}
26 - <li><a href="https://www.kancloud.cn/chichu/纳极科技" target="_blank" rel="nofollow" title="纳极科技操作开发手册">纳极科技操作开发手册</a></li>  
27 </ul> 26 </ul>
28 </div> 27 </div>
29 <div class="three columns mobile-two"> 28 <div class="three columns mobile-two">
30 <h5>扫码捐助</h5> 29 <h5>扫码捐助</h5>
31 <div class="wxsq"> 30 <div class="wxsq">
32 - <!--<img src="/static/home/images/wxsq.png" alt="纳极科技微信二维码" title="纳极科技微信二维码">--> 31 + <img src="/static/home/images/wxsq.jpg" alt="纳极科技微信二维码" title="纳极科技微信二维码">
33 </div> 32 </div>
34 </div> 33 </div>
35 </div> 34 </div>
36 </footer> 35 </footer>
37 <!-- footer end here --> 36 <!-- footer end here -->
38 -<script>  
39 - $('#noscript').remove();  
40 - jQuery(function($){  
41 - //external加上target="_blank"  
42 - $("a[rel*=external]").attr("target","_blank");  
43 - });  
44 -</script>  
45 </body> 37 </body>
46 </html> 38 </html>
@@ -28,6 +28,7 @@ @@ -28,6 +28,7 @@
28 <script> 28 <script>
29 var HOME = '/static/home'; 29 var HOME = '/static/home';
30 </script> 30 </script>
  31 + <script type="text/javascript" charset="utf-8" src="https://cy-cdn.kuaizhan.com/js/lib/jquery.js"></script>
31 <script src="/static/home/js/jquery.min.js"></script> 32 <script src="/static/home/js/jquery.min.js"></script>
32 <script src="/static/home/js/jquery.easing-1.3.min.js"></script> 33 <script src="/static/home/js/jquery.easing-1.3.min.js"></script>
33 <script src="/static/home/js/tooltip.js"></script> 34 <script src="/static/home/js/tooltip.js"></script>
@@ -6,7 +6,9 @@ @@ -6,7 +6,9 @@
6 $('#camera-slide').camera({ 6 $('#camera-slide').camera({
7 thumbnails: false, 7 thumbnails: false,
8 hover: false, 8 hover: false,
9 - pagination: false 9 + pagination: false,
  10 + playPause:true,
  11 + portrait:true
10 }); 12 });
11 }); 13 });
12 </script> 14 </script>
@@ -55,18 +55,10 @@ @@ -55,18 +55,10 @@
55 <!-- 代码2:用来读取评论框配置,此代码需放置在代码1之后。 --> 55 <!-- 代码2:用来读取评论框配置,此代码需放置在代码1之后。 -->
56 <!-- 如果当前页面有评论框,代码2请勿放置在评论框代码之前。 --> 56 <!-- 如果当前页面有评论框,代码2请勿放置在评论框代码之前。 -->
57 <!-- 如果页面同时使用多个实验室项目,以下代码只需要引入一次,只配置上面的div标签即可 --> 57 <!-- 如果页面同时使用多个实验室项目,以下代码只需要引入一次,只配置上面的div标签即可 -->
58 - <script type="text/javascript" charset="utf-8" src="https://changyan.itc.cn/js/lib/jquery.js"></script>  
59 <script type="text/javascript" charset="utf-8" src="https://changyan.sohu.com/js/changyan.labs.https.js?appid=cytu7fNxW"></script> 58 <script type="text/javascript" charset="utf-8" src="https://changyan.sohu.com/js/changyan.labs.https.js?appid=cytu7fNxW"></script>
60 </div > 59 </div >
61 60
62 - <div class="fly-panel detail-box" id="flyReply">  
63 - <fieldset class="layui-elem-field layui-field-title" style="text-align: center;">  
64 - <legend>评论</legend>  
65 - </fieldset>  
66 - <!--PC和WAP自适应版-->  
67 - <div id="SOHUCS" sid="{$info.id}" ></div>  
68 - </div>  
69 - 61 +
70 62
71 63
72 <!-- Footer --> 64 <!-- Footer -->
@@ -89,17 +81,5 @@ @@ -89,17 +81,5 @@
89 </div> 81 </div>
90 <!-- End of Main Container --> 82 <!-- End of Main Container -->
91 {include file="common/foot"/} 83 {include file="common/foot"/}
92 -<script type="text/javascript">  
93 - (function(){  
94 - var appid = '{$changyan.app_id}';  
95 - var conf = '{$changyan.config}';  
96 - var width = window.innerWidth || document.documentElement.clientWidth;  
97 - if (width < 960) {  
98 - window.document.write('<script id="changyan_mobile_js" charset="utf-8" type="text/javascript" src="https://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=' + appid + '&conf=' + conf + '"><\/script>'); } else { var loadJs=function(d,a){var c=document.getElementsByTagName("head")[0]||document.head||document.documentElement;var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("charset","UTF-8");b.setAttribute("src",d);if(typeof a==="function"){if(window.attachEvent){b.onreadystatechange=function(){var e=b.readyState;if(e==="loaded"||e==="complete"){b.onreadystatechange=null;a()}}}else{b.onload=a}}c.appendChild(b)};loadJs("https://changyan.sohu.com/upload/changyan.js",function(){window.changyan.api.config({appid:appid,conf:conf})}); } })();  
99 - function changyan_wtx() {  
100 - window.location.href="{:url('user/login/index')}";  
101 - }  
102 -</script>  
103 -<script type="text/javascript" src="https://assets.changyan.sohu.com/upload/plugins/plugins.count.js"></script>  
104 </body> 84 </body>
105 </html> 85 </html>
1 1
2 <div class="footer"> 2 <div class="footer">
3 - <p><a href="http://www.纳极科技.com/">纳极科技</a> 2017 &copy; <a href="http://www.纳极科技.com/">纳极科技.com</a></p>  
4 - <p>  
5 - <a href="{:url('home/services/index',array('catId'=>34))}" target="_blank">产品服务</a>  
6 - <a href="{:url('home/system/index',array('catId'=>33))}" target="_blank">系统操作</a>  
7 - <a href="{:url('home/news/index',array('catId'=>49))}" target="_blank">纳极科技动态</a>  
8 - </p> 3 + <p><a href="javascript:;">2018 - 2020 © 纳极科技</a></p>
9 </div> 4 </div>
10 <script src="/static/plugins/layui/layui.js"></script> 5 <script src="/static/plugins/layui/layui.js"></script>
11 6
@@ -12,7 +12,6 @@ @@ -12,7 +12,6 @@
12 <body> 12 <body>
13 <div class="header"> 13 <div class="header">
14 <div class="main"> 14 <div class="main">
15 - <a class="logo" href="/" title="纳极科技">纳极科技</a>  
16 <div class="nav-user"> 15 <div class="nav-user">
17 <a class="avatar" href="{:url('index/index')}"> 16 <a class="avatar" href="{:url('index/index')}">
18 {if condition="$userInfo['avatar']"} 17 {if condition="$userInfo['avatar']"}
@@ -98,7 +98,7 @@ html .fly-full{margin-top: 65px;} @@ -98,7 +98,7 @@ html .fly-full{margin-top: 65px;}
98 .fly-none p{margin-top: 50px; padding: 0 15px; font-size: 20px; color: #999; font-weight: 300;} 98 .fly-none p{margin-top: 50px; padding: 0 15px; font-size: 20px; color: #999; font-weight: 300;}
99 99
100 /* 头部 */ 100 /* 头部 */
101 -.header{position:fixed; z-index: 10000; left:0; top:0; width:100%; height:65px; background-color:#393D49;} 101 +.header{position:fixed; z-index: 10000; left:0; top:0; width:100%; height:65px; background-color:#009788;}
102 .header .main{position:relative; margin:0 auto; min-height: 0;} 102 .header .main{position:relative; margin:0 auto; min-height: 0;}
103 .logo{position:absolute; top: 13px; left:0; width: 135px; height: 37px; text-indent:-666px; background:url(../images/logo.png) no-repeat;background-size: 100%;} 103 .logo{position:absolute; top: 13px; left:0; width: 135px; height: 37px; text-indent:-666px; background:url(../images/logo.png) no-repeat;background-size: 100%;}
104 104

17.4 KB | W: | H:

15.5 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin