d8356ddc by 任超

style:样式

1 parent 4726b327
...@@ -222,6 +222,7 @@ div.navigation { ...@@ -222,6 +222,7 @@ div.navigation {
222 font-weight: 400; 222 font-weight: 400;
223 color: #4A4A4A; 223 color: #4A4A4A;
224 line-height: 24px; 224 line-height: 24px;
225 padding-bottom: 30px;
225 } 226 }
226 /* -----------------底部start----------------------------- */ 227 /* -----------------底部start----------------------------- */
227 div.footer { 228 div.footer {
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 <li class="layui-nav-item" class="item_last_child"><a href="">好差评</a></li> 53 <li class="layui-nav-item" class="item_last_child"><a href="">好差评</a></li>
54 </ul> 54 </ul>
55 </div> 55 </div>
56 <div class="navigation_crumbs"> 56 <div class="navigation_crumbs">
57 <div class="contentBox"> 57 <div class="contentBox">
58 <span class="layui-breadcrumb"> 58 <span class="layui-breadcrumb">
59 <a href="../../staticIndex.html">首页</a> 59 <a href="../../staticIndex.html">首页</a>
...@@ -196,4 +196,12 @@ ...@@ -196,4 +196,12 @@
196 } 196 }
197 }); 197 });
198 }); 198 });
199 layui.use('element', function(){
200 var element = layui.element;
201
202 //监听Tab切换,以改变地址hash值
203 element.on('tab(docDemoTabBrief)', function(){
204 location.hash = 'test1='+ this.getAttribute('lay-id');
205 });
206 });
199 </script> 207 </script>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -3,10 +3,23 @@ ...@@ -3,10 +3,23 @@
3 padding: 0; 3 padding: 0;
4 } 4 }
5 5
6 .main { 6 ::-webkit-input-placeholder { /* WebKit browsers */
7 7 font-size: 13px;
8 } 8 color: #9B9B9B;
9 9 }
10
11 ::-moz-placeholder { /* Mozilla Firefox 19+ */
12 font-size: 13px;
13 color: #9B9B9B;
14 }
15
16 :-ms-input-placeholder { /* Internet Explorer 10+ */
17 font-size: 13px;
18 color: #9B9B9B;
19 }
20 input {
21 padding-left: 10px;
22 }
10 /*================首页 start=====================*/ 23 /*================首页 start=====================*/
11 div a { 24 div a {
12 color: #000000; 25 color: #000000;
...@@ -123,6 +136,7 @@ div.navigation { ...@@ -123,6 +136,7 @@ div.navigation {
123 line-height: 25px; 136 line-height: 25px;
124 background: #FAFAFA; 137 background: #FAFAFA;
125 border: 1px solid #E6E6E6; 138 border: 1px solid #E6E6E6;
139 box-sizing: border-box;
126 } 140 }
127 .navigation_crumbs .layui-breadcrumb a:hover { 141 .navigation_crumbs .layui-breadcrumb a:hover {
128 color: #f46143!important; 142 color: #f46143!important;
...@@ -226,6 +240,7 @@ div.navigation { ...@@ -226,6 +240,7 @@ div.navigation {
226 background: #FFFFFF; 240 background: #FFFFFF;
227 border-radius: 2px; 241 border-radius: 2px;
228 border: 1px solid #CBCBCB; 242 border: 1px solid #CBCBCB;
243 margin-left: 10px;
229 } 244 }
230 245
231 .top button { 246 .top button {
...@@ -269,7 +284,6 @@ div.navigation { ...@@ -269,7 +284,6 @@ div.navigation {
269 .body { 284 .body {
270 display: flex; 285 display: flex;
271 justify-items: left; 286 justify-items: left;
272 border-top: 1px solid #CBCBCB;
273 } 287 }
274 288
275 .body div { 289 .body div {
......