goods-specs-popup.less 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. .popup-container {
  2. background-color: #ffffff;
  3. position: relative;
  4. z-index: 100;
  5. border-radius: 16rpx 16rpx 0 0;
  6. padding-bottom: calc(constant(safe-area-inset-bottom) + 20rpx);
  7. padding-bottom: calc(env(safe-area-inset-bottom) + 20rpx);
  8. }
  9. .popup-container .popup-close {
  10. position: absolute;
  11. right: 30rpx;
  12. top: 30rpx;
  13. z-index: 9;
  14. color: #999999;
  15. }
  16. .popup-sku-header {
  17. display: flex;
  18. padding: 30rpx 28rpx 0 30rpx;
  19. }
  20. .popup-sku-header .popup-sku-header__img {
  21. width: 260rpx;
  22. height: 176rpx;
  23. border-radius: 8rpx;
  24. background: #d8d8d8;
  25. margin-right: 24rpx;
  26. }
  27. .popup-sku-header .popup-sku-header__goods-info {
  28. position: relative;
  29. width: 500rpx;
  30. }
  31. .popup-sku-header .popup-sku-header__goods-info .popup-sku__goods-name {
  32. font-size: 28rpx;
  33. line-height: 40rpx;
  34. display: -webkit-box;
  35. -webkit-line-clamp: 2;
  36. -webkit-box-orient: vertical;
  37. white-space: normal;
  38. overflow: hidden;
  39. width: 430rpx;
  40. text-overflow: ellipsis;
  41. }
  42. .popup-sku-header .popup-sku-header__goods-info .popup-sku__selected-spec {
  43. display: flex;
  44. flex-wrap: wrap;
  45. color: #333333;
  46. font-size: 26rpx;
  47. line-height: 36rpx;
  48. }
  49. .popup-sku-header
  50. .popup-sku-header__goods-info
  51. .popup-sku__selected-spec
  52. .popup-sku__selected-item {
  53. margin-right: 10rpx;
  54. }
  55. .popup-sku-body {
  56. margin: 0 30rpx 40rpx;
  57. max-height: 600rpx;
  58. overflow-y: scroll;
  59. -webkit-overflow-scrolling: touch;
  60. }
  61. .popup-sku-body .popup-sku-group-container .popup-sku-row {
  62. padding: 32rpx 0;
  63. border-bottom: 1rpx solid #f5f5f5;
  64. }
  65. .popup-sku-body .popup-sku-group-container .popup-sku-row .popup-sku-row__title {
  66. font-size: 26rpx;
  67. color: #333;
  68. }
  69. .popup-sku-body .popup-sku-group-container .popup-sku-row .popup-sku-row__item {
  70. font-size: 24rpx;
  71. color: #333;
  72. min-width: 128rpx;
  73. min-height: 56rpx;
  74. background-color: #f5f5f5;
  75. border-radius: 8rpx;
  76. border: 2rpx solid #f5f5f5;
  77. margin: 19rpx 26rpx 0 0;
  78. padding: 0 16rpx;
  79. display: inline-flex;
  80. align-items: center;
  81. justify-content: center;
  82. flex-direction: column;
  83. }
  84. .popup-sku-body .popup-sku-group-container .popup-sku-row .popup-sku-row__item image {
  85. margin-top: 12rpx;
  86. width: 140rpx;
  87. flex: 1;
  88. }
  89. .popup-sku-body
  90. .popup-sku-group-container
  91. .popup-sku-row
  92. .popup-sku-row__item.popup-sku-row__item--active {
  93. border: 2rpx solid #333;
  94. color: #fff;
  95. background: #333;
  96. }
  97. .popup-sku-body .popup-sku-group-container .popup-sku-row .disabled-sku-selected {
  98. background: #f5f5f5 !important;
  99. color: #cccccc;
  100. }
  101. .popup-sku-body .popup-sku-stepper-stock .popup-sku-stepper-container {
  102. display: flex;
  103. align-items: center;
  104. justify-content: space-between;
  105. margin: 40rpx 0;
  106. }
  107. .popup-sku-body .popup-sku-stepper-stock .popup-sku-stepper-container .popup-sku__stepper-title {
  108. display: flex;
  109. font-size: 26rpx;
  110. color: #333;
  111. }
  112. .popup-sku-body
  113. .popup-sku-stepper-stock
  114. .popup-sku-stepper-container
  115. .popup-sku__stepper-title
  116. .limit-text {
  117. margin-left: 10rpx;
  118. color: #999999;
  119. }
  120. .popup-sku-body .popup-sku-stepper-stock .popup-sku-stepper-container .popup-stepper {
  121. display: flex;
  122. flex-flow: row nowrap;
  123. align-items: center;
  124. font-size: 28px;
  125. height: 48rpx;
  126. line-height: 62rpx;
  127. }
  128. .popup-sku-body .popup-sku-stepper-stock .popup-sku-stepper-container .popup-stepper .input-btn,
  129. .popup-sku-body
  130. .popup-sku-stepper-stock
  131. .popup-sku-stepper-container
  132. .popup-stepper
  133. .input-num-wrap {
  134. position: relative;
  135. height: 100%;
  136. text-align: center;
  137. background-color: #f5f5f5;
  138. border-radius: 4rpx;
  139. }
  140. .popup-sku-body
  141. .popup-sku-stepper-stock
  142. .popup-sku-stepper-container
  143. .popup-stepper
  144. .input-num-wrap {
  145. color: #282828;
  146. display: flex;
  147. max-width: 76rpx;
  148. align-items: center;
  149. justify-content: space-between;
  150. }
  151. .popup-sku-body
  152. .popup-sku-stepper-stock
  153. .popup-sku-stepper-container
  154. .popup-stepper
  155. .input-num-wrap
  156. .input-num {
  157. height: 100%;
  158. width: auto;
  159. font-weight: 600;
  160. font-size: 30rpx;
  161. }
  162. .popup-sku-body .popup-sku-stepper-stock .popup-sku-stepper-container .popup-stepper .input-btn {
  163. width: 48rpx;
  164. }
  165. .popup-sku-body
  166. .popup-sku-stepper-stock
  167. .popup-sku-stepper-container
  168. .popup-stepper
  169. .popup-stepper__minus {
  170. margin-right: 4rpx;
  171. border-radius: 4rpx;
  172. color: #9a979b;
  173. display: flex;
  174. align-items: center;
  175. justify-content: center;
  176. }
  177. .popup-sku-body
  178. .popup-sku-stepper-stock
  179. .popup-sku-stepper-container
  180. .popup-stepper
  181. .popup-stepper__plus {
  182. margin-left: 4rpx;
  183. border-radius: 4rpx;
  184. color: #9a979b;
  185. display: flex;
  186. align-items: center;
  187. justify-content: center;
  188. }
  189. .popup-sku-body
  190. .popup-sku-stepper-stock
  191. .popup-sku-stepper-container
  192. .popup-stepper
  193. .popup-stepper__plus::after {
  194. width: 24rpx;
  195. height: 3rpx;
  196. background-color: #999999;
  197. }
  198. .popup-sku-body
  199. .popup-sku-stepper-stock
  200. .popup-sku-stepper-container
  201. .popup-stepper
  202. .popup-stepper__plus::before {
  203. width: 3rpx;
  204. height: 24rpx;
  205. background-color: #999999;
  206. }
  207. .popup-sku-actions {
  208. font-size: 32rpx;
  209. height: 80rpx;
  210. text-align: center;
  211. line-height: 80rpx;
  212. padding: 0 20rpx;
  213. }
  214. .popup-sku-actions .sku-operate {
  215. height: 80rpx;
  216. width: 50%;
  217. color: #fff;
  218. border-radius: 48rpx;
  219. }
  220. .popup-sku-actions .sku-operate .sku-operate-addCart {
  221. background-color: #ffece9;
  222. color: #fa4126;
  223. border-radius: 48rpx 0 0 48rpx;
  224. }
  225. .popup-sku-actions .sku-operate .sku-operate-addCart.disabled {
  226. background: rgb(221, 221, 221);
  227. color: #fff;
  228. }
  229. .popup-sku-actions .sku-operate .sku-operate-buyNow {
  230. background-color: #fa4126;
  231. border-radius: 0 48rpx 48rpx 0;
  232. }
  233. .popup-sku-actions .sku-operate .sku-operate-buyNow.disabled {
  234. color: #fff;
  235. background: rgb(198, 198, 198);
  236. }
  237. .popup-sku-actions .sku-operate .selected-sku-btn {
  238. width: 100%;
  239. }
  240. .popup-container .single-confirm-btn {
  241. border-radius: 48rpx;
  242. color: #ffffff;
  243. margin: 0 32rpx;
  244. font-size: 32rpx;
  245. height: 80rpx;
  246. text-align: center;
  247. line-height: 88rpx;
  248. background-color: #333;
  249. border-radius: 8rpx;
  250. }
  251. .popup-container .single-confirm-btn.disabled {
  252. font-size: 32rpx;
  253. color: #fff;
  254. background-color: #dddddd;
  255. }