157 lines
3.2 KiB
SCSS
157 lines
3.2 KiB
SCSS
/* pages/member/member.wxss */
|
|
.bg{
|
|
width: 750rpx;
|
|
height: 450rpx;
|
|
}
|
|
|
|
.title-container{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 40rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: bold;
|
|
color: #502B16;
|
|
image{
|
|
width: 32rpx;
|
|
height: 41rpx;
|
|
&:last-child{
|
|
transform: rotateY(180deg);
|
|
}
|
|
}
|
|
.title-box{
|
|
margin: 0 24rpx;
|
|
display: flex;
|
|
// flex-direction: column;
|
|
flex-direction: column-reverse;
|
|
align-items: center;
|
|
&::before{
|
|
content: ' ';
|
|
width: 75rpx;
|
|
height: 14rpx;
|
|
background: #F8F0E6;
|
|
border-radius: 7rpx;
|
|
margin-top: -12rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.description{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 28rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
color: #838383;
|
|
.line{
|
|
width: 40rpx;
|
|
height: 2rpx;
|
|
background: #737373;
|
|
opacity: 0.65;
|
|
margin: 0 18rpx;
|
|
}
|
|
margin-top: 23rpx;
|
|
}
|
|
|
|
.grid-box{
|
|
font-size: 26rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
color: #502B16;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
box-sizing: border-box;
|
|
padding: 0 121rpx;
|
|
margin-top: 100rpx;
|
|
.grid-item{
|
|
width: 180rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: 84rpx;
|
|
text-align: center;
|
|
image{
|
|
width: 117rpx;
|
|
height: 134rpx;
|
|
margin-bottom: 35rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.btn-container{
|
|
display: flex;
|
|
justify-content: center;
|
|
padding-bottom: 50rpx;
|
|
.btn-box{
|
|
width: 566rpx;
|
|
height: 100rpx;
|
|
border-radius: 50rpx;
|
|
display: flex;
|
|
background: #E5C7A3;
|
|
.price-btn{
|
|
width: 50%;
|
|
font-size: 28rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #653E12;
|
|
text-align: center;
|
|
line-height: 100rpx;
|
|
position: relative;
|
|
border-top-left-radius: 50rpx;
|
|
border-bottom-left-radius: 50rpx;
|
|
.price{
|
|
font-size: 64rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: bold;
|
|
}
|
|
.tag{
|
|
position: absolute;
|
|
top: -17rpx;
|
|
left: 178rpx;
|
|
width: 75rpx;
|
|
height: 34rpx;
|
|
line-height: 34rpx;
|
|
border-radius: 12rpx 0 12rpx 0;
|
|
background: linear-gradient(43deg, #F06C30, #FF4734, #FE6151);
|
|
font-size: 24rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
color: #FFFFFF;
|
|
text-align: center;
|
|
}
|
|
}
|
|
.buy-btn{
|
|
width: 50%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border-top-right-radius: 50rpx;
|
|
border-bottom-right-radius: 50rpx;
|
|
|
|
font-size: 32rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #E5C7A3;
|
|
overflow: hidden;
|
|
|
|
view{
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #322D2F;
|
|
}
|
|
&::before{
|
|
flex-shrink: 0;
|
|
content: " ";
|
|
width: 0;
|
|
height: 0;
|
|
border-bottom: 50rpx solid #322D2F;
|
|
border-right: 15rpx solid #322D2F;
|
|
border-top: 50rpx solid transparent;
|
|
border-left: 15rpx solid transparent;
|
|
}
|
|
}
|
|
}
|
|
} |