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.
475 lines
7.7 KiB
475 lines
7.7 KiB
|
2 years ago
|
.title-box,
|
||
|
|
.title-header {
|
||
|
|
background: #ffff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bg-box,
|
||
|
|
.bg-box .title-header {
|
||
|
|
background: transparent;
|
||
|
|
color: #ccc;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title-header {
|
||
|
|
position: fixed;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
display: flex;
|
||
|
|
top: 0;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
font-size: 32rpx;
|
||
|
|
line-height: 90rpx;
|
||
|
|
z-index: 2;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title-header .icon-fanhui1 {
|
||
|
|
padding: 0 20rpx;
|
||
|
|
font-size: 44rpx;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
.right {
|
||
|
|
position: absolute;
|
||
|
|
right: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.search-box {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
margin-left: 60rpx;
|
||
|
|
width: 560rpx;
|
||
|
|
border-radius: 30rpx;
|
||
|
|
height: 60rpx;
|
||
|
|
padding: 0 20rpx;
|
||
|
|
font-size: 26rpx;
|
||
|
|
background: #F0F0F0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bg-box .search-box {
|
||
|
|
background: #F0F0F0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.search-box .weui-input {
|
||
|
|
margin-left: 10rpx;
|
||
|
|
flex: 1;
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bg-box.title-box .icon-fanhui1 {
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.phcolor {
|
||
|
|
color: #ccc;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-list {
|
||
|
|
padding: 26.67rpx;
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
justify-content: space-between;
|
||
|
|
padding-bottom: 170rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-item {
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
width: 337rpx;
|
||
|
|
height: 513rpx;
|
||
|
|
background: #FFFFFF;
|
||
|
|
box-shadow: 0rpx 0rpx 9rpx 0rpx rgba(153, 153, 153, 0.33);
|
||
|
|
border-radius: 13rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-item-img {
|
||
|
|
width: 337rpx;
|
||
|
|
height: 337rpx;
|
||
|
|
background: #0B898E;
|
||
|
|
border-radius: 13rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-item-title {
|
||
|
|
font-family: PingFang SC;
|
||
|
|
font-weight: 500;
|
||
|
|
font-size: 27rpx;
|
||
|
|
color: #000000;
|
||
|
|
/* margin-bottom: 25.33rpx; */
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-item-price {
|
||
|
|
font-family: Arial;
|
||
|
|
font-weight: bold;
|
||
|
|
font-size: 33rpx;
|
||
|
|
color: #D70000;
|
||
|
|
margin-right: 12.67rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-item-price::before {
|
||
|
|
content: "¥";
|
||
|
|
font-weight: 400;
|
||
|
|
font-size: 23rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-item-market_price {
|
||
|
|
font-family: Arial;
|
||
|
|
font-weight: 400;
|
||
|
|
font-size: 21rpx;
|
||
|
|
color: #999999;
|
||
|
|
text-decoration-line: line-through;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-item-main {
|
||
|
|
padding: 20rpx 19rpx 26.67rpx 20rpx;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
min-height: 140rpx;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-list-item:nth-child(2) .hot-item:first-child {
|
||
|
|
width: 337rpx;
|
||
|
|
height: 373rpx;
|
||
|
|
background: #FFFFFF;
|
||
|
|
box-shadow: 0rpx 0rpx 9rpx 0rpx rgba(153, 153, 153, 0.33);
|
||
|
|
border-radius: 13rpx;
|
||
|
|
padding-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-list-item:nth-child(2) .hot-item:first-child .hot-item-img {
|
||
|
|
width: 337rpx;
|
||
|
|
height: 238rpx;
|
||
|
|
background: #71B580;
|
||
|
|
border-radius: 13rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-list-item:nth-child(2) .hot-item:first-child .main {
|
||
|
|
width: 337rpx;
|
||
|
|
height: 238rpx;
|
||
|
|
background: #71B580;
|
||
|
|
border-radius: 13rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-list-item:nth-child(2) .hot-item:first-child .hot-item-main {
|
||
|
|
padding: 5rpx 19rpx 26.67rpx 15rpx;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
min-height: 90rpx;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-list-item:nth-child(2) .hot-item:first-child .hot-item-main .hot-item-title {
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-list-item {
|
||
|
|
width: 337rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.add {
|
||
|
|
width: 40rpx;
|
||
|
|
height: 40rpx;
|
||
|
|
background: #0B898E;
|
||
|
|
border-radius: 50%;
|
||
|
|
text-align: center;
|
||
|
|
line-height: 40rpx;
|
||
|
|
font-weight: 500;
|
||
|
|
font-size: 31rpx;
|
||
|
|
color: #FFFFFF;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bottom {
|
||
|
|
position: fixed;
|
||
|
|
bottom: 0;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
height: 167rpx;
|
||
|
|
background: #FFFFFF;
|
||
|
|
box-shadow: 0rpx 2rpx 13rpx 0rpx rgba(136, 136, 136, 0.25);
|
||
|
|
padding: 0 27.33rpx 0 26.67rpx;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
z-index: 666;
|
||
|
|
}
|
||
|
|
|
||
|
|
.gwc {
|
||
|
|
margin-right: 14rpx;
|
||
|
|
width: 84rpx;
|
||
|
|
height: 84rpx;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cartCount {
|
||
|
|
width: 40rpx;
|
||
|
|
height: 40rpx;
|
||
|
|
background: #D90F01;
|
||
|
|
border-radius: 50%;
|
||
|
|
border: 1rpx solid #FFFFFF;
|
||
|
|
font-family: PingFang SC;
|
||
|
|
font-weight: 500;
|
||
|
|
font-size: 27rpx;
|
||
|
|
color: #FFFFFF;
|
||
|
|
text-align: center;
|
||
|
|
line-height: 40rpx;
|
||
|
|
position: absolute;
|
||
|
|
right: -10rpx;
|
||
|
|
top: -10rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.gwc-left {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.money {
|
||
|
|
font-weight: bold;
|
||
|
|
font-size: 47rpx;
|
||
|
|
color: #D70000;
|
||
|
|
}
|
||
|
|
|
||
|
|
.money::before {
|
||
|
|
content: "¥";
|
||
|
|
font-size: 23rpx;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
.buy {
|
||
|
|
width: 240rpx;
|
||
|
|
height: 83rpx;
|
||
|
|
background: #D70000;
|
||
|
|
border-radius: 42rpx;
|
||
|
|
font-family: PingFang SC;
|
||
|
|
font-weight: bold;
|
||
|
|
font-size: 32rpx;
|
||
|
|
color: #FFFFFF;
|
||
|
|
text-align: center;
|
||
|
|
line-height: 83rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.no-buy {
|
||
|
|
width: 240rpx;
|
||
|
|
height: 83rpx;
|
||
|
|
background: #BDBDBD;
|
||
|
|
border-radius: 42rpx;
|
||
|
|
font-family: PingFang SC;
|
||
|
|
font-weight: bold;
|
||
|
|
font-size: 32rpx;
|
||
|
|
color: #FFFFFF;
|
||
|
|
text-align: center;
|
||
|
|
line-height: 83rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.mask-content {
|
||
|
|
position: absolute;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
bottom: 0;
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
.mask-content .icon-close {
|
||
|
|
position: absolute;
|
||
|
|
right: 40rpx;
|
||
|
|
top: 40rpx;
|
||
|
|
}
|
||
|
|
.sku-info-box {
|
||
|
|
margin: 50rpx 40rpx;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
.sku-info-box image {
|
||
|
|
width: 218rpx;
|
||
|
|
height: 180rpx;
|
||
|
|
border-radius: 13rpx;
|
||
|
|
display: block;
|
||
|
|
margin-right: 40rpx;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
.sku-info {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
.sku-price {
|
||
|
|
font-size: 40rpx;
|
||
|
|
font-weight: 500;
|
||
|
|
color: #D62828;
|
||
|
|
margin: 20rpx 0;
|
||
|
|
display: flex;
|
||
|
|
justify-content: flex-start;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
.sku-price::before {
|
||
|
|
content: "¥";
|
||
|
|
font-weight: 400;
|
||
|
|
font-size: 27rpx;
|
||
|
|
vertical-align: baseline;
|
||
|
|
}
|
||
|
|
.sku-price view {
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: #FFFFFF;
|
||
|
|
background-color: #D62828;
|
||
|
|
border-radius: 22rpx;
|
||
|
|
line-height: 44rpx;
|
||
|
|
margin-left: 7rpx;
|
||
|
|
padding: 0 20rpx;
|
||
|
|
}
|
||
|
|
.sku-name {
|
||
|
|
font-size: 27rpx;
|
||
|
|
color: #666666;
|
||
|
|
}
|
||
|
|
.sku-names {
|
||
|
|
display: flex;
|
||
|
|
font-size: 29rpx;
|
||
|
|
color: #333;
|
||
|
|
margin: 0 40rpx;
|
||
|
|
text-align: center;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
.sku-name-item {
|
||
|
|
background: #EFEFEF;
|
||
|
|
border: 1rpx solid #EFEFEF;
|
||
|
|
width: 318rpx;
|
||
|
|
line-height: 77rpx;
|
||
|
|
border-radius: 14rpx;
|
||
|
|
margin-bottom: 25rpx;
|
||
|
|
margin-right: 30rpx;
|
||
|
|
}
|
||
|
|
.sku-name-item:nth-child(2n) {
|
||
|
|
margin-right: 0;
|
||
|
|
}
|
||
|
|
.sku-name-item.active {
|
||
|
|
color: #0B898E;
|
||
|
|
border-color: #0B898E;
|
||
|
|
background: rgba(11, 137, 142, 0.1);
|
||
|
|
}
|
||
|
|
.number-box {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
border-top: 1rpx solid #ccc;
|
||
|
|
justify-content: space-between;
|
||
|
|
margin: 0 40rpx;
|
||
|
|
padding: 40rpx 0;
|
||
|
|
}
|
||
|
|
.number-box text {
|
||
|
|
flex: 1;
|
||
|
|
font-size: 29rpx;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
.number-box view {
|
||
|
|
border: 1rpx solid #666;
|
||
|
|
border-radius: 7rpx;
|
||
|
|
text-align: center;
|
||
|
|
width: 67rpx;
|
||
|
|
line-height: 67rpx;
|
||
|
|
font-size: 33rpx;
|
||
|
|
color: #000;
|
||
|
|
}
|
||
|
|
.number-box view.disable {
|
||
|
|
border-color: #ccc;
|
||
|
|
color: #999;
|
||
|
|
}
|
||
|
|
.number-box view.number {
|
||
|
|
width: 94rpx;
|
||
|
|
margin: 0 15rpx;
|
||
|
|
}
|
||
|
|
.btn-box {
|
||
|
|
height: 138rpx;
|
||
|
|
background: #FFFFFF;
|
||
|
|
box-shadow: 0px 0px 16rpx 0px rgba(6, 0, 1, 0.1);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
position: fixed;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
bottom: 0;
|
||
|
|
}
|
||
|
|
.mask-btn {
|
||
|
|
width: 670rpx;
|
||
|
|
line-height: 78rpx;
|
||
|
|
background: #D62828;
|
||
|
|
border-radius: 39rpx;
|
||
|
|
color: #fff;
|
||
|
|
text-align: center;
|
||
|
|
font-size: 33rpx;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
.mask-btn.disable {
|
||
|
|
background: #ccc;
|
||
|
|
}
|
||
|
|
|
||
|
|
.flex {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.all {
|
||
|
|
font-family: PingFang SC;
|
||
|
|
font-weight: bold;
|
||
|
|
font-size: 37rpx;
|
||
|
|
color: #000000;
|
||
|
|
margin-left: 26rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.del-all {
|
||
|
|
font-family: PingFang SC;
|
||
|
|
font-weight: bold;
|
||
|
|
font-size: 27rpx;
|
||
|
|
color: #999999;
|
||
|
|
margin-left: 7.33rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.gwc-item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
margin-bottom: 48rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.main {
|
||
|
|
height: 179rpx;
|
||
|
|
padding: 8.67rpx 0 6.67rpx;
|
||
|
|
width: 425rpx;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
|
||
|
|
.main .title {
|
||
|
|
font-family: PingFang SC;
|
||
|
|
font-weight: bold;
|
||
|
|
font-size: 31rpx;
|
||
|
|
color: #2C2C2C;
|
||
|
|
margin-bottom: 18rpx;
|
||
|
|
}
|
||
|
|
.main .sku-title {
|
||
|
|
font-family: PingFang SC;
|
||
|
|
font-weight: 500;
|
||
|
|
font-size: 27rpx;
|
||
|
|
color: #999999;
|
||
|
|
}
|
||
|
|
|
||
|
|
.main-bottom {
|
||
|
|
display: flex;
|
||
|
|
width: 100%;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
|
||
|
|
.num-box {
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
|
||
|
|
.reduce, .grow {
|
||
|
|
width: 49rpx;
|
||
|
|
height: 49rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.main-bottom .price {
|
||
|
|
font-family: PingFangSC;
|
||
|
|
font-size: 35rpx;
|
||
|
|
color: #F84A56;
|
||
|
|
}
|
||
|
|
.main-bottom .price::before {
|
||
|
|
content: "¥";
|
||
|
|
font-size: 24rpx;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|