Commit f181a51b by hank

fix css

parent 38e8525c
...@@ -25,15 +25,15 @@ Date.prototype.Format = function(fmt) { ...@@ -25,15 +25,15 @@ Date.prototype.Format = function(fmt) {
this.ideal = this.ideal || {}; this.ideal = this.ideal || {};
(function(window) { (function(window) {
window.onload = function (param) { // window.onload = function (param) {
$('#nav-products>a').click(function (e) { // $('#nav-products>a').click(function (e) {
e.preventDefault(); // e.preventDefault();
$('#nav-products .dropdown-menu').toggle(function() { // $('#nav-products .dropdown-menu').toggle(function() {
}, // },
function() { // function() {
}) // })
}) // })
} // }
function GetRequest(key) { function GetRequest(key) {
var url = location.search; //获取url中"?"符后的字串 var url = location.search; //获取url中"?"符后的字串
var theRequest = new Object(); var theRequest = new Object();
......
...@@ -474,6 +474,57 @@ ul { ...@@ -474,6 +474,57 @@ ul {
z-index: 555; z-index: 555;
width: 80%; width: 80%;
} }
body .main-container .word-box {
position: absolute;
padding-left: 20px;
padding-top: 1.5rem;
z-index: 555;
width: 80%;
}
body .main-container .word-box p.line1 {
width: 28px;
height: 1px;
background: #333333;
margin-bottom: 0.3rem;
}
body .main-container .word-box p.line2 {
width: 147px;
height: 1px;
background: #333333;
margin-top: 0.5rem;
}
body .main-container .word-box p.btword {
font-size: 0.28rem;
color: #333333;
/* font-weight: bold; */
margin-bottom: 0.15rem;
}
body .main-container .word-box p.btworden {
font-size: 0.125rem;
color: #333333;
}
body .main-container .word-box p.conword {
font-size: 0.16rem;
color: #333333;
line-height: 0.26rem;
margin-top: 0.15rem;
max-width: 466px;
text-align: justify;
}
body .main-container .word-box a.linkword {
width: 140px;
height: 43px;
border: 1px solid #ffffff;
text-align: center;
color: #ffffff;
line-height: 40px;
font-size: 16px;
display: block;
margin-top: 35px;
position: relative;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
}
.our-products { .our-products {
position: relative; position: relative;
background-size: 100%; background-size: 100%;
......
...@@ -500,6 +500,58 @@ ul { ...@@ -500,6 +500,58 @@ ul {
z-index: 555; z-index: 555;
width: 80%; width: 80%;
} }
.word-box {
position: absolute;
padding-left: 20px;
padding-top: 1.5rem;
z-index: 555;
width: 80%;
p.line1 {
width: 28px;
height: 1px;
background: #333333;
margin-bottom: 0.3rem;
}
p.line2 {
width:147px;
height:1px;
background:#333333;
margin-top: 0.5rem;
}
p.btword {
font-size: 0.28rem;
color: #333333;
/* font-weight: bold; */
margin-bottom: 0.15rem;
}
p.btworden {
font-size: 0.125rem;
color: #333333;
// margin-top: 21px;
}
p.conword {
font-size: 0.16rem;
color: #333333;
line-height: 0.26rem;
margin-top: 0.15rem;
max-width: 466px;
text-align: justify;
}
a.linkword {
width: 140px;
height: 43px;
border: 1px solid #ffffff;
text-align: center;
color: #ffffff;
line-height: 40px;
font-size: 16px;
display: block;
margin-top: 35px;
position: relative;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
}
}
} }
.our-products { .our-products {
......
...@@ -1816,6 +1816,7 @@ margin-top: 0.1rem; ...@@ -1816,6 +1816,7 @@ margin-top: 0.1rem;
height: 420px; height: 420px;
margin-top: 50px; margin-top: 50px;
} }
body .main-container .navbar-container { body .main-container .navbar-container {
max-width: 100vw; max-width: 100vw;
position: fixed; position: fixed;
...@@ -1825,6 +1826,7 @@ margin-top: 0.1rem; ...@@ -1825,6 +1826,7 @@ margin-top: 0.1rem;
position: fixed; position: fixed;
top: 0; top: 0;
} }
body .main-container .navbar-brand { body .main-container .navbar-brand {
padding: 10px 15px; padding: 10px 15px;
} }
...@@ -1832,10 +1834,7 @@ margin-top: 0.1rem; ...@@ -1832,10 +1834,7 @@ margin-top: 0.1rem;
width: 1.62rem; width: 1.62rem;
/* height:1.04rem; */ /* height:1.04rem; */
} }
body .main-container .swiper-container .word-box p.btword {
font-size: 28px;
}
body .navbar-container { body .navbar-container {
position: relative; position: relative;
} }
......
...@@ -982,8 +982,43 @@ ul { ...@@ -982,8 +982,43 @@ ul {
background: white; background: white;
z-index: 9999; z-index: 9999;
} }
.main-container .swiper-container .word-box {
padding-left: 20px;
padding-top: 2rem;
top: 1.5rem;
left: 15%;
z-index: 555;
width: 80%;
}
.main-container .swiper-container .word-box p.line1 {
width: 40px;
height: 2px;
background: #ffffff;
margin-bottom: 0.5rem;
}
.main-container .swiper-container .word-box p.line2 {
width: 211px;
height: 2px;
background: #ffffff;
margin-top: 0.5rem;
}
.main-container .swiper-container .word-box p.btword { .main-container .swiper-container .word-box p.btword {
font-size: 28px; font-size: 0.28rem;
color: #ffffff;
/* font-weight: bold; */
}
.main-container .swiper-container .word-box p.btworden {
font-size: 0.125rem;
color: #ffffff;
margin-top: 0.15rem;
}
.main-container .swiper-container .word-box p.conword {
font-size: 0.16rem ;
color: #ffffff;
line-height: 0.2rem;
margin-top: 0.4rem;
max-width: 530px;
text-align: justify;
} }
.navbar-brand { .navbar-brand {
padding: 7px 15px; padding: 7px 15px;
......
...@@ -1057,9 +1057,43 @@ ul { ...@@ -1057,9 +1057,43 @@ ul {
background: white; background: white;
z-index: 9999; z-index: 9999;
} }
.swiper-container .word-box { .swiper-container .word-box {
// position: absolute;
padding-left: 20px;
padding-top: 2rem;
top: 1.5rem;
left: 15%;
z-index: 555;
width: 80%;
p.line1 {
width: 40px;
height: 2px;
background:rgba(255,255,255,1);
margin-bottom: 0.5rem;
}
p.line2 {
width: 211px;
height: 2px;
background:rgba(255,255,255,1);
margin-top: 0.5rem;
}
p.btword { p.btword {
font-size: 28px; font-size: 0.28rem;
color: #ffffff;
/* font-weight: bold; */
}
p.btworden {
font-size: 0.125rem;
color: #ffffff;
margin-top: 0.15rem;
}
p.conword {
font-size: 0.16rem ;
color: #ffffff;
line-height: 0.2rem;
margin-top: 0.4rem;
max-width: 530px;
text-align: justify;
} }
} }
} }
......
...@@ -641,8 +641,59 @@ ul { ...@@ -641,8 +641,59 @@ ul {
} }
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.main-container .qiu {
display: none !important;
}
.main-container #banner .word-box {
position: absolute;
padding-left: 20px;
padding-top: 1.5rem;
z-index: 555;
width: 80%;
}
.main-container #banner .word-box p.line1 {
width: 28px;
height: 1px;
background: #333333;
margin-bottom: 0.3rem;
}
.main-container #banner .word-box p.line2 {
width: 147px;
height: 1px;
background: #333333;
margin-top: 0.5rem;
}
.main-container #banner .word-box p.btword { .main-container #banner .word-box p.btword {
font-size: 0.5rem; font-size: 0.28rem;
color: #333333;
/* font-weight: bold; */
margin-bottom: 0.15rem;
}
.main-container #banner .word-box p.btworden {
font-size: 0.125rem;
color: #333333;
}
.main-container #banner .word-box p.conword {
font-size: 0.16rem;
color: #333333;
line-height: 0.26rem;
margin-top: 0.15rem;
max-width: 466px;
text-align: justify;
}
.main-container #banner .word-box a.linkword {
width: 140px;
height: 43px;
border: 1px solid #ffffff;
text-align: center;
color: #ffffff;
line-height: 40px;
font-size: 16px;
display: block;
margin-top: 35px;
position: relative;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
} }
.our-products { .our-products {
position: relative; position: relative;
......
...@@ -695,9 +695,59 @@ ul { ...@@ -695,9 +695,59 @@ ul {
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.main-container { .main-container {
#banner .word-box { .qiu {
display: none !important;
}
#banner .word-box {
position: absolute;
padding-left: 20px;
padding-top: 1.5rem;
z-index: 555;
width: 80%;
p.line1 {
width: 28px;
height: 1px;
background: #333333;
margin-bottom: 0.3rem;
}
p.line2 {
width:147px;
height:1px;
background:#333333;
margin-top: 0.5rem;
}
p.btword { p.btword {
font-size: 0.5rem; font-size: 0.28rem;
color: #333333;
/* font-weight: bold; */
margin-bottom: 0.15rem;
}
p.btworden {
font-size: 0.125rem;
color: #333333;
// margin-top: 21px;
}
p.conword {
font-size: 0.16rem;
color: #333333;
line-height: 0.26rem;
margin-top: 0.15rem;
max-width: 466px;
text-align: justify;
}
a.linkword {
width: 140px;
height: 43px;
border: 1px solid #ffffff;
text-align: center;
color: #ffffff;
line-height: 40px;
font-size: 16px;
display: block;
margin-top: 35px;
position: relative;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
} }
} }
} }
......
...@@ -942,10 +942,54 @@ ul { ...@@ -942,10 +942,54 @@ ul {
body .main-container .word-box { body .main-container .word-box {
position: absolute; position: absolute;
padding-left: 20px; padding-left: 20px;
padding-top: 10%; padding-top: 1.5rem;
z-index: 555; z-index: 555;
width: 80%; width: 80%;
} }
body .main-container .word-box p.line1 {
width: 28px;
height: 1px;
background: #333333;
margin-bottom: 0.3rem;
}
body .main-container .word-box p.line2 {
width: 147px;
height: 1px;
background: #333333;
margin-top: 0.5rem;
}
body .main-container .word-box p.btword {
font-size: 0.28rem;
color: #333333;
/* font-weight: bold; */
margin-bottom: 0.15rem;
}
body .main-container .word-box p.btworden {
font-size: 0.125rem;
color: #333333;
}
body .main-container .word-box p.conword {
font-size: 0.16rem;
color: #333333;
line-height: 0.26rem;
margin-top: 0.15rem;
max-width: 466px;
text-align: justify;
}
body .main-container .word-box a.linkword {
width: 140px;
height: 43px;
border: 1px solid #ffffff;
text-align: center;
color: #ffffff;
line-height: 40px;
font-size: 16px;
display: block;
margin-top: 35px;
position: relative;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
}
.solution { .solution {
padding-top: 1rem; padding-top: 1rem;
padding-bottom: 0; padding-bottom: 0;
......
...@@ -1000,13 +1000,58 @@ ul { ...@@ -1000,13 +1000,58 @@ ul {
body .main-container { body .main-container {
height: 240px; height: 240px;
margin-top: 50px; margin-top: 50px;
.word-box { .word-box {
position: absolute; position: absolute;
padding-left: 20px; padding-left: 20px;
padding-top: 10%; padding-top: 1.5rem;
z-index: 555; z-index: 555;
width: 80%; width: 80%;
} p.line1 {
width: 28px;
height: 1px;
background: #333333;
margin-bottom: 0.3rem;
}
p.line2 {
width:147px;
height:1px;
background:#333333;
margin-top: 0.5rem;
}
p.btword {
font-size: 0.28rem;
color: #333333;
/* font-weight: bold; */
margin-bottom: 0.15rem;
}
p.btworden {
font-size: 0.125rem;
color: #333333;
// margin-top: 21px;
}
p.conword {
font-size: 0.16rem;
color: #333333;
line-height: 0.26rem;
margin-top: 0.15rem;
max-width: 466px;
text-align: justify;
}
a.linkword {
width: 140px;
height: 43px;
border: 1px solid #ffffff;
text-align: center;
color: #ffffff;
line-height: 40px;
font-size: 16px;
display: block;
margin-top: 35px;
position: relative;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
}
}
} }
.solution { .solution {
padding-top: 1rem; padding-top: 1rem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment