| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937 | /**index.wxss**/page {  background: #F6F6F6;  height: auto;  position: relative;}scroll-view::-webkit-scrollbar{display: none;width: 0;height: 0;color: transparent;}/* 前后衔接样式 *//* .bg-box{  position: absolute;  z-index: -1;  top: 0;  left: 0;  width: 100%;  height: 524rpx;}.bg{  position: relative;    width: 100%;  height: 524rpx;  vertical-align: bottom;}.bg-box .white-block{  position: absolute;  left: 0;  bottom: 0;  width: 100%;  height: 70rpx;  background: linear-gradient( 180deg, rgba(255,255,255,0) 0%, rgba(248,248,248,0.52) 39%, #F6F6F6 100%);} */.bg-box{  position: absolute;  z-index: -1;  top: 0;  left: 0;  width: 100%;  height: 492rpx;}.bg{  position: relative;    width: 100%;  height: 492rpx;  vertical-align: bottom;}.bg-box .white-block{  position: absolute;  left: 0;  bottom: 0;  width: 100%;  height: 70rpx;  background: linear-gradient( 180deg, rgba(255,255,255,0) 0%, rgba(248,248,248,0.52) 39%, #F6F6F6 100%);}.swiper-box{  /* 图片衔接就是要宽2像素才行 */  /* width: 704rpx!important; */  width: 702rpx!important;  height: 276rpx;  border-radius: 16rpx;  position: absolute;  left: 24rpx;  bottom: -38rpx;}.swiper-box swiper-item{  width: 702rpx!important;}.swiper-box swiper-item .block{  height: 276rpx;  width: 702rpx;  vertical-align: bottom;}/* 轮播图及搜索框 */swiper {  width: 100%;  /* height: 400rpx; */  overflow: hidden;}swiper.pic-swiper {  margin-top: 101rpx;  padding: 10rpx 0;  background: #fff;  height: 400rpx;}swiper-item {  font-size: 26rpx;  font-weight: bold;}swiper.pic-swiper .img-box {  font-size: 0;}.wx-swiper-dots {  margin-bottom: 15rpx;}.banner-item {  box-sizing: border-box;}.banner-item .img-box {  width: 100%;  height: 100%;  box-sizing: border-box;  padding: 20rpx 10rpx;}.banner-item .img-box image {  border-radius: 8rpx;  box-shadow: 0 4px 10px 0 rgba(83, 83, 83, 0.288);}swiper.pic-swiper .banner {  position: absolute;  width: 690rpx;  margin: 0 10rpx;  height: 388rpx;  border-radius: 8rpx;  display: inline-block;  box-shadow: 0 4px 10px 0 rgba(83, 83, 83, 0.288);}.top-navbar-box {  display: flex;  align-items: center;  margin-left: 20rpx;  color: #fff;}.top-navbar-box .shop-title {  font-weight: bold;  font-size: 36rpx;}.top-navbar-box .shop-info{  color: #fff;}.shop-info {  margin-left: 12rpx;  display: flex;  font-weight: bold;  font-size: 24rpx;}.search-box {  display: flex;  padding-bottom: 20rpx;  margin-top: 20rpx;}.top-search-input {  margin-left: 20rpx;  display: flex;  align-items: center;  width: 500rpx;  border: 2rpx solid #006CE8;  border-radius: 40rpx;  height: 60rpx;  background: #fff;  box-sizing: border-box;}.top-search-swiper {  height: 60rpx;  line-height: 60rpx;  margin-top: 0;  font-size: 24rpx;  color: #AAAAAA;  margin-left: 28rpx;}.top-search-line {  color: #DEDEDE;  margin-right: 16rpx;}.top-search-text {  width: 100rpx;  font-weight: bold;  font-size: 24rpx;  color: #006CE8;}.search-input {  display: flex;  align-items: center;  width: 702rpx;  /* border: 2rpx solid #006CE8; */  border-radius: 40rpx;  height: 60rpx;  background: #fff;}.search-swiper {  height: 60rpx;  line-height: 60rpx;  margin-top: 0;  font-weight: normal;  font-size: 24rpx;  color: #AAAAAA;  margin-left: 28rpx;}.search-line {  color: #DEDEDE;  margin-right: 16rpx;}.search-text {  width: 100rpx;  line-height: 50rpx;  text-align: center;  border-radius: 25rpx;  font-weight: bold;  font-size: 28rpx;  color: #FFF;  background: #006CE8;  margin-right: 10rpx;}.top-share {  position: relative;  text-align: center;  margin-left: 16rpx;}.share-btn {  position: absolute;  top: 0;  left: 0;  height: 90rpx;  text-align: center;  background-color: transparent;  /*按钮透明*/  border: none;}.share-btn::after {  border: none;}.share-text {  font-weight: normal;  font-size: 22rpx;  color: #fff;  white-space: nowrap;}.recommended-box {  /* height: 80rpx; */  margin-bottom: 20rpx;  position: absolute;  left: 24rpx;  top: 254rpx;  width: 726rpx;}.recommended-swiper {  /* height: 80rpx; */  white-space: nowrap;}  .recommended-text {  margin-left: 20rpx;  display: inline-block;  padding: 6rpx 12rpx;  background: rgba(255, 255, 255, .5);  text-align: center;  border-radius: 22rpx 22rpx 22rpx 22rpx;  font-size: 24rpx;  color: #222222;}.container{  padding-left:24rpx;  padding-right: 24rpx;}.container .bg-sear {  position: fixed;  z-index: 999;  width: 100%;  line-height: 56rpx;  background: #fff;  padding: 20rpx 0;  text-align: center;  top: 0;}.bg-sear .section {  display: flex;  justify-content: center;  align-items: center;  height: 60rpx;  background: #fff;  z-index: 1;  border-radius: 50rpx;  width: 92%;  margin: auto;  left: 4%;  background: #eeeeee;}.bg-sear .section .placeholder {  display: block;  font-size: 28rpx;  color: #999;}.bg-sear .section .search-img {  width: 32rpx;  height: 32rpx;  margin-right: 10rpx;}/* 分类栏目 */.swiper-grid-box {  /* padding: 16rpx 0; */  margin-bottom: 20rpx;  border-radius: 16rpx;  background: #fff;  margin-top: 296rpx;  /* margin-top: 300rpx; */}.swiper-grid-box .grid-box .van-grid{  border-radius: 16rpx;}.grid-box{  display: grid;  /* 列规则:5列等宽(1fr 代表"剩余空间等份分配") */  grid-template-columns: repeat(5, 1fr);  /* 行列间距:10rpx(小程序常用 rpx 适配多端) */  gap: 16rpx;  /* 容器内边距:避免网格贴边 */  padding: 20rpx 0;}.grid-box,.swiper-grid{  /* padding-top: 20rpx; */}.swiper-grid {  margin-top: -10rpx;  border-radius: 16rpx;  background-color: #fff;  height: 175rpx;}.my-grid-item{  position: relative;  text-align: center;  margin-bottom: 20rpx;}.my-grid-item .van-grid-item__content {  padding: 0rpx;  /* margin-top: 20rpx; */  padding-top: 30rpx;}.my-grid-item .label{  font-size: 16rpx;  color: #FFFFFF;  padding: 4rpx 8rpx;  border-radius: 14rpx;  background: #FF5030;  position: absolute;  left: 50%;  top:0rpx;  white-space: nowrap;}.swiper-grid-image{  width:100rpx;  height:100rpx;  border-radius: 32rpx;}.swiper-grid .swiper-grid-image{  width:72rpx;  height:72rpx;  border-radius: 50%;}.swiper-grid-text {  font-weight: normal;  font-size: 24rpx;  color: #222222;  overflow: hidden;  white-space: nowrap;  text-overflow: ellipsis;  width: 120rpx;  text-align: center;  /* line-height:2.4; */  letter-spacing: normal;  margin-top: 24rpx;}.notice-box{  display: flex;  align-items: center;  margin-bottom: 20rpx;  padding: 20rpx 24rpx;  background: #FFFFFF;  border-radius: 16rpx 16rpx 16rpx 16rpx;}.notice-box .icon{  width: 30rpx;  height: 30rpx;}.notice-box .text{  font-weight: bold;  font-size: 24rpx;  color: #222222;  margin-left: 20rpx;}.adv{  width: 100%;  height: 236rpx;  margin-bottom: 20rpx;}.bonus-box {  display: flex;}.content-bonus {  display: flex;  align-items: center;  justify-content: center;  width: 192rpx;  height: 64rpx;  background: #FFFFFF;  border-radius: 16rpx 16rpx 16rpx 16rpx;}.content-bonus+.content-bonus{  margin-left: 20rpx;}.bonus-text {  margin-left: 10rpx;  font-size: 24rpx;}/*秒杀*/.seckill-box {  margin: 20rpx;  padding: 20rpx;  background: linear-gradient(91deg, #FFEEEE 0%, #FFFFFF 18%, #FFFFFF 100%);  display: flex;  position: relative;  overflow: hidden;}.seckill-time {  width: 160rpx;  text-align: center;}.seckill-title {  font-weight: 800;  font-size: 28rpx;}.more-icon {  position: absolute;  display: flex;  align-items: center;  height: 100%;  top: 0;  right: 0;  width: 40rpx;  background-color: #fff;}.times {  margin-top: 8rpx;  margin-bottom: 8rpx;  font-size: 20rpx;  color: #AAAAAA;}.seckill-content {  display: flex;}.seckill-product-box {  margin-left: 30rpx;}.seckill-Price {  position: relative;  font-weight: bold;  font-size: 24rpx;  color: #FF4A39;}.price-bg {  position: absolute;}.price-num {  position: absolute;  left: 10rpx;}.custom-class {  background-color: #FFFFFF;}.recommended-card {  position: relative;  margin: 20rpx 0;  padding: 20rpx;  background-color: #FFFFFF;  display: flex;  width: 670rpx;  overflow: hidden;}.new-text {  text-align: center;}.new-text-two {  width: 120rpx;}.recommended-Price {  text-align: center;  height: 32rpx;  background: #FFEEEC;  border-radius: 16rpx;  font-weight: bold;  font-size: 24rpx;  color: #FF4A39;}/* 分页分类 */.tab-box{  white-space: nowrap;  margin-bottom: 20rpx;  overflow-x: auto;} .tab-box .tab{  display: inline-block;  font-size: 32rpx;  color: #222222;  margin-right: 44rpx;  padding-bottom: 10rpx;}.tab-box .tab .icon{  width: 105rpx;  height: 29rpx;}.tab-box .tab.active{  font-weight: 800;  font-size: 36rpx;  position: relative;}.tab-box .tab.active::after{  content: '';  display: block;  width: 80rpx;  height: 18rpx;  background: linear-gradient( 90deg, #006CE8 0%, rgba(0,108,232,0.45) 43%, rgba(0,108,232,0.2) 79%, rgba(0,108,232,0) 100%);  border-radius: 10rpx 10rpx 10rpx 10rpx;  position: absolute;  left: calc(50% - 40rpx);  bottom: 0;}/* 每日上新 */.content {  text-align: justify;  display: flex;  justify-content: space-between;}.reset-localization{  text-align: center;  font-size: 26rpx;  color: #AAAAAA;}.swiper-card-box {  margin-bottom: 20rpx;  height: 470rpx;  /* margin-left: 3%; */  /* width: 96%; */  width: 344rpx;}.wx-swiper-dots-horizontal .wx-swiper-dot {  width: 24rpx;  height: 8rpx;  border-radius: 4rpx;}.swiper-card {  /* margin-top: 10rpx; */  height: 462rpx;  background: #FFFFFF;  border-radius: 16rpx;}.swiper-card-img {  height: 462rpx;  width: 344rpx;  border-radius: 16rpx;  vertical-align: bottom;}.item {  background-color: #fff;  /* margin-top: 20rpx; */  margin-bottom: 14rpx;  display: inline-block;  width: 344rpx;  border-radius: 16rpx;  overflow: hidden;  padding-bottom: 16rpx;}.item-ava {  width: 40rpx;  height: 40rpx;  border-radius: 16rpx;}.heart {  display: flex;  align-items: center;  justify-content: space-between;  margin-right: 8rpx;  margin-top: 20rpx;}.name-price {  display: flex;  align-items: center;  font-weight: 800;  font-size: 36rpx;  color: #FF4D3A;}.item-img {  width: 100%;  vertical-align: bottom;}.item-title {  font-weight: bold;  font-size: 28rpx;  text-overflow: ellipsis;  display: -webkit-box;  -webkit-box-orient: vertical;  -webkit-line-clamp: 2;  overflow: hidden;  font-family: 'PingFang SC-Medium';  color: #1e1e1e;  padding: 0 20rpx;  /* height: 40rpx; */  line-height: 40rpx;  /* background-color: turquoise; */}.item .name {  padding: 0 15rpx;  margin-top: 20rpx;  padding-bottom: 10rpx;  align-items: center;  font-size: 22rpx;  font-family: 'PingFang SC-Medium';}.name image {  flex: 0 0 auto;}.item-title-box {  display: flex;  position: relative;  z-index: 2;}.name-title {  font-weight: normal;  font-size: 22rpx;  color: #AAAAAA;}.tag-box{  display: flex;}.tag-box .tag{  width: 68rpx;  height: 32rpx;  line-height: 32rpx;  text-align: center;  background: #FFF1E2;  border-radius: 8rpx 8rpx 8rpx 8rpx;  border: 1rpx solid #006CE8;  font-size: 22rpx;  color: #006CE8;}.tag-box .text{  font-size: 22rpx;  color: #BC9264;  margin-left: 10rpx;}.name text:last-child {  color: #c4c4c4;  text-decoration: underline;  line-height: 10rpx;}.rank-box{  display: flex;  align-items: center;  background: #FCECDA;  border-radius: 8rpx 8rpx 8rpx 8rpx;   margin-top: 10rpx;}.rank-box .icon{  width: 40rpx;  height: 44rpx;}.rank-box .text{  font-size: 22rpx;  color: #BC9264;  margin-left: 10rpx;}.rank-box .top{  width: 72rpx;  height: 36rpx;}.left,.right {  display: inline-block;  vertical-align: top;  width: 344rpx;}.stepper-box {  display: flex;  align-items: center;}.stepper-minus {  width: 40rpx;  height: 40rpx;  background-color: #F0F0F0;  font-size: 40rpx;  text-align: center;  line-height: 40rpx;}.stepper-num {  width: 80rpx;  height: 40rpx;  background-color: #F0F0F0;  text-align: center;  line-height: 40rpx;  margin-left: 4rpx;}.stepper-add {  margin-left: 4rpx;  width: 40rpx;  height: 40rpx;  background-color: #F0F0F0;  font-size: 40rpx;  text-align: center;  line-height: 40rpx;}.tips {  height: 60rpx;  line-height: 60rpx;  text-align: center;  font-size: 24rpx;  color: #AAAAAA;}.loading-box{  text-align: center;  line-height: 80rpx;  height: 80rpx;}.popup-box {  padding: 20rpx;}.popup-detail {  display: flex;  align-items: center;}.shop-price {  font-family: PingFang SC, PingFang SC;  font-weight: 800;  font-size: 48rpx;  color: #FF4D3A;}.shop-detail {  margin-top: 24rpx;  display: flex;  align-items: center;}.shop-isselect {  font-weight: normal;  font-size: 24rpx;  color: #AAAAAA;}.shop-info {  font-family: PingFang SC, PingFang SC;  font-weight: 800;  font-size: 24rpx;  color: #222222;}.shop-address-info {  width: 500rpx;  overflow: hidden;  white-space: nowrap;  text-overflow: ellipsis;  display: flex;  align-items: center;  font-size: 32rpx;}.position-icon{  width: 36rpx;  height: 36rpx;  vertical-align: bottom;}.popup-line {  border: 2rpx solid #F0F0F0;}.shop-color {  margin-top: 28rpx;}.color-text {  font-family: PingFang SC, PingFang SC;  font-weight: 800;  font-size: 28rpx;}.color-btn-box {  display: flex;  align-items: centers;  margin-top: 10rpx;}.color-btn {  width: 136rpx;  height: 64rpx;  background: #006CE8;  border-radius: 32rpx;  font-weight: normal;  font-size: 28rpx;  color: #FFFFFF;  display: flex;  align-items: center;  justify-content: center;  margin-right: 20rpx;}.popup-num-box {  margin-top: 40rpx;  display: flex;  align-items: center;  justify-content: space-between;}.bottom-button-box {  background: #FFFFFF;  box-shadow: 0rpx -6rpx 12rpx 2rpx rgba(0, 0, 0, 0.09);  border-radius: 32rpx 32rpx 0rpx 0rpx;  display: flex;  justify-content: center;}.bottom-button {  width: 702rpx;  height: 80rpx;  background: #006CE8;  border-radius: 40rpx;  margin-top: 30rpx;  font-family: PingFang SC, PingFang SC;  font-weight: bold;  font-size: 28rpx;  color: #FFFFFF;  text-align: center;  line-height: 80rpx;}/* 纵向滚动容器:隐藏垂直滚动条 */.tab-box::-webkit-scrollbar {  width: 0; /* 滚动条宽度设为0(关键) */  height: 0; /* 横向滚动时设置高度为0 */  display: none; /* 直接隐藏 */}/* 可选:针对滚动轨道和滑块的进一步隐藏 */.tab-box::-webkit-scrollbar-track {  display: none;}.tab-box::-webkit-scrollbar-thumb {  display: none;}
 |