2 Commits 4d5460dad1 ... 11479906e2

Author SHA1 Message Date
  gsgundam 11479906e2 Merge branch 'master' of https://git.dashgame.com/919693957/Tools 5 years ago
  gsgundam b1c65a01f1 优化样式 5 years ago
1 changed files with 26 additions and 8 deletions
  1. 26 8
      application/index/view/base/header.html

+ 26 - 8
application/index/view/base/header.html

@@ -288,6 +288,24 @@
                 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;
             }
@@ -304,15 +322,15 @@
 <div class="row">
 
 {volist name="tags" id="vo"}
-<ol class="breadcrumb col-sm-12 " >
+<ol class="breadcrumb col-sm-12 top-section">
     {if condition="$vo['tagname'] eq '热门' "}
-        <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>
+        <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>
     {/if}
 
     {volist name="vo['children']" id="v"}