goods.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. /* pages/goods/goods.wxss */
  2. @import "./goods.skeleton.wxss";
  3. page {
  4. background: #F8F8F8;
  5. }
  6. .goods {}
  7. swiper {
  8. width: 750rpx;
  9. height: 750rpx;
  10. background: #FFFFFF;
  11. }
  12. swiper image {
  13. width: 750rpx;
  14. height: 750rpx;
  15. background: #FFFFFF;
  16. }
  17. .info {
  18. margin-top: 20rpx;
  19. }
  20. .price {
  21. font-weight: Bold;
  22. font-size: 40rpx;
  23. color: #D1222C;
  24. }
  25. .prodName {
  26. font-weight: 500;
  27. font-size: 32rpx;
  28. color: #0D0D0D;
  29. line-height: 48rpx;
  30. }
  31. .simpleTitle {
  32. font-weight: 400;
  33. font-size: 24rpx;
  34. color: #424242;
  35. line-height: 48rpx;
  36. }
  37. .desc {
  38. font-weight: 400;
  39. font-size: 20rpx;
  40. color: #A2A2A2;
  41. line-height: 40rpx;
  42. }
  43. .number {
  44. flex: 1;
  45. text-align: right;
  46. }
  47. .number view:first-child {
  48. flex: auto;
  49. display: inline-block;
  50. /* width: 38rpx;
  51. height: 38rpx;
  52. border-radius: 50%;
  53. border: 1px solid #373737;
  54. text-align: center; */
  55. font-size: 38rpx;
  56. vertical-align: middle;
  57. margin-right: 10rpx;
  58. }
  59. .number input {
  60. display: inline-block;
  61. width: 60rpx;
  62. height: 38rpx;
  63. vertical-align: middle;
  64. background: #F8F8F8;
  65. font-size: 25rpx;
  66. padding: 0 10rpx;
  67. box-sizing: border-box;
  68. text-align: center;
  69. line-height: 38rpx;
  70. font-size: 20rpx;
  71. color: #000000;
  72. }
  73. .number view:last-child {
  74. display: inline-block;
  75. /* width: 38rpx; */
  76. /* height: 38rpx;
  77. border-radius: 50%; */
  78. /* border: 1px solid #373737; */
  79. /* text-align: center; */
  80. line-height: 38rpx;
  81. font-size: 38rpx;
  82. vertical-align: middle;
  83. margin-left: 10rpx;
  84. }
  85. .goodsInfo .cell {
  86. line-height: 40rpx !important;
  87. min-height: 40rpx !important;
  88. }
  89. .goodsInfo .cell .cellText {
  90. flex: 1;
  91. font-weight: 400 !important;
  92. font-size: 20rpx !important;
  93. color: #A2A2A2 !important;
  94. line-height: 40rpx !important;
  95. height: 40rpx !important;
  96. }
  97. .cartBtn {
  98. position: fixed;
  99. width: 100%;
  100. left: 0;
  101. bottom: 0;
  102. width: 750rpx;
  103. height: 128rpx;
  104. background: #FFFFFF;
  105. display: flex;
  106. flex-flow: row;
  107. align-items: center;
  108. justify-content: space-between;
  109. align-content: center;
  110. padding-left: 60rpx;
  111. padding-right: 24rpx;
  112. box-sizing: border-box;
  113. z-index: 999;
  114. }
  115. .cartTip {
  116. position: relative;
  117. }
  118. .cartTip .icon-gouwuche3 {
  119. display: inline-block;
  120. font-size: 50rpx;
  121. }
  122. .badge {
  123. position: absolute;
  124. top: -14rpx;
  125. right: -16rpx;
  126. min-width: 30rpx;
  127. height: 30rpx;
  128. background: #D20101;
  129. border-radius: 50%;
  130. color: #FFFFFF;
  131. font-weight: 500;
  132. font-size: 16rpx;
  133. line-height: 14rpx;
  134. text-align: center;
  135. padding: 10rpx;
  136. box-sizing: border-box;
  137. }
  138. .addCart {
  139. width: 568rpx;
  140. height: 94rpx;
  141. background: #00BC8A;
  142. border-radius: 8rpx;
  143. font-weight: 500;
  144. font-size: 36rpx;
  145. color: #FFFFFF;
  146. line-height: 94rpx;
  147. text-align: center;
  148. }