cart.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /* pages/cart/cart.wxss */
  2. .page{padding: 0 20rpx 105rpx;}
  3. .cartPage{
  4. background-color: #f5f5f5;
  5. min-height: 100vh;
  6. }
  7. .top-fixed{position: fixed;left: 0;top: 0;right: 0;z-index: 50;background-color: #fff;}
  8. .bgcolor {background: #fff;position: absolute;top: 0;left: 0;right: 0;transition: .3s all ease;opacity: 0;}
  9. .opacity{opacity: 1;}
  10. .top-fixed-c{position: relative;}
  11. .back{position: absolute;top: 50%;transform: translateY(-50%);left: 0;padding-left: 30rpx;}
  12. .back image{width: 24rpx;height: 39rpx;}
  13. .top-title{font-size: 34rpx;color: #000;font-weight: bold;padding-left: 75rpx;max-width: 60%;}
  14. .top{background: #fff;padding: 20rpx 30rpx;}
  15. .cart{margin: 20rpx 0 0;background: #fff;border-radius: 10rpx;}
  16. .dian{height: 99rpx;border-bottom: 2rpx solid #E5E5E5;padding: 0 20rpx;align-items: center;}
  17. .dian view{font-size: 30rpx;color: #333;font-weight: bold;white-space: nowrap;
  18. overflow: hidden;
  19. text-overflow: ellipsis;}
  20. .dian .merchantName{width: 300rpx;}
  21. .list .li{display: flex;display: -webkit-flex;align-items: center;background: #fff;border-radius: 10rpx;padding: 0 20rpx 20rpx 14rpx;}
  22. .info{border-bottom: 2rpx solid #efefef;padding: 20rpx 0;overflow: hidden;}
  23. .checkbox{width: 54rpx;height: 180rpx;}
  24. .check{display: block;width: 34rpx;height: 34rpx;margin-top: 73rpx;}
  25. .dian .check{margin-top: 0;margin-right: 20rpx;}
  26. .cimgs{position: relative;width: 180rpx;height: 180rpx;box-sizing: border-box;border: 2rpx solid #E5E5E5;border-radius: 10rpx;margin-right: 20rpx;}
  27. .type{width: 82rpx;height: 36rpx;position: absolute;top: 2rpx;left:2rpx;}
  28. .cimg{width: 100%;height: 100%;}
  29. .gys{text-align: center;position: absolute;top: 140rpx;background: rgba(0,0,0,.6);width: 179rpx;color: white;}
  30. .zhinfo{flex:1;-webkit-flex: 1;overflow: hidden;position: relative;}
  31. .list .li:last-child .info{border-bottom: none;}
  32. .zhtit{font-size: 30rpx;color: #212121;line-height: 34rpx;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
  33. .guigecontent{
  34. margin-top: 5rpx;
  35. font-size: 22rpx;color: #999;
  36. display: flex;
  37. flex-direction: row;
  38. /* width: 58%; */
  39. }
  40. .guige{font-size: 22rpx;color: #999;}
  41. .jiage{display: flex;display: -webkit-flex;align-items: center;justify-content: space-between;margin-top: 45rpx;}
  42. .zhjia{font-size: 36rpx;color: #FE0419;}
  43. .zhjia text{font-size: 28rpx;}
  44. .num{height: 55rpx;border: 1rpx solid #E5E5E5;border-radius: 8rpx;box-sizing: border-box;display: flex;display: -webkit-flex;align-items: center;text-align: center;}
  45. .jian{display: block;width: 53rpx;height: 53rpx;line-height: 45rpx;font-size: 30rpx;color: #333;font-weight: bold;}
  46. .nums{display: block;height: 52rpx;line-height: 53rpx;font-size: 28rpx;color: #333;width: 66rpx;background: #fff;border-left: 1rpx solid #E5E5E5;border-right: 1rpx solid #E5E5E5;border-radius: 6rpx;}
  47. .bot{background: #fff;height: 85rpx;position: fixed;left: 0;right: 0;bottom: -1rpx;z-index: 80;display: flex;display: -webkit-flex;align-items: center;border-bottom: 1rpx solid #fafafa;}
  48. .botl{flex: 1;-webkit-flex: 1;display: flex;display: -webkit-flex;padding: 0 0 0 20rpx;align-items: center;}
  49. .botl .check{margin-top: 0;margin-right: 10rpx;}
  50. .all{display: flex;display: -webkit-flex;align-items: center;font-size: 24rpx;color: #6a6a6a;}
  51. .heji{line-height: 85rpx;font-size: 27rpx;color: #333;margin-left: 20rpx;}
  52. .heji text{color: #e80113;font-size: 40rpx;font-weight: bold;}
  53. .editc{height: 85rpx;line-height: 85rpx;padding: 0 30rpx;background: #fc9816;}
  54. .edit{font-size: 26rpx;color: #fff;}
  55. .jiesuan{width: 172rpx;height: 85rpx;line-height: 85rpx;background: #ff2900;font-size: 26rpx;color: #fff;text-align: center;}
  56. .top{justify-content: space-between;align-items: center;}
  57. .more{width: 16rpx;height: 25rpx; margin-left: 7rpx;}
  58. .gocou{margin-left: 10rpx; color:#333 !important ;font-size: 26rpx !important;align-items: center;}
  59. .tbg{font-size: 26rpx !important; font-weight: normal !important; align-items: center; color: #999 !important;}
  60. .putong{margin-top: 30rpx;}
  61. .price .vip {
  62. font-size: 24rpx;
  63. margin-left: 12rpx;
  64. color: var(--vip);
  65. border: 1rpx solid;
  66. padding: 0 8rpx 2rpx 8rpx;
  67. border-radius: 5px;
  68. font-weight: normal;
  69. }
  70. .price .vip .members{
  71. font-size: 24rpx !important;
  72. font-weight: normal !important;
  73. margin-left: 2rpx;
  74. }
  75. .price .vip .sale{
  76. font-size: 24rpx !important;
  77. font-weight: normal !important;
  78. }
  79. .mbggrays {
  80. background: linear-gradient(0deg, #e0e0e0, #c4c4c4) !important;
  81. }
  82. .tabe{
  83. font-size: 24rpx;
  84. color: #999;
  85. line-height: 40rpx;
  86. margin-top: 15rpx;
  87. }
  88. .tabe text{margin-left: 20rpx;}
  89. .tabe text:first-child{margin-left:0rpx}
  90. /* 猜你喜欢 */
  91. .cai{padding-bottom: 30rpx;}
  92. .cai-tit{align-items: center;justify-content: center;font-size: 30rpx;color: #EA6730;font-weight: bold;margin-bottom: 30rpx;}
  93. .cai-tit image{width: 63rpx;height: 5rpx;}
  94. .cai-tit image:first-child{margin-right: 20rpx;}
  95. .cai-tit image:last-child{margin-left: 20rpx;}
  96. .tabcon{flex-wrap: wrap;}
  97. .tabcon .li{background: #fff;border-radius: 10rpx;width: 345rpx;margin: 20rpx 20rpx 0 0;}
  98. .tabcon .li:nth-child(2n){margin-right: 0;}
  99. .jsdimgs{width: 345rpx;height: 345rpx;position: relative;}
  100. .jsdpro{width: 100%;height: 100%;}
  101. .jsdimg{width: 82rpx;height: 36rpx;position: absolute;top: 20rpx;left: 20rpx;}
  102. .jsdinfo{padding: 15rpx 20rpx 30rpx;}
  103. .proname{font-size: 28rpx;color: #333;/* text-overflow: ellipsis;white-space: nowrap; */line-height: 36rpx;height: 72rpx;overflow: hidden;margin-bottom: 20rpx;}
  104. .operate{justify-content: space-between;align-items: center;}
  105. .price{font-size: 24rpx;color: #FE0419; align-items: center;
  106. display: flex;}
  107. .price text{font-size: 36rpx;font-weight: bold;}
  108. .price .del{font-weight: normal;font-size: 24rpx;color: #999;margin-left: 12rpx;text-decoration: line-through;}
  109. .add-cart image{width: 42rpx;height: 42rpx;}
  110. .integral{color: #FE0419;}
  111. .integral .intnum{font-size: 36rpx;}
  112. .integral .money{font-size: 28rpx;}
  113. .cart-login{background: var(--mina);font-size: 30rpx;color: #fff;font-weight: bold;height: 80rpx;line-height: 80rpx;border-radius: 40rpx;padding: 0 30rpx;position: fixed;top: 50%;left: 50%;transform: translate(-50%,-50%);white-space: nowrap;}