bdb59604 by 任超

style:样式

1 parent e511291e
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
13 .layui-icon-search { 13 .layui-icon-search {
14 color: #6D7278; 14 color: #6D7278;
15 } 15 }
16 .active1 {
17 background-color: #1E9FFF!important;
18 color: #fff!important;
19 }
16 /* ----------------------公共样式-------------------------- */ 20 /* ----------------------公共样式-------------------------- */
17 .contentBox { 21 .contentBox {
18 width: 1200px; 22 width: 1200px;
......
1 .central_area { 1 .central_area {
2 min-height:calc(100vh - 227px); 2 min-height:calc(100vh - 197px);
3 } 3 }
4 .ovfHiden{overflow: hidden;height: 100%;} 4 .ovfHiden{overflow: hidden;height: 100%;}
5 .navigation_crumbs { 5 .navigation_crumbs {
...@@ -10,38 +10,6 @@ ...@@ -10,38 +10,6 @@
10 padding-top: 25px; 10 padding-top: 25px;
11 margin-bottom: 25px; 11 margin-bottom: 25px;
12 } 12 }
13 .app_progress li {
14 padding: 0 30px;
15 line-height: 40px;
16 background: #eee;
17 display: inline-block;
18 color: #fff;
19 position: relative;
20 color: black;
21 cursor: pointer;
22 }
23 .app_progress li:hover {
24 background-color: #1E9FFF;
25 color: #fff;
26 }
27
28 .app_progress li:hover:after {
29 border-left-color: #1E9FFF;
30 }
31 .app_progress li:after{
32 content: '';
33 display: block;
34 border-top: 20px solid #fff;
35 border-bottom: 20px solid #fff;
36 border-left: 12px solid #eee;
37 position: absolute;
38 right:0;
39 top: 0;
40 }
41 .active {
42 background-color: #1E9FFF!important;
43 color: #fff!important;
44 }
45 .app_progress li.active:after { 13 .app_progress li.active:after {
46 border-left-color: #1E9FFF; 14 border-left-color: #1E9FFF;
47 } 15 }
...@@ -70,6 +38,7 @@ ...@@ -70,6 +38,7 @@
70 padding: 0 50px; 38 padding: 0 50px;
71 box-sizing: border-box; 39 box-sizing: border-box;
72 position: relative; 40 position: relative;
41 margin-top: 30px;
73 } 42 }
74 .swiper-container { 43 .swiper-container {
75 width: 100%; 44 width: 100%;
...@@ -88,8 +57,9 @@ ...@@ -88,8 +57,9 @@
88 font-size: 14px; 57 font-size: 14px;
89 margin-top: 3px; 58 margin-top: 3px;
90 } 59 }
91 .active { 60 .active1 {
92 background-color: #1E9FFF; 61 background-color: #1E9FFF;
62 color: #fff;
93 } 63 }
94 .business_choice { 64 .business_choice {
95 margin: 20px auto; 65 margin: 20px auto;
...@@ -299,8 +269,22 @@ ...@@ -299,8 +269,22 @@
299 text-align: center; 269 text-align: center;
300 margin: 20px 0; 270 margin: 20px 0;
301 } 271 }
272 .next_button button {
273 width: 140px;
274 height: 42px;
275 position: relative;
276 }
302 .next_button a { 277 .next_button a {
303 color: #fff; 278 color: #fff;
279 display: block;
280 width: 140px;
281 height: 42px;
282 position: absolute;
283 left: 0;
284 top: 0;
285 }
286 .next_button a:hover{
287 color: #fff;
304 } 288 }
305 .layui-layer-title { 289 .layui-layer-title {
306 background-color: #1E9FFF!important; 290 background-color: #1E9FFF!important;
......
...@@ -81,7 +81,7 @@ $(function () { ...@@ -81,7 +81,7 @@ $(function () {
81 function a(i) { 81 function a(i) {
82 Date = data.dateList[i].date 82 Date = data.dateList[i].date
83 bustime = data.dateList[i].week 83 bustime = data.dateList[i].week
84 $(".swiper-slide").eq(i).addClass('active').siblings().removeClass('active'); 84 $(".swiper-slide").eq(i).addClass('active1').siblings().removeClass('active1');
85 } 85 }
86 86
87 layui.use('laytpl', function () { 87 layui.use('laytpl', function () {
...@@ -107,6 +107,7 @@ $(function () { ...@@ -107,6 +107,7 @@ $(function () {
107 on: { 107 on: {
108 click: function (swiper) { 108 click: function (swiper) {
109 var index = swiper['clickedIndex']; 109 var index = swiper['clickedIndex'];
110 console.log(index)
110 a(index); 111 a(index);
111 } 112 }
112 }, 113 },
......
...@@ -8,6 +8,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD ...@@ -8,6 +8,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD
8 <title>我的预约-预约时间</title> 8 <title>我的预约-预约时间</title>
9 <script type="text/javascript" src="../staticJs/head.js"></script> 9 <script type="text/javascript" src="../staticJs/head.js"></script>
10 <link rel="stylesheet" href="../staticCss/swiper-bundle.min.css"> 10 <link rel="stylesheet" href="../staticCss/swiper-bundle.min.css">
11 <link rel="stylesheet" type="text/css" href="../staticCss/progressBar.css">
11 <link rel="stylesheet" type="text/css" href="../staticCss/yysj.css"> 12 <link rel="stylesheet" type="text/css" href="../staticCss/yysj.css">
12 </head> 13 </head>
13 14
...@@ -25,26 +26,40 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD ...@@ -25,26 +26,40 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD
25 </div> 26 </div>
26 <!-- ----------------------------------内容模块的开始----------------------------------------------- --> 27 <!-- ----------------------------------内容模块的开始----------------------------------------------- -->
27 <div class="central_area"> 28 <div class="central_area">
28 <div class="appointment_notice contentBox"> 29 <div class="progressBar contentBox">
29 <ul class="app_progress"> 30 <ul class="app_progress">
30 <li class="selected"> 31 <li>
31 <span>1</span> 32 <p class="active"></p>
32 预约须知 33 <h5>
34 预约须知
35 </h5>
33 </li> 36 </li>
34 <div class="line"></div> 37 <div class="layui-progress">
35 <li class="selected"> 38 <div class="layui-progress-bar" lay-percent="100%"></div>
36 <span>2</span> 39 </div>
37 选择区域 40 <li>
41 <p class="active"></p>
42 <h5>
43 选择区域
44 </h5>
38 </li> 45 </li>
39 <div class="line"></div> 46 <div class="layui-progress">
40 <li class="active"> 47 <div class="layui-progress-bar" lay-percent="100%"></div>
41 <span>3</span> 48 </div>
42 预约时间 49 <li>
50 <p class="active"></p>
51 <h5>
52 预约时间
53 </h5>
43 </li> 54 </li>
44 <div class="line"></div> 55 <div class="layui-progress">
56 <div class="layui-progress-bar" lay-percent="50%"></div>
57 </div>
45 <li> 58 <li>
46 <span>4</span> 59 <p></p>
47 预约结果 60 <h5>
61 预约结果
62 </h5>
48 </li> 63 </li>
49 </ul> 64 </ul>
50 </div> 65 </div>
...@@ -91,7 +106,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD ...@@ -91,7 +106,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD
91 <script id="date" type="text/html"> 106 <script id="date" type="text/html">
92 {{# layui.each(d.dateList, function(index, item){ }} 107 {{# layui.each(d.dateList, function(index, item){ }}
93 {{# if(item.isSelect){ }} 108 {{# if(item.isSelect){ }}
94 <ul class="swiper-slide layui-bg-gray active"> 109 <ul class="swiper-slide layui-bg-gray active1">
95 <li>{{item.week}}</li> 110 <li>{{item.week}}</li>
96 <li>{{item.date}}</li> 111 <li>{{item.date}}</li>
97 </ul> 112 </ul>
......