yuminge-app/yun-min-program-plugin-master/packageE/community_buying/buying_personal/buying_personal.wxss

336 lines
6.1 KiB
Plaintext

/* packageE/community_buying/buying_personal/buying_personal.wxss */
view,
text {
box-sizing: border-box;
}
.header {
background-color: #fff;
padding: 0.938rem 1rem 0.2rem;
}
.header .container {
width: 100%;
height: 7.063rem;
background-color: #f14e4e;
box-shadow:
0 0.156rem 0.406rem 0
rgba(3, 0, 0, 0.32);
color: #fff;
display: flex;
align-items: center;
padding-left: 0.969rem;
border-radius: 0.625rem;
position: relative;
}
.header .container .buyInfo {
position: absolute;
top: 1.344rem;
right: 0;
font-size: 0.75rem;
color: #f15353;
width: 3.888rem;
height: 1.375rem;
padding-left: 0.625rem;
line-height: 1.375rem;
background-color: #fff;
border-radius: 0.68rem 0 0 0.68rem;
}
.header .container .face {
width: 3.313rem;
height: 3.313rem;
border-radius: 50%;
}
.header .container .face image {
width: 3.313rem;
height: 3.313rem;
background-color: #1a1e27;
border-radius: 50%;
border: solid 0.125rem #b8b9ba;
}
.header .container .desc {
padding-left: 1.219rem;
}
.notice {
display: flex;
padding: 0.93rem 1.25rem 0.93rem 0.93rem;
background-color: #fff;
}
.notice text {
color: #f15353;
font-size: 36rpx;
}
.notice .notice-main {
flex: 1;
overflow: hidden;
}
.countdown {
display: flex;
color: #000;
width: 100%;
height: 2.938rem;
align-items: center;
padding-left: 0.969rem;
font-size: 0.875rem;
}
.countdown .icon-naozhong {
color: #f15353;
display: flex;
align-items: center;
margin-right: 0.3rem;
margin-top: 0.1rem;
font-size: 1.2rem;
}
.countdown .bottom_time {
color: #000;
display: flex;
height: 3rem;
margin-left: 0.5rem;
align-items: center;
}
.countdown .bottom_time .radius-box {
width: 1.375rem;
height: 1.375rem;
font-size: 0.75rem;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background-color: #f14e4e;
}
.countdown .bottom_time .text {
padding: 0 0.281rem;
display: flex;
align-items: center;
font-size: 0.75rem;
}
.goods-list {
padding: 0.938rem;
padding-bottom: 4.5rem;
}
.goods-list .good-child {
display: flex;
overflow: hidden;
padding: 0.875rem;
background: #fff;
border-radius: 0.625rem;
margin-bottom: 0.625rem;
}
.goods-list .good-child .good-img {
width: 7rem;
height: 7rem;
flex-shrink: 0;
overflow: hidden;
border-radius: 0.375rem;
}
.goods-list .good-child .good-img image {
width: 100%;
height: 100%;
}
.goods-list .good-child .good-info {
flex: 1;
display: flex;
justify-content: space-between;
flex-direction: column;
text-align: left;
overflow: hidden;
padding: 0 0 0 0.75rem;
}
.goods-list .good-child .good-info .good-title {
font-size: 1rem;
line-height: 1.5rem;
height: 3.125rem;
font-weight: bold;
color: #333;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.goods-list .good-child .good-info .goods-purchased {
display: flex;
height: 1.5rem;
line-height: 1.5rem;
color: #666;
}
.goods-list .good-child .good-info .goods-purchased .iconfont {
color: #ff7c48;
}
.goods-list .good-child .good-info .goods-purchased .iconfont.icon-fontclass-redu {
font-size: 34rpx;
}
.goods-list .good-child .good-info .goods-purchased .icon-fontclass-kucun {
font-size: 34rpx;
padding-left: 0.906rem;
}
.goods-list .good-child .good-info .goods-purchased .text {
font-size: 0.75rem;
color: #333;
margin-left: 0.281rem;
}
.goods-list .good-child .good-info .good-buy {
display: flex;
align-items: flex-end;
}
.goods-list .good-child .good-info .good-buy .good-price {
font-size: 0.75rem;
font-weight: bold;
display: flex;
align-items: center;
flex: 1;
color: #f14e4e;
}
.goods-list .good-child .good-info .good-buy .good-price .price {
font-size: 1.125rem;
}
.goods-list .good-child .good-info .good-buy .select {
height: 40rpx;
display: flex;
flex-shrink: 0;
}
.goods-list .good-child .good-info .good-buy .select .option-text-btn {
font-size: 0.75rem;
color: #fff;
padding: 0 0.25rem;
height: 1.375rem;
line-height: 1.375rem;
border-radius: 0.25rem;
position: relative;
background-color: #f14e4e;
}
.goods-list .good-child .good-info .good-buy .select .option-text-btn .num {
position: absolute;
top: -12px;
right: -8px;
border-radius: 1rem;
height: 1rem;
line-height: 1rem;
padding: 0 0.25rem;
font-size: 12px;
background-color: #f14e4e;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.5);
}
.goods-list .good-child .good-info .good-buy .select .iconfont {
background: #f14e4e;
color: #fff;
width: 1.25rem;
height: 1.25rem;
text-align: center;
line-height: 1.25rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.bottom-car {
position: fixed;
left: 0;
bottom: -1px;
width: 100%;
height: 4.5rem;
display: flex;
align-items: center;
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 19%);
}
.bottom-car .car-box {
border: 1px solid #f14e4e;
border-radius: 1.5rem;
display: flex;
align-items: center;
height: 3rem;
line-height: 3rem;
width: 90%;
margin: 0 auto;
overflow: hidden;
}
.bottom-car .car-box.endstyle {
background: #d8d8d8;
border-color: #d8d8d8;
color: #fff;
text-align: center;
font-size: 1.25rem;
display: block;
}
.bottom-car .car-box .car-num {
width: 50%;
text-align: left;
color: #f14e4e;
display: flex;
font-size: 1.125rem;
}
.bottom-car .car-box .car-num-box {
position: relative;
width: 3rem;
text-align: center;
display: flex;
justify-content: center;
}
.bottom-car .car-box .car-num-box .carnum-style {
position: absolute;
height: 1rem;
right: 0;
top: 5px;
line-height: 1rem;
background: #f14e4e;
border-radius: 1rem;
color: #fff;
padding: 0 0.25rem;
font-size: 0.75rem;
}
.bottom-car .car-box .car-num icon {
display: flex;
width: 1.5rem;
font-size: 1.5rem;
}
.bottom-car .car-box .car-num .small-price {
font-size: 0.75rem;
}
.bottom-car .car-box .car-add {
flex: 1;
text-align: center;
background-color: #f14e4e;
color: #fff;
}