index.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. .goods-bottom-bar {
  2. height: 96rpx;
  3. display: flex;
  4. }
  5. .goods-bottom-bar .leftBtn {
  6. height: 94rpx;
  7. display: flex;
  8. border-top: 2rpx solid #efefef;
  9. }
  10. .goods-bottom-bar .leftBtn .bar-item {
  11. display: flex;
  12. justify-content: center;
  13. align-items: center;
  14. flex-direction: column;
  15. }
  16. .goods-bottom-bar .leftBtn .back-to-index {
  17. width: 132rpx;
  18. height: 94rpx;
  19. font-size: 20rpx;
  20. color: #707070;
  21. }
  22. .goods-bottom-bar .leftBtn .back-to-index .icon {
  23. width: 54rpx;
  24. height: 54rpx;
  25. }
  26. .goods-bottom-bar .leftBtn .shop-cart {
  27. width: 132rpx;
  28. height: 96rpx;
  29. font-size: 20rpx;
  30. color: #707070;
  31. position: relative;
  32. }
  33. .goods-bottom-bar .leftBtn .shop-cart .icon {
  34. width: 54rpx;
  35. height: 54rpx;
  36. position: relative;
  37. }
  38. .goods-bottom-bar .leftBtn .shop-cart .icon .img {
  39. width: 100%;
  40. height: 100%;
  41. }
  42. .goods-bottom-bar .leftBtn .shop-cart .icon .cart-num {
  43. position: absolute;
  44. right: -16rpx;
  45. top: -4rpx;
  46. width: 36rpx;
  47. height: 36rpx;
  48. background: #ff384a;
  49. border-radius: 36rpx;
  50. color: #fff;
  51. font-size: 22rpx;
  52. display: flex;
  53. justify-content: center;
  54. align-items: center;
  55. }
  56. .goods-bottom-bar .goodsStatus {
  57. width: 100%;
  58. height: 96rpx;
  59. background: #dcdcdc;
  60. font-size: 30rpx;
  61. color: #fff;
  62. display: flex;
  63. justify-content: center;
  64. align-items: center;
  65. }
  66. .goods-bottom-bar .gobuy {
  67. flex: 1;
  68. display: flex;
  69. align-items: center;
  70. justify-content: space-between;
  71. font-weight: bold;
  72. }
  73. .goods-bottom-bar .gobuy .add-to-cart {
  74. width: 240rpx;
  75. height: 96rpx;
  76. background: linear-gradient(270deg, #f9c706 0%, #feb600 100%);
  77. color: #fff;
  78. font-size: 30rpx;
  79. display: flex;
  80. justify-content: center;
  81. align-items: center;
  82. }
  83. .goods-bottom-bar .gobuy .btn {
  84. width: 208rpx;
  85. height: 96rpx;
  86. position: absolute;
  87. opacity: 0;
  88. z-index: 9;
  89. top: 0;
  90. padding: 0;
  91. margin: 0;
  92. }
  93. .goods-bottom-bar .gobuy .balanceBtn {
  94. display: flex;
  95. flex: 1;
  96. }
  97. .goods-bottom-bar .gobuy .balanceBtn .balance {
  98. height: 96rpx;
  99. flex: 1;
  100. background: linear-gradient(90deg, #ff5041 0%, #ff695c 100%);
  101. color: #fff;
  102. font-size: 30rpx;
  103. display: flex;
  104. justify-content: center;
  105. align-items: center;
  106. }