416 lines
7.0 KiB
Plaintext
416 lines
7.0 KiB
Plaintext
@c1: #3b52f6;
|
|
.item-wrap(@num,@between,@mb) {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
.item {
|
|
width: calc((100% - (@num - 1) * @between) / @num);
|
|
margin-right: @between;
|
|
margin-bottom: @mb;
|
|
&:nth-of-type(@{num}n) {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
.dot {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.dots(@num) {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: @num; //行数
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
.setBetween {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.setRowCenter {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.setColumnCenter {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.setCenter {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.ra {
|
|
border-radius: 0.2rem;
|
|
overflow: hidden;
|
|
}
|
|
.bs {
|
|
box-shadow: 0 0 0.5rem #ebebeb;
|
|
}
|
|
.box-shadow {
|
|
box-shadow: 0rem 0.3rem 0.5rem 0rem rgba(36, 65, 116, 0.1);
|
|
}
|
|
.tit-line(@fs,@pb,@mb,@width,@height,@color) {
|
|
font-size: @fs;
|
|
padding-bottom: @pb;
|
|
margin-bottom: @mb;
|
|
position: relative;
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: @width;
|
|
border-bottom: @height solid @color;
|
|
}
|
|
}
|
|
.tit-line-center(@fs,@pb,@mb,@width,@height,@color) {
|
|
font-size: @fs;
|
|
padding-bottom: @pb;
|
|
margin-bottom: @mb;
|
|
position: relative;
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
width: @width;
|
|
border-bottom: @height solid @color;
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|
|
.btn {
|
|
padding: 0.3rem 1rem;
|
|
background-color: @c1;
|
|
color: #fff;
|
|
border-radius: 2rem;
|
|
font-size: 0.7rem;
|
|
&.s1 {
|
|
background-color: transparent;
|
|
border: 1px solid @c1;
|
|
color: @c1;
|
|
}
|
|
}
|
|
.a-hover {
|
|
&:hover {
|
|
color: @c1;
|
|
}
|
|
}
|
|
.fb {
|
|
font-family: "puhuiti-2-115";
|
|
}
|
|
|
|
.list-banner {
|
|
position: relative;
|
|
& > .img {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
width: 20.8rem;
|
|
padding: 2rem;
|
|
transform: translate(-50%, 50%);
|
|
box-shadow: 0rem 0.15rem 0.8rem 0rem rgba(32, 30, 29, 0.35);
|
|
border-radius: 0.25rem;
|
|
background-color: #fff;
|
|
}
|
|
h3 {
|
|
.fb;
|
|
}
|
|
}
|
|
.about {
|
|
padding-top: 5rem;
|
|
.main-title{
|
|
margin-bottom: 2rem;
|
|
*{
|
|
text-align: left;
|
|
}
|
|
h2{
|
|
margin-bottom: 0;
|
|
line-height: 1.4;
|
|
}
|
|
p{
|
|
color: #333;
|
|
max-width: 100%;
|
|
margin-top: 0 !important;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
margin-bottom: 2rem;
|
|
|
|
b {
|
|
.fb;
|
|
}
|
|
h4 {
|
|
font-size: 2rem;
|
|
.fb;
|
|
}
|
|
|
|
p {
|
|
margin-top: 1rem;
|
|
}
|
|
span {
|
|
&.c1 {
|
|
color: @c1;
|
|
}
|
|
}
|
|
em {
|
|
font-weight: bold;
|
|
.fb;
|
|
font-size: 1.2rem;
|
|
}
|
|
.f-img {
|
|
img {
|
|
float: right;
|
|
max-width: 23rem;
|
|
}
|
|
}
|
|
}
|
|
.main-1 {
|
|
.container {
|
|
h2 {
|
|
.fb;
|
|
line-height: 1.2;
|
|
}
|
|
h6 {
|
|
font-size: 1.5rem;
|
|
color: @c1;
|
|
}
|
|
p {
|
|
}
|
|
a {
|
|
.fb;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
.main-2 {
|
|
padding-top: 0;
|
|
|
|
h3 {
|
|
color: @c1;
|
|
text-align: center;
|
|
font-weight: 500;
|
|
margin-bottom: 3rem;
|
|
}
|
|
.container {
|
|
.item {
|
|
.setColumnCenter;
|
|
margin-bottom: 2rem;
|
|
&:last-of-type {
|
|
margin-bottom: 0;
|
|
}
|
|
.i {
|
|
width: 5rem;
|
|
height: 5rem;
|
|
border-radius: 50%;
|
|
.setCenter;
|
|
margin-right: 2rem;
|
|
flex-shrink: 0;
|
|
.icon {
|
|
font-size: 2rem;
|
|
color: @c1;
|
|
}
|
|
}
|
|
.text {
|
|
h6 {
|
|
line-height: 1.4;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
p {
|
|
line-height: 1.8;
|
|
color: #666;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.main-3 {
|
|
background-color: @c1;
|
|
* {
|
|
color: #fff;
|
|
}
|
|
h2 {
|
|
color: #fff;
|
|
}
|
|
}
|
|
.main-4 {
|
|
padding-bottom: 10rem;
|
|
|
|
.container {
|
|
margin-bottom: 0;
|
|
.content {
|
|
p {
|
|
text-align: center;
|
|
line-height: 1.8;
|
|
margin-bottom: 1rem;
|
|
&:last-of-type {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
.img-wrap {
|
|
display: flex;
|
|
box-shadow: 0rem 0.15rem 0.8rem 0rem rgba(32, 30, 29, 0.35);
|
|
padding: 2rem;
|
|
margin-top: 2rem;
|
|
.img {
|
|
width: 21rem;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
h4 {
|
|
font-size: 1.5rem;
|
|
line-height: 1.2;
|
|
text-align: center;
|
|
}
|
|
img{
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
transform: translate(-50%,8rem);
|
|
}
|
|
}
|
|
.txt {
|
|
p {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.main-5 {
|
|
background-color: #fafafb;
|
|
.container {
|
|
}
|
|
}
|
|
.main-6 {
|
|
padding-top: 0;
|
|
.container {
|
|
}
|
|
}
|
|
.main-7 {
|
|
padding-top: 0;
|
|
|
|
h3 {
|
|
font-size: 1.5rem;
|
|
color: @c1;
|
|
text-align: center;
|
|
font-weight: 500;
|
|
margin-bottom: 3rem;
|
|
}
|
|
.container {
|
|
.item-wrap(5, 1.5rem, 1.5rem);
|
|
.item {
|
|
height: 5rem;
|
|
display: flex;
|
|
img {
|
|
margin: auto;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@media screen and (max-width:1024px){
|
|
.about .main-4 .container .img-wrap .img img{
|
|
max-width: 13rem;
|
|
}
|
|
}
|
|
@media screen and (max-width: 820px) {
|
|
.about .main-4 .container .img-wrap .img img{
|
|
max-width: 18rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.list-banner{
|
|
&>.img{
|
|
width: 50%;
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
.about {
|
|
.container{
|
|
margin-bottom: 0;
|
|
}
|
|
.main-1 {
|
|
.container {
|
|
h2{
|
|
br{
|
|
display: none;
|
|
}
|
|
}
|
|
.img {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
.main-2 {
|
|
.container {
|
|
.item {
|
|
align-items: flex-start;
|
|
.i {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.main-4{
|
|
padding-bottom: 2rem;
|
|
.container{
|
|
.img-wrap{
|
|
flex-direction: column;
|
|
.img{
|
|
h4{
|
|
br{
|
|
display: none;
|
|
}
|
|
}
|
|
img{
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.main-5 {
|
|
.container {
|
|
flex-wrap: nowrap;
|
|
overflow-x: scroll;
|
|
.item {
|
|
width: 100%;
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
}
|
|
.main-6 {
|
|
.container {
|
|
padding: 0;
|
|
.swiper-slide {
|
|
flex-direction: column;
|
|
.img {
|
|
width: 100%;
|
|
height: 12rem;
|
|
}
|
|
}
|
|
.swiper-button {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
.main-7 {
|
|
.container {
|
|
margin-bottom: 0;
|
|
.item {
|
|
width: calc((100% - 1.5rem) / 3);
|
|
margin-right: 0.5rem !important;
|
|
&:nth-of-type(4n) {
|
|
margin-right: 0 !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|