goodsSku.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. .sku-container {
  2. max-height: -webkit-max-content;
  3. max-height: max-content;
  4. overflow-y: auto;
  5. font-size: 28rpx;
  6. background: #fff;
  7. }
  8. .sku-header {
  9. margin-left: 30rpx;
  10. }
  11. .sku__goods-name{
  12. margin-bottom: 20rpx;
  13. font-size: 32rpx;
  14. }
  15. .check-box{
  16. padding: 20rpx 20rpx 0;
  17. display: flex;
  18. align-items: center;
  19. }
  20. .militaryTip{
  21. margin-bottom: 20rpx;
  22. color: #ee3a43;
  23. }
  24. .sku-header__goods-info {
  25. box-sizing: border-box;
  26. padding: 20rpx 120rpx 20rpx 0rpx;
  27. overflow: hidden;
  28. border-bottom: 2rpx solid #ebedf0;
  29. }
  30. .alternate{
  31. position: absolute;
  32. top: -16rpx;
  33. right: -10rpx;
  34. font-size: 18rpx;
  35. line-height: 20rpx;
  36. padding: 0 8rpx;
  37. border: 1rpx solid #f44;
  38. border-radius: 10rpx;
  39. border-bottom-left-radius: 0;
  40. color: #EE3A43;
  41. font-weight: 700;
  42. background: #fff;
  43. }
  44. .identify{
  45. position: absolute;
  46. top: -20rpx;
  47. border-radius: 20rpx;
  48. font-size: 20rpx;
  49. font-weight: 500;
  50. }
  51. .attr-r{
  52. padding: 0 10rpx;
  53. right: -20rpx;
  54. border-bottom-left-radius: 0;
  55. border: 4rpx solid #ebedf0;
  56. background: #969799;
  57. color: #fff;
  58. }
  59. .attr-l{
  60. background: #FEF5F5;
  61. color:#ee3a43;
  62. border:4rpx solid #fff;
  63. width: 30rpx;
  64. height: 30rpx;
  65. line-height: 30rpx;
  66. left: -18rpx;
  67. }
  68. .ellipsis {
  69. overflow: hidden;
  70. white-space: nowrap;
  71. text-overflow: ellipsis;
  72. }
  73. .van-sku__quota{color: #EE3A43;}
  74. .sku__goods-price {
  75. margin-top: 20rpx;
  76. color: #f44;
  77. vertical-align: middle;
  78. }
  79. .sku-body{
  80. overflow-y: scroll;
  81. padding-bottom: 270rpx;
  82. }
  83. .sku-group-container {
  84. margin-left: 30rpx;
  85. padding: 24rpx 0 4rpx;
  86. border-bottom: 2rpx solid #ebedf0;
  87. }
  88. .sku-row {
  89. margin: 0 30rpx 20rpx 0;
  90. }
  91. .sku-row__title {
  92. padding-bottom: 20rpx;
  93. }
  94. .sku-row__item {
  95. background: #f6f5f5;
  96. color: #333;
  97. border: 0 none;
  98. border-radius: 16rpx;
  99. line-height: 36rpx;
  100. display: inline-block;
  101. box-sizing: border-box;
  102. min-width: 104rpx;
  103. height: 56rpx;
  104. margin: 0 20rpx 20rpx 0;
  105. padding: 10rpx 18rpx;
  106. font-size: 24rpx;
  107. text-align: center;
  108. position: relative;
  109. }
  110. .sku-row__item--disabled {
  111. border-color: #ebedf0;
  112. color: #c8c9cc;
  113. }
  114. .sku-row__item--active {
  115. color: #fff;
  116. background: #f44;
  117. }
  118. .sku-stepper-stock {
  119. margin: 0 30rpx;
  120. padding: 24rpx 0;
  121. }
  122. .sku-stepper-container {
  123. display: flex;
  124. justify-content: space-between;
  125. align-items: center;
  126. }
  127. .sku__stepper-title {
  128. line-height: 60rpx;
  129. }
  130. .sku__stepper {
  131. float: right;
  132. }
  133. .stepper {
  134. font-size: 0;
  135. -webkit-user-select: none;
  136. user-select: none;
  137. display: flex;
  138. }
  139. .sku__stock {
  140. margin-right: 20rpx;
  141. color: #969799;
  142. }
  143. .stepper__minus,.stepper__plus{
  144. width: 44rpx;
  145. height: 44rpx;
  146. border: 1px solid #EE3A43;
  147. border-radius: 50%;
  148. position: relative;
  149. }
  150. .stepper__plus{
  151. background: #EE3A43;
  152. }
  153. .stepper__minus::before,.stepper__plus::before{
  154. content: '';
  155. width: 30rpx;
  156. height: 2rpx;
  157. background: #EE3A43;
  158. position: absolute;
  159. top:21rpx;
  160. left: 7rpx;
  161. }
  162. .stepper__plus::after{
  163. content: '';
  164. width: 2rpx;
  165. height: 30rpx;
  166. position: absolute;
  167. top:7rpx;
  168. left: 21rpx;
  169. }
  170. .stepper__plus::before,.stepper__plus::after{
  171. background: white;
  172. }
  173. .stepper__minus__diabled,.stepper__plus__diabled{
  174. background:white;
  175. border:1px solid gray;
  176. }
  177. .stepper__minus__diabled::before,
  178. .stepper__plus__diabled::before,
  179. .stepper__plus__diabled::after{
  180. background: gray;
  181. }
  182. .stepper__input{
  183. box-sizing: border-box;
  184. width: 64rpx;
  185. height: 48rpx;
  186. margin: 0 4rpx;
  187. padding: 0;
  188. color: #323233;
  189. font-size: 28rpx;
  190. line-height: 48rpx;
  191. text-align: center;
  192. vertical-align: middle;
  193. border: 0;
  194. border-width: 2rpx 0;
  195. border-radius: 0;
  196. -webkit-appearance: none;
  197. }
  198. .button.button-warn{
  199. background: #EE3A43;
  200. z-index: 9999;
  201. color: white;
  202. border-radius: 0;
  203. font-size: 32rpx;
  204. height: 100rpx;
  205. line-height: 100rpx;
  206. position: fixed;
  207. width: 100%;
  208. bottom: 0;
  209. }