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.
hezhiying/pages/IntegralDetails/IntegralDetails.scss

269 lines
4.5 KiB

1 year ago
.page{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: #f6f6f6;
}
.head-bg{
position: relative;
width: 100%;
height: 400rpx;
background: linear-gradient($base,$change-clor);
.head-user{
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 4%;
height: 100rpx;
.user{
display: flex;
align-items: center;
image{
width: 70rpx;
height: 70rpx;
border-radius: 100%;
}
text{
font-size: 28rpx;
color: #FFFFFF;
margin-left: 20rpx;
}
}
.exchange{
display: flex;
align-items: center;
text{
font-size: 28rpx;
color: #FFFFFF;
}
}
}
.integral-balance{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 200rpx;
.integral{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text{
font-size: 30rpx;
color: #FFFFFF;
}
.number{
font-size: 60rpx;
margin-top: 10rpx;
// font-weight: bold;
}
}
}
.bg{
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 40rpx;
image{
width: 100%;
height: 100%;
}
}
}
/* 兑换通用标题 */
.exchange-title{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100rpx;
.title{
font-size: 28rpx;
font-weight: bold;
color: #222222;
}
}
/* 优惠券兑换专区 */
.coupon-exchange{
width: 100%;
margin: 20rpx auto;
background-color: #FFFFFF;
border-radius: 20rpx;
.coupon-list{
display: flex;
flex-wrap: wrap;
padding: 0 4%;
.list{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 33%;
height: 240rpx;
.thumb{
width: 100rpx;
height: 100rpx;
background-color: #EEEEEE;
border-radius: 100%;
overflow: hidden;
image{
width: 100%;
height: 100%;
background: url('/static/coupon_default.png') no-repeat center center;
background-size: 50rpx 50rpx;
}
}
.title{
font-size: 24rpx;
font-weight: bold;
color: #222222;
margin-top: 20rpx;
}
.integral{
font-size: 28rpx;
font-weight: bold;
color: $base;
margin-top: 10rpx;
}
}
}
}
/* 精选积分兑换专区 */
.handpick-exchange{
width: 100%;
margin: 20rpx auto;
background-color: #FFFFFF;
border-radius: 20rpx;
.handpick-list{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 20rpx 4%;
.list{
width: 48%;
height: 340rpx;
margin-bottom: 20rpx;
.thumb{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 200rpx;
image{
width: 200rpx;
height: 200rpx;
border-radius: 10rpx;
}
}
.title{
display: flex;
align-items: center;
width: 100%;
height: 80rpx;
text{
font-size: 26rpx;
color: #222222;
}
}
.price-integral{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 60rpx;
.integral{
font-size: 28rpx;
font-weight: bold;
color: $base;
}
.price{
font-size: 24rpx;
color: #959595;
text-decoration: line-through;
margin-left: 20rpx;
}
}
}
}
}
/* 超级会员兑换专区 */
.vip-exchange{
width: 100%;
margin: 20rpx auto;
background-color: #FFFFFF;
border-radius: 20rpx;
.goods-list{
padding: 0 4%;
.list{
display: flex;
align-items: center;
width: 100%;
height: 220rpx;
border-bottom: 2rpx solid #f6f6f6;
.thumb{
display: flex;
align-items: center;
width: 30%;
height: 200rpx;
image{
width: 200rpx;
height: 200rpx;
border-radius: 10rpx;
}
}
.item{
width: 70%;
height: 200rpx;
.title{
display: flex;
align-items: center;
width: 100%;
height: 100rpx;
text{
font-size: 26rpx;
color: #222222;
}
}
.price-integral-btn{
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 80rpx;
.price-integral{
display: flex;
align-items: center;
.integral{
font-size: 28rpx;
font-weight: bold;
color: $base;
}
.price{
font-size: 24rpx;
color: #959595;
text-decoration: line-through;
margin-left: 20rpx;
}
}
.btn{
padding: 10rpx 20rpx;
background-color: $base;
color: #FFFFFF;
font-size: 24rpx;
box-shadow: 0 2px 5px $base;
border-radius: 200rpx;
}
}
}
}
}
}