金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3026 lines
58 KiB

  1. @import "../../../common/css/global";
  2. .new-year-img {
  3. position: fixed;
  4. right: 15px;
  5. bottom: 100px;
  6. image {
  7. width: 60px;
  8. height: 60px;
  9. }
  10. }
  11. .new-year-gift {
  12. display: flex;
  13. align-items: center;
  14. .left {
  15. flex: 1;
  16. }
  17. background: #ffffff;
  18. color: @globalColor;
  19. padding: 10px 15px;
  20. margin-top: 10px;
  21. font-size: 12px;
  22. }
  23. .top-tap {
  24. display: flex;
  25. align-content: center;
  26. position: fixed;
  27. top: 0;
  28. width: 100%;
  29. z-index: 20;
  30. padding: 6px 10%;
  31. font-size: 14px;
  32. background: #FFFFFF;
  33. color: #4A4A4A;
  34. box-sizing: border-box;
  35. .item{
  36. flex: 1;
  37. text-align: center;
  38. .name {
  39. display: inline-block;
  40. padding-bottom: 5px;
  41. &.active {
  42. color: @mainColor;
  43. border-bottom: 2px solid @mainColor;
  44. }
  45. }
  46. }
  47. .share {
  48. position: relative;
  49. right: -10px;
  50. background: #FFFFFF;
  51. border-radius: 0;
  52. margin: 0;
  53. padding: 0;
  54. line-height: inherit;
  55. font-size: 16px;
  56. &:after {
  57. border: none;
  58. }
  59. /*position: absolute;
  60. top: 0;
  61. left: 10px;
  62. z-index: 9;
  63. height: 30px;*/
  64. }
  65. }
  66. .content{
  67. padding-top: 40px;
  68. &.no-top {
  69. padding-top: 0;
  70. }
  71. //评论
  72. .comment_list {
  73. font-size: 12px;
  74. line-height: 20px;
  75. .comment_user {
  76. display: flex;
  77. align-items: center;
  78. .img-box {
  79. display: flex;
  80. align-items: center;
  81. flex: 1;
  82. image{
  83. width: 25px;
  84. height: 25px;
  85. border-radius: 100%;
  86. }
  87. }
  88. .rater {
  89. .vlc-rater {
  90. display: flex;
  91. }
  92. }
  93. .user_name {
  94. margin-left: 15px;
  95. display: inline-block;
  96. color: #717071;
  97. }
  98. }
  99. .comment_content {
  100. margin-top: 0px;
  101. }
  102. .comment-img {
  103. font-size: 0;
  104. margin: 5px 0;
  105. image{
  106. display: inline-block;
  107. width: 25%;
  108. //height: 100%;
  109. padding: 0 5px;
  110. }
  111. }
  112. .comment_time {
  113. display: flex;
  114. align-items: center;
  115. margin: 10px 0;
  116. .time {
  117. margin-right: 15px;
  118. }
  119. color: #838282;
  120. }
  121. .all-comment {
  122. text-align: center;
  123. .text {
  124. margin-top: 10px;
  125. font-size: 11px;
  126. color: #AAAAAA;
  127. padding: 10px 0 0 0;
  128. span{
  129. color:#AAAAAA;
  130. font-size:11px
  131. }
  132. }
  133. }
  134. }
  135. .meals{
  136. height: auto !important;
  137. .meal_list{
  138. width: 100%;
  139. overflow: auto;
  140. white-space: nowrap;
  141. .store_list {
  142. width: 26.4%;
  143. position: relative;
  144. display: inline-block;
  145. margin-right: 10%;
  146. image {
  147. width: 100%;
  148. height:100px!important;
  149. }
  150. .description {
  151. margin-top: 5px;
  152. font-size: 14px;
  153. height: 48px;
  154. overflow: hidden;
  155. -webkit-line-clamp: 2;
  156. text-overflow: ellipsis;
  157. display: -webkit-box;
  158. -webkit-box-orient: vertical;
  159. white-space: normal;
  160. }
  161. .price {
  162. font-size: 14px;
  163. height: auto;
  164. /*overflow: visible;*/
  165. white-space: normal;
  166. overflow: hidden;
  167. text-overflow: ellipsis;
  168. }
  169. &:last-child {
  170. margin-right: 0;
  171. &:after {
  172. display: none;
  173. /*content: ; */
  174. }
  175. }
  176. &:after {
  177. content: "";
  178. display: block;
  179. position: absolute;
  180. right: -28%;
  181. top: 20%;
  182. width: 18%;
  183. height: 10%;
  184. background: url('https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/uploading.png');
  185. background-size: 100% 100%;
  186. }
  187. }
  188. }
  189. .all_count {
  190. font-size: 14px;
  191. width: 100%;
  192. border: 1px solid #e5e5e5;
  193. height: 36px;
  194. line-height: 36px;
  195. text-align: center;
  196. margin-top: 10px;
  197. }
  198. }
  199. //background: #ffffff;
  200. height: 100%;
  201. overflow: auto;
  202. box-sizing: border-box;
  203. .top-image{
  204. position: relative;
  205. .small-txt{
  206. position: absolute;
  207. background-color:#292939;
  208. border-radius:0px 20px 0px 0px;
  209. line-height: 18px;
  210. color: #FFFFFF;
  211. font-size: 13px;
  212. bottom: 0;
  213. left: 0;
  214. padding: 6px 15px;
  215. }
  216. swiper{
  217. height: 730rpx;
  218. background: #ffffff;
  219. .slide-image{
  220. width: 100%;
  221. height: 100%;
  222. }
  223. }
  224. //最新营销活动
  225. .marketing-box {
  226. /* position: absolute;
  227. bottom: 0;
  228. width: 100%;*/
  229. /*height: 32px;*/
  230. padding: 10px 15px;
  231. box-sizing: border-box;
  232. background: #FB5054;
  233. .over {
  234. font-size: 14px;
  235. text-align: center;
  236. }
  237. .marketing-time-box{
  238. .num-item{
  239. background-color:transparent;
  240. }
  241. .time-text{
  242. color:#FFFFFF;
  243. }
  244. }
  245. }
  246. /*拼团*/
  247. .group-box {
  248. position: absolute;
  249. bottom: 0;
  250. width: 100%;
  251. background: rgba(57,57,57,.67);
  252. color: #FFFFFF;
  253. /*height: 30px;*/
  254. /*line-height: 30px;*/
  255. padding: 5px 12px;
  256. box-sizing: border-box;
  257. .over {
  258. font-size: 14px;
  259. text-align: center;
  260. }
  261. /* .seckill-time-box{
  262. .time-out{
  263. display: flex;
  264. align-items: center;
  265. justify-content: space-between;
  266. .tiem{
  267. color: #ffffff;
  268. span{
  269. color: #000;
  270. }
  271. }
  272. }
  273. i{
  274. display: none;
  275. }
  276. }
  277. &.active{
  278. background: @mainColor;
  279. .seckill-time-box{
  280. .seckill-item{
  281. display: flex;
  282. align-items: center;
  283. justify-content: space-between;
  284. .tiem{
  285. color: #000;
  286. span{
  287. background: #000000;
  288. color: #ffffff;
  289. }
  290. }
  291. }
  292. }
  293. .text{
  294. color: #EA4448;
  295. }
  296. }*/
  297. }
  298. }
  299. .basic-information{
  300. padding-top: 10px;
  301. font-size: 12px;
  302. background: #ffffff;
  303. .basic-top{
  304. font-size: 16px;
  305. font-weight: 700;
  306. color: #333333;
  307. padding: 5px 15px;
  308. display: flex;
  309. align-items: center;
  310. .price-box {
  311. flex: 1;
  312. }
  313. }
  314. .basic-middle{
  315. display: flex;
  316. justify-content: space-between;
  317. align-items: center;
  318. padding: 0 10px;
  319. .tag-box{
  320. .tag{
  321. font-size: 10px;
  322. color: #9f9f9f;
  323. background: #e4e4e4;
  324. border-radius: 4px;
  325. padding: 3px 5px;
  326. margin-right: 5px;
  327. }
  328. }
  329. }
  330. .basic-vip-box {
  331. display: flex;
  332. align-items: center;
  333. .group-num{
  334. background-color:#FB5054;
  335. color:#ffffff;
  336. font-size:12px;
  337. line-height:17px;
  338. padding:2px 12px;
  339. margin:0 10px 0 15px;
  340. border-radius: 4px;
  341. }
  342. .basic {
  343. display: flex;
  344. align-items: center;
  345. }
  346. .vip {
  347. width: 84px;
  348. height: 50px;
  349. padding: 0 15px;
  350. box-sizing: content-box;
  351. image {
  352. width: 100%;
  353. height: 100%;
  354. }
  355. }
  356. }
  357. .basic-center{
  358. font-size: 13px;
  359. line-height: 25px;
  360. color:#666666;
  361. padding: 0 15px 6px 15px;
  362. }
  363. .basic-bottom{
  364. padding: 5px 15px;
  365. color: #ee2b1d;
  366. display: flex;
  367. align-items: center;
  368. .price-box {
  369. flex: 1;
  370. }
  371. /*xx人团*/
  372. .group-num{
  373. background: #EA4448;
  374. color: #ffffff;
  375. font-size: 12px;
  376. padding: 3px 15px;
  377. border-radius: 3px;
  378. margin-left: 5px;
  379. }
  380. .recommend {
  381. background: @globalColor;
  382. color: #ffffff;
  383. padding:8px 10px;
  384. border-radius:3px;
  385. }
  386. .price{
  387. font-size: 20px;
  388. color: #C1870C;
  389. font-weight: 700;
  390. }
  391. }
  392. .market-price{
  393. display: flex;
  394. align-items: center;
  395. justify-content: space-between;
  396. font-size: 12px;
  397. color: #959595;
  398. .price {
  399. text-decoration: line-through;
  400. }
  401. }
  402. .tags-box{
  403. padding:0 15px 10px 15px;
  404. span{
  405. font-size: 10px;
  406. color: #9f9f9f;
  407. background: #e4e4e4;
  408. border-radius: 4px;
  409. padding: 3px 5px;
  410. margin-right: 5px;
  411. margin-top: 5px;
  412. display: inline-block;
  413. }
  414. }
  415. .purchaseInfo{
  416. color:#e73237;
  417. padding: 10px 15px;
  418. display: flex;
  419. align-items: baseline;
  420. .title{
  421. width: 30px;
  422. color: #585757;
  423. font-weight: bold;
  424. }
  425. }
  426. .groups-info{
  427. font-size: 12px;
  428. color: #9B9B9B;
  429. display: flex;
  430. align-items: center;
  431. padding: 10px 15px;
  432. view{
  433. flex: 1;
  434. &:nth-child(2) {
  435. text-align: center;
  436. }
  437. &:last-child{
  438. text-align: right;
  439. }
  440. }
  441. }
  442. .coupons-tags {
  443. padding: 10px 15px;
  444. display: flex;
  445. align-items: baseline;
  446. .tags-title {
  447. width: 30px;
  448. color: #333;
  449. font-weight: bold;
  450. font-size: 13px
  451. }
  452. .coupon-box {
  453. display: flex;
  454. flex-wrap: wrap;
  455. flex-direction: row;
  456. justify-content: flex-start;
  457. align-items: center;
  458. flex: 1;
  459. .tags-item {
  460. color: #ffffff;
  461. background: @mainColor;
  462. padding: 2px 7px;
  463. position: relative;
  464. margin: 5px 10px 5px 0;
  465. .dot-wrap {
  466. .dot-left {
  467. position: absolute;
  468. top: 0;
  469. left: 5px;
  470. }
  471. .dot-right {
  472. position: absolute;
  473. top: 0;
  474. right: -4px;
  475. }
  476. .dot-item {
  477. width: 5px;
  478. height: 5px;
  479. background: #F7F7F7;
  480. border-radius: 50%;
  481. margin: 2px 0 2px -7px;
  482. &:last-child {
  483. margin-top: 0;
  484. }
  485. }
  486. }
  487. }
  488. }
  489. }
  490. .discounts-tags {
  491. display: flex;
  492. padding: 10px 15px;
  493. align-items: baseline;
  494. .tags-title {
  495. width: 30px;
  496. color: #585757;
  497. font-weight: bold;
  498. }
  499. .discounts-box {
  500. flex: 1;
  501. overflow: hidden;
  502. .disconts-item {
  503. display: flex;
  504. align-items: center;
  505. margin-bottom: 10px;
  506. &:last-child {
  507. margin-bottom: 0;
  508. }
  509. .discounts-tags-title {
  510. color: @mainColor;
  511. border: 1px solid @mainColor;
  512. border-radius: 3px;
  513. padding: 0 5px;
  514. margin-right: 10px;
  515. }
  516. .tags-item{
  517. white-space: nowrap;
  518. overflow: hidden;
  519. text-overflow: ellipsis;
  520. flex: 1;
  521. }
  522. }
  523. }
  524. }
  525. .old-box{
  526. padding:10px;
  527. color: #959595;
  528. text-decoration: line-through;
  529. }
  530. }
  531. .new-module{
  532. background-color: #fff;
  533. margin:10px 0;
  534. .select-sku-box {
  535. display: flex;
  536. align-items: center;
  537. padding: 10px 15px;
  538. justify-content: space-between;
  539. .title{
  540. width: 30px;
  541. color:#333333;
  542. font-weight: 700;
  543. font-size: 13px;
  544. }
  545. .sku-info {
  546. color: #666;
  547. font-size: 12px;
  548. line-height: 17px;
  549. flex: 1;
  550. text-align: right;
  551. }
  552. .iconfont {
  553. font-size: 14px;
  554. color: #999999;
  555. margin-left: 5px;
  556. }
  557. }
  558. .new-addbox{
  559. width: 100%;
  560. image{
  561. width: 100%;
  562. vertical-align: middle;
  563. }
  564. }
  565. }
  566. .new-free {
  567. margin-top: 10px;
  568. background: #ffffff;
  569. .free-goods-info {
  570. padding: 15px 0;
  571. overflow: auto;
  572. white-space:nowrap;
  573. width: 100%;
  574. .item {
  575. width: 100px;
  576. display: inline-block;
  577. box-shadow:2px 2px 3px 0px rgba(0,0,0,0.05);
  578. background: #FFFFFF;
  579. margin-left: 15px;
  580. white-space: normal;
  581. image {
  582. position: relative;
  583. width: 100px;
  584. height: 100px;
  585. vertical-align: bottom;
  586. .free-tag {
  587. position: absolute;
  588. left: 0;
  589. bottom: 0;
  590. background: #292939;
  591. border-radius:0px 20px 0px 0px;
  592. font-size: 10px;
  593. color: #FFFFFF;
  594. padding: 5px 10px 5px 5px;
  595. }
  596. }
  597. .name {
  598. padding:0 5px;
  599. height: 35px;
  600. font-size: 11px;
  601. margin-top: 3px;
  602. overflow: hidden;
  603. }
  604. .price {
  605. font-size: 13px;
  606. padding: 5px;
  607. color: @globalColor;
  608. }
  609. }
  610. }
  611. }
  612. .seif-info {
  613. display: flex;
  614. align-items: center;
  615. justify-content: space-between;
  616. height: 50px;
  617. padding: 0 15px;
  618. font-size: 13px;
  619. background: #FFFFFF;
  620. .title {
  621. color: #333333;
  622. font-weight: 700;
  623. }
  624. .name-info {
  625. display: flex;
  626. align-items: center;
  627. .name {
  628. color: #666666;
  629. }
  630. .iconfont {
  631. font-size: 13px;
  632. color: #999999;
  633. margin-left: 5px;
  634. }
  635. }
  636. }
  637. //同款
  638. .same {
  639. margin-top: 10px;
  640. padding: 10px 15px;
  641. background: #FFFFFF;
  642. font-size: 12px;
  643. color: #4A4A4A;
  644. display: flex;
  645. align-items: center;
  646. justify-content: space-between;
  647. span{
  648. color: @globalColor;
  649. }
  650. }
  651. //我要推荐
  652. .recommended{
  653. margin-top: 10px;
  654. padding: 15px;
  655. background: #FFFFFF;
  656. display: flex;
  657. align-items: center;
  658. .title{
  659. font-size: 13px;
  660. color: #333333;
  661. font-weight: 700;
  662. line-height: 20px;
  663. padding-right:10px;
  664. }
  665. .goodness{
  666. flex: 1;
  667. color: #4A4A4A;
  668. font-size: 12px;
  669. line-height: 17px;
  670. span{
  671. color: @globalColor;
  672. }
  673. }
  674. .btn{
  675. color:#FFFFFF;
  676. background-color: @globalColor;
  677. padding:7px 10px;
  678. border-radius:4px;
  679. font-size:12px;
  680. line-height: 17px;
  681. }
  682. }
  683. //第三方供货说明
  684. .third-party{
  685. margin-top: 10px;
  686. padding: 15px;
  687. background: #FFFFFF;
  688. font-size: 12px;
  689. color: #4A4A4A;
  690. display: flex;
  691. justify-content: space-between;
  692. .title{
  693. color: #909090;
  694. padding-right: 13px;
  695. }
  696. .detail-list{
  697. flex: 1;
  698. .item{
  699. display: flex;
  700. align-items: center;
  701. span{
  702. color: #FF2741;
  703. font-size: 10px;
  704. padding-right: 7px;
  705. }
  706. }
  707. .pa-bottom{
  708. padding-bottom: 6px;
  709. }
  710. }
  711. .more-see{
  712. line-height:44px;
  713. span{
  714. font-size: 10px;
  715. color:#909090;
  716. }
  717. }
  718. }
  719. .detail-item-box{
  720. padding-bottom: 55px;
  721. .title{
  722. padding: 10px 15px 10px 15px;
  723. font-size: 13px;
  724. line-height: 18px;
  725. display: flex;
  726. justify-content: space-between;
  727. background-color: #FFFFFF;
  728. margin-top: 10px;
  729. .title_content{
  730. color:#333333;
  731. font-weight:700;
  732. }
  733. .praise-of{
  734. color:#999999;
  735. font-size: 12px;
  736. span{
  737. font-size: 14px;
  738. }
  739. }
  740. .title-text{
  741. flex: 1;
  742. color:#333333;
  743. font-weight:700;
  744. }
  745. .arrow-up {
  746. width: 30px;
  747. height: 10px;
  748. margin-top: 3px;
  749. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/down.png") no-repeat center;
  750. transform: rotate(180deg);
  751. background-size: 10px;
  752. }
  753. .arrow-down {
  754. width: 20px;
  755. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/down.png") no-repeat center;
  756. background-size: 10px;
  757. margin-right: 5px;
  758. }
  759. //.icon-right {
  760. // width: 20px;
  761. // background: url("https://www.jackwolfskin.cn/m/static/image/right.png") no-repeat center;
  762. // background-size: 5px;
  763. // margin-right: 5px;
  764. //}
  765. }
  766. .tags-content{
  767. display: flex;
  768. background-color: #FFFFFF;
  769. padding:10px 15px;
  770. align-items: center;
  771. flex-wrap: wrap;
  772. .item{
  773. margin: 5px 5px 5px 5px;
  774. padding: 3px 11px;
  775. font-size:11px;
  776. background-color:rgba(245,218,160,.5);;
  777. color:#666666;
  778. border-radius: 12px;
  779. }
  780. }
  781. .content {
  782. background: #FFFFFF;
  783. padding: 10px 15px;
  784. box-sizing: border-box;
  785. //font-size: 0;
  786. // 商品参数
  787. .argument-box {
  788. color: #000000;
  789. .argument-top {
  790. line-height: 20px;
  791. span {
  792. display: inline-block;
  793. font-size: 10px;
  794. width: 50%;
  795. box-sizing: border-box;
  796. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/goods-list.png") no-repeat left;
  797. padding-left: 15px;
  798. }
  799. }
  800. .argument-bottom {
  801. font-size: 10px;
  802. margin-top: 35px;
  803. .argument-item {
  804. display: flex;
  805. margin-bottom: 10px;
  806. .index-box {
  807. flex: 1;
  808. ul {
  809. display: flex;
  810. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/lvl-bg.png") repeat-x top;
  811. .red-dot {
  812. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/red-dot.png") no-repeat top;
  813. }
  814. li {
  815. flex: 1;
  816. display: inline-block;
  817. text-align: center;
  818. padding-top: 15px;
  819. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/dot.png") no-repeat top;
  820. }
  821. }
  822. }
  823. }
  824. }
  825. }
  826. .small_title {
  827. padding: 10px 0;
  828. font-size: 14px;
  829. background-size: 15px;
  830. background-color: #FFFFFF;
  831. }
  832. .responsive {
  833. width: 100% !important;
  834. height: auto;
  835. }
  836. .commodity_description {
  837. table, image {
  838. .responsive
  839. }
  840. }
  841. .story_list {
  842. margin: -5px;
  843. .bg_green {
  844. background: #d88a3b;
  845. }
  846. .bg_aqua {
  847. background: #00c1d8;
  848. }
  849. .bg_orange {
  850. background: #00b46e;
  851. }
  852. .story_box {
  853. padding: 5px;
  854. display: inline-block;
  855. width: 50%;
  856. box-sizing: border-box;
  857. position: relative;
  858. .story_tag {
  859. position: absolute;
  860. top: 12px;
  861. left: 15px;
  862. color: #FFFFFF;
  863. padding: 2px 5px;
  864. border-radius: 2px;
  865. font-size: 10px;
  866. }
  867. .story_title {
  868. position: absolute;
  869. bottom: 15px;
  870. left: 15px;
  871. right: 15px;
  872. color: #fff;
  873. overflow: hidden;
  874. white-space: nowrap;
  875. text-overflow: ellipsis;
  876. font-size: 14px;
  877. }
  878. }
  879. }
  880. .user_list {
  881. text-align: center;
  882. display: flex;
  883. .user_box {
  884. padding: 0 10px;
  885. display: block;
  886. width: 25%;
  887. box-sizing: border-box;
  888. .user_avatar {
  889. width: 100%;
  890. border-radius: 50%;
  891. .user-avatar {
  892. border-radius: 50%;
  893. }
  894. }
  895. .user_name_box {
  896. font-size: 12px;
  897. margin-top: 5px;
  898. display: flex;
  899. .user-name {
  900. flex: 1;
  901. overflow: hidden;
  902. white-space: nowrap;
  903. text-overflow: ellipsis;
  904. }
  905. /* .user-grade {
  906. background: url("/static/image/TNF_v2_r2_c2.png") no-repeat center;
  907. display: inline-block;
  908. border-radius: 50%;
  909. width: 18px;
  910. padding-left: 10px;
  911. color: #ffffff;
  912. font-style: italic;
  913. } */
  914. }
  915. }
  916. }
  917. .like_list {
  918. margin: 0 -5px;
  919. font-size: 10px;
  920. .like_box {
  921. padding: 0 10px;
  922. display: inline-block;
  923. width: 33.333%;
  924. box-sizing: border-box;
  925. .like_inner {
  926. border: 1px solid #e5e5e5;
  927. padding: 5px;
  928. }
  929. .like_name {
  930. overflow: hidden;
  931. text-overflow: ellipsis;
  932. white-space: nowrap;
  933. }
  934. .like_image {
  935. width: 100%;
  936. image{
  937. height: 200rpx !important;
  938. }
  939. }
  940. .like_money {
  941. color: #ED3327;
  942. }
  943. }
  944. }
  945. }
  946. }
  947. .wxparser--wxParser-img {
  948. width: 100% !important;
  949. vertical-align:top;
  950. }
  951. .to-top{
  952. position: fixed;
  953. bottom: 80px;
  954. right: 13px;
  955. width: 40px;
  956. height: 40px;
  957. text-align: center;
  958. line-height: 40px;
  959. border-radius: 100%;
  960. background-color: #f9be00;
  961. padding: 5px;
  962. overflow: hidden;
  963. }
  964. .tabbar{
  965. position: fixed;
  966. bottom: 0;
  967. width: 100%;
  968. height: 55px;
  969. z-index: 50;
  970. color: #9B9B9B;
  971. font-size: 13px;
  972. background: #FFFFFF;
  973. display: flex;
  974. .tabbar-item {
  975. display: flex;
  976. flex: 1;
  977. width: 0%;
  978. justify-content: center;
  979. align-items: center;
  980. font-size: 12px;
  981. flex-direction: column;
  982. button {
  983. position: absolute;
  984. top: 0;
  985. bottom:0;
  986. width: 100%;
  987. padding: 0;
  988. opacity: 0;
  989. &:after {
  990. border-radius: 0;
  991. border: none;
  992. }
  993. }
  994. i{
  995. font-size: 20px;
  996. }
  997. &.item_3{
  998. color: #fff;
  999. font-size: 16px;
  1000. font-weight: bold;
  1001. flex: 2;
  1002. &.alone {
  1003. //padding:3px 0;
  1004. font-size: 16px;
  1005. line-height: inherit;
  1006. background: @secColor;
  1007. color: #fff;
  1008. flex-direction: column;
  1009. .price {
  1010. font-size: 12px;
  1011. }
  1012. }
  1013. &.immediately {
  1014. background: @secColor;
  1015. color: #fff;
  1016. }
  1017. }
  1018. &.svip-btn {
  1019. background:linear-gradient(150deg,rgba(246,202,142,1) 0%,rgba(248,180,90,1) 100%);
  1020. color: #333333;
  1021. }
  1022. &.favorite{
  1023. color: @globalColor;
  1024. i{
  1025. color: @globalColor;
  1026. }
  1027. }
  1028. }
  1029. .btn_1 {
  1030. background: #CCCCCC;
  1031. &.no-seckill{
  1032. background:#494949;
  1033. }
  1034. }
  1035. .btn_2 {
  1036. background: @mainColor;
  1037. }
  1038. .seckill{
  1039. background: @mainColor;
  1040. color: #FFFFFF;
  1041. border-radius: 4px;
  1042. }
  1043. }
  1044. .new-tabbar{
  1045. padding:12px 15px;
  1046. height: 67px;
  1047. .tabbar-item{
  1048. //justify-content: left;
  1049. i{
  1050. font-size: 24px;
  1051. }
  1052. &.item_0 {
  1053. align-items: flex-start;
  1054. &.cart-item-box {
  1055. i {
  1056. margin-left: 5px;
  1057. }
  1058. }
  1059. }
  1060. &.item_3{
  1061. flex: 2;
  1062. justify-content:center;
  1063. border-radius:4px 0px 0px 4px;
  1064. color:#fff;
  1065. &.alone {
  1066. font-size: 12px;
  1067. line-height: inherit;
  1068. background: @secColor;
  1069. color: #fff;
  1070. //flex: 3;
  1071. //margin:0 10px;
  1072. .price {
  1073. font-size: 12px;
  1074. }
  1075. }
  1076. &.immediately {
  1077. background: @secColor;
  1078. color: #fff;
  1079. }
  1080. &.seckill{
  1081. //background:#FB5054;
  1082. //background: red;
  1083. background: @mainColor;
  1084. color:#fff;
  1085. //border-radius: 4px;
  1086. &.seckill-btn-box {
  1087. border-radius: 4px;
  1088. flex: 3;
  1089. }
  1090. &.multiGroupon {
  1091. background:#FB5054;
  1092. border-radius: 0 4px 4px 0;
  1093. }
  1094. }
  1095. }
  1096. &.right_btn {
  1097. border-radius:0px 4px 4px 0px;
  1098. }
  1099. &.server-item {
  1100. position: relative;
  1101. align-items: flex-start;
  1102. }
  1103. }
  1104. }
  1105. }
  1106. /*选取规格部分*/
  1107. .select_goods_container {
  1108. background: #ffffff;
  1109. position: relative;
  1110. z-index:100;
  1111. .select_goods_cloese {
  1112. position: absolute;
  1113. top:12px;
  1114. right:10px;
  1115. width:20px;
  1116. height:20px;
  1117. background: transparent;
  1118. z-index:4;
  1119. overflow:visible;
  1120. }
  1121. .select_goods_cloese:before{
  1122. position: absolute;
  1123. top:9px;
  1124. left:-1px;
  1125. content: '';
  1126. width:28px;
  1127. height:2px;
  1128. background: #2e2e2e;
  1129. transform: rotate(45deg) ;
  1130. }
  1131. .select_goods_cloese:after{
  1132. top:9px;
  1133. left:-1px;
  1134. position: absolute;
  1135. content: '';
  1136. width:28px;
  1137. height:2px;
  1138. background: #2e2e2e;
  1139. transform: rotate(-45deg);
  1140. }
  1141. .select_goods_header{
  1142. display: flex;
  1143. align-items: center;
  1144. position: relative;
  1145. height: 60px;
  1146. .img_box {
  1147. position: absolute;
  1148. left: 10px;
  1149. bottom: 10px;
  1150. width: 78px;
  1151. height: 78px;
  1152. border: 1px solid #e5e5e5;
  1153. background: #f9f9f9;
  1154. overflow: hidden;
  1155. image {
  1156. width:78px;
  1157. height:78px;
  1158. object-fit: fill;
  1159. }
  1160. }
  1161. .price_item {
  1162. font-size:18px;
  1163. margin-left:20px;
  1164. height:100%;
  1165. margin-left: 100px;
  1166. display:-webkit-flex;
  1167. flex-direction: column;
  1168. justify-content: center;
  1169. text {
  1170. display: block;
  1171. text-align: left;
  1172. }
  1173. text:nth-child(1){
  1174. font-weight:bold;
  1175. color:#C1870C;
  1176. }
  1177. text:nth-child(2){
  1178. font-size:14px;
  1179. color:#6c6c6c;
  1180. text-indent:3px
  1181. }
  1182. }
  1183. }
  1184. .select_spec {
  1185. font-size: 12px;
  1186. padding: 12px 8px 50px 8px;
  1187. .spec_line {
  1188. display: flex;
  1189. margin-bottom: 15px;
  1190. .spec_title {
  1191. padding-right: 11px;
  1192. color: #c4c4c4;
  1193. width: 50px;
  1194. line-height: 35px;
  1195. }
  1196. .spec_list {
  1197. display: block;
  1198. line-height:35px;
  1199. color:#959595;
  1200. font-size:15px;
  1201. }
  1202. .spec_block {
  1203. display: inline-block;
  1204. margin-top: 10px;
  1205. margin-right: 10px;
  1206. .spec_text {
  1207. display: block;
  1208. padding: 0 7px;
  1209. height: 33px;
  1210. line-height: 33px;
  1211. min-width: 33px;
  1212. border: 1px solid #DDDDDD;
  1213. text-align: center;
  1214. font-size: 12px;
  1215. position: relative;
  1216. .border-color {
  1217. position: absolute;
  1218. top: -1px;
  1219. left: -1px;
  1220. right: -1px;
  1221. bottom: -1px;
  1222. border: 3px solid @mainColor;
  1223. }
  1224. }
  1225. image {
  1226. height: 100%;
  1227. width: 100%;
  1228. }
  1229. .spec_icon {
  1230. width: 35px;
  1231. height: 35px;
  1232. padding: 0;
  1233. }
  1234. &.active text {
  1235. /*&:before {
  1236. content: '';
  1237. position: absolute;
  1238. border: 3px solid @mainColor;
  1239. top: -1px;
  1240. left: -1px;
  1241. right: -1px;
  1242. bottom: -1px;
  1243. }*/
  1244. }
  1245. &.disabled text {
  1246. border: none;
  1247. margin: 1px;
  1248. &:before {
  1249. content: '';
  1250. position: absolute;
  1251. background-color: #eee;
  1252. top: -1px;
  1253. left: -1px;
  1254. right: -1px;
  1255. bottom: -1px;
  1256. opacity: 0.6;
  1257. }
  1258. &:after {
  1259. content: '';
  1260. position: absolute;
  1261. border: 3px dashed #cfcfcf;
  1262. top: -1px;
  1263. left: -1px;
  1264. right: -1px;
  1265. bottom: -1px;
  1266. }
  1267. }
  1268. }
  1269. .num_title {
  1270. padding-right: 11px;
  1271. color: #c4c4c4;
  1272. width: 50px;
  1273. line-height: 30px;
  1274. }
  1275. .num_value {
  1276. display: flex;
  1277. font-size: 0;
  1278. text {
  1279. display: block;
  1280. border: 1px solid #e8e8e8;
  1281. text-align: center;
  1282. min-width: 28px;
  1283. width: 28px;
  1284. height: 28px;
  1285. line-height: 28px;
  1286. font-size: 12px;
  1287. &.store {
  1288. width: auto;
  1289. border-color: #ffffff;
  1290. margin-left: 10px;
  1291. }
  1292. }
  1293. input {
  1294. display: block;
  1295. border: none;
  1296. height: 100%;
  1297. width: 100%;
  1298. text-align: center;
  1299. outline: none;
  1300. font-size: 12px;
  1301. }
  1302. .none_border {
  1303. width: 30px;
  1304. border:1px solid #e8e8e8;
  1305. border-left: none;
  1306. border-right: none;
  1307. }
  1308. }
  1309. }
  1310. }
  1311. }
  1312. .detail-popup {
  1313. width:100%;
  1314. position: fixed;
  1315. left: 0;
  1316. bottom: -55px;
  1317. // #ifdef H5
  1318. bottom:0px;
  1319. // #endif
  1320. z-index: 51;
  1321. transform:translate3d(0,100,0);
  1322. /*选取规格部分*/
  1323. .select_spec {
  1324. font-size: 12px;
  1325. padding: 12px 8px 50px 8px;
  1326. .spec_line {
  1327. display: flex;
  1328. margin-bottom: 15px;
  1329. .spec_title {
  1330. padding-right: 11px;
  1331. color: #c4c4c4;
  1332. width: 50px;
  1333. line-height: 35px;
  1334. }
  1335. .spec_list {
  1336. display: block;
  1337. line-height:35px;
  1338. color:#959595;
  1339. font-size:15px;
  1340. }
  1341. .spec_value {
  1342. flex: 1;
  1343. font-size: 0;
  1344. margin-top: -10px;
  1345. view{
  1346. overflow: hidden;
  1347. }
  1348. }
  1349. .spec_block {
  1350. display: inline-block;
  1351. margin-top: 10px;
  1352. margin-right: 10px;
  1353. text {
  1354. display: block;
  1355. padding: 0 7px;
  1356. height: 33px;
  1357. line-height: 33px;
  1358. min-width: 20px;
  1359. border: 1px solid #DDDDDD;
  1360. text-align: center;
  1361. font-size: 12px;
  1362. position: relative;
  1363. }
  1364. image {
  1365. height: 100%;
  1366. width: 100%;
  1367. }
  1368. &.active view {
  1369. &:before {
  1370. /*content: '';
  1371. position: absolute;
  1372. border: 3px solid @mainColor;
  1373. top: -1px;
  1374. left: -1px;
  1375. right: -1px;
  1376. bottom: -1px;*/
  1377. }
  1378. }
  1379. &.disabled view {
  1380. border: none;
  1381. margin: 1px;
  1382. &:before {
  1383. content: '';
  1384. position: absolute;
  1385. background-color: #eee;
  1386. top: -1px;
  1387. left: -1px;
  1388. right: -1px;
  1389. bottom: -1px;
  1390. opacity: 0.6;
  1391. }
  1392. &:after {
  1393. content: '';
  1394. position: absolute;
  1395. border: 3px dashed #cfcfcf;
  1396. top: -1px;
  1397. left: -1px;
  1398. right: -1px;
  1399. bottom: -1px;
  1400. }
  1401. }
  1402. }
  1403. .num_title {
  1404. padding-right: 11px;
  1405. color: #c4c4c4;
  1406. width: 50px;
  1407. line-height: 30px;
  1408. }
  1409. .purchase{
  1410. line-height: 30px;
  1411. color:#aaaaaa;
  1412. margin-left: 10px;
  1413. }
  1414. //.num_value {
  1415. // display: flex;
  1416. // flex: 1;
  1417. // font-size: 0;
  1418. //
  1419. // text {
  1420. // display: block;
  1421. // border: 1px solid #e8e8e8;
  1422. // text-align: center;
  1423. // min-width: 28px;
  1424. // width: 28px;
  1425. // height: 28px;
  1426. // line-height: 28px;
  1427. // font-size: 12px;
  1428. //
  1429. // &.store {
  1430. // width: auto;
  1431. // border-color: #ffffff;
  1432. // margin-left: 10px;
  1433. // }
  1434. // }
  1435. //
  1436. // input {
  1437. // display: block;
  1438. // border: none;
  1439. // height: 100%;
  1440. // width: 100%;
  1441. // text-align: center;
  1442. // outline: none;
  1443. // }
  1444. //
  1445. // .none_border {
  1446. // width:50px;
  1447. // border-left: none;
  1448. // border-right: none;
  1449. // }
  1450. //}
  1451. }
  1452. .button {
  1453. height: 50px;
  1454. line-height: 50px;
  1455. text-align: center;
  1456. position: absolute;
  1457. bottom: 0px;
  1458. /* #ifdef MP-WEIXIN */
  1459. bottom: -50px;
  1460. /* #endif */
  1461. left: 0;
  1462. right: 0;
  1463. border-radius: 0;
  1464. background:@mainColor;
  1465. &.disabled {
  1466. background: #C2C2C2;
  1467. }
  1468. &:after {
  1469. border: none;
  1470. border-radius: 0;
  1471. }
  1472. }
  1473. }
  1474. }
  1475. .share-fixed{
  1476. position: fixed;
  1477. right: 15px;
  1478. bottom:130px;
  1479. width:50px;
  1480. padding:6px 0 4px 0;
  1481. background:linear-gradient(180deg,rgba(228,212,168,1) 0%,rgba(219,182,126,1) 100%);
  1482. box-shadow:0px -4px 26px 0px rgba(0,0,0,0.11);
  1483. border-radius:4px;
  1484. text-align: center;
  1485. font-size:12px;
  1486. .iconfont{
  1487. padding-bottom:3px;
  1488. }
  1489. }
  1490. //call
  1491. .call{
  1492. position: fixed;
  1493. top: 60px;
  1494. right: 15px;
  1495. font-size: 12px;
  1496. z-index: 99;
  1497. span{
  1498. padding: 5px 10px;
  1499. background: @globalColor;
  1500. color:#fff;
  1501. }
  1502. .over{
  1503. background: #F3F3F3;
  1504. color: #9B9B9B;
  1505. }
  1506. .success {
  1507. background: #F3F3F3;
  1508. color: @globalColor;
  1509. }
  1510. }
  1511. .maks{
  1512. position: fixed;
  1513. bottom: 0;
  1514. width: 100%;
  1515. height: 100%;
  1516. z-index: 40;
  1517. background: rgba(0,0,0,.6);
  1518. opacity: 1;
  1519. transition: opacity .3s ease;
  1520. display: none;
  1521. &.share {
  1522. background: none;
  1523. }
  1524. &.cur{
  1525. display: block;
  1526. }
  1527. }
  1528. /*选择优惠券部分*/
  1529. .select-coupon-box {
  1530. background: #F7F7F7;
  1531. position: fixed;
  1532. bottom: 0;
  1533. width: 100%;
  1534. height: 0;
  1535. z-index: 50;
  1536. transition:all .3s linear;
  1537. &.cur{
  1538. height: 60%;
  1539. }
  1540. .select-coupon {
  1541. height: 100%;
  1542. box-sizing: border-box;
  1543. .select-coupon-top {
  1544. padding: 0 15px;
  1545. background: #e9e9e9;
  1546. text-align: center;
  1547. overflow: visible;
  1548. .title {
  1549. position: relative;
  1550. color: #4A4A4A;
  1551. overflow: visible;
  1552. font-size: 14px;
  1553. padding: 10px 0;
  1554. .close {
  1555. position: absolute;
  1556. right: -10px;
  1557. top: 0px;
  1558. padding: 10px;
  1559. }
  1560. }
  1561. }
  1562. .select-coupon-bottom {
  1563. padding: 0 15px;
  1564. height: 100%;
  1565. overflow: auto;
  1566. box-sizing: border-box;
  1567. .title{
  1568. font-size: 14px;
  1569. color: #000;
  1570. padding-top: 8px;
  1571. }
  1572. .coupon-box {
  1573. margin-bottom: 50px;
  1574. .ticket_box {
  1575. padding-bottom: 10px;
  1576. display: flex;
  1577. img {
  1578. width: 100%;
  1579. }
  1580. .f12 {
  1581. font-size: 12px;
  1582. }
  1583. .color_3 {
  1584. color: #838383;
  1585. }
  1586. .fff {
  1587. color: #fff;
  1588. }
  1589. .online {
  1590. color: #FD8300;
  1591. }
  1592. &:first-child {
  1593. margin-top: 10px;
  1594. }
  1595. .ticket_left {
  1596. width: 109px;
  1597. height: 90px;
  1598. background-size: 109px;
  1599. .ticket_left_content {
  1600. display: flex;
  1601. align-items: center;
  1602. background: @globalColor;
  1603. height: 100%;
  1604. font-size: 12px;
  1605. }
  1606. }
  1607. .ticket_left_y {
  1608. background-size: cover;
  1609. }
  1610. .ticket_left_b {
  1611. background-size: cover;
  1612. }
  1613. .ticket_right {
  1614. flex: 1;
  1615. background-size: 10px;
  1616. padding-right: 9px;
  1617. overflow: hidden;
  1618. background: #FFFFFF;
  1619. .ticket_right_top {
  1620. border-bottom: 1px solid #DDDDDD;
  1621. padding-top: 10px;
  1622. padding-bottom: 5px;
  1623. }
  1624. .ticket_right_bottom {
  1625. background: #FFFFFF;
  1626. padding-bottom: 4px;
  1627. padding-top: 1px;
  1628. .names {
  1629. font-size: 12px;
  1630. margin: 5px 5px 0 0;
  1631. overflow: hidden;
  1632. text-overflow: ellipsis;
  1633. white-space: nowrap;
  1634. }
  1635. .btn-box {
  1636. display: flex;
  1637. align-items: center;
  1638. justify-content: space-between;
  1639. padding-right: 5px;
  1640. .btn {
  1641. width: 70px;
  1642. height: 20px;
  1643. line-height: 20px;
  1644. text-align: center;
  1645. -webkit-border-radius: 15px;
  1646. border-radius: 15px;
  1647. padding: 2px 0;
  1648. &.use {
  1649. color: @globalColor;
  1650. border: 1px solid @globalColor;
  1651. }
  1652. &.already {
  1653. color: #717071;
  1654. background: #DBDCDC;
  1655. border: 1px solid #DBDCDC;
  1656. }
  1657. }
  1658. .time {
  1659. white-space: nowrap;
  1660. overflow: hidden;
  1661. text-overflow: ellipsis;
  1662. }
  1663. }
  1664. }
  1665. }
  1666. }
  1667. .coupon-item {
  1668. margin-bottom: 10px;
  1669. &:first-child {
  1670. margin-top: 10px;
  1671. }
  1672. .coupon {
  1673. display: flex;
  1674. &.shasow {
  1675. box-shadow: 0px 7px 10px 0px rgba(6, 0, 0, 0.2);
  1676. }
  1677. .coupon-left {
  1678. width: 110px;
  1679. height: 80px;
  1680. color: #ffffff;
  1681. background-size: cover;
  1682. background: @mainColor;
  1683. position: relative;
  1684. .text-wrap {
  1685. display: flex;
  1686. flex-direction: column;
  1687. justify-content: center;
  1688. align-items: center;
  1689. height: 100%;
  1690. font-size: 12px;
  1691. .text-box {
  1692. text-align: center;
  1693. width: 100%;
  1694. .text{
  1695. display: block;
  1696. padding: 0 10px;
  1697. overflow: hidden;
  1698. white-space: nowrap;
  1699. text-overflow: ellipsis;
  1700. font-size: 20px;
  1701. font-weight: 600;
  1702. &.label{
  1703. font-size: 12px;
  1704. font-weight: 100;
  1705. }
  1706. .money{
  1707. font-size: 14px;
  1708. font-weight: 100;
  1709. }
  1710. }
  1711. .money-num {
  1712. font-size: 25px;
  1713. font-weight: bold;
  1714. }
  1715. }
  1716. }
  1717. .dot-wrap {
  1718. position: absolute;
  1719. top: 0px;
  1720. margin-top: 5px;
  1721. .dot-item {
  1722. width: 5px;
  1723. height: 5px;
  1724. background: #F7F7F7;
  1725. border-radius: 50%;
  1726. margin: 4px 0 9px -1px;
  1727. &:last-child {
  1728. margin-top: 10px;
  1729. }
  1730. }
  1731. }
  1732. }
  1733. .coupon-right {
  1734. flex: 1;
  1735. background: #fff;
  1736. padding: 0px 15px;
  1737. font-size: 12px;
  1738. overflow: hidden;
  1739. .top {
  1740. font-size: 12px;
  1741. display: -webkit-box;
  1742. color: #333333;
  1743. height: 40px;
  1744. line-height: 20px;
  1745. padding-top: 8px;
  1746. box-sizing: border-box;
  1747. text-overflow: ellipsis;
  1748. -webkit-box-orient: vertical;
  1749. -webkit-line-clamp: 2;
  1750. .type {
  1751. color: #333333;
  1752. border: 1px solid #333333;
  1753. padding: 2px 5px;
  1754. border-radius: 3px;
  1755. line-height: 20px;
  1756. margin-right: 5px;
  1757. }
  1758. }
  1759. .bottom {
  1760. .bottom-use {
  1761. display: flex;
  1762. align-items: center;
  1763. justify-content: space-between;
  1764. font-size: 12px;
  1765. margin: 7px 0;
  1766. .tiem-box {
  1767. color: #9E9E9F;
  1768. flex: 1;
  1769. font-size: 9px;
  1770. overflow: hidden;
  1771. text-overflow: ellipsis;
  1772. white-space: nowrap;
  1773. margin-top: 5px;
  1774. }
  1775. .btn {
  1776. text-align: center;
  1777. border-radius: 3px;
  1778. padding: 3px 12px;
  1779. }
  1780. .use {
  1781. color: #fff;
  1782. border: 1px solid @mainColor;
  1783. background: @mainColor;
  1784. }
  1785. .already {
  1786. color: #9B9B9B;
  1787. background: #fff;
  1788. border: 1px solid #9B9B9B;
  1789. }
  1790. }
  1791. }
  1792. }
  1793. }
  1794. }
  1795. }
  1796. }
  1797. }
  1798. }
  1799. /*查看促销部分*/
  1800. .see-discounts-box{
  1801. background: #F7F7F7;
  1802. position: fixed;
  1803. bottom: 0;
  1804. width: 100%;
  1805. height: 0;
  1806. z-index: 50;
  1807. transition:all .3s linear;
  1808. &.cur{
  1809. height: 60%;
  1810. }
  1811. .select-discounts {
  1812. height: 100%;
  1813. box-sizing: border-box;
  1814. .select-discounts-top {
  1815. padding: 0 15px;
  1816. background: #e9e9e9;
  1817. text-align: center;
  1818. overflow: visible;
  1819. .title {
  1820. position: relative;
  1821. color: #4A4A4A;
  1822. overflow: visible;
  1823. font-size: 14px;
  1824. padding: 10px 0;
  1825. .close {
  1826. position: absolute;
  1827. right: -10px;
  1828. top: 0px;
  1829. padding: 10px;
  1830. }
  1831. }
  1832. }
  1833. .select-discounts-bottom {
  1834. height:100%;
  1835. /*padding-bottom: 50px;*/
  1836. overflow: auto;
  1837. box-sizing: border-box;
  1838. .disconts-item {
  1839. display: flex;
  1840. align-items: baseline;
  1841. padding: 10px 5px;
  1842. &:last-child:before {
  1843. display: none;
  1844. }
  1845. &:last-child {
  1846. margin-bottom: 0;
  1847. }
  1848. .discounts-tags-title {
  1849. color: @mainColor;
  1850. border: 1px solid @mainColor;
  1851. border-radius: 3px;
  1852. padding: 0 5px;
  1853. margin-right: 10px;
  1854. }
  1855. .tags-item{
  1856. flex: 1;
  1857. }
  1858. }
  1859. }
  1860. }
  1861. .show-same {
  1862. font-size: 14px;
  1863. padding: 15px;
  1864. }
  1865. }
  1866. //加入购物车弹出
  1867. .cart-box{
  1868. .cart-mask{
  1869. position: fixed;
  1870. top: 0;
  1871. left: 0;
  1872. right: 0;
  1873. bottom: 0;
  1874. z-index: 200;
  1875. background-color: rgba(0,0,0,.4);
  1876. }
  1877. .cart-dialog{
  1878. position: fixed;
  1879. z-index: 500;
  1880. width: 85%;
  1881. top: 50%;
  1882. left: 50%;
  1883. -webkit-transform: translate(-50%,-50%);
  1884. transform: translate(-50%,-50%);
  1885. background-color: #fafafc;
  1886. text-align: center;
  1887. border-radius: 5px;
  1888. overflow: hidden;
  1889. .title{
  1890. padding: 20px 0;
  1891. font-size: 15px;
  1892. }
  1893. .buttons{
  1894. display: flex;
  1895. padding: 20px 8px;
  1896. font-size: 15px;
  1897. word-wrap: break-word;
  1898. word-break: break-all;
  1899. .button{
  1900. display: block;
  1901. background:@mainColor;
  1902. color: #fff;
  1903. padding: 10px;
  1904. margin: 0 8px;
  1905. flex: 1;
  1906. width: 0;
  1907. text-align: center;
  1908. border-radius:3px;
  1909. &.agin{
  1910. background-color: #FFFFFF;
  1911. color:@mainColor;
  1912. border: 1px solid @mainColor;
  1913. }
  1914. }
  1915. }
  1916. }
  1917. }
  1918. //弹出更多门店
  1919. .more-shop-box {
  1920. position: fixed;
  1921. width: 100%;
  1922. height: 0;
  1923. bottom: 0;
  1924. z-index: 55;
  1925. transition:all .3s linear;
  1926. &.cur{
  1927. height:55%;
  1928. }
  1929. .title {
  1930. height:50px;
  1931. text-align:right;
  1932. line-height:50px;
  1933. padding-right:20px;
  1934. font-size:28px;
  1935. color: #AAAAAA;
  1936. }
  1937. .content {
  1938. height: 100%;
  1939. background: #FFFFFF;
  1940. padding-top: 0;
  1941. overflow: auto;
  1942. .title-text {
  1943. line-height: 50px;
  1944. color: #333333;
  1945. font-size: 13px;
  1946. padding: 0 15px;
  1947. font-weight: 700;
  1948. }
  1949. .shop-list {
  1950. padding-bottom: 50px;
  1951. .item {
  1952. padding: 15px;
  1953. font-size: 12px;
  1954. color: #666666;
  1955. line-height: 22px;
  1956. .name {
  1957. font-size: 14px;
  1958. color: #333333;
  1959. font-weight: 700;
  1960. }
  1961. }
  1962. }
  1963. }
  1964. }
  1965. //弹出拼团规则部分
  1966. .rule-box{
  1967. position: fixed;
  1968. width: 100%;
  1969. height: 0;
  1970. bottom: 0;
  1971. z-index: 50;
  1972. transition:all .3s linear;
  1973. background-color: #FFFFFF;
  1974. .rules-title{
  1975. display: flex;
  1976. justify-content: space-between;
  1977. align-items: center;
  1978. padding:14px 15px;
  1979. font-size: 12px;
  1980. color:#4A4A4A;
  1981. line-height: 16px;
  1982. background-color:#F3F3F3;
  1983. .iconfont{
  1984. color: #9B9B9B;
  1985. font-size: 12px;
  1986. }
  1987. }
  1988. .rules-content{
  1989. background-color: #FFFFFF;
  1990. padding: 15px;
  1991. .rules-item{
  1992. line-height: 28px;
  1993. padding-bottom:15px;
  1994. .info-title{
  1995. color:#2E2D2D;
  1996. font-size: 14px;
  1997. }
  1998. .infomation{
  1999. color:#4A4A4A;
  2000. font-size:12px;
  2001. }
  2002. }
  2003. }
  2004. &.cur{
  2005. height:75%;
  2006. overflow: auto;
  2007. }
  2008. }
  2009. //弹出第三方供货说明
  2010. .third-box{
  2011. background-color: #FFFFFF;
  2012. position: fixed;
  2013. width: 100%;
  2014. z-index: 50;
  2015. bottom: 0;
  2016. height:0;
  2017. transition: all .3s linear;
  2018. .title{
  2019. display: flex;
  2020. padding:15px 22px;
  2021. color:#4A4A4A;
  2022. font-size: 12px;
  2023. line-height: 16px;
  2024. align-items: center;
  2025. justify-content: center;
  2026. .txt{
  2027. flex: 1;
  2028. text-align: center;
  2029. }
  2030. .iconfont{
  2031. font-size:10px;
  2032. color:#909090;
  2033. }
  2034. }
  2035. .content{
  2036. padding:22px 15px 33px 15px;
  2037. overflow: auto;
  2038. .item{
  2039. display: flex;
  2040. span{
  2041. color:#FF2741;
  2042. font-size: 10px;
  2043. padding-right: 7px;
  2044. line-height:18px;
  2045. }
  2046. .txt{
  2047. color:#4A4A4A;
  2048. font-size: 13px;
  2049. line-height: 18px;
  2050. .info{
  2051. color:#909090;
  2052. font-size: 12px;
  2053. line-height: 18px;
  2054. }
  2055. .mar-bottom{
  2056. margin-bottom: 33px;
  2057. }
  2058. }
  2059. }
  2060. .pad-bottom{
  2061. padding-bottom:9px;
  2062. }
  2063. }
  2064. &.cur{
  2065. height: 50%;
  2066. }
  2067. }
  2068. //弹出更多拼团详情
  2069. .more-box{
  2070. background-color: #FFFFFF;
  2071. position: fixed;
  2072. width: 100%;
  2073. z-index: 50;
  2074. bottom: 0;
  2075. height: 0;
  2076. transition: all .3s linear;
  2077. .more-title{
  2078. color:#9B9B9B;
  2079. padding:12px 0 12px 14px;
  2080. font-size: 14px;
  2081. line-height: 20px;
  2082. border-bottom: 1px solid #E1E2EA;
  2083. }
  2084. scroll-view{
  2085. height: 85%;
  2086. }
  2087. .more-content{
  2088. padding-bottom: 10px;
  2089. .more-item{
  2090. display: flex;
  2091. align-items: center;
  2092. justify-content:space-between;
  2093. padding:0 12px;
  2094. height: 64px;
  2095. border-bottom: 1px solid #E1E2EA;
  2096. .use-info{
  2097. //flex: 1;
  2098. width: 120px;
  2099. display: flex;
  2100. align-items: center;
  2101. image{
  2102. width: 44px;
  2103. height: 44px;
  2104. border-radius: 50%;
  2105. }
  2106. .nick-name{
  2107. color:#2E2D2D;
  2108. font-size: 12px;
  2109. line-height: 16px;
  2110. padding-left:10px;
  2111. overflow: hidden;
  2112. text-overflow: ellipsis;
  2113. white-space: nowrap;
  2114. }
  2115. }
  2116. /*.offered-info{
  2117. flex: 1;
  2118. display: flex;
  2119. justify-content:flex-end;
  2120. align-items: center;
  2121. .info-num{
  2122. display: inline-block;
  2123. color: #2E2D2D;
  2124. font-size: 12px;
  2125. line-height:16px;
  2126. padding-right:10px;
  2127. view{
  2128. display: inline-block;
  2129. color:#FF2741;
  2130. }
  2131. }
  2132. .info-btn{
  2133. display: inline-block;
  2134. padding: 6px 12px;
  2135. color:#FFFFFF;
  2136. font-size: 14px;
  2137. line-height: 20px;
  2138. background-color:#FF2741;
  2139. border-radius: 3px;
  2140. }
  2141. }*/
  2142. .offered-info{
  2143. flex: 1;
  2144. display: flex;
  2145. justify-content:flex-end;
  2146. align-items: center;
  2147. .box {
  2148. margin-right: 10px;
  2149. text-align: right;
  2150. }
  2151. .info-num{
  2152. display: inline-block;
  2153. color: #2E2D2D;
  2154. font-size: 12px;
  2155. line-height:16px;
  2156. padding-right:10px;
  2157. flex: 1;
  2158. text-align: right;
  2159. span{
  2160. display: inline-block;
  2161. color:@globalColor;
  2162. }
  2163. }
  2164. .info-btn{
  2165. display: inline-block;
  2166. padding: 6px 12px;
  2167. color:#FFFFFF;
  2168. font-size: 14px;
  2169. line-height: 20px;
  2170. background-color:#FF2741;
  2171. border-radius: 3px;
  2172. }
  2173. }
  2174. }
  2175. .groups-time-box {
  2176. display: flex;
  2177. align-items: center;
  2178. color: #9B9B9B;
  2179. font-size: 12px;
  2180. .time-out {
  2181. i {
  2182. display: none;
  2183. }
  2184. .my-class {
  2185. display: none !important;
  2186. }
  2187. .tiem {
  2188. font-size: 12px;
  2189. color: #9B9B9B !important;
  2190. .num-item {
  2191. background: none;
  2192. padding: 0;
  2193. color: #9B9B9B !important;
  2194. }
  2195. }
  2196. }
  2197. }
  2198. }
  2199. &.cur{
  2200. height:60%;
  2201. overflow: auto;
  2202. }
  2203. }
  2204. //弹出分享部分
  2205. .share-box {
  2206. background: #CDCDD1;
  2207. position: fixed;
  2208. bottom: 0;
  2209. width: 100%;
  2210. height: 0;
  2211. z-index: 50;
  2212. transition:all .3s linear;
  2213. .shaer-item {
  2214. height: 50px;
  2215. line-height: 50px;
  2216. text-align: center;
  2217. font-size: 18px;
  2218. color: #2E2D2D;
  2219. background: #ffffff;
  2220. border-radius: 0;
  2221. &:after {
  2222. border: none;
  2223. }
  2224. &.clear {
  2225. margin-top: 5px;
  2226. color: #9B9B9B;
  2227. }
  2228. }
  2229. &.cur{
  2230. height: 155px;
  2231. }
  2232. }
  2233. //分享到朋友圈弹出
  2234. .share-img-box {
  2235. background:rgba(0,0,0,.8);
  2236. position: fixed;
  2237. bottom: 0;
  2238. width: 100%;
  2239. height: 0;
  2240. z-index: 50;
  2241. transition:all .3s linear;
  2242. .imgs-box {
  2243. background: #F3F3F3;
  2244. border-radius: 10px;
  2245. margin:20px;
  2246. overflow: hidden;
  2247. .img{
  2248. box-shadow:0px 4px 8px 0px rgba(155,155,155,0.5);
  2249. border-radius: 6px;
  2250. margin: 30px;
  2251. box-sizing: border-box;
  2252. image{
  2253. display: block;
  2254. width: 100%;
  2255. }
  2256. }
  2257. .text {
  2258. text-align: center;
  2259. margin-top: 22px;
  2260. font-size: 12px;
  2261. color: #9B9B9B;
  2262. }
  2263. .save {
  2264. background: @mainColor;
  2265. height: 44px;
  2266. line-height: 44px;
  2267. color: #ffffff;
  2268. text-align: center;
  2269. border-radius: 10px;
  2270. margin: 10px 20px;
  2271. }
  2272. i{
  2273. position: absolute;
  2274. top: 0px;
  2275. right: 0px;
  2276. color: #CCCCCC;
  2277. font-size: 30px;
  2278. }
  2279. }
  2280. &.cur{
  2281. height: 100%;
  2282. }
  2283. }
  2284. .seckill-time-box{
  2285. font-size: 14px;
  2286. .seckill-item{
  2287. text-align: right;
  2288. .no-starts{
  2289. display: none;
  2290. }
  2291. div{
  2292. display: inline-block;
  2293. }
  2294. .text{
  2295. margin: 2px 5px;
  2296. }
  2297. span{
  2298. background: #FFFFFF;
  2299. color: #fe4545;
  2300. padding: 0 5px;
  2301. border-radius: 3px;
  2302. }
  2303. p{
  2304. display: inline-block;
  2305. }
  2306. }
  2307. }
  2308. /*新版秒杀*/
  2309. .seckill-box{
  2310. padding: 0px 10px 5px 10px;
  2311. margin-bottom: 5px;
  2312. display: flex;
  2313. align-items: center;
  2314. .money-box{
  2315. flex: 1;
  2316. text-align: right;
  2317. .old{
  2318. text-decoration: line-through;
  2319. color: #959595;
  2320. }
  2321. .new{
  2322. font-size: 25px;
  2323. color: #ee2b1d;
  2324. }
  2325. }
  2326. .seckill-item{
  2327. text-align: left;
  2328. .no-starts{
  2329. display: block;
  2330. }
  2331. .time-text{
  2332. background: #000;
  2333. color: #FFFFFF;
  2334. padding: 2px 5px;
  2335. border-radius: 3px;
  2336. margin-top: 2px;
  2337. }
  2338. .text{
  2339. margin: 0;
  2340. }
  2341. span{
  2342. background: #000;
  2343. color: #FFFFFF;
  2344. };
  2345. i{
  2346. display: none;
  2347. }
  2348. .tiem{
  2349. display: block;
  2350. }
  2351. }
  2352. &.active {
  2353. .seckill-item{
  2354. .text{
  2355. margin: 0;
  2356. color: #e60113;
  2357. }
  2358. span{
  2359. background: #e60113;
  2360. color: #FFFFFF;
  2361. };
  2362. .tiem{
  2363. color: #e60113;
  2364. }
  2365. }
  2366. }
  2367. }
  2368. .attention-WeChat{
  2369. position:fixed;
  2370. bottom:0;
  2371. width:100%;
  2372. height:0;
  2373. z-index:50;
  2374. //transition:all .3s linear;
  2375. color: #ffffff;
  2376. text-align: center;
  2377. overflow: hidden;
  2378. &.cur {
  2379. height: 40%;
  2380. }
  2381. .service-box {
  2382. display: flex;
  2383. align-content: center;
  2384. background: #ffffff;
  2385. height: 100%;
  2386. font-size: 12px;
  2387. .item {
  2388. flex: 1;
  2389. display: flex;
  2390. flex-direction: column;
  2391. color: #000;
  2392. align-items: center;
  2393. justify-content: space-around;
  2394. image {
  2395. width: 72%;
  2396. }
  2397. &.phone {
  2398. background: #4B8AF2;
  2399. color: #ffffff;
  2400. &:before {
  2401. content: '';
  2402. position: absolute;
  2403. left: 50%;
  2404. top: 50%;
  2405. transform: translate(-50%,-50%);
  2406. background: #ffffff;
  2407. width: 20px;
  2408. height: 20px;
  2409. border-radius: 100%;
  2410. }
  2411. .phone-text {
  2412. width: 100%;
  2413. position: relative;
  2414. image {
  2415. //width: 72%;
  2416. opacity: 0;
  2417. }
  2418. font-size: 12px;
  2419. .phone-warp {
  2420. position: absolute;
  2421. top: 0;
  2422. bottom: 0;
  2423. width: 100%;
  2424. }
  2425. i{
  2426. color: #FFFFFF;
  2427. font-size: 50px;
  2428. }
  2429. .phone-num {
  2430. font-size: 20px;
  2431. }
  2432. }
  2433. }
  2434. }
  2435. }
  2436. .vmc-popup{
  2437. background: none;
  2438. }
  2439. }
  2440. //拼团信息和规则
  2441. .groups-rule{
  2442. background-color: #FFFFFF;
  2443. padding: 12px 0 0 0;
  2444. margin:10px 0;
  2445. .rule-title{
  2446. padding:0 15px 20px 13px;
  2447. display: flex;
  2448. justify-content: center;
  2449. align-items: center;
  2450. .info-one{
  2451. color:#333333;
  2452. font-size: 13px;
  2453. line-height: 25px;
  2454. padding-right: 16px;
  2455. font-weight: 700;
  2456. }
  2457. .info-two{
  2458. color:#666666;
  2459. font-size: 13px;
  2460. line-height: 18px;
  2461. /*white-space: nowrap;
  2462. overflow: hidden;
  2463. text-overflow: ellipsis;*/
  2464. flex: 1;
  2465. }
  2466. .info-three{
  2467. color: #AAAAAA;
  2468. padding-left: 22px;
  2469. font-size: 13px;
  2470. line-height: 18px;
  2471. view{
  2472. display: inline-block;
  2473. color:#9B9B9B;
  2474. padding-left:6px;
  2475. font-size: 12px;
  2476. }
  2477. }
  2478. }
  2479. .rule-avatar{
  2480. display: flex;
  2481. padding:0 22px;
  2482. flex-wrap:wrap;
  2483. height:52px;
  2484. overflow: hidden;
  2485. .avatar-item{
  2486. position: relative;
  2487. margin-bottom: 10px;
  2488. width:44px;
  2489. height:44px;
  2490. border-radius:50%;
  2491. z-index:10;
  2492. text-align: center;
  2493. line-height: 44px;
  2494. background-color:#F3F3F3;
  2495. image{
  2496. border-radius:50%;
  2497. width: 100%;
  2498. height: 100%;
  2499. }
  2500. .iconfont{
  2501. font-size:18px;
  2502. color:#9B9B9B;
  2503. }
  2504. span{
  2505. position: absolute;
  2506. bottom:-8px;
  2507. left: 50%;
  2508. margin-left: -17px;
  2509. display: inline-block;
  2510. text-align: center;
  2511. font-size: 10px;
  2512. color: #FFFFFF;
  2513. width: 35px;
  2514. height: 16px;
  2515. line-height: 16px;
  2516. border-radius:8px;
  2517. &.colonel{
  2518. background:linear-gradient(-142.8deg,rgba(246,121,126,1),rgba(234,68,72,1));
  2519. }
  2520. &.me{
  2521. background:linear-gradient(-145.2deg,rgba(251,205,36,1),rgba(247,151,28,1));
  2522. }
  2523. }
  2524. }
  2525. }
  2526. .rule-text{
  2527. color:#4A4A4A;
  2528. font-size: 12px;
  2529. padding:12px 0 26px 0;
  2530. text-align: center;
  2531. line-height:16px;
  2532. view{
  2533. display:inline-block;
  2534. &.num{
  2535. color:@globalColor;
  2536. }
  2537. }
  2538. }
  2539. .rule-progress{
  2540. padding: 0 54px 41px 54px;
  2541. position: relative;
  2542. .launch,.invite,.success{
  2543. text-align: center;
  2544. position: absolute;
  2545. top:-14px;
  2546. .iconfont{
  2547. color:#DBDBDB;
  2548. font-size:18px;
  2549. }
  2550. .text{
  2551. color:#9B9B9B;
  2552. font-size:12px;
  2553. line-height: 12px;
  2554. padding-top:4px;
  2555. }
  2556. &.active-emj{
  2557. .iconfont{
  2558. color: @globalColor;
  2559. }
  2560. .text{
  2561. color:@globalColor;
  2562. }
  2563. }
  2564. }
  2565. }
  2566. .look-groups {
  2567. display: flex;
  2568. align-items: center;
  2569. justify-content: center;
  2570. margin-top: 20px;
  2571. font-size: 12px;
  2572. color: #4A4A4A;
  2573. height: 35px;
  2574. .iconfont {
  2575. font-size: 12px;
  2576. margin-left: 5px;
  2577. color: #9B9B9B;
  2578. }
  2579. }
  2580. .virtual-box {
  2581. display: flex;
  2582. align-items: center;
  2583. margin-left: 15px;
  2584. margin-top: 25px;
  2585. padding: 15px 15px 0 0;
  2586. .title {
  2587. font-size: 14px;
  2588. color: #9B9B9B;
  2589. }
  2590. .text {
  2591. font-size: 12px;
  2592. color: #4A4A4A;
  2593. flex: 1;
  2594. padding-left: 15px;
  2595. }
  2596. .virtual-btn {
  2597. background: @globalColor;
  2598. color: #FFFFFF;
  2599. display: inline-block;
  2600. padding: 6px 12px;
  2601. font-size: 14px;
  2602. line-height: 20px;
  2603. border-radius: 3px;
  2604. }
  2605. }
  2606. }
  2607. //他们也在拼
  2608. .they-groups{
  2609. background-color: #FFFFFF;
  2610. .they-title{
  2611. padding:12px;
  2612. line-height: 20px;
  2613. font-size: 14px;
  2614. color:#333333;
  2615. border-bottom: 1px solid #E1E2EA;
  2616. display: flex;
  2617. align-items: center;
  2618. justify-content: space-between;
  2619. }
  2620. .they-detail{
  2621. display: flex;
  2622. align-items: center;
  2623. justify-content:space-between;
  2624. padding:0 12px;
  2625. height: 64px;
  2626. border-bottom: 1px solid #E1E2EA;
  2627. .use-info{
  2628. //flex: 1;
  2629. width: 120px;
  2630. display: flex;
  2631. align-items: center;
  2632. image{
  2633. width: 44px;
  2634. height: 44px;
  2635. border-radius: 50%;
  2636. }
  2637. .nick-name{
  2638. color:#2E2D2D;
  2639. font-size: 12px;
  2640. line-height: 16px;
  2641. padding-left:10px;
  2642. overflow: hidden;
  2643. text-overflow: ellipsis;
  2644. white-space: nowrap;
  2645. }
  2646. }
  2647. .offered-info{
  2648. flex: 1;
  2649. display: flex;
  2650. justify-content:flex-end;
  2651. align-items: center;
  2652. .box {
  2653. margin-right: 10px;
  2654. text-align: right;
  2655. }
  2656. .info-num{
  2657. display: inline-block;
  2658. color: #2E2D2D;
  2659. font-size: 12px;
  2660. line-height:16px;
  2661. padding-right:10px;
  2662. flex: 1;
  2663. text-align: right;
  2664. span{
  2665. display: inline-block;
  2666. color:#FF2741;
  2667. }
  2668. }
  2669. .info-btn{
  2670. display: inline-block;
  2671. padding: 6px 12px;
  2672. color:#FFFFFF;
  2673. font-size: 14px;
  2674. line-height: 20px;
  2675. background-color:#FF2741;
  2676. border-radius: 3px;
  2677. }
  2678. }
  2679. }
  2680. .they-more{
  2681. text-align: center;
  2682. padding: 11px 0;
  2683. color:#AAAAAA;
  2684. font-size: 14px;
  2685. line-height: 14px;
  2686. view{
  2687. display: inline-block;
  2688. &.iconfont{
  2689. font-size: 12px;
  2690. color:#999999;
  2691. padding-left:6px;
  2692. }
  2693. }
  2694. }
  2695. .groups-time-box {
  2696. display: flex;
  2697. align-items: center;
  2698. color: #9B9B9B;
  2699. font-size: 12px;
  2700. .time-out {
  2701. i {
  2702. display: none;
  2703. }
  2704. .my-class {
  2705. display: none !important;
  2706. }
  2707. .tiem {
  2708. font-size: 12px;
  2709. color: #9B9B9B !important;
  2710. .num-item {
  2711. background: none;
  2712. padding: 0;
  2713. color: #9B9B9B !important;
  2714. }
  2715. }
  2716. }
  2717. }
  2718. }
  2719. // 新的分享按钮样式
  2720. .new-share-box{
  2721. position: fixed;
  2722. left: 0;
  2723. right: 0;
  2724. bottom: 0;
  2725. background-color: #FFFFFF;
  2726. z-index: 99;
  2727. display: none;
  2728. .paney-body{
  2729. .title{
  2730. color: #333333;
  2731. font-size: 15px;
  2732. line-height: 21px;
  2733. padding: 20px;
  2734. text-align: center;
  2735. }
  2736. .btn-box{
  2737. display:flex;
  2738. align-items:center;
  2739. justify-content: space-around;
  2740. padding-bottom: 20px;
  2741. .item{
  2742. image{
  2743. width: 45px;
  2744. height: 45px;
  2745. vertical-align:middle;
  2746. }
  2747. .txts{
  2748. color: #999999;
  2749. font-size: 12px;
  2750. line-height: 16px;
  2751. padding-top:8px;
  2752. }
  2753. }
  2754. }
  2755. .cancel-btn{
  2756. padding: 15px 20px 15px 20px;
  2757. text-align: center;
  2758. color: #333333;
  2759. font-size: 15px;
  2760. line-height: 21px;
  2761. }
  2762. }
  2763. &.cur{
  2764. display: block;
  2765. }
  2766. }
  2767. // 点击图文分享弹出
  2768. .graphic-show-box{
  2769. position: fixed;
  2770. z-index: 99;
  2771. top:0;
  2772. left: 0;
  2773. bottom: 0;
  2774. right: 0;
  2775. background-color:#333333;
  2776. padding:22px 38px 0 38px;
  2777. display: none;
  2778. image{
  2779. width: 100%;
  2780. vertical-align: middle;
  2781. -webkit-touch-callout:default;
  2782. }
  2783. .texts{
  2784. padding:30px;
  2785. text-align: center;
  2786. font-size: 12px;
  2787. color: #999999;
  2788. }
  2789. &.cur{
  2790. display: block;
  2791. }
  2792. }