style:我的预约
Showing
3 changed files
with
12 additions
and
1 deletions
... | @@ -285,4 +285,13 @@ | ... | @@ -285,4 +285,13 @@ |
285 | float: right; | 285 | float: right; |
286 | margin-top: 26px; | 286 | margin-top: 26px; |
287 | margin-right: 8px; | 287 | margin-right: 8px; |
288 | } | ||
289 | .bus-active { | ||
290 | background-color: #0097F6; | ||
291 | } | ||
292 | .bus-active span { | ||
293 | color: #FFFFFF; | ||
294 | } | ||
295 | .bus-active p { | ||
296 | color: #FFFFFF; | ||
288 | } | 297 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -14,6 +14,8 @@ $(function () { | ... | @@ -14,6 +14,8 @@ $(function () { |
14 | let dataId = ($(this).attr('data-id')) | 14 | let dataId = ($(this).attr('data-id')) |
15 | $('.arrowList p').css("opacity", 0); | 15 | $('.arrowList p').css("opacity", 0); |
16 | $('.arrowList p').eq(dataId).css("opacity", 1); | 16 | $('.arrowList p').eq(dataId).css("opacity", 1); |
17 | $('.business_titleList li a').removeClass('bus-active'); | ||
18 | $('.business_titleList li').eq(dataId).find('a').addClass('bus-active') | ||
17 | if (dataId == '0') { | 19 | if (dataId == '0') { |
18 | _applyBusinessRecord() | 20 | _applyBusinessRecord() |
19 | dataRendering(dataList.list) | 21 | dataRendering(dataList.list) | ... | ... |
... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
41 | </div> | 41 | </div> |
42 | <ul class="business_titleList"> | 42 | <ul class="business_titleList"> |
43 | <li class="applyBusinessRecord"> | 43 | <li class="applyBusinessRecord"> |
44 | <a data-id='0' class="itemTitleActive"> | 44 | <a data-id='0' class="itemTitleActive bus-active"> |
45 | <p> | 45 | <p> |
46 | <span>0</span> | 46 | <span>0</span> |
47 | </p> | 47 | </p> | ... | ... |
-
Please register or sign in to post a comment