spellGoodsDetails.wxss 16 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004
  1. /* pages/snapUpDetail/snapUpDetail.wxss */
  2. clearfix::after {
  3. display: block;
  4. content: '';
  5. clear: both;
  6. }
  7. image {
  8. width: 100%;
  9. height: 100%;
  10. }
  11. .display {
  12. display: none;
  13. }
  14. .sub {
  15. font-size: 23rpx;
  16. }
  17. swiper {
  18. height: 500rpx;
  19. width: 100%;
  20. border-bottom: 2rpx solid #f8f8f8;
  21. }
  22. swiper image {
  23. height: 500rpx;
  24. width: 100%;
  25. }
  26. /* 倒计时栏 */
  27. .countdown-box {
  28. width: 100%;
  29. height: 70rpx;
  30. line-height: 70rpx;
  31. background: #ff5352;
  32. color: #fff;
  33. padding: 0 30rpx;
  34. box-sizing: border-box;
  35. }
  36. .second-kill {
  37. font-size: 30rpx;
  38. }
  39. .countdown-content {
  40. float: right;
  41. font-size: 25rpx;
  42. height: 70rpx;
  43. line-height: 70rpx;
  44. text-align: left;
  45. }
  46. .countdown-tips {
  47. padding: 10rpx 0;
  48. font-size: 20rpx;
  49. opacity: 0.8;
  50. margin-right: 10rpx;
  51. }
  52. .countdown-time {
  53. font-size: 21rpx;
  54. padding-top: 5rpx;
  55. }
  56. /* 商品信息 */
  57. .goods-msg {
  58. position: relative;
  59. box-sizing: border-box;
  60. padding: 20rpx;
  61. border-bottom: 20rpx solid #f9f8f8;
  62. }
  63. /* 分享按钮 */
  64. .share-icon {
  65. position: absolute;
  66. display: block;
  67. width: 60rpx;
  68. height: 25rpx;
  69. right: 20rpx;
  70. top: 10rpx;
  71. text-align: center;
  72. }
  73. .share-icon > image {
  74. width: 25rpx;
  75. /* height: 5rxp; */
  76. }
  77. .share-text {
  78. font-size: 22rpx;
  79. color: #aaa;
  80. }
  81. .goods-title {
  82. font-size: 28rpx;
  83. }
  84. /* 价格 */
  85. .goods-price {
  86. padding: 15rpx 0;
  87. border-bottom: 1px solid #f3f3f3;
  88. }
  89. .current-price {
  90. color: red;
  91. font-size: 30rpx;
  92. margin-right: 15rpx;
  93. vertical-align: middle;
  94. }
  95. .original {
  96. font-size: 23rpx;
  97. color: #bbb;
  98. margin-top: 15rpx;
  99. }
  100. .original-price {
  101. font-size: 23rpx;
  102. text-decoration: line-through;
  103. color: #bbb;
  104. margin-left: 10rpx;
  105. }
  106. /* 拼团价格 */
  107. .condition {
  108. font-size: 23rpx;
  109. border: 1rpx solid red;
  110. padding: 4rpx 10rpx;
  111. border-radius: 8rpx;
  112. vertical-align: middle;
  113. }
  114. /* 运费&库存 */
  115. .other-infor {
  116. font-size: 23rpx;
  117. color: #aaa;
  118. padding-top: 15rpx;
  119. text-align: left;
  120. }
  121. .inventory {
  122. margin-left: 9em;
  123. }
  124. /* 拼团详情 */
  125. .spell-infor {
  126. display: block;
  127. border-bottom: 20rpx solid #f7f7f7;
  128. font-size: 28rpx;
  129. padding: 20rpx;
  130. background: #fff;
  131. }
  132. .spell-infor-title {
  133. font-size: 26rxp;
  134. }
  135. .spell-infor-content {
  136. position: relative;
  137. padding-top: 20rpx;
  138. padding-bottom: 20rpx;
  139. border-bottom: 1rpx solid #f2f2f2;
  140. }
  141. .head-img {
  142. display: inline-block;
  143. width: 70rpx;
  144. height: 70rpx;
  145. margin-right: 15rpx;
  146. vertical-align: bottom;
  147. }
  148. .head-img > image {
  149. width: 100%;
  150. height: 100%;
  151. }
  152. .spell-msg {
  153. display: inline-block;
  154. vertical-align: top;
  155. font-size: 24rpx;
  156. }
  157. .spell-text {
  158. padding-top: 10rpx;
  159. color: #aaa;
  160. }
  161. .red-font {
  162. color: red;
  163. }
  164. .join-group {
  165. position: absolute;
  166. right: 10rpx;
  167. bottom: 30rpx;
  168. color: red;
  169. border: 1rpx solid red;
  170. padding: 10rpx 15rpx;
  171. font-size: 24rpx;
  172. }
  173. .rules {
  174. position: relative;
  175. font-size: 25rpx;
  176. padding-top: 20rpx;
  177. }
  178. .rules-text02 {
  179. float: right;
  180. font-size: 23rpx;
  181. color: #aaa;
  182. padding-right: 30rpx;
  183. }
  184. .right-arrow {
  185. position: absolute;
  186. right: 5rpx;
  187. top: 20rpx;
  188. display: inline-block;
  189. width: 20rpx;
  190. height: 20rpx;
  191. }
  192. /* 选择颜色 */
  193. .choose-color {
  194. position: relative;
  195. padding: 20rpx;
  196. font-size: 23rpx;
  197. border-bottom: 20rpx solid #f9f8f8;
  198. }
  199. .more-icon {
  200. position: absolute;
  201. right: 20rpx;
  202. top: 50%;
  203. transform: translateY(-50%);
  204. display: block;
  205. width: 20rpx;
  206. height: 20rpx;
  207. }
  208. /* 已选 */
  209. .sku {
  210. position: relative;
  211. padding: 10rpx 20rpx;
  212. background: #fff;
  213. border-bottom: 20rpx solid #f7f7f7;
  214. }
  215. .sku-tit {
  216. display: inline-block;
  217. font-size: 23rpx;
  218. color: #999;
  219. vertical-align: middle;
  220. }
  221. .sku-con {
  222. display: inline-block;
  223. margin-left: 50rpx;
  224. white-space: nowrap;
  225. text-overflow: ellipsis;
  226. overflow: hidden;
  227. font-size: 28rpx;
  228. font-weight: bold;
  229. vertical-align: middle;
  230. }
  231. .more {
  232. position: absolute;
  233. right: 20rpx;
  234. width: 40rpx;
  235. line-height: 1em;
  236. top: 0;
  237. text-align: right;
  238. font-size: 40rpx;
  239. color: #999;
  240. letter-spacing: 1px;
  241. vertical-align: top;
  242. }
  243. /** 规格弹窗**/
  244. .close {
  245. color: #aaa;
  246. border-radius: 12px;
  247. line-height: 20px;
  248. text-align: center;
  249. height: 20px;
  250. width: 20px;
  251. font-size: 18px;
  252. padding: 1px;
  253. top: 10px;
  254. right: 10px;
  255. position: absolute;
  256. }
  257. .close::before {
  258. content: "\2716";
  259. }
  260. .pup-sku {
  261. position: fixed;
  262. top: 0;
  263. bottom: 0;
  264. left: 0;
  265. right: 0;
  266. z-index: 999;
  267. background-color: rgba(0, 0, 0, 0.3);
  268. }
  269. .pup-sku-main {
  270. position: absolute;
  271. bottom: 0;
  272. width: 100%;
  273. min-height: 375px;
  274. max-height: 475px;
  275. background-color: #fff;
  276. }
  277. .pup-sku-header {
  278. position: relative;
  279. line-height: 46px;
  280. padding-left: 10px;
  281. font-size: 16px;
  282. color: #333;
  283. height: 70px;
  284. padding: 0 0 10px 110px;
  285. background-color: #fff;
  286. border-bottom: 1rpx solid #f2f2f2;
  287. }
  288. .pup-sku-img {
  289. position: absolute;
  290. left: 10px;
  291. top: -20px;
  292. border-radius: 2px;
  293. width: 90px;
  294. height: 90px;
  295. border: 0 none;
  296. vertical-align: top;
  297. }
  298. .pup-sku-price {
  299. display: inline-block;
  300. height: 40px;
  301. line-height: 40px;
  302. color: #e4393c;
  303. font-size: 10px;
  304. }
  305. .pup-sku-price-int {
  306. font-size: 16px;
  307. }
  308. .pup-sku-prop {
  309. word-break: break-all;
  310. font-size: 12px;
  311. color: #333;
  312. line-height: 1.4em;
  313. padding-right: 10px;
  314. overflow: hidden;
  315. text-overflow: ellipsis;
  316. display: -webkit-box;
  317. -webkit-line-clamp: 2;
  318. -webkit-box-orient: vertical;
  319. }
  320. .pup-sku-prop text {
  321. color: #999;
  322. margin-right: 5px;
  323. }
  324. .pup-sku-body {
  325. box-sizing: border-box;
  326. max-height: 379px;
  327. padding-bottom: 100px;
  328. overflow: auto;
  329. }
  330. .pup-sku-area .sku-kind {
  331. font-size: 12px;
  332. color: #999;
  333. margin: 0 10px;
  334. height: 40px;
  335. line-height: 40px;
  336. }
  337. .pup-sku-area .sku-choose {
  338. overflow: hidden;
  339. margin-bottom: 3px;
  340. }
  341. .sku-choose-item {
  342. display: inline-block;
  343. padding: 0 10px;
  344. min-width: 20px;
  345. max-width: 270px;
  346. overflow: hidden;
  347. height: 30px;
  348. line-height: 30px;
  349. text-align: center;
  350. margin-left: 10px;
  351. margin-bottom: 10px;
  352. border-radius: 4px;
  353. color: #333;
  354. background-color: #f7f7f7;
  355. font-size: 14px;
  356. }
  357. .sku-choose-item.active {
  358. background-color: #eb2444;
  359. color: #fff;
  360. }
  361. .sku-choose-item.gray {
  362. background-color: #f9f9f9;
  363. color: #ddd;
  364. }
  365. .pup-sku-count {
  366. padding: 20rpx;
  367. font-size: 12px;
  368. }
  369. .pup-sku-count .count-name {
  370. color: #999;
  371. height: 31px;
  372. line-height: 31px;
  373. width: 100rpx;
  374. }
  375. .pup-sku-count .num-wrap {
  376. position: relative;
  377. z-index: 0;
  378. width: 110px;
  379. float: right;
  380. vertical-align: middle;
  381. display: flex;
  382. }
  383. .num-wrap .minus, .num-wrap .plus {
  384. position: relative;
  385. max-width: 30px;
  386. min-width: 30px;
  387. height: 30px;
  388. line-height: 30px;
  389. background: #f7f7f7;
  390. text-align: center;
  391. }
  392. .num-wrap .minus {
  393. border-top-left-radius: 3px;
  394. border-bottom-left-radius: 3px;
  395. }
  396. .num-wrap .plus {
  397. border-top-right-radius: 3px;
  398. border-bottom-right-radius: 3px;
  399. }
  400. .num-wrap .row {
  401. border-radius: 20px;
  402. position: absolute;
  403. top: 50%;
  404. left: 50%;
  405. margin-left: -7px;
  406. margin-top: -1px;
  407. width: 14px;
  408. height: 2px;
  409. background-color: #ccc;
  410. }
  411. .num-wrap .col {
  412. border-radius: 20px;
  413. position: absolute;
  414. top: 50%;
  415. left: 50%;
  416. margin-left: -1px;
  417. margin-top: -7px;
  418. width: 2px;
  419. height: 14px;
  420. background-color: #999;
  421. }
  422. .pup-sku-count .text-wrap {
  423. position: relative;
  424. width: 45px;
  425. z-index: 0;
  426. margin: 0 1px;
  427. }
  428. .pup-sku-count .text-wrap input {
  429. height: 30px;
  430. width: 100%;
  431. color: #333;
  432. background: #fff;
  433. font-size: 12px;
  434. text-align: center;
  435. border: none;
  436. background: #f7f7f7;
  437. }
  438. .pup-sku-footer {
  439. position: fixed;
  440. bottom: 0;
  441. left: 0;
  442. width: 100%;
  443. display: flex;
  444. flex-direction: row nowrap;
  445. height: 98rpx;
  446. z-index: 999;
  447. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  448. }
  449. .pup-sku-footer .btn {
  450. position: relative;
  451. display: flex;
  452. flex-grow: 1;
  453. justify-content: center;
  454. align-items: center;
  455. width: 0;
  456. background-color: #fff;
  457. font-size: 28rpx;
  458. flex-flow: column;
  459. }
  460. .pup-sku-footer .btn.cart {
  461. background: #fe8854;
  462. color: #fff;
  463. }
  464. .pup-sku-footer .btn.buy {
  465. background: #fe4443;
  466. color: #fff;
  467. }
  468. .promo-con{
  469. position: fixed;
  470. top:880rpx;
  471. right:40rpx;
  472. }
  473. .promo-con .earn{
  474. background:rgba(230, 55, 58,0.9);
  475. box-shadow: 1px 3px 6px rgba(0, 0, 0,0.5);
  476. color:#fff;
  477. border-radius: 50%;
  478. width:70rpx;
  479. height:70rpx;
  480. font-size: 30rpx;
  481. margin: auto;
  482. text-align: center;
  483. line-height: 70rpx;
  484. }
  485. /* sku规格 */
  486. /* 店铺 */
  487. .shop-box {
  488. position: relative;
  489. padding: 30rpx 20rpx;
  490. font-size: 28rpx;
  491. border-bottom: 1rpx solid #f2f2f2;
  492. }
  493. .shop-icon {
  494. display: inline-block;
  495. width: 50rpx;
  496. height: 50rpx;
  497. margin-left: 20rpx;
  498. margin-right:30rpx;
  499. vertical-align: middle;
  500. }
  501. .shop-name {
  502. vertical-align: middle;
  503. }
  504. /** 评价 */
  505. .cmt-wrap {
  506. background: #fff;
  507. position: relative;
  508. line-height: 48rpx;
  509. margin-bottom: 150rpx;
  510. }
  511. .cmt-tit {
  512. font-size: 32rpx;
  513. position: relative;
  514. border-bottom: 1px solid #ddd;
  515. padding: 15rpx 20rpx;
  516. }
  517. .cmt-t {
  518. width: 300rpx;
  519. font-size: 28rpx;
  520. }
  521. .cmt-good {
  522. color: #eb2444;
  523. font-size: 24rpx;
  524. }
  525. .cmt-count {
  526. position: absolute;
  527. right: 20rpx;
  528. top: 20rpx;
  529. font-size: 24rpx;
  530. color: #666;
  531. }
  532. .cmt-more {
  533. width: 20rpx;
  534. height: 20rpx;
  535. border-top: 2rpx solid #999;
  536. border-right: 2rpx solid #999;
  537. transform: rotate(45deg);
  538. margin-left: 10rpx;
  539. display: inline-block;
  540. }
  541. .cmt-cont {
  542. padding: 0 20rpx;
  543. }
  544. .cmt-tag {
  545. position: relative;
  546. padding-top: 10rpx;
  547. margin: 0;
  548. }
  549. .cmt-tag text {
  550. margin: 0 10px 10px 0;
  551. background: #fdf0f0;
  552. display: inline-block;
  553. padding: 0 10px;
  554. height: 25px;
  555. border-radius: 3px;
  556. line-height: 25px;
  557. font-size: 12px;
  558. font-family: -apple-system, Helvetica, sans-serif;
  559. color: #666;
  560. }
  561. .cmt-tag text.selected {
  562. color: #fff;
  563. background: #e93b3d;
  564. }
  565. .cmt-item {
  566. position: relative;
  567. padding: 10px 0;
  568. }
  569. .cmt-item::after {
  570. content: "";
  571. height: 0;
  572. display: block;
  573. border-bottom: 1px solid #ddd;
  574. position: absolute;
  575. left: 0;
  576. right: 0;
  577. bottom: 0;
  578. right: -10px;
  579. border-bottom-color: #e5e5e5;
  580. }
  581. .cmt-user {
  582. line-height: 25px;
  583. margin-bottom: 8px;
  584. font-size: 12px;
  585. }
  586. .cmt-user-info {
  587. display: flex;
  588. align-items: center;
  589. width: 400rpx;
  590. }
  591. .cmt-user .user-img {
  592. width: 25px;
  593. height: 25px;
  594. border-radius: 50%;
  595. vertical-align: middle;
  596. }
  597. .cmt-user .nickname {
  598. margin-left: 10px;
  599. display: inline-block;
  600. color: #333;
  601. max-width: 8.2em;
  602. height: 25px;
  603. line-height: 27px;
  604. }
  605. .cmt-user .stars {
  606. display: flex;
  607. margin-left: 3px;
  608. }
  609. .cmt-user .stars image {
  610. width: 35rpx;
  611. height: 35rpx;
  612. }
  613. .cmt-user .date {
  614. float: right;
  615. color: #999;
  616. margin-left: -60px;
  617. }
  618. .cmt-cnt {
  619. overflow: hidden;
  620. text-overflow: ellipsis;
  621. display: -webkit-box;
  622. -webkit-line-clamp: 3;
  623. -webkit-box-orient: vertical;
  624. position: relative;
  625. line-height: 1.5;
  626. font-size: 14px;
  627. margin: 5px 0;
  628. word-break: break-all;
  629. max-height: 126px;
  630. }
  631. .cmt-attr {
  632. height: 85px;
  633. width: 100%;
  634. white-space: nowrap;
  635. }
  636. .cmt-attr .img-wrap {
  637. width: 85px;
  638. height: 85px;
  639. display: inline-block;
  640. }
  641. .cmt-attr image {
  642. display: inline-block;
  643. width: 80px;
  644. height: 80px;
  645. margin-right: 5px;
  646. margin-bottom: 5px;
  647. border-radius: 2px;
  648. background: #f3f3f3;
  649. }
  650. .cmt-more-v {
  651. text-align: center;
  652. background-color: #fff;
  653. font-size: 12px;
  654. }
  655. .cmt-more-v text {
  656. height: 25px;
  657. line-height: 25px;
  658. font-size: 12px;
  659. text-align: center;
  660. color: #333;
  661. padding: 0px 10px;
  662. margin: 10px 0;
  663. border: 1px solid #ccc;
  664. border-radius: 40px;
  665. display: inline-block;
  666. }
  667. /** 评价弹窗 */
  668. .cmt-popup {
  669. position: fixed;
  670. top: 0;
  671. bottom: 0;
  672. left: 0;
  673. right: 0;
  674. z-index: 998;
  675. background-color: #fff;
  676. padding-bottom: 98rpx;
  677. }
  678. .cmt-popup .cmt-cont {
  679. height: calc(100% - 80rpx);
  680. overflow: auto;
  681. }
  682. .cmt-popup .cmt-cnt {
  683. -webkit-line-clamp: 20;
  684. max-height: 500px;
  685. }
  686. .cmt-reply {
  687. font-size: 14px;
  688. border-top: 1px dashed #ddd;
  689. padding: 5px 0;
  690. }
  691. .cmt-reply .reply-tit {
  692. color: #eb2444;
  693. }
  694. .cmt-popup .load-more {
  695. font-size: 14px;
  696. padding: 20px;
  697. text-align: center;
  698. margin-bottom: 10px;
  699. }
  700. .cmt-popup .load-more text {
  701. border: 1px solid #ddd;
  702. padding: 5px 10px;
  703. border-radius: 10px;
  704. color: #666;
  705. }
  706. /** 商品详情 */
  707. .prod-detail {
  708. background: #fff;
  709. margin-top: 20rpx;
  710. position: relative;
  711. line-height: 48rpx;
  712. margin-bottom: 150rpx;
  713. }
  714. .det-tit {
  715. width: 300rpx;
  716. }
  717. .detail-tit {
  718. font-size: 32rpx;
  719. position: relative;
  720. border-bottom: 1px solid #ddd;
  721. padding: 20rpx;
  722. }
  723. .prod-detail image {
  724. width: 750rpx !important;
  725. display: block;
  726. }
  727. rich-text image {
  728. width: 100% !important;
  729. }
  730. img {
  731. width: 100% !important;
  732. display: block;
  733. }
  734. /** end 商品详情 */
  735. /** 底部按钮 */
  736. .foot-box {
  737. margin-top: 100rpx;
  738. }
  739. .footer {
  740. position: fixed;
  741. bottom: 0;
  742. width: 100%;
  743. box-sizing: border-box;
  744. height: 90rpx;
  745. background: #fff;
  746. box-shadow: 10rpx 0 10rpx 0 #f0f0f0;
  747. }
  748. .foot-btn {
  749. display: inline-block;
  750. width: 125rpx;
  751. font-size: 20rpx;
  752. color: #666;
  753. text-align: center;
  754. padding-top: 8rpx;
  755. background: #fff;
  756. }
  757. .foot-btn > image {
  758. display: block;
  759. width: 50rpx;
  760. height: 50rpx;
  761. margin: 0 auto;
  762. }
  763. .buy-btn {
  764. display: inline-block;
  765. font-size: 30rpx;
  766. height: 90rpx;
  767. line-height: 95rpx;
  768. vertical-align: top;
  769. width: 33.3%;
  770. color: #fff;
  771. text-align: center;
  772. }
  773. .alone-buy {
  774. background: #fe8854;
  775. }
  776. .group-buy {
  777. background: #fe4443;
  778. }
  779. /* 购物车数量显示 */
  780. .cart-footer .btn .badge {
  781. position: absolute;
  782. top: 20rpx;
  783. left: 62rpx;
  784. display: inline-block;
  785. width: 28rpx;
  786. height: 28rpx;
  787. border-radius: 14rpx;
  788. background-color: #eb2444;
  789. text-align: center;
  790. line-height: 28rpx;
  791. font-size: 18rpx;
  792. color: #fff;
  793. }
  794. .cart-footer .btn .badge-1 {
  795. width: 36rpx;
  796. }
  797. .cart-footer .btn .badge-2 {
  798. width: 48rpx;
  799. left: 52rpx;
  800. }
  801. /** end 底部按钮 */
  802. /* 弹框 */
  803. /*模态框*/
  804. .modals{
  805. position:fixed;
  806. z-index: 999;
  807. top:0;
  808. left: 0;
  809. right:0;
  810. bottom: 0;
  811. }
  812. .modals-cancel{
  813. position:absolute;
  814. z-index:190;
  815. top:0; left: 0;
  816. right:0;
  817. bottom: 0;
  818. background-color: rgba(0,0,0,.5);
  819. }
  820. .bottom-dialog-body{
  821. position:absolute;
  822. z-index:200;
  823. bottom:0;
  824. left:0;
  825. right:0;
  826. height:auto;
  827. background-color: #fff;
  828. }
  829. /*动画前初始位置*/
  830. .bottom-pos{
  831. -webkit-transform:translateY(100%);
  832. transform:translateY(100%);
  833. }
  834. /* 上部内容 */
  835. .top-content {
  836. position: relative;
  837. border-bottom: 1px solid #f2f2f2;
  838. font-size: 26rpx;
  839. padding: 15rpx;
  840. }
  841. .top-content-img-box {
  842. display: inline-block;
  843. width: 120rpx;
  844. height: 120rpx;
  845. background: #f2f2f2;
  846. vertical-align: middle;
  847. }
  848. .top-content-img-box > image {
  849. width: 100%;
  850. height: 100%;
  851. }
  852. .goods-msg-box {
  853. display: inline-block;
  854. width: 65%;
  855. margin-left: 20rpx;
  856. vertical-align: middle;
  857. }
  858. .goods-names {
  859. color: #000;
  860. width: 85%;
  861. padding-bottom: 5rpx;
  862. }
  863. .group-tips {
  864. font-size: 20rpx;
  865. color: #fd3852;
  866. padding: .3em 0;
  867. padding-top: 0;
  868. }
  869. .goods-prices {
  870. font-size: 23rpx;
  871. color: #fd3852;
  872. margin-top: 5rpx;
  873. }
  874. .spell-group-price {
  875. font-size: 20rpx;
  876. color: #ff4444;
  877. }
  878. .rmb-symbol {
  879. font-size: 27rpx;
  880. }
  881. .close-btn {
  882. position: absolute;
  883. display: block;
  884. right: 20rpx;
  885. top: 20rpx;
  886. width: 35rpx;
  887. height: 35rpx;
  888. /* background: url('../../images/icon/close.png');
  889. background-size: 100% 100%; */
  890. z-index: 250;
  891. }
  892. .close-btn > image {
  893. width: 100%;
  894. height: 100%;
  895. }
  896. /* 颜色选择 */
  897. .choose-color-box {
  898. padding: 15rpx;
  899. font-size: 25rpx;
  900. border-bottom: 1px solid #f2f2f2;
  901. }
  902. .color-txt {
  903. margin-bottom: 15rpx;
  904. }
  905. .color-box {
  906. display: block;
  907. box-sizing: border-box;
  908. padding: 8rpx 0;
  909. }
  910. .color-item {
  911. padding: 6rpx 18rpx;
  912. border-radius: 8rpx;
  913. margin-right: 10rpx;
  914. vertical-align: bottom;
  915. background: #ddd;
  916. color: #fff;
  917. letter-spacing: 5rpx;
  918. }
  919. .color-item-current {
  920. background: #ff4444;
  921. color: #fff;
  922. border-color: #ff4444;
  923. }
  924. /* 数量选择 */
  925. .quantity {
  926. position: relative;
  927. padding: 1em;
  928. font-size: 25rpx;
  929. border-bottom: 1px solid #f2f2f2;
  930. }
  931. .left-text {
  932. line-height: 1.5em;
  933. }
  934. .left-text-bottom {
  935. font-size: 23rpx;
  936. color: #bbb;
  937. }
  938. /* choose-quantity */
  939. .right-choose {
  940. position: absolute;
  941. right: 1em;
  942. top: 1em;
  943. }
  944. .subtract,
  945. .show-num,
  946. .add {
  947. display: inline-block;
  948. background: #f5f5f5;
  949. color: #cfcfcf;
  950. padding: 7rpx 18rpx;
  951. }
  952. .show-num {
  953. margin: 0 3rpx;
  954. }
  955. .add {
  956. padding: 7rpx 12rpx;
  957. }
  958. .current-state {
  959. background: #ebebeb;
  960. color: #6d6d6e;
  961. }
  962. /* 确认按钮 */
  963. .confirm-btn {
  964. width: 100%;
  965. font-size: 27rpx;
  966. padding: .8em 0;
  967. color: #fff;
  968. background: #ff4444;
  969. text-align: center;
  970. margin-top: .5em;
  971. margin-bottom: 200rpx;
  972. position: fixed;
  973. bottom: 0;
  974. }
  975. /* 底部弹框end */