Commit e77ba7c6 authored by 张瑶's avatar 张瑶

fix: 新产品布局修改

parent c253fc11
Pipeline #70742 passed with stages
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
overflow: hidden; overflow: auto;
background-position: center; background-position: center;
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
...@@ -34,11 +34,12 @@ ...@@ -34,11 +34,12 @@
.pageTitle { .pageTitle {
margin-bottom: 18px; margin-bottom: 18px;
height: 5rem; padding: 1.5% 0 0 0;
font-size: 2.63rem; height: 10%;
font-size: 40px;
font-weight: 400; font-weight: 400;
color: #FFFFFF; color: #FFFFFF;
line-height: 4rem; line-height: 10%;
text-shadow: 0 11px 15px rgba(0, 18, 44, 0.48); text-shadow: 0 11px 15px rgba(0, 18, 44, 0.48);
text-align: center; text-align: center;
background-image: url('@/assets/images/cloud/newProducts/标题.png'); background-image: url('@/assets/images/cloud/newProducts/标题.png');
...@@ -49,17 +50,17 @@ ...@@ -49,17 +50,17 @@
.page-time { .page-time {
position: absolute; position: absolute;
top: 6px; top: 0px;
right: 20px; right: 20px;
font-size: .5rem; font-size: 24px;
font-weight: 400; font-weight: 400;
color: #FFFFFF; color: #FFFFFF;
.pageIcon{ .pageIcon{
display: inline-block; display: inline-block;
margin-left: 10px; margin-left: 10px;
width: 12px; width: 14px;
height: 12px; height: 14px;
cursor: pointer; cursor: pointer;
} }
} }
...@@ -93,10 +94,6 @@ ...@@ -93,10 +94,6 @@
margin-bottom: 0; margin-bottom: 0;
} }
.title-img {
width: 35.6em;
}
.container { .container {
min-height: 396px; min-height: 396px;
width: 100%; width: 100%;
...@@ -104,8 +101,8 @@ ...@@ -104,8 +101,8 @@
} }
.cus-arrow { .cus-arrow {
width: 2em; width: 20px;
height: 2em; height: 20px;
position: absolute; position: absolute;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
...@@ -115,12 +112,12 @@ ...@@ -115,12 +112,12 @@
cursor: pointer; cursor: pointer;
&.cus-arrow-prev { &.cus-arrow-prev {
left: 2em; left: 20px;
background-image: url('@/assets/images/cloud/newProducts/arrow_left.png'); background-image: url('@/assets/images/cloud/newProducts/arrow_left.png');
} }
&.cus-arrow-next { &.cus-arrow-next {
right: 2em; right: 20px;
background-image: url('@/assets/images/cloud/newProducts/arrow_right.png'); background-image: url('@/assets/images/cloud/newProducts/arrow_right.png');
} }
} }
...@@ -133,26 +130,9 @@ ...@@ -133,26 +130,9 @@
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
flex-wrap: wrap; flex-wrap: wrap;
gap: 1em; gap: 20px;
margin: 0 auto; margin: 0 auto;
width: 42em; width: 100%;
&[num="2"],
&[num="4"] {
width: (42em * 2 + 1em);
}
&[num="3"],
&[num="5"],
&[num="6"] {
width: (42em * 3 + 2em);
}
&[num="1"],
&[num="2"],
&[num="3"] {
margin-bottom: 5em;
}
} }
.card { .card {
...@@ -161,15 +141,14 @@ ...@@ -161,15 +141,14 @@
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
width: 49%; width: 49%;
height: 24rem; height: 50%;
background-image: url('@/assets/images/cloud/newProducts/框.png'); background-image: url('@/assets/images/cloud/newProducts/框.png');
background-position: center; background-position: center;
.card-title { .card-title {
position: relative; position: relative;
left: 4%; padding: 0 10%;
margin-top: 0.5rem; font-size: 24px;
font-size: 1.5rem;
font-weight: 400; font-weight: 400;
color: #262626; color: #262626;
font-family: "zihun"; font-family: "zihun";
...@@ -179,7 +158,7 @@ ...@@ -179,7 +158,7 @@
position: absolute; position: absolute;
left: 0; left: 0;
bottom: 0; bottom: 0;
padding: 1rem; padding: 10px;
background: linear-gradient(#fff, rgb(147,219,246)); background: linear-gradient(#fff, rgb(147,219,246));
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
...@@ -193,13 +172,11 @@ ...@@ -193,13 +172,11 @@
} }
.card-desc{ .card-desc{
padding: 1rem; padding: 10px 0px;
text-align: center; text-align: center;
font-size: 1rem; font-size: 16px;
background-position-x: -.5rem; background-position-x: -8px;
height: 5rem; height: 70px;
padding-left: 0.5rem;
padding-right: 0.5rem;
background-image: url(@/assets/images/cloud/newProducts/副标题.png); background-image: url(@/assets/images/cloud/newProducts/副标题.png);
font-family: pingfang; font-family: pingfang;
font-weight: bold; font-weight: bold;
...@@ -213,6 +190,7 @@ ...@@ -213,6 +190,7 @@
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
white-space: nowrap; white-space: nowrap;
padding: 0 12px 0 0;
} }
} }
...@@ -234,7 +212,7 @@ ...@@ -234,7 +212,7 @@
} }
.card-content{ .card-content{
padding: 1rem 1rem 1rem 2.2rem; padding: 10px 10%;
&::after{ &::after{
...@@ -249,20 +227,20 @@ ...@@ -249,20 +227,20 @@
width: 65%; width: 65%;
img{ img{
height: 17.9rem; height: 95%;
width: 100%; width: 100%;
} }
} }
.card-info { .card-info {
float: left; float: left;
width: 33%; width: 35%;
} }
.card-tags { .card-tags {
position: relative; position: relative;
padding: 0 1rem; padding: 0 10px;
height: 12rem; height: 24px;
.card-list { .card-list {
...@@ -285,7 +263,7 @@ ...@@ -285,7 +263,7 @@
height: 44px; height: 44px;
margin-top: 10px; margin-top: 10px;
line-height: 44px; line-height: 44px;
font-size: 0.88rem; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #FFFFFF; color: #FFFFFF;
...@@ -297,7 +275,7 @@ ...@@ -297,7 +275,7 @@
.card-tag-icon { .card-tag-icon {
display: inline-block; display: inline-block;
margin-right: .5rem; margin-right: 8px;
width: 5px; width: 5px;
height: 5px; height: 5px;
background: #E1F4FD; background: #E1F4FD;
...@@ -333,21 +311,16 @@ ...@@ -333,21 +311,16 @@
} }
.card-title { .card-title {
font-size: 1.2rem !important; font-size: 14px !important;
} }
.card { .card {
background-size: 100% 100%; background-size: 100% 100%;
height: 17.6rem;
} }
.card-content{ .card-content{
.card-img { .card-img {
width: 48% !important; width: 48% !important;
img{
height: 12.6rem !important;
}
} }
} }
......
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 to comment