418475c2 by 任超

style:我的预约

1 parent ddd93e85
......@@ -285,4 +285,13 @@
float: right;
margin-top: 26px;
margin-right: 8px;
}
.bus-active {
background-color: #0097F6;
}
.bus-active span {
color: #FFFFFF;
}
.bus-active p {
color: #FFFFFF;
}
\ No newline at end of file
......
......@@ -14,6 +14,8 @@ $(function () {
let dataId = ($(this).attr('data-id'))
$('.arrowList p').css("opacity", 0);
$('.arrowList p').eq(dataId).css("opacity", 1);
$('.business_titleList li a').removeClass('bus-active');
$('.business_titleList li').eq(dataId).find('a').addClass('bus-active')
if (dataId == '0') {
_applyBusinessRecord()
dataRendering(dataList.list)
......
......@@ -41,7 +41,7 @@
</div>
<ul class="business_titleList">
<li class="applyBusinessRecord">
<a data-id='0' class="itemTitleActive">
<a data-id='0' class="itemTitleActive bus-active">
<p>
<span>0</span>
</p>
......