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.

686 lines
12 KiB

2 years ago
/* pages/feiyi/list/index.wxss */
.techanMain {
height: 100%;
display: flex;
flex-direction: column;
overflow:hidden;
}
.heaimg {
display: block;
width: 100%;
}
.techan-centent {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
/* height: 500rpx; */
}
page {
/* background: #FFD99E; */
/* padding-bottom: 170rpx; */
height: 100%;
display: flex;
flex-direction: column;
overflow:hidden;
}
.changeStyle {
width: 40rpx;
height: 40rpx;
}
.type-box {
padding: 33.33rpx 26.67rpx 26.67rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav {
width: 145rpx;
height: 53rpx;
border-radius: 8rpx;
border: 1px solid #0B898E;
font-family: PingFang SC;
font-weight: 500;
font-size: 27rpx;
color: #0B898E;
text-align: center;
line-height: 53rpx;
margin-right: 12.67rpx;
}
.seld-nav {
width: 145rpx;
height: 57rpx;
background: #0B898E;
border-radius: 8rpx;
font-family: PingFang SC;
font-weight: bold;
font-size: 27rpx;
color: #FFFFFF;
text-align: center;
line-height: 57rpx;
margin-right: 12.67rpx;
}
.left {
width: 200rpx;
/* min-height: 100vh; */
/* min-height: 850rpx; */
height: 100%;
background-color: #F3F3F3;
}
.type-two-box {
width: 200rpx;
height: 107rpx;
text-align: center;
line-height: 107rpx;
font-weight: 500;
font-size: 27rpx;
color: #000000;
}
.seld-type {
background: #fff;
font-weight: bold;
font-size: 27rpx;
color: #000000;
text-align: center;
line-height: 107rpx;
position: relative;
}
.line {
width: 7rpx;
height: 53rpx;
background: #0B898E;
position: absolute;
top: 26.67rpx;
left: 0;
}
.item {
padding: 0 26.67rpx;
display: flex;
margin-bottom: 26.67rpx;
}
.img {
width: 161rpx;
height: 161rpx;
background: #999999;
border-radius: 11rpx;
flex-shrink: 0;
margin-right: 14.67rpx;
}
.content {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 100%;
}
.title {
font-weight: 500;
font-size: 27rpx;
color: #000000;
}
.item-bottom {
display: flex;
justify-content: space-between;
align-items: center;
}
.current-price {
font-weight: bold;
font-size: 33rpx;
color: #D70000;
margin-right: 13.33rpx;
}
.current-price::before {
content: "¥";
font-size: 23rpx;
font-weight: 500;
}
.original-price {
font-weight: 400;
font-size: 21rpx;
color: #999999;
text-decoration-line: line-through;
}
.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;
}
/* .classimg {
margin-left: 13rpx;
width: 710rpx;
display: block;
} */
/* .type-text {
position: absolute;
left: 130rpx;
padding: 30rpx 30rpx;
bottom: 0;
line-height: 60rpx;
font-size: 40rpx;
font-weight: bold;
z-index: 1;
color: #FFE1A2;
width: 120rpx;
display: flex;
justify-content: space-between;
} */
/* .item {
background: url(https://static.ticket.sz-trip.com/xcxImages/techan/bg.png);
background-size: 100% 100%;
width: 694rpx;
height: 571rpx;
margin: 0 auto;
margin-bottom: 15rpx;
color: #704436;
box-sizing: border-box;
} */
.list1 {
background-color: #FAF6F0;
border-radius: 13rpx;
margin-bottom: 30rpx;
padding: 20rpx 0 28rpx 20rpx;
}
.top-info {
display: flex;
/* padding: 30rpx; */
align-items: center;
margin-bottom: 20rpx;
}
.top-info image {
width: 136rpx;
height: 136rpx;
display: block;
flex-shrink: 0;
margin-right: 12rpx;
}
.supplier-info {
display: flex;
flex-direction: column;
/* height: 136rpx; */
justify-content:space-between;
flex: 1;
margin-right: 20.67rpx;
/* width: 300rpx; */
}
.supplier-name {
font-family: PingFang SC;
font-weight: 500;
font-size: 32rpx;
color: #000000;
}
.supplier-tags {
display: flex;
}
.supplier-tag {
padding: 0 20rpx;
font-size: 22rpx;
border: 1rpx solid #877350;
border-radius: 15rpx;
line-height: 28rpx;
margin-right: 20rpx;
color: #877350;
}
.supplier-address {
font-size: 20rpx;
margin-top: 10rpx;
color: #877350;
font-weight: 500;
font-size: 23rpx;
}
.supplier-address .iconfont {
margin-right: 8rpx;
font-size: 20rpx;
}
.supplier-price {
color: #CC3320;
font-size: 20rpx;
}
.supplier-price text:nth-child(2){
font-size: 40rpx;
font-weight: bold;
}
.product-list {
display: flex;
/* margin: 0 20rpx 0 30rpx; */
overflow-x:scroll ;
box-sizing: border-box;
/* padding-right:30rpx ; */
}
.product-list::-webkit-scrollbar {
display: none;
}
.product-item {
width: 212rpx;
font-size: 28rpx;
margin-right: 19rpx;
}
.product-item:nth-child(3){
}
.product-item image {
width: 212rpx;
height: 209rpx;
border-radius: 13rpx;
}
.market_price {
color: #999999;
font-weight: 400;
font-size: 20rpx;
margin-left: 10rpx;
text-decoration: line-through;
}
.mid-box{
display: flex;
align-items: center;
justify-content: space-between;
padding-right: 10rpx;
}
.bottom-box{
display: flex;
align-items: center;
justify-content: space-between;
}
.btn{
flex-shrink: 0;
background: #C6937F;
border-radius: 24rpx;
width: 147rpx;
height: 48rpx;
line-height: 48rpx;
text-align: center;
font-size: 25rpx;
font-family: PingFang SC;
font-weight: 500;
color: #FFFFFF;
}
.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;
}
.hot-list {
padding: 26.67rpx;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.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;
}