Files
boluo-app-main/src/components/partner-intro/index.less
2025-11-03 22:18:39 +08:00

290 lines
5.4 KiB
Plaintext

@import '@/styles/variables.less';
@import '@/styles/common.less';
.partner-intro {
background: #eae5fb;
padding-top: 271px;
position: relative;
padding-bottom: calc(142px + constant(safe-area-inset-bottom));
padding-bottom: calc(142px + env(safe-area-inset-bottom));
&__bg {
width: 100%;
height: 705px;
position: absolute;
top: 0;
left: 0;
}
&__slogan {
top: 66px;
left: 44px;
position: absolute;
font-family: 'Alimama ShuHeiTi';
font-style: normal;
font-weight: 700;
font-size: 44px;
line-height: 62px;
color: #333333;
> div {
margin-bottom: 12px;
}
&-highlight {
display: inline-block;
padding-left: 12px;
padding-right: 9px;
font-size: 64px;
line-height: 62px;
background: linear-gradient(87.53deg, #683de3 0.4%, #39227d 84.55%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
}
}
&__main {
padding-left: 24px;
padding-right: 24px;
position: relative;
z-index: 1;
}
&__highlight {
color: @blHighlightColor;
font-family: 'DIN Alternate';
padding: 0 8px;
font-weight: 700;
display: inline-block;
font-size: 40px;
}
&__block {
margin-bottom: 12px;
position: relative;
}
&__swiper {
&-wrapper {
margin-bottom: 8px;
background: #fff;
border-radius: 24px;
position: relative;
border: 1px solid #6d3df5;
}
&-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
&__swiper-item {
box-sizing: border-box;
height: 130px;
padding: 24px 32px;
&-top-line {
.flex-row();
font-style: normal;
font-size: 28px;
line-height: 40px;
color: #333333;
font-weight: 400;
position: relative;
.noWrap();
}
&-id {
.id {
color: #999999;
display: inline-block;
padding-left: 10px;
}
}
&-time {
padding-right: 55px;
}
&-details {
margin-top: 5px;
.flex-row();
justify-content: space-between;
}
&-tag {
height: 36px;
margin-right: 16px;
padding: 0 12px;
border: 1px solid #6d3df5;
border-radius: 4px;
font-size: 24px;
line-height: 36px;
color: #6d3df5;
display: inline-block;
}
&-info {
font-size: 28px;
line-height: 40px;
color: #333333;
display: inline-block;
margin-right: 16px;
&:last-child {
margin-right: 0;
}
.money {
color: #ff5051;
display: inline-block;
padding-left: 8px;
}
}
}
&__card {
background: #fff;
border-radius: 24px;
padding: 68px 32px 44px;
}
&__h1 {
font-weight: 500;
font-size: 32px;
line-height: 40px;
color: #1d2129;
margin-bottom: 16px;
margin-top: 32px;
position: relative;
z-index: 0;
&.no-dot {
&:after {
background: transparent;
}
}
&:first-child {
margin-top: 0;
}
&:after {
content: '';
width: 28px;
height: 28px;
background: #ffd236;
border-radius: 50%;
position: absolute;
left: -6px;
top: -3px;
z-index: -1;
}
}
&__body {
font-weight: 400;
font-size: 28px;
line-height: 40px;
color: @blColor;
&.grey {
color: @blColorG2;
}
&.center {
text-align: center;
}
}
&__title {
margin-left: 48px;
margin-right: 48px;
font-weight: 500;
font-size: 32px;
line-height: 80px;
height: 80px;
transform: translateY(50%);
background: #ffd236;
box-shadow: 0px 12px 0px #ffa35d;
border-radius: 60px;
color: #1d2129;
text-align: center;
position: relative;
}
&__recommend {
display: inline-flex;
line-height: 36px;
padding: 0 8px;
height: 36px;
background: rgb(255, 80, 81);
border-radius: 4px;
font-size: 24px;
color: #fff;
align-items: center;
position: absolute;
gap: 6px;
right: -25px;
top: -18px;
}
&__special {
padding-top: 75px;
.flex-column();
.partner-intro__body {
text-align: center;
}
}
&__service {
.button(@height: 72px; @width: 384px; @fontSize: 28px; @fontWeight: 400; @borderRadius: 44px; @highlight: 0);
margin-top: 32px;
}
&__tip {
margin-top: 24px;
font-size: 24px;
line-height: 40px;
color: #999999;
}
&__footer {
position: fixed;
bottom: 0;
z-index: 2;
width: 100vw;
background: #ffffff;
padding: 12px 32px;
padding-bottom: calc(constant(safe-area-inset-bottom) + 12px);
/* 兼容 iOS < 11.2 */
padding-bottom: calc(env(safe-area-inset-bottom) + 12px);
/* 兼容 iOS >= 11.2 */
box-shadow: 0px -4px 20px 0px #00000014;
display: flex;
flex-direction: row;
box-sizing: border-box;
justify-content: center;
}
&__download-button {
//flex: 1 1;
.button(@height: 88px; @fontSize: 32px; @fontWeight: 500; @borderRadius: 44px; @highlight: 0);
}
&__share-button {
//flex: 2 2;
flex: 0 0 406px;
width: 406px;
.button(@height: 88px; @fontSize: 32px; @fontWeight: 500; @borderRadius: 44px;);
//margin-left: 32px;
}
}
#posterCanvas {
position: fixed;
bottom: -99999px;
left: -99999px;
visibility: hidden;
}