You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
253 lines
4.6 KiB
253 lines
4.6 KiB
$newsPrefix: '#{$name-prefix}-news-wrap';
|
|
$informPrefix: '#{$name-prefix}-inform-wrap';
|
|
$casePrefix: '#{$name-prefix}-case-wrap';
|
|
$rulePrefix: '#{$name-prefix}-rule-wrap';
|
|
|
|
$hover-color: #14417a;
|
|
|
|
.mai-ocr-wrap {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding-top: 60px;
|
|
padding-bottom: 25px;
|
|
|
|
.mai-ocr-item {
|
|
padding-left: 110px;
|
|
box-sizing: border-box;
|
|
align-items: center;
|
|
width: 465px;
|
|
height: 133px;
|
|
font-size: 32px;
|
|
font-weight: 400;
|
|
color: #022950;
|
|
line-height: 45px;
|
|
border-radius: 8px;
|
|
|
|
&:last-child {
|
|
background: url('../images/home/shibie.png') center center/100% 100% no-repeat;
|
|
margin-left: 270px;
|
|
}
|
|
|
|
&:first-child {
|
|
background: url('../images/home/aiocrbg.png') center center/100% 100% no-repeat;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mai-section {
|
|
width: 100%;
|
|
padding: 63px 114px;
|
|
text-align: center;
|
|
|
|
.date {
|
|
color: #c1c1c1;
|
|
text-align: left;
|
|
|
|
.month {
|
|
display: block;
|
|
font-size: 28px;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.year {
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
}
|
|
}
|
|
&.#{$newsPrefix} {
|
|
.home-news {
|
|
margin-bottom: 82px;
|
|
}
|
|
|
|
.media-img {
|
|
width: 785px;
|
|
height: 521px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
margin-right: 78px;
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.newsList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: calc(100% - 785px - 78px);
|
|
}
|
|
|
|
.open-new-btn {
|
|
width: 44px;
|
|
height: 44px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.new-date {
|
|
color: #c1c1c1;
|
|
|
|
.month {
|
|
display: block;
|
|
font-size: 28px;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.year {
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
}
|
|
}
|
|
|
|
.divider {
|
|
height: 64px;
|
|
margin: 0 32px;
|
|
}
|
|
.c-item {
|
|
width: calc(100% - 80px);
|
|
}
|
|
.new-title {
|
|
text-align: left;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
width: 80%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
|
|
&:hover {
|
|
color: $hover-color;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.#{$informPrefix} {
|
|
background: url('../images/home/sectionBg.png') center center/100% 100% no-repeat;
|
|
|
|
.home-inform {
|
|
margin-bottom: 43px;
|
|
}
|
|
|
|
.inform-item {
|
|
color: #333;
|
|
text-align: left;
|
|
height: 224px;
|
|
padding: 33px 33px 0;
|
|
box-sizing: border-box;
|
|
border: 1px solid #d2d2d2;
|
|
width: calc(100% / 3 - 20px);
|
|
margin-bottom: 20px;
|
|
background-color: $white;
|
|
|
|
&:nth-child(3n - 1) {
|
|
margin: 0 20px 20px;
|
|
}
|
|
|
|
h3 {
|
|
font-weight: 600;
|
|
font-size: 24px;
|
|
line-height: 34px;
|
|
margin-bottom: 33px;
|
|
}
|
|
|
|
p {
|
|
font-size: 20px;
|
|
line-height: 28px;
|
|
word-break: break-word;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin-bottom: 24px;
|
|
color: #333;
|
|
}
|
|
|
|
span {
|
|
font-size: 18px;
|
|
color: #666;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $hover-color;
|
|
box-shadow: 0 0 13px 3px rgb(134 134 134 / 51%);
|
|
|
|
* {
|
|
color: $white;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.#{$rulePrefix} {
|
|
.home-rule {
|
|
.rule-item {
|
|
width: calc((100% - 22px) / 2);
|
|
height: 110px;
|
|
margin-bottom: 22px;
|
|
border: 1px solid #d2d2d2;
|
|
box-sizing: border-box;
|
|
padding-left: 30px;
|
|
|
|
.title {
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
//color: #333;
|
|
margin-left: 40px;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $hover-color;
|
|
|
|
* {
|
|
color: $white !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.#{$casePrefix} {
|
|
background-color: #f6f7fb;
|
|
|
|
.home-case {
|
|
margin-bottom: 40px;
|
|
|
|
.case-item {
|
|
text-align: left;
|
|
width: calc(100% / 3 - 20px);
|
|
|
|
&:nth-child(3n-1) {
|
|
margin: 0 20px 20px;
|
|
}
|
|
|
|
.img {
|
|
//width: 100%px;
|
|
height: 447px;
|
|
border-radius: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
p {
|
|
font-weight: 400;
|
|
line-height: 28px;
|
|
font-size: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.more {
|
|
width: 109px;
|
|
height: 37px;
|
|
border-radius: 19px;
|
|
border: 1px solid #022950;
|
|
font-size: 20px;
|
|
font-weight: 400;
|
|
line-height: 28px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|