Browse Source

更新 'application/index/view/base/header.html'

Me 5 năm trước cách đây
mục cha
commit
d0e596b432
1 tập tin đã thay đổi với 32 bổ sung33 xóa
  1. 32 33
      application/index/view/base/header.html

+ 32 - 33
application/index/view/base/header.html

@@ -284,32 +284,17 @@
             }
 
             .breadcrumb > .active {
-                color: #2c7ae7;
+                color: red;
                 font-weight: bold;
             }
 
-            .breadcrumb.top-section{background: #fff;}
-
-            .breadcrumb.top-section>img {
-                width: 20px;
-                height: 20px;
-                position: absolute;
-                margin-top: 13px;
-            }
-
-            .breadcrumb.top-section li.no-first-bar{
-                margin-top: 0;
-                margin-left: 24px;
-            }
-
-            .breadcrumb.top-section li:nth-child(3):before{
-                content: "";
-            }
 
             .tools_list {
                 min-height: 500px;
             }
 
+      
+
             .servises-item-desc a {
                 text-decoration: none;
             }
@@ -317,20 +302,22 @@
             .servises-item:hover .servises-item-desc a {
                 color: white;
             }
+
+
         </style>
 <div class="container centent" style="padding-bottom:20px;">
 <div class="row">
 
 {volist name="tags" id="vo"}
-<ol class="breadcrumb col-sm-12 top-section">
+<ol class="breadcrumb col-sm-12 " >
     {if condition="$vo['tagname'] eq '热门' "}
-        <img src="/static/admin/images/fire.png"><li class="no-first-bar" style="color: #EF5350;">{$vo.tagname}</li>
-    {elseif condition="$vo['tagname'] eq '推荐' "}
-        <img src="/static/admin/images/zan.png"><li class="no-first-bar" style="color: #4FC3F7;">{$vo.tagname}</li>
-    {elseif condition="$vo['tagname'] eq 'PDF' "}
-        <img src="/static/admin/images/pdf.png"><li class="no-first-bar" style="color: #FF5722;">{$vo.tagname}</li>
-    {elseif condition="$vo['tagname'] eq '开发' "}
-        <img src="/static/admin/images/jt.png"><li class="no-first-bar" style="color: #EC407A;">{$vo.tagname}</li>
+        <img src="/static/admin/images/fire.png" style="width: 20px;height: 20px;"><li style="color: #EF5350;">{$vo.tagname}</li>
+    {elseif condition="$vo['tagname'] eq '推荐' "/}
+        <img src="/static/admin/images/zan.png" style="width: 20px;height: 20px;"><li style="color: #4FC3F7;">{$vo.tagname}</li>
+    {elseif condition="$vo['tagname'] eq 'PDF' "/}   
+        <img src="/static/admin/images/pdf.png" style="width: 20px;height: 20px;"><li style="color: #FF5722;">{$vo.tagname}</li>
+    {elseif condition="$vo['tagname'] eq '开发' "/}
+        <img src="/static/admin/images/jt.png" style="width: 20px;height: 20px;"><li style="color: #EC407A;">{$vo.tagname}</li>
     {/if}
 
     {volist name="vo['children']" id="v"}
@@ -342,22 +329,34 @@
 
 
 <ol class="breadcrumb col-sm-12 col-auto item nav-list" id="choose-tool">
-<li class="active"><a href="{:url('Base/alls')}"><span style="cursor: pointer;">所有工具</span></a></li>
+    <li><a  href="{:url('Base/alls')}">所有工具</a></li>
 
-{volist name="data" id="vo"}
-    <li class="active"><a href="{:url('Index/index',['column_id'=>$vo.id])}"><span style="cursor: pointer;">{$vo.catename}</span></a></li>   
-{/volist}
+    {volist name="data" id="vo"}
+    <li>     
+        <a  href="{:url('index/index',['column_id'=>$vo.id])}" >{$vo.catename}</a>   
+    </li>   
+    {/volist}
 
 </ol>
-  
+
+
 <script type="text/javascript">
+    //解决a标签带超链接,点击跳转显示高亮颜色 
     $('#choose-tool li a').each(function() {
       if ($($(this))[0].href == String(window.location)) {   
-         $(this).css('background','#2196f3');
+         $(this).css('color','#2196f3');
       };
     });
 </script>
 
+
+ 
+
+
+
 </div>
 </body>
-</html>
+</html>
+
+
+