index.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. page{background-color: #fff;}
  2. .top{position: fixed;top: 0;left: 0;right: 0;z-index: 80;text-align: center;}
  3. .top-background{background: var(--mina);}
  4. .top-nav{position: relative;}
  5. .back{position: absolute;top: 50%;transform: translateY(-50%);left: 0;padding-left: 30rpx;}
  6. .back image{width: 22rpx;height: 38rpx;}
  7. .search{width: 400rpx;height: 65rpx;background-color: rgba(255,255,255,.8);border-radius: 33rpx;padding: 0 30rpx;font-size: 28rpx;color: #8B8B8B;margin-left: 36rpx;}
  8. .search image{width: 28rpx;height: 28rpx;margin-right: 13rpx;}
  9. .top-navc{position: relative;padding-left: 80rpx; padding-right: 80rpx;}
  10. .searchc{width: 100%;height: 65rpx;background-color: rgba(255,255,255,.4);border-radius: 33rpx;padding: 0 30rpx;font-size: 28rpx;color: #fff;}
  11. .searchc image{width: 28rpx;height: 28rpx;margin-right: 13rpx;}
  12. .top-nav-title{font-size: 36rpx;color: #333;font-weight: bold;}
  13. .top-bg{width: 100%;height: 420rpx;background: linear-gradient(180deg, var(--submain) 0%, var(--main) 100%);border-radius: 0 0 30rpx 30rpx;}
  14. .top-bg image{width: 100%;height: 100%;}
  15. .shop{background: #fff;border-radius: 10rpx;box-shadow: 0 0 15rpx rgba(0,0,0,.1);margin: -230rpx 20rpx 0;position: relative;z-index: 2;padding: 20rpx 20rpx 30rpx;}
  16. .shop-name{font-size: 36rpx;color: #333;font-weight: bold;line-height: 40rpx;flex-wrap: nowrap;}
  17. .shop-name view{max-width: 455rpx;}
  18. .daohang{width: 32rpx;height: 32rpx;margin-left: 10rpx;}
  19. .shop-datas{font-size: 24rpx;color: #999;margin-top: 12rpx;}
  20. .shop-datas image{width: 24rpx;height: 29rpx;margin-right: 6rpx;}
  21. .shop-addr{max-width: 370rpx;}
  22. .shop-infos{margin-top: 8rpx;font-size: 24rpx;color: #aaa;}
  23. .expre{height: 32rpx;border-radius: 5rpx;border: 1rpx solid rgba(1,151,114,.5);font-size: 22rpx;color: #12D776;padding: 0 12rpx;margin-right: 13rpx;}
  24. .expre image{width: 30rpx;height: 24rpx;margin-right: 7rpx;}
  25. .shop-pic{width: 132rpx;height: 132rpx;border-radius: 10rpx;position: relative;margin-left: 40rpx;border: 2rpx solid #e9e9e9;}
  26. .shop-logo{width: 100%;height: 100%;border-radius: 10rpx;}
  27. .m-tag{margin-top: 30rpx;font-size: 22rpx;color: #000;}
  28. .m-tag .li{margin-right: 18rpx;}
  29. .m-tag image{height: 28rpx;margin-right: 10rpx;}
  30. .shop-bot{border-top: 1rpx solid #DCDCDC;margin-top: 15rpx;padding-top: 27rpx;}
  31. .coupons-list{height: 50rpx;}
  32. .coupons-s{height: 70rpx;white-space: nowrap;}
  33. .coupons-list .li{display: inline-block;height: 50rpx;background: linear-gradient(90deg, #FE934C 0%, #FD3A31 100%);border-radius: 8rpx;font-size: 24rpx;color: #fff;margin: 0 10rpx 0 0;vertical-align: top;}
  34. .coupon-money{font-size: 36rpx;font-weight: bold;padding-left: 13rpx;}
  35. .coupon-money text{font-size: 24rpx;font-weight: normal;}
  36. .coupons-tit{height: 50rpx;padding: 0 16rpx 0 7rpx;border-right: 2rpx dashed rgba(255,255,255,.3);position: relative;line-height: 50rpx;}
  37. .coupons-tit::before,.coupons-tit::after{content: '';display: block;width: 13rpx;height: 13rpx;background: #fff;position: absolute;right: -6rpx;border-radius: 50%;}
  38. .coupons-tit::before{top: -6rpx;}
  39. .coupons-tit::after{bottom: -6rpx;}
  40. .coupons-list .coupon-ling{padding: 0 20rpx;}
  41. .coupon-num{font-size: 24rpx;color: #CD0B01;}
  42. .quan{margin-top: 17rpx;}
  43. .quan-list .li{height: 32rpx;border-radius: 5rpx;border: 1rpx solid rgba(255,101,6,.5);font-size: 22rpx;color: #FF6506;line-height: 32rpx;padding: 0 8rpx;margin-right: 10rpx;}
  44. .discount{margin-top: 15rpx;}
  45. .quan-num{font-size: 22rpx;color: #8B8B8B;}
  46. .quan-num image{width: 21rpx;height: 12rpx;margin-left: 13rpx;}
  47. .discount .li{height: 40rpx;border-radius: 10rpx;font-size: 22rpx;color: #C10316;border: 1rpx solid #C10316;padding: 0 14rpx;margin: 0 20rpx 0 0;}
  48. .left {width: 25%;background: #f8f8f8;position: absolute;left: 0;top: 0;bottom: 0;font-size: 26rpx;content: #333;bottom: 0;overflow-y: scroll;-webkit-overflow-scrolling: touch;}
  49. .left-position{position: fixed;z-index: 51;height: auto !important;}
  50. .left .li {/* line-height: 100rpx;text-align: center;text-overflow: ellipsis;white-space: nowrap;overflow: hidden; */height: 90rpx;justify-content: center;text-align: center;overflow: hidden;padding: 0 35rpx;position: relative;}
  51. .left .li.active{background: #fff;}
  52. .left .li.active:before{content: '';display: block;width: 6rpx;height: 32rpx;background-color: #F06520;position: absolute;top: 50%;transform: translateY(-50%);left: 0;}
  53. /* .left .li.active {font-weight: bold;background: #fff;border-left: 6rpx solid var(--mina) !important;} */
  54. .right {width: 100%;/* position: absolute; */right: 0;top: 0;/* padding-top: 80rpx; */box-sizing: border-box;padding-left: 25%;background: #fff;}
  55. .right-position{/* position: absolute;padding-top: 80rpx; */margin-left: 25%;width: 75%;padding-left: 0;}
  56. .tab {white-space: nowrap;-webkit-overflow-scrolling: touch;padding: 0 0 0 20rpx;box-sizing: border-box;/* position: absolute;top: 0;left: 0;right: 20rpx; */z-index: 50;}
  57. .tab-position{position: fixed;top: 0;left: 0;right: 0;padding-left: calc(25% + 10rpx);background: #fff;
  58. padding-top: 10rpx;
  59. padding-bottom: 10rpx;}
  60. .tab .li {display: inline-block;margin-right: 25rpx;line-height: 48rpx;background-color: #F7F7F7;padding: 0 20rpx;color: #333;border-radius: 24rpx;font-size: 24rpx;}
  61. .tab .li:last-child {margin-right: 0;}
  62. .tab .li.active {color: var(--mina) !important;background-color: var(--textbg);}
  63. .sort {padding: 29rpx 0 0 20rpx;box-sizing: border-box;}
  64. .price .vip {font-size: 24rpx;margin-left: 12rpx;color: var(--vip);border: 1rpx solid;padding: 0 8rpx 2rpx 8rpx;border-radius: 5px;font-weight: normal;}
  65. .price .vip .members {font-size: 24rpx !important;font-weight: normal !important;margin-left: 2rpx;}
  66. .price .vip .sale {font-size: 24rpx !important;font-weight: normal !important;}
  67. .price text.del {font-weight: normal;font-size: 24rpx;color: #999;margin-left: 12rpx;text-decoration: line-through;}
  68. .sort .li {border-bottom: 2rpx solid #eee;padding-bottom: 39rpx;margin-bottom: 39rpx;overflow: hidden;padding-right: 20rpx;}
  69. .sort .li:last-child {margin-bottom: 0;border-bottom: none;}
  70. .sort .li .flex {overflow: hidden;}
  71. .proimgs{width: 160rpx;height: 160rpx;border-radius: 10rpx;position: relative;margin-right: 18rpx;border: 2rpx solid #E5E5E5;}
  72. .proimg {box-sizing: border-box;width: 100%;height: 100%;border-radius: 10rpx;}
  73. .shouqing{width: 100%;height: 100%;border-radius: 10rpx;position: absolute;top: 0;left: 0;}
  74. .proname {font-size: 28rpx;color: #333;
  75. /* text-overflow: ellipsis;
  76. white-space: nowrap; */
  77. line-height: 36rp;height: 76rpx;overflow: hidden;}
  78. .pronames {font-size: 24rpx;color: #999;margin-top: 5rpx;}
  79. .endtime {display: inline-block;height: 32rpx;line-height: 32rpx;border: 2rpx solid #FE0419;border-radius: 6rpx;padding: 0 8rpx;font-size: 24rpx;color: #FE0419;margin: 15rpx 0 65rpx;}
  80. .operate {justify-content: space-between;align-items: center;margin-top: 10rpx;line-height: 1;}
  81. .price {font-size: 24rpx;color: #FE0419;align-items: center;display: flex;}
  82. .price text {font-size: 36rpx;font-weight: bold;}
  83. .add-cart image {width: 42rpx;height: 42rpx;}
  84. .nums {align-items: center;}
  85. .num {font-size: 30rpx;width: 50rpx;text-align: center;line-height: 42rpx;}
  86. /* 分类2 */
  87. .sort-left {width: 22%;background: #F0F0F0;position: fixed;left: 0;top: 0;font-size: 26rpx;content: #333;}
  88. .sort-left .li {line-height: 100rpx;text-align: center;height: 101rpx;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
  89. .sort-left .li.active {font-weight: bold;background: #fff;border-left: 6rpx solid var(--mina) !important;}
  90. .sort-right {width: 78%;position: absolute;right: 0;top: 0;box-sizing: border-box;}
  91. .sort-right .rcon {padding: 0 20rpx 20rpx;}
  92. .sort-right .tit {padding: 25rpx 0 15px;font-size: 28rpx;color: #9A9A9A;}
  93. .sort-right .list {flex-wrap: wrap;background: #fff;border-radius: 10rpx;padding: 40rpx 15rpx 0;overflow: hidden;}
  94. .sort-right .list .li {margin-bottom: 55rpx;width: 33.33%;text-align: center;font-size: 28rpx;color: #666;}
  95. .sort-right .list image {display: block;width: 120rpx;height: 120rpx;margin: 0 auto 10rpx;}
  96. .litext {width: 120rpx;height: 120rpx;border-radius: 50%;font-size: 40rpx;color: #fff;text-align: center;line-height: 120rpx;background: #f3f1f2;margin: 0 auto 15rpx;}
  97. .nopronames {height: 31rpx;}
  98. .vip-news{height: 25rpx;background: #692A00;border-radius: 8rpx;line-height: 25rpx;flex-wrap: nowrap;font-weight: bold;}
  99. .vip-sale{background: linear-gradient(to right,#f9e0bc,#d9a168);font-size: 20rpx !important;color: #222;height: 25rpx;border-radius: 8rpx 0 0 8rpx;white-space: nowrap;width: 70rpx;text-align: center;}
  100. .vip-members{padding: 0 8rpx 0 5rpx;font-size: 20rpx !important;color: #fff !important;white-space: nowrap;}