Your Name 2 ay önce
ebeveyn
işleme
1b33cf6cbe

+ 2
- 0
.gitignore Dosyayı Görüntüle

@@ -5,3 +5,5 @@ static/
5 5
 *.sql
6 6
 *.zip
7 7
 config/database.php
8
+
9
+

+ 1
- 1
template/dafeult/wap/city.html Dosyayı Görüntüle

@@ -26,7 +26,7 @@
26 26
   <style>
27 27
   		*{padding:0;margin:0}
28 28
           .citylist{    width: 1200px;
29
-      margin: 0 auto; padding:50px 0 100px;  }
29
+      margin: 0 auto; padding:15px 0 5px;  }
30 30
           .citylist .tips{ color:#999; text-align: center; margin-bottom: 20px; }
31 31
           .citylist dl{ margin-bottom: 20px; position: relative; padding-left:90px; min-height: 30px; }
32 32
           .citylist dl dt{ position: absolute; left: 0; background:#05B381; min-width: 80px; color:#fff; border-radius: 4px; }

+ 11
- 24
template/dafeult/wap/foot.html Dosyayı Görüntüle

@@ -32,31 +32,18 @@
32 32
   </div>
33 33
 </div>
34 34
 <div class="footer-nav">
35
-  <ul>
36
-    <li> <a href="{pboot:httpurl}/"> <span class="icon iconfont icon-shouye"></span>
37
-      <p>首页</p>
38
-      </a> </li>
39
-    {pboot:sort scode=1}
40
-    <li> <a href="[sort:link]"> <span class="icon iconfont icon-xihuan"></span>
41
-      <p>[sort:name]</p>
42
-      </a> </li>
43
-    {/pboot:sort}
44
-    {pboot:sort scode=6}
45
-    <li > <a href="[sort:link]"> <span class="icon iconfont icon-wode"></span>
46
-      <p>[sort:name]</p>
47
-      </a> </li>
48
-    {/pboot:sort}
49
-    {pboot:sort scode=7}
50
-    <li > <a href="[sort:link]"> <span class="icon iconfont icon-dianpu"></span>
51
-      <p>[sort:name]</p>
52
-      </a> </li>
53
-    {/pboot:sort}
54
-    {pboot:sort scode=9}
55
-    <li > <a href="[sort:link]"> <span class="icon iconfont icon-wangwang"></span>
56
-      <p>[sort:name]</p>
57
-      </a> </li>
58
-    {/pboot:sort}
35
+
36
+  <ul style="padding-top:4px;">
37
+  {pboot:nav parent=26}
38
+  <li style="width:[nav:subname];text-align: center;">
39
+    <a href="[nav:link]">
40
+      <img src="[nav:ico]" style="width:auto;height:25px;"/>
41
+      <p>[nav:name]</p>
42
+    </a>
43
+  </li>
44
+  {/pboot:nav}
59 45
   </ul>
46
+
60 47
 </div>
61 48
 <script type="text/javascript" src="{pboot:sitedomain}/m/js/common_m.js"></script> 
62 49
 <!--页脚 结束-->

+ 35
- 0
template/dafeult/wap/nav.html Dosyayı Görüntüle

@@ -0,0 +1,35 @@
1
+<ul style="display: none;">
2
+    <li> <a href="{pboot:httpurl}/">
3
+        <!--    <img src="" style="width:25px;height:25px;"/>-->
4
+        <span class="icon iconfont icon-shouye"></span>
5
+        <p>首页</p>
6
+    </a> </li>
7
+    {pboot:sort scode=1}
8
+    {pboot:if('[sort:is_show]' == '1')}
9
+    <li> <a href="[sort:link]"> <span class="icon iconfont icon-xihuan"></span>
10
+        <p>[sort:name]</p>
11
+    </a> </li>
12
+    {/pboot:if}
13
+    {/pboot:sort}
14
+    {pboot:sort scode=6}
15
+    {pboot:if('[sort:is_show]' == '1')}
16
+    <li > <a href="[sort:link]"> <span class="icon iconfont icon-wode"></span>
17
+        <p>[sort:name]</p>
18
+    </a> </li>
19
+    {/pboot:if}
20
+    {/pboot:sort}
21
+    {pboot:sort scode=7}
22
+    {pboot:if('[sort:is_show]' == '1')}
23
+    <li > <a href="[sort:link]"> <span class="icon iconfont icon-dianpu"></span>
24
+        <p>[sort:name]</p>
25
+    </a> </li>
26
+    {/pboot:if}
27
+    {/pboot:sort}
28
+    {pboot:sort scode=9}
29
+    {pboot:if('[sort:is_show]' == '1')}
30
+    <li > <a href="[sort:link]"> <span class="icon iconfont icon-wangwang"></span>
31
+        <p>[sort:name]</p>
32
+    </a> </li>
33
+    {/pboot:if}
34
+    {/pboot:sort}
35
+</ul>

Loading…
İptal
Kaydet