style:网上申请
Showing
2 changed files
with
16 additions
and
7 deletions
... | @@ -29,21 +29,26 @@ | ... | @@ -29,21 +29,26 @@ |
29 | .selectCity .area_list li { | 29 | .selectCity .area_list li { |
30 | display: inline-block; | 30 | display: inline-block; |
31 | width: 100px; | 31 | width: 100px; |
32 | height: 32px; | 32 | height: 36px; |
33 | border-radius: 3px; | 33 | border-radius: 4px; |
34 | background-color: #01AAED; | ||
35 | margin-right: 10px; | 34 | margin-right: 10px; |
36 | color: #fff; | 35 | color: #fff; |
37 | text-align: center; | 36 | text-align: center; |
38 | line-height: 32px; | 37 | line-height: 36px; |
39 | margin-bottom: 10px; | 38 | margin-bottom: 10px; |
40 | cursor: pointer; | 39 | cursor: pointer; |
40 | background: #FFFFFF; | ||
41 | border-radius: 4px; | ||
42 | border: 1px solid #E6E6E6; | ||
43 | color: #6D7278; | ||
41 | } | 44 | } |
42 | .selectCity .area_list li:hover { | 45 | .selectCity .area_list li:hover { |
43 | background-color: #5FB878; | 46 | color: #006CFF; |
47 | border-color: #006CFF; | ||
44 | } | 48 | } |
45 | .active1 { | 49 | .active2 { |
46 | background-color: #5FB878!important; | 50 | color: #006CFF!important; |
51 | border-color: #006CFF!important; | ||
47 | } | 52 | } |
48 | .business { | 53 | .business { |
49 | padding: 15px; | 54 | padding: 15px; | ... | ... |
... | @@ -13,7 +13,11 @@ $(function () { | ... | @@ -13,7 +13,11 @@ $(function () { |
13 | }).extend({ //设定模块别名 | 13 | }).extend({ //设定模块别名 |
14 | common: 'cityCommon' | 14 | common: 'cityCommon' |
15 | }); | 15 | }); |
16 | $('.area_list li').click(function () { | ||
17 | $(".area_list li").removeClass("active2") | ||
18 | $(this).addClass("active2"); | ||
16 | 19 | ||
20 | }) | ||
17 | layui.use(['form', 'common'], function () { | 21 | layui.use(['form', 'common'], function () { |
18 | var common = layui.common, | 22 | var common = layui.common, |
19 | form = layui.form; | 23 | form = layui.form; | ... | ... |
-
Please register or sign in to post a comment