sku.wxss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. .sku-container {
  2. max-height: -webkit-max-content;
  3. max-height: max-content;
  4. overflow-y: auto;
  5. /* height: 986rpx; */
  6. height: 100%;
  7. font-size: 28rpx;
  8. background: #F5F5F4;
  9. /* padding-bottom: 80rpx; */
  10. }
  11. .militaryTip {
  12. margin-top: 20rpx;
  13. color: #ee3a43;
  14. }
  15. .warning {
  16. font-weight: 700;
  17. margin-top: 20rpx;
  18. margin-bottom: 20rpx;
  19. }
  20. .spacing {
  21. margin: 10rpx 0;
  22. }
  23. .modular .modal-title {
  24. border: unset;
  25. margin-bottom: -20rpx;
  26. }
  27. .check-box {
  28. padding: 20rpx 20rpx 0;
  29. display: flex;
  30. align-items: center;
  31. }
  32. .friend-share-tip {
  33. padding: 0 20rpx;
  34. line-height: 2;
  35. background: #EE3A43;
  36. color: #fff;
  37. /* position: absolute; */
  38. top: 0;
  39. width: 100%;
  40. z-index: 1000;
  41. }
  42. .sku-container .m-top40 {
  43. margin-top: 40rpx;
  44. }
  45. .column-title {
  46. color: #878787;
  47. line-height: 2;
  48. }
  49. .sku-column {
  50. padding-bottom: 30rpx;
  51. margin-bottom: 20rpx;
  52. border-bottom: 1rpx solid #c7c8c9;
  53. }
  54. .sku-column-body {
  55. display: flex;
  56. flex-direction: row;
  57. flex-wrap: wrap;
  58. font-size: 24rpx;
  59. }
  60. .sku-column-body .sku-package {
  61. width: calc(100%/3 - 20rpx);
  62. margin-top: 20rpx;
  63. padding: 0 10rpx;
  64. text-align: center;
  65. }
  66. .sku-column-body .sku-sessions {
  67. width: calc(50% - 40rpx);
  68. margin-top: 20rpx;
  69. padding: 0 20rpx;
  70. text-align: center;
  71. }
  72. .sku-sessions-box {
  73. /* background: #c8c9cc; */
  74. border: 1rpx solid #C7C8C9;
  75. padding: 10rpx 0;
  76. border-radius: 15rpx;
  77. line-height: 1.5;
  78. font-weight: 700;
  79. position: relative;
  80. }
  81. .flex-box {
  82. height: 70rpx;
  83. display: flex;
  84. flex-direction: column;
  85. justify-content: center;
  86. }
  87. .sku-header {
  88. margin-left: 30rpx;
  89. }
  90. .sku__goods-name {
  91. margin-bottom: 20rpx;
  92. font-size: 32rpx;
  93. }
  94. .sku-header__goods-info {
  95. box-sizing: border-box;
  96. padding: 20rpx 120rpx 20rpx 0rpx;
  97. overflow: hidden;
  98. border-bottom: 2rpx solid #ebedf0;
  99. }
  100. /* .alternate{
  101. position: absolute;
  102. top: -16rpx;
  103. right: -10rpx;
  104. font-size: 18rpx;
  105. line-height: 20rpx;
  106. padding: 0 8rpx;
  107. border: 1rpx solid #f44;
  108. border-radius: 10rpx;
  109. border-bottom-left-radius: 0;
  110. color: #EE3A43;
  111. font-weight: 700;
  112. background: #fff;
  113. } */
  114. .ellipsis {
  115. overflow: hidden;
  116. white-space: nowrap;
  117. text-overflow: ellipsis;
  118. }
  119. .van-sku__quota {
  120. /* color: var(--subtitleColor); */
  121. }
  122. .sku__goods-price {
  123. margin-top: 20rpx;
  124. color: #f44;
  125. vertical-align: middle;
  126. }
  127. .sku-body {
  128. overflow-y: scroll;
  129. padding-bottom: 270rpx;
  130. }
  131. .sku-group-container {
  132. margin-left: 30rpx;
  133. padding: 24rpx 0 4rpx;
  134. border-bottom: 2rpx solid #ebedf0;
  135. }
  136. .sku-row {
  137. margin: 0 30rpx 20rpx 0;
  138. }
  139. .sku-row__title {
  140. padding-bottom: 20rpx;
  141. }
  142. .sku-row__item {
  143. background: #f6f5f5;
  144. color: #333;
  145. border: 0 none;
  146. border-radius: 16rpx;
  147. line-height: 36rpx;
  148. display: inline-block;
  149. box-sizing: border-box;
  150. min-width: 104rpx;
  151. height: 56rpx;
  152. margin: 0 20rpx 20rpx 0;
  153. padding: 10rpx 18rpx;
  154. font-size: 24rpx;
  155. text-align: center;
  156. position: relative;
  157. }
  158. .sku-row__item--disabled {
  159. border-color: #ebedf0;
  160. color: #c8c9cc;
  161. }
  162. .sku-column-body .sku-sessions .sku-row__item--active,
  163. .sku-column-body .sku-package .sku-row__item--active {
  164. color: #000;
  165. background: var(--subtitleColor);
  166. border: var(--subtitleColor);
  167. }
  168. .sku-column-body .sku-row__item--active .sessions-title {
  169. color: #000;
  170. }
  171. .sku-column-body .sku-sessions .sku-row__item--active .sessions-status {
  172. color: #000;
  173. border: 1px solid #000;
  174. }
  175. .sku-column-quota {
  176. display: flex;
  177. flex-direction: row;
  178. justify-content: space-between;
  179. align-items: center;
  180. margin-bottom: 20rpx;
  181. }
  182. .sku-stepper-stock {
  183. margin-left: 30rpx;
  184. padding: 24rpx 0;
  185. }
  186. .sku-stepper-container {
  187. height: 60rpx;
  188. margin-right: 40rpx;
  189. }
  190. .sku__stepper-title {
  191. float: left;
  192. line-height: 60rpx;
  193. }
  194. .sku__stepper {
  195. float: right;
  196. }
  197. .stepper {
  198. font-size: 0;
  199. -webkit-user-select: none;
  200. user-select: none;
  201. display: flex;
  202. }
  203. .sku__stock {
  204. margin-right: 20rpx;
  205. color: #969799;
  206. }
  207. .stepper__minus,
  208. .stepper__plus {
  209. width: 44rpx;
  210. height: 44rpx;
  211. border: 1px solid var(--subtitleColor);
  212. border-radius: 50%;
  213. position: relative;
  214. }
  215. .stepper__plus {
  216. background: var(--subtitleColor);
  217. }
  218. .stepper__minus::before,
  219. .stepper__plus::before {
  220. content: '';
  221. width: 30rpx;
  222. height: 2rpx;
  223. background: #000;
  224. position: absolute;
  225. top: 21rpx;
  226. left: 7rpx;
  227. }
  228. .stepper__plus::after {
  229. content: '';
  230. width: 2rpx;
  231. height: 30rpx;
  232. position: absolute;
  233. top: 7rpx;
  234. left: 21rpx;
  235. }
  236. .stepper__plus::before,
  237. .stepper__plus::after {
  238. background: #000;
  239. }
  240. .stepper__minus__diabled,
  241. .stepper__plus__diabled {
  242. background: white;
  243. border: 1px solid gray;
  244. }
  245. .stepper__minus__diabled::before,
  246. .stepper__plus__diabled::before,
  247. .stepper__plus__diabled::after {
  248. background: gray;
  249. }
  250. .stepper__input {
  251. box-sizing: border-box;
  252. width: 64rpx;
  253. height: 48rpx;
  254. margin: 0 4rpx;
  255. padding: 0;
  256. color: #323233;
  257. font-size: 28rpx;
  258. line-height: 48rpx;
  259. text-align: center;
  260. vertical-align: middle;
  261. border: 0;
  262. border-width: 2rpx 0;
  263. border-radius: 0;
  264. -webkit-appearance: none;
  265. }
  266. .button.button-warn {
  267. background: #EE3A43;
  268. color: white;
  269. font-size: 32rpx;
  270. }
  271. .button.button-subtitle{background-color: var(--subtitleColor); color: #000;font-size: 32rpx;}
  272. .bottom-btns-box {
  273. position: absolute;
  274. bottom: 0;
  275. width: calc(100% - 120rpx);
  276. padding: 10rpx 60rpx;
  277. background: #fff;
  278. z-index: 10002;
  279. box-shadow: 0 -2rpx 5rpx rgba(0, 0, 0, .2);
  280. }
  281. .sku-box-top {
  282. margin-top: 20rpx;
  283. border-top-left-radius: 20rpx;
  284. border-top-right-radius: 20rpx;
  285. padding: 20rpx;
  286. background: #fff;
  287. padding-bottom: 120rpx;
  288. }
  289. .sessions-status {
  290. border: 1rpx solid #C7C8C9;
  291. padding: 0 10rpx;
  292. border-radius: 20rpx;
  293. font-size: 22rpx;
  294. }
  295. .meals-status {
  296. font-size: 22rpx;
  297. }
  298. .identify {
  299. position: absolute;
  300. top: -20rpx;
  301. border-radius: 20rpx;
  302. font-size: 20rpx;
  303. font-weight: 500;
  304. }
  305. .attr-r {
  306. padding: 0 10rpx;
  307. right: -20rpx;
  308. border-bottom-left-radius: 0;
  309. border: 4rpx solid #ebedf0;
  310. background: #969799;
  311. color: #fff;
  312. }
  313. .attr-l {
  314. background: #FEF5F5;
  315. color: #ee3a43;
  316. border: 4rpx solid #fff;
  317. width: 30rpx;
  318. height: 30rpx;
  319. line-height: 30rpx;
  320. left: -10rpx;
  321. }
  322. .sessions-title {
  323. color: #717071;
  324. }
  325. .presell-price-view {
  326. display: flex;
  327. flex-direction: column;
  328. }
  329. /* 场次状态 */
  330. .sku-sessions .full,
  331. .sku-package .full {
  332. background: #EDEDEE;
  333. color: #C7C8C9;
  334. }
  335. .full .sessions-title {
  336. color: #C7C8C9;
  337. }
  338. .sku-sessions .sale {
  339. color: #717071;
  340. }
  341. .sku-sessions .sale .sessions-status {
  342. color: #07BB98;
  343. border: 1px solid #07BB98;
  344. }
  345. .sku-sessions .few-quota {
  346. color: #717071;
  347. }
  348. .sku-sessions .few-quota .sessions-status {
  349. color: #ee3a43;
  350. border: 1px solid #ee3a43;
  351. }
  352. .sku-sessions .alternate,
  353. .sku-package .alternate {
  354. color: #C7C8C9;
  355. }
  356. .alternate .sessions-title {
  357. color: #C7C8C9;
  358. }