Skip to content

Commit 2b2aa8b

Browse files
committed
修改css &js
1 parent 3cc8a34 commit 2b2aa8b

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

css/mohw.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7645,6 +7645,7 @@ div.tag ul li a:hover, div.tag ul li a:focus {
76457645
-webkit-box-sizing: border-box;
76467646
box-sizing: border-box;
76477647
margin-top: 2rem;
7648+
margin-bottom: 1rem;
76487649
}
76497650
@media screen and (max-width: 767px) {
76507651
.map_search {
@@ -7755,6 +7756,11 @@ div.tag ul li a:hover, div.tag ul li a:focus {
77557756
.map_tab .tabItem.active a:hover, .map_tab .tabItem.active a:focus {
77567757
background: #eee2f0;
77577758
}
7759+
@media screen and (max-width: 767px) {
7760+
.map_tab .tabItem.active a:hover, .map_tab .tabItem.active a:focus {
7761+
color: #444;
7762+
}
7763+
}
77587764
.map_tab .tabContent {
77597765
padding: 30px 0 0 0;
77607766
}
@@ -7799,6 +7805,8 @@ div.tag ul li a:hover, div.tag ul li a:focus {
77997805
background: #eee;
78007806
line-height: 48px;
78017807
display: block;
7808+
font-size: 1rem;
7809+
color: #555;
78027810
}
78037811
@media screen and (max-width: 767px) {
78047812
.map_tab .tabContent .map_tag ul li a {

css/mohw.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/hyui.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -563,10 +563,10 @@ $(function() {
563563
/*-----------------------------------*/
564564
////////////////多組Tab3////////////////
565565
/*-----------------------------------*/
566-
var resizeTimer1;
566+
var resizeTimer2;
567567
_window.resize(function() {
568-
clearTimeout(resizeTimer1);
569-
resizeTimer1 = setTimeout(function() {
568+
clearTimeout(resizeTimer2);
569+
resizeTimer2 = setTimeout(function() {
570570
ww = _window.outerWidth();
571571
tabSetRelated();
572572
}, 50);

sass/page/_cp.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,7 @@ div.tag {
11641164
margin: 0 auto;
11651165
box-sizing: border-box;
11661166
margin-top: 2rem;
1167+
margin-bottom: 1rem;
11671168
@include screen("mobile") {
11681169
width: 100%;
11691170
}
@@ -1257,6 +1258,9 @@ div.tag {
12571258
&:hover,
12581259
&:focus {
12591260
background: #eee2f0;
1261+
@include screen("mobile") {
1262+
color: #444;
1263+
}
12601264
}
12611265
}
12621266
}
@@ -1288,6 +1292,8 @@ div.tag {
12881292
background: #eee;
12891293
line-height: 48px;
12901294
display: block;
1295+
font-size: 1rem;
1296+
color: #555;
12911297
@include screen("mobile") {
12921298
padding: 0 1rem;
12931299
}

0 commit comments

Comments
 (0)