shop.css 6.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /* shop.css */
  2. page{background: #fff;}
  3. .top-fixed{position: fixed;top: 0;left: 0;right: 0;z-index: 50;}
  4. .back{position: absolute;left: 40rpx;}
  5. .back image{width: 22rpx;height: 38rpx;position: absolute;top: 50%;transform: translateY(-50%);left: 0;}
  6. .ss{position: absolute;left: 45%;}
  7. .ss image{width: 48rpx;height: 48rpx;position: absolute;top: 50%;transform: translateY(-50%);left: 0;}
  8. .guan{position: absolute;left: 55%;font-size: 26rpx;color: #fff;}
  9. .guan-c{position: absolute;top: 50%;transform: translateY(-50%);left: 0;width: 150rpx;flex-wrap: nowrap;}
  10. .guan-c image{width: 48rpx;height: 48rpx;margin-right: 10rpx;}
  11. .content{position: relative;padding: 190rpx 0 0;}
  12. .shop-img{width: 100%;height: 290rpx;position: absolute;top: 0;left: 0;right: 0;z-index: 1;}
  13. .shop{background: #fff;border-radius: 10rpx;box-shadow: 0 0 15rpx rgba(0,0,0,.1);margin: 0 20rpx;position: relative;z-index: 2;padding: 20rpx 20rpx 25rpx;}
  14. .shop-name{font-size: 36rpx;color: #000;font-weight: bold;}
  15. .shop-datas{font-size: 24rpx;color: #333;margin-top: 12rpx;}
  16. .shop-pic{width: 86rpx;height: 86rpx;border-radius: 10rpx;position: relative;border: 1rpx solid #c1c1c1;}
  17. .shop-logo{width: 100%;height: 100%;border-radius: 10rpx;}
  18. .shop-news{font-size: 24rpx;color: #8e8e8e;margin-top: 10rpx;}
  19. .coupons{margin-top: 15rpx;}
  20. .coupons .li{background: #fe4b33;height: 44rpx;border-radius: 10rpx;font-size: 22rpx;color: #fff;margin: 0 6rpx 6rpx 0;overflow: hidden;position: relative;}
  21. .coupons .li::before,.coupons .li::after{content: '';display: block;width: 6rpx;height: 6rpx;background: #fff;border-radius: 50%;position: absolute;right: 40rpx;}
  22. .coupons .li::before{top: -2rpx;}
  23. .coupons .li::after{bottom: -2rpx;}
  24. .cp-l{height: 44rpx;padding: 0 12rpx;background: linear-gradient(left,#fe784f,#fe4b33);}
  25. .coupons .li image{width: 27rpx;height: 23rpx;margin-right: 10rpx;}
  26. .cp-money{font-size: 28rpx;font-weight: bold;}
  27. .cp-money text{font-size: 22rpx;font-weight: normal;}
  28. .cp-in{margin-left: 10rpx;}
  29. .cp-r{width: 42rpx;height: 44rpx;justify-content: center;border-left: 1rpx dashed #fe9688;}
  30. .coupons .li:first-child{color: #824712;background: #f2cf8b;}
  31. .coupons .li:first-child .cp-l{background: linear-gradient(left,#fee5b4,#f2cf8b);}
  32. .coupons .li:first-child .cp-r{border-color: #d2b279;}
  33. .discount{margin-top: 10rpx;}
  34. .discount .li{height: 30rpx;border-radius: 6rpx;font-size: 22rpx;color: #ff4a32;border: 1rpx solid #ff4a32;padding: 0 9rpx;margin: 0 6rpx 0 0;}
  35. .dis-t{font-size: 24rpx;color: #989898;}
  36. .dis-t image{width: 22rpx;height: 14rpx;margin-left: 10rpx;}
  37. .order{background: linear-gradient(left,#fefefe,#feece9);box-shadow: 0 0 15rpx rgba(0,0,0,.1);height: 75rpx;border-radius: 10rpx;padding: 0 20rpx;margin: 15rpx 20rpx;font-size: 26rpx;color: #000;font-weight: 600;justify-content: space-between;}
  38. .order image{width: 28rpx;height: 28rpx;margin-left: 6rpx;}
  39. .count{font-size: 22rpx;color: #ff4a32;font-weight: normal;}
  40. .count text{display: block;width: 15rpx;height: 15rpx;border-radius: 50%;border: 1rpx solid #f8c0b7;margin-right: 5rpx;}
  41. .count text.active{background: #ff4a32;border-color: #ff4a32;}
  42. .count view{margin-left: 11rpx;}
  43. .tabs{padding: 20rpx 20rpx 25rpx;}
  44. .tab .li{font-size: 28rpx;color: #000;margin-right: 70rpx;line-height: 46rpx;position: relative;}
  45. .tab .li.active{font-weight: bold;}
  46. .tab .li text{font-size: 22rpx;color: #999;position: relative;top: -5rpx;left: 10rpx;}
  47. .tab .li.active text{font-weight: normal;}
  48. .tab .li.active::after{content: '';display: block;width: 30rpx;height: 6rpx;border-radius: 3rpx;background: var(--mina);position: absolute;bottom: 0;left: 15rpx;}
  49. .backtop{width: 30rpx;height: 30rpx;margin-left: 8rpx;}
  50. .pin{width: 144rpx;height: 44rpx;border: 1rpx solid var(--mina);border-radius: 23rpx;font-size: 24rpx;color: var(--mina);justify-content: center;}
  51. .sbanner{overflow: hidden;position: relative;margin: 0 20rpx;}
  52. .sbanner .swiper,.sbanner .swiper image{width: 100%;height: 160rpx;border-radius: 12rpx;overflow: hidden;}
  53. .dots{position: absolute;left: 0;right: 0;bottom: 20rpx;align-items: center;justify-content: center;}
  54. .dot{background: rgba(255,255,255,.5);width: 20rpx;height: 2rpx;margin: 0 4rpx;}
  55. .dot.active{background: rgba(255,255,255,.8);}
  56. .recommend{margin: 45rpx 20rpx 0;}
  57. .tits{padding: 15rpx 0;font-size: 28rpx;color: #000;font-weight: 600;justify-content: space-between;}
  58. .rico{width: 16rpx;height: 27rpx;}
  59. .rec-list .li{width: 222rpx;margin-right: 22rpx;}
  60. .rec-list .li:nth-child(3n){margin-right: 0;}
  61. .rec-img{width: 222rpx;height: 222rpx;border-radius: 10rpx;}
  62. .rec-title{font-size: 28rpx;color: #000;font-weight: 600;margin: 8rpx 0 0;}
  63. .res-op{margin-top: 15rpx;justify-content: space-between;}
  64. .unit{align-items: flex-end;}
  65. .sale{font-size: 28rpx;color: #ff4a32;font-weight: bold;}
  66. .sale text{font-size: 18rpx;font-weight: normal;}
  67. .del{font-size: 22rpx;color: #7c7c7c;margin-left: 8rpx;text-decoration: line-through;}
  68. .jia{width: 42rpx;height: 42rpx;}
  69. .shop-pro{margin-top: 20rpx;align-items: flex-start;}
  70. .shop-l{background: #efefee;width: 145rpx;}
  71. .shop-l .li{height: 84rpx;padding: 20rpx;font-size: 24rpx;color: #5a5a5a;}
  72. .shop-l .li.active{background: #fff;color: #000;font-weight: 600;}
  73. .shop-l .li image{width: 28rpx;height: 28rpx;margin-right: 10rpx;}
  74. .shop-r{width: 605rpx;}
  75. .tit{height: 80rpx;padding: 0 20rpx;font-size: 28rpx;color: #000;background: #fff;line-height: 80rpx;}
  76. .tit text{font-size: 22rpx;color: #999;margin-left: 10rpx;}
  77. .buy{padding: 0 20rpx;}
  78. .buy .li{padding: 14rpx 0;}
  79. .buy-img{width: 48rpx;height: 48rpx;border-radius: 6rpx;margin-right: 12rpx;}
  80. .buy-tit{font-size: 28rpx;color: #000;margin-right: 20rpx;font-weight: bold;}
  81. .buy-count{background: #f2f1f0;border-radius: 5rpx;height: 25rpx;width: 40rpx;font-size: 20rpx;color: #999;margin-right: 25rpx;justify-content: center;}
  82. .buy .li .jia{margin-left: 20rpx;}
  83. .pro-list{padding: 0 20rpx;}
  84. .pro-list .li{padding: 20rpx 0;align-items: flex-start;}
  85. .pro-img{width: 175rpx;height: 175rpx;border-radius: 10rpx;margin-right: 20rpx;}
  86. .pro-tit{font-size: 30rpx;color: #000;font-weight: 600;line-height: 33rpx;max-height: 66rpx;overflow: hidden;}
  87. .pro-bri{font-size: 24rpx;color: #999;margin-top: 8rpx;}
  88. .sale-stock{font-size: 24rpx;color: #999;margin-top: 10rpx;}
  89. .zhe .li{height: 26rpx;border-radius: 6rpx;font-size: 22rpx;color: #ff4a32;border: 1rpx solid #f5ccc7;padding: 0 9rpx;margin-top: 20rpx;}