index.wxss 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  1. page {
  2. background: #f3f3f3;
  3. }
  4. view {
  5. word-break: break-all;
  6. /* overflow: auto; */
  7. }
  8. /* 箭头图标 */
  9. .icon-arrow {
  10. display: inline-block;
  11. width: 0;
  12. height: 0;
  13. border-width: 10rpx;
  14. border-style: solid;
  15. border-color: transparent transparent transparent #ccc;
  16. }
  17. /* 商品信息 */
  18. .header {
  19. margin: auto;
  20. margin-top: 70rpx;
  21. padding: 30rpx 20rpx;
  22. width: 95%;
  23. background: #fff;
  24. border-radius: 10rpx;
  25. box-sizing: border-box;
  26. box-shadow: 0px 5px 12px rgb(226, 226, 226);
  27. }
  28. .header .header_lf {
  29. box-shadow: 0px 2px 8px #e6e6e6;
  30. margin: -70rpx 20rpx 10rpx 10rpx;
  31. }
  32. .header .header_lf image {
  33. display: block;
  34. width: 320rpx;
  35. height: 320rpx;
  36. }
  37. .header .header_rt {
  38. background: #fff;
  39. }
  40. .header .header_rt .goods-name {
  41. display: block;
  42. font-size: 24rpx;
  43. line-height: 2;
  44. }
  45. .header .header_rt .goods-price {
  46. margin: 20rpx 10rpx;
  47. }
  48. .header .header_rt .goods-price .m-price {
  49. display: inline-block;
  50. font-size: 40rpx;
  51. color: #ff495e;
  52. }
  53. .header .header_rt .goods-price .line-price {
  54. display: inline-block;
  55. margin: 10rpx;
  56. font-size: 24rpx;
  57. color: #8e8e8e;
  58. text-decoration: line-through;
  59. }
  60. .header .header_rt .goods-tag .tag-item {
  61. display: inline-block;
  62. padding: 4rpx 12rpx;
  63. font-size: 24rpx;
  64. line-height: 36rpx;
  65. border-radius: 5rpx;
  66. color: #ff6464;
  67. background: #feeeee;
  68. margin-left: 10rpx;
  69. margin-bottom: 10rpx;
  70. box-sizing: border-box;
  71. }
  72. .header:after {
  73. display: block;
  74. clear: both;
  75. content: "";
  76. visibility: hidden;
  77. height: 0;
  78. }
  79. /* 拼团成员 */
  80. .main {
  81. margin: auto;
  82. margin-top: 30rpx;
  83. padding: 50rpx 20rpx;
  84. width: 95%;
  85. background: #fff;
  86. border-radius: 10rpx;
  87. box-sizing: border-box;
  88. box-shadow: 0px 5px 12px rgb(226, 226, 226);
  89. }
  90. .main .main_user {
  91. display: flex;
  92. margin: auto;
  93. width: 600rpx;
  94. flex-wrap: wrap;
  95. margin-bottom: 30rpx;
  96. }
  97. .main .main_user .user-item {
  98. width: 100rpx;
  99. height: 100rpx;
  100. margin: 0 25rpx 25rpx 0;
  101. position: relative;
  102. box-sizing: border-box;
  103. }
  104. .main .main_user .user-item:nth-child(5n+0) {
  105. margin-right: 0;
  106. }
  107. .main .main_user .user-item image {
  108. width: 100%;
  109. height: 100%;
  110. border-radius: 50%;
  111. border: 1rpx solid #f3f3f3;
  112. }
  113. .main .main_user .user-item .user-role {
  114. width: 100%;
  115. text-align: center;
  116. height: 40rpx;
  117. position: absolute;
  118. left: 0;
  119. bottom: -1rpx;
  120. }
  121. .main .main_user .user-item .user-role text {
  122. background: #fa1e8c;
  123. border-radius: 15rpx;
  124. display: inline-block;
  125. line-height: 1.4;
  126. font-size: 24rpx;
  127. color: #fff;
  128. width: 78rpx;
  129. }
  130. .main .main_user .user-item.user-item__wait {
  131. border-radius: 50%;
  132. background: #f8f8f8;
  133. border: 1rpx dashed #dbdbdb;
  134. }
  135. .main .main_user .user-item.user-item__wait text {
  136. color: #dbdbdb;
  137. font-size: 38rpx;
  138. }
  139. /* 拼团状态 */
  140. .main_status {
  141. margin-bottom: 40rpx;
  142. font-size: 35rpx;
  143. text-align: center;
  144. }
  145. .main_status__fail {
  146. color: #ff495e;
  147. }
  148. .main_status__success {
  149. color: #08b625;
  150. }
  151. .main_status .status-icon {
  152. margin-right: 15rpx;
  153. }
  154. /* 倒计时 */
  155. .main_tiem {
  156. margin-bottom: 40rpx;
  157. font-size: 32rpx;
  158. text-align: center;
  159. display: flex;
  160. justify-content: center;
  161. }
  162. .main_tiem .main_timer_color {
  163. color: #fc8434;
  164. }
  165. .main button {
  166. display: block;
  167. margin-top: 40rpx;
  168. width: 350rpx;
  169. line-height: 90rpx;
  170. font-size: 29rpx;
  171. background: #fbeb4e;
  172. border: none;
  173. box-shadow: 0px 3px 12px #fbc293;
  174. }
  175. .main button:after {
  176. content: none;
  177. border: none;
  178. }
  179. /* 更多拼团 */
  180. .content {
  181. margin: auto;
  182. margin-top: 30rpx;
  183. width: 95%;
  184. background: #fff;
  185. border-radius: 10rpx;
  186. box-sizing: border-box;
  187. box-shadow: 0px 5px 12px rgb(226, 226, 226);
  188. }
  189. .content_top {
  190. padding: 35rpx 20rpx;
  191. display: flex;
  192. padding-bottom: 30rpx;
  193. justify-content: space-between;
  194. align-items: center;
  195. }
  196. .content_main {
  197. padding: 25rpx;
  198. justify-content: space-between;
  199. border-top: 1rpx solid rgb(238, 238, 238);
  200. }
  201. .content_main .goods-image {
  202. width: 240rpx;
  203. height: 240rpx;
  204. border-radius: 10rpx;
  205. }
  206. .content_main .goods-image image {
  207. display: block;
  208. width: 100%;
  209. height: 100%;
  210. }
  211. .content_main .goods-detail {
  212. position: relative;
  213. width: 410rpx;
  214. }
  215. .content_main .goods-detail .goods-name {
  216. font-size: 24rpx;
  217. line-height: 2;
  218. height: 96rpx;
  219. }
  220. .content_main .goods-detail .goods-sales {
  221. margin: 20rpx 0;
  222. font-size: 24rpx;
  223. color: #fc8434;
  224. }
  225. .content_main .goods-detail .goods-detail_bottom {
  226. overflow: hidden;
  227. height: 55rpx;
  228. }
  229. .content_main .goods-detail .goods-detail_bottom .bottom-right {
  230. height: 100%;
  231. line-height: 1;
  232. }
  233. .content_main .goods-detail .goods-price {
  234. font-size: 38rpx;
  235. }
  236. .content_main .goods-detail .line-price {
  237. margin: 0 20rpx 0 10rpx;
  238. font-size: 24rpx;
  239. color: #8e8e8e;
  240. text-decoration: line-through;
  241. }
  242. .content_main .goods-detail .btn-navie {
  243. margin: 0;
  244. padding: 0;
  245. width: 130rpx;
  246. background: linear-gradient(to right, #fa1e8c 0, #fc1e56 100%);
  247. line-height: 55rpx;
  248. height: 100%;
  249. color: #fff;
  250. font-size: 26rpx;
  251. }
  252. /* 拼团须知 */
  253. .notice {
  254. display: flex;
  255. margin: auto;
  256. margin-top: 30rpx;
  257. padding: 35rpx 20rpx;
  258. width: 95%;
  259. background: #fff;
  260. border-radius: 10rpx;
  261. box-sizing: border-box;
  262. box-shadow: 0px 5px 12px rgb(226, 226, 226);
  263. justify-content: space-between;
  264. align-items: center;
  265. }
  266. .notice .t-brief {
  267. font-size: 25rpx;
  268. color: #a6a6a6;
  269. }
  270. /* 确认购买弹窗 */
  271. .popup__trade {
  272. width: 750rpx;
  273. position: relative;
  274. padding-bottom: 92rpx;
  275. z-index: 999;
  276. }
  277. .popup__trade .trade-close {
  278. position: absolute;
  279. top: 20rpx;
  280. right: 20rpx;
  281. width: 50rpx;
  282. height: 50rpx;
  283. }
  284. .popup__trade .trade-main {
  285. background: #fff;
  286. box-sizing: border-box;
  287. padding: 24rpx;
  288. }
  289. .popup__trade .footer-fixed {
  290. position: absolute;
  291. }
  292. .popup__trade .footer-fixed .order-bt {
  293. width: 100%;
  294. line-height: unset;
  295. }
  296. .popup__trade .footer-fixed .default-btn {
  297. width: 100%;
  298. background-color: #ccc;
  299. color: #fff;
  300. text-align: center;
  301. line-height: 92rpx;
  302. }
  303. .popup__trade .trade-main .goods-info {
  304. margin-bottom: 10rpx;
  305. }
  306. .popup__trade .trade-main .goods-info .goods-image {
  307. margin-top: -40px;
  308. margin-right: 20rpx;
  309. }
  310. .popup__trade .trade-main .goods-info .goods-image image {
  311. width: 90px;
  312. height: 90px;
  313. border: 5rpx solid #fff;
  314. box-shadow: 0 4rpx 10rpx rgba(220, 220, 220, 0.79);
  315. }
  316. .popup__trade .trade-main .goods-info .money-box {
  317. margin: 0;
  318. box-sizing: border-box;
  319. }
  320. .popup__trade .trade-main .goods-info .goods-stock {
  321. padding-left: 10rpx;
  322. }
  323. .popup__trade .trade-main .buy_number {
  324. margin: 20rpx 0;
  325. justify-content: space-between;
  326. }
  327. .popup__trade .trade-main .buy_number .buyNumber {
  328. color: #888;
  329. background: #fff;
  330. border-radius: 10rpx;
  331. margin-bottom: 10rpx;
  332. }
  333. /* 商品规格 */
  334. .goods-list-box .tmall-types.mb20 {
  335. margin-bottom: 20rpx;
  336. }
  337. .goods-list-box .tmall-types .tipstxt {
  338. font-size: 26rpx;
  339. color: #888;
  340. margin-bottom: 10rpx;
  341. }
  342. .goods-list-box .tmall-types .cartypelist {
  343. display: inline-block;
  344. }
  345. .goods-list-box .tmall-types .cartypelist .cartypeitem {
  346. font-size: 26rpx;
  347. height: 55rpx;
  348. line-height: 55rpx;
  349. padding: 0 30rpx;
  350. margin: 0 20rpx 20rpx 0;
  351. border-radius: 8rpx;
  352. color: #888;
  353. border: 1rpx solid #e6e6e6;
  354. }
  355. .goods-list-box .tmall-types .cartypelist .cartypeitem.cur {
  356. background: #f20c59;
  357. border: 1rpx solid #f20c59;
  358. color: #fff;
  359. }
  360. .goods-list-box .tmall-types .cartypelist .cartypeitem.cur:after {
  361. position: absolute;
  362. bottom: 0;
  363. right: 0;
  364. content: '';
  365. display: inline-block;
  366. width: 16rpx;
  367. height: 16rpx;
  368. }
  369. .goods-list-box .tmall-types .cartypelist .cartypeitem.disabled {
  370. color: #dedede;
  371. cursor: not-allowed;
  372. background: #eee;
  373. border: 2rpx dashed #dedede;
  374. }
  375. /* 商品价格 */
  376. .money-box {
  377. margin: 10rpx 0;
  378. }
  379. .money-box .price {
  380. font-size: 40rpx;
  381. }
  382. .money-box .del {
  383. font-size: 24rpx;
  384. color: #999;
  385. margin-left: 6rpx;
  386. TEXT-DECORATION: line-through;
  387. }
  388. /* 选择数量 */
  389. .select-number {
  390. width: 202rpx;
  391. height: 52rpx;
  392. flex-direction: row;
  393. border: 1rpx solid rgb(231, 231, 231);
  394. border-radius: 5rpx;
  395. }
  396. .select-number .default {
  397. float: left;
  398. width: 60rpx;
  399. height: 52rpx;
  400. line-height: 48rpx;
  401. padding: 0;
  402. background: #fff;
  403. color: #444;
  404. font-size: 40rpx;
  405. border-radius: unset;
  406. }
  407. .select-number .disabled {
  408. background: #f7f7f7;
  409. color: #ddd;
  410. }
  411. .select-number button:after {
  412. content: none;
  413. border: none;
  414. }
  415. .select-number input {
  416. float: left;
  417. width: 80rpx;
  418. height: 52rpx;
  419. line-height: 52rpx;
  420. border-right: 1rpx solid #eee;
  421. border-left: 1rpx solid #eee;
  422. text-align: center;
  423. font-size: 28rpx;
  424. color: #444;
  425. }