金诚优选前端代码
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.

813 lines
18 KiB

  1. @import '../../../common/css/global';
  2. #store-order{
  3. //background: #EFEFF4;
  4. .border-box{
  5. padding-bottom: 50px;
  6. .order-item{
  7. margin-bottom: 10px;
  8. &.no-mar{
  9. margin-bottom: 0px;
  10. }
  11. .remarks{
  12. input{font-size: 12px;}
  13. }
  14. .title{
  15. height: 35px;
  16. line-height: 35px;
  17. color: #000;
  18. padding: 0 20px;
  19. font-size: 14px;
  20. background: #fff;
  21. }
  22. .ways {
  23. background-color: #FFFFFF;
  24. padding: 10px 20px;
  25. radio .wx-radio-input{
  26. border-radius: 100%;
  27. background-color: #fff;
  28. border: 1px solid #c1caca;
  29. box-shadow: 0 1px 2px rgba(0,0,0,.05), inset 0 -15px 10px -12px rgba(0,0,0,.05);
  30. height: 14px;
  31. width: 14px;
  32. }
  33. radio .wx-radio-input.wx-radio-input-checked::before{
  34. border-radius: 100%;
  35. background-color: @globalColor;
  36. border: 3px solid @globalColor;
  37. }
  38. .radio-group{
  39. display: flex;
  40. .radio {
  41. flex: 1;
  42. color: #909090;
  43. font-size: 12px;
  44. }
  45. }
  46. }
  47. .best {
  48. display: flex;
  49. align-items: center;
  50. background-image: none !important;
  51. .text {
  52. flex: 1;
  53. color: @globalColor;
  54. padding-left: 10px;
  55. }
  56. }
  57. .title__point{
  58. padding: 10px 25px 10px 20px;
  59. display: flex;
  60. align-items: center;
  61. justify-content: space-between;
  62. background: #fff;
  63. font-size: 14px;
  64. switch{
  65. border-color: @mainColor;
  66. }
  67. .no-dis{
  68. margin-right: 10px;
  69. }
  70. .coupon-label{
  71. color: @globalColor;
  72. }
  73. .discounts-item{
  74. color: #FFFFFF;
  75. background: @mainColor;
  76. border-radius: 4px;
  77. padding: 3px 7px;
  78. margin-right: 10px;
  79. //padding-right: 10px;
  80. }
  81. }
  82. .info{
  83. font-size: 14px;
  84. background: #FFFFFF;
  85. padding: 10px 25px 10px 20px;
  86. background-image: url("https://uto.ibrand.cc/m/static/img/ic_forward.png");
  87. background-repeat: no-repeat;
  88. background-position: 100%;
  89. background-size: 20px;
  90. }
  91. .invoice{
  92. display: flex;
  93. justify-content: space-between;
  94. align-items: center;
  95. .invoice__item{
  96. view{
  97. padding-right: 10px;
  98. }
  99. }
  100. }
  101. .address{
  102. i{
  103. display: block;
  104. color: #9b9b9b;
  105. margin-right: 8px;
  106. }
  107. .user {
  108. display: flex;
  109. align-items: center;
  110. .name-box {
  111. display: flex;
  112. align-items: center;
  113. flex: 1;
  114. .add{
  115. color: #4A4A4A;
  116. font-size: 13px;
  117. font-weight: 100;
  118. }
  119. .name{
  120. flex: 1;
  121. }
  122. text{
  123. color: #000000;
  124. font-size: 14px;
  125. display: block;
  126. font-weight: bold;
  127. }
  128. }
  129. }
  130. .address {
  131. display: flex;
  132. align-items: center;
  133. margin-top: 4px;
  134. font-size: 13px;
  135. color:#9b9b9b;
  136. }
  137. .name{
  138. font-size: 16px;
  139. }
  140. }
  141. .goods{
  142. background-image: none;
  143. color: #8a8a8a;
  144. .goods-item {
  145. display: flex;
  146. .item-left {
  147. overflow: hidden;
  148. image{
  149. width: 50px;
  150. height: 50px;
  151. border: 1px solid #e5e5e5;
  152. display: block;
  153. }
  154. }
  155. .item-right{
  156. flex: 1;
  157. padding-left: 10px;
  158. overflow: hidden;
  159. display: flex;
  160. flex-direction: column;
  161. justify-content: space-between;
  162. .item{
  163. display: flex;
  164. align-items: center;
  165. justify-content: space-between;
  166. .name{
  167. color: #000000;
  168. overflow: hidden;
  169. text-overflow: ellipsis;
  170. white-space: nowrap;
  171. width: 90%;
  172. }
  173. }
  174. }
  175. }
  176. }
  177. .all-goods{
  178. display: flex;
  179. align-items: center;
  180. justify-content: space-between;
  181. .good-box{
  182. display: flex;
  183. align-items: center;
  184. flex: 1;
  185. overflow: hidden;
  186. .good-img{
  187. display: inline-block;
  188. width: 60px;
  189. height: 60px;
  190. margin-right: 10px;
  191. image{
  192. width: 100%;
  193. height: 100%;
  194. overflow: auto;
  195. }
  196. }
  197. }
  198. .num{
  199. color:#9b9b9b;
  200. font-size: 13px;
  201. }
  202. }
  203. .total{
  204. font-size: 14px;
  205. text-align: right;
  206. padding: 10px 20px;
  207. background: #FFFFFF;
  208. }
  209. .coupon{
  210. display: flex;
  211. align-items: center;
  212. justify-content: space-between;
  213. .coupon-item{
  214. display: flex;
  215. align-items: center;
  216. justify-content: space-between;
  217. .coupon-label{
  218. color: @globalColor;
  219. }
  220. .coupon-num{
  221. color: #FFFFFF;
  222. background: @mainColor;
  223. border-radius: 4px;
  224. padding: 3px 7px;
  225. margin-right: 10px;
  226. }
  227. }
  228. }
  229. .point{
  230. padding: 10px 0;
  231. background-image: none;
  232. .input-box{
  233. display: flex;
  234. align-items: center;
  235. padding: 0 20px 10px 20px;
  236. .input__text{
  237. overflow: hidden;
  238. white-space: nowrap;
  239. text-overflow: ellipsis;
  240. color: #9B9B9B;
  241. font-size: 12px;
  242. }
  243. .use-all{
  244. color: #1aad19;
  245. }
  246. .offset{
  247. color: #9B9B9B;
  248. padding-left: 5px;
  249. }
  250. }
  251. }
  252. .activity{
  253. background-image: none;
  254. padding: 0;
  255. .input-box{
  256. padding: 10px 20px;
  257. .radio{
  258. display: flex;
  259. align-items: center;
  260. justify-content: space-between;
  261. text{
  262. flex: 1;
  263. }
  264. }
  265. }
  266. }
  267. }
  268. .order-info{
  269. margin: 10px 0 22px 0;
  270. background: #FFFFFF;
  271. padding: 10px 20px;
  272. font-size: 14px;
  273. line-height: 22px;
  274. .info-item{
  275. display: flex;
  276. align-items: center;
  277. justify-content: space-between;
  278. .item-left{
  279. color: #4a4a4a;
  280. }
  281. .item-right{
  282. color: #9b9b9b;
  283. }
  284. .money{
  285. font-size: 20px;
  286. color: @globalColor;
  287. font-weight: bold;
  288. overflow: hidden;
  289. }
  290. .money-title{
  291. font-weight: bold;
  292. color: #000000;
  293. }
  294. }
  295. }
  296. }
  297. .sbumit-order{
  298. position: fixed;
  299. bottom: 0;
  300. width: 100%;
  301. height: 50px;
  302. line-height: 50px;
  303. display: flex;
  304. align-items: center;
  305. font-size: 18px;
  306. background: #FFFFFF;
  307. color: #000000;
  308. text-align: center;
  309. z-index: 10;
  310. .back{
  311. font-size: 13px;
  312. color: #333333;
  313. -webkit-box-flex: 2;
  314. -webkit-flex: 2;
  315. -ms-flex: 2;
  316. flex: 2;
  317. text-align: left;
  318. padding: 15px;
  319. }
  320. .sbumit{
  321. flex: 1;
  322. width: 0%;
  323. height: 100%;
  324. color: #FFFFFF;
  325. border-radius: 0;
  326. background:@mainColor;
  327. &:after {
  328. border-radius: 0;
  329. border: none;
  330. }
  331. }
  332. }
  333. }
  334. .coupon-maks{
  335. position: fixed;
  336. bottom: 0;
  337. width: 100%;
  338. height: 0;
  339. transition:all .3s linear;
  340. background: #EFEFF4;
  341. z-index: 10;
  342. &.cur{
  343. overflow: auto;
  344. height: 100%;
  345. }
  346. .coupon-box {
  347. margin-bottom: 50px;
  348. .ticket_box {
  349. padding-bottom: 10px;
  350. display: flex;
  351. img {
  352. width: 100%;
  353. }
  354. .f12 {
  355. font-size: 12px;
  356. }
  357. .color_3 {
  358. color: #838383;
  359. }
  360. .fff {
  361. color: #fff;
  362. }
  363. .online {
  364. color: #FD8300;
  365. }
  366. &:first-child {
  367. margin-top: 10px;
  368. }
  369. .ticket_left {
  370. width: 109px;
  371. height: 90px;
  372. background-size: 109px;
  373. .ticket_left_content {
  374. display: flex;
  375. align-items: center;
  376. background: @globalColor;
  377. height: 100%;
  378. font-size: 12px;
  379. }
  380. }
  381. .ticket_left_y {
  382. background-size: cover;
  383. }
  384. .ticket_left_b {
  385. background-size: cover;
  386. }
  387. .ticket_right {
  388. flex: 1;
  389. background-size: 10px;
  390. padding-right: 9px;
  391. overflow: hidden;
  392. background: #FFFFFF;
  393. .ticket_right_top {
  394. border-bottom: 1px solid #DDDDDD;
  395. padding-top: 10px;
  396. padding-bottom: 5px;
  397. }
  398. .ticket_right_bottom {
  399. background: #FFFFFF;
  400. padding-bottom: 4px;
  401. padding-top: 1px;
  402. .names {
  403. font-size: 12px;
  404. margin: 5px 5px 0 0;
  405. overflow: hidden;
  406. text-overflow: ellipsis;
  407. white-space: nowrap;
  408. }
  409. .btn-box {
  410. display: flex;
  411. align-items: center;
  412. justify-content: space-between;
  413. padding-right: 5px;
  414. .btn {
  415. width: 70px;
  416. height: 20px;
  417. line-height: 20px;
  418. text-align: center;
  419. -webkit-border-radius: 15px;
  420. border-radius: 15px;
  421. padding: 2px 0;
  422. &.use {
  423. color: @globalColor;
  424. border: 1px solid @globalColor;
  425. }
  426. &.already {
  427. color: #717071;
  428. background: #DBDCDC;
  429. border: 1px solid #DBDCDC;
  430. }
  431. }
  432. .time {
  433. white-space: nowrap;
  434. overflow: hidden;
  435. text-overflow: ellipsis;
  436. }
  437. }
  438. }
  439. }
  440. }
  441. .coupon-item {
  442. margin-bottom: 10px;
  443. &:first-child {
  444. margin-top: 10px;
  445. }
  446. .coupon {
  447. display: flex;
  448. flex: 1;
  449. &.shasow {
  450. box-shadow: 0px 7px 10px 0px rgba(6, 0, 0, 0.2);
  451. }
  452. .coupon-left {
  453. width: 110px;
  454. height: 80px;
  455. color: #ffffff;
  456. background-size: cover;
  457. background: @mainColor;
  458. position: relative;
  459. .text-wrap {
  460. display:flex;
  461. flex-direction:column;
  462. justify-content:center;
  463. align-items:center;
  464. height:100%;
  465. font-size:12px;
  466. .text-box {
  467. text-align: center;
  468. width: 100%;
  469. .text{
  470. display: block;
  471. padding: 0 10px;
  472. overflow: hidden;
  473. white-space: nowrap;
  474. text-overflow: ellipsis;
  475. font-size: 20px;
  476. font-weight: 600;
  477. &.label{
  478. font-size: 12px;
  479. font-weight: 100;
  480. }
  481. .money{
  482. font-size: 14px;
  483. font-weight: 100;
  484. }
  485. }
  486. .money-num {
  487. font-size: 25px;
  488. font-weight: bold;
  489. }
  490. }
  491. }
  492. .dot-wrap {
  493. position: absolute;
  494. top: 0px;
  495. margin-top: 5px;;
  496. .dot-item {
  497. width: 5px;
  498. height: 5px;
  499. background: #F7F7F7;
  500. border-radius: 50%;
  501. margin: 4px 0 9px -1px;
  502. &:last-child {
  503. margin-top: 10px;
  504. }
  505. }
  506. }
  507. }
  508. .coupon-right {
  509. position: relative;
  510. flex: 1;
  511. background: #fff;
  512. padding: 0px 15px;
  513. font-size: 12px;
  514. overflow: hidden;
  515. .top {
  516. font-size: 12px;
  517. display: -webkit-box;
  518. color: #333333;
  519. //height: 40px;
  520. line-height: 20px;
  521. padding-top: 8px;
  522. box-sizing: border-box;
  523. text-overflow: ellipsis;
  524. -webkit-box-orient: vertical;
  525. -webkit-line-clamp: 2;
  526. .type {
  527. color: #333333;
  528. border: 1px solid #333333;
  529. padding: 2px 5px;
  530. border-radius: 3px;
  531. line-height: 20px;
  532. margin-right: 5px;
  533. }
  534. }
  535. .bottom {
  536. .bottom-use {
  537. display: flex;
  538. align-items: center;
  539. justify-content: space-between;
  540. font-size: 12px;
  541. margin: 7px 0;
  542. .tiem-box {
  543. color: #9E9E9F;
  544. flex: 1;
  545. font-size: 9px;
  546. overflow: hidden;
  547. text-overflow: ellipsis;
  548. white-space: nowrap;
  549. margin-top: 5px;
  550. }
  551. .btn {
  552. text-align: center;
  553. border-radius: 3px;
  554. padding: 3px 12px;
  555. }
  556. .use {
  557. color: #fff;
  558. border: 1px solid @mainColor;
  559. background: @mainColor;
  560. }
  561. .already {
  562. color: #9B9B9B;
  563. background: #fff;
  564. border: 1px solid #9B9B9B;
  565. }
  566. }
  567. }
  568. .select{
  569. position: absolute;
  570. width: 40px;
  571. height: 40px;
  572. border: none;
  573. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/select.png") no-repeat;
  574. background-size: 40px auto;
  575. bottom: 0;
  576. right: 0;
  577. &.activity{
  578. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/selected.png") no-repeat;
  579. background-size: 40px auto;
  580. }
  581. }
  582. }
  583. }
  584. }
  585. }
  586. .coupon-box{
  587. padding: 0 15px;
  588. .coupon-item{
  589. margin-top: 10px;
  590. radio{
  591. display: none;
  592. }
  593. label{
  594. display: flex;
  595. align-items: center;
  596. .left{
  597. width: 110px;
  598. height: 110px;
  599. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/coupon-bg.png") no-repeat;
  600. background-size: 100% 100%;
  601. display: flex;
  602. align-items: center;
  603. justify-content: center;
  604. .label{
  605. color: #FFFFFF;
  606. padding: 0 10px;
  607. }
  608. }
  609. .right{
  610. position: relative;
  611. height: 110px;
  612. flex: 1;
  613. overflow: hidden;
  614. background: #FFFFFF;
  615. padding: 0 10px;
  616. font-size: 14px;
  617. .coupon-name{
  618. display: flex;
  619. align-items: center;
  620. margin: 10px 0;
  621. .type{
  622. color: #FFFFFF;
  623. background: #fc5e3a;
  624. border-radius: 10px;
  625. padding: 1px 8px;
  626. margin-right: 5px;
  627. }
  628. .name{
  629. flex: 1;
  630. white-space: nowrap;
  631. text-overflow: ellipsis;
  632. overflow: hidden;
  633. }
  634. }
  635. .coupon-tiem{
  636. font-size: 12px;
  637. color: #b5b5b5;
  638. }
  639. .select{
  640. position: absolute;
  641. width: 40px;
  642. height: 40px;
  643. border: none;
  644. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/select.png") no-repeat;
  645. background-size: 40px auto;
  646. bottom: 0;
  647. right: 0;
  648. &.activity{
  649. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/selected.png") no-repeat;
  650. background-size: 40px auto;
  651. }
  652. }
  653. }
  654. }
  655. }
  656. }
  657. .button-box{
  658. margin-top: 40px;
  659. .sure {
  660. background: @mainColor;
  661. }
  662. button{
  663. margin: 0 20px 15px 20px;
  664. }
  665. }
  666. }
  667. .maks{
  668. position: fixed;
  669. bottom: 0;
  670. width: 100%;
  671. height: 100%;
  672. z-index: 40;
  673. background: rgba(0,0,0,.4);
  674. opacity: 1;
  675. transition: opacity .3s ease;
  676. display: none;
  677. &.cur{
  678. display: block;
  679. }
  680. }
  681. //选择促销部分
  682. .select-coupon-discounts {
  683. position: fixed;
  684. bottom: 0;
  685. width: 100%;
  686. z-index: 40;
  687. background: rgba(255, 255, 255, 1);
  688. opacity: 1;
  689. transition: opacity .3s ease;
  690. display: none;
  691. &.cur {
  692. display: block;
  693. }
  694. .select-discounts {
  695. height: 100%;
  696. box-sizing: border-box;
  697. margin-bottom:33px;
  698. .select-discounts-top {
  699. padding: 10px 15px;
  700. text-align: center;
  701. background: #E9E9E9;
  702. .title {
  703. position: relative;
  704. color: #878787;
  705. .close {
  706. position: absolute;
  707. right: -10px;
  708. top: -10px;
  709. padding: 10px;
  710. }
  711. }
  712. }
  713. .select-discounts-bottom {
  714. height:100%;
  715. overflow: auto;
  716. box-sizing: border-box;
  717. .activity{
  718. background-image: none;
  719. padding: 0;
  720. .input-box{
  721. padding: 10px 20px;
  722. .radio{
  723. display: flex;
  724. align-items: center;
  725. justify-content: space-between;
  726. text{
  727. flex: 1;
  728. }
  729. }
  730. }
  731. }
  732. }
  733. }
  734. radio .wx-radio-input{
  735. border-radius: 100%;
  736. background-color: #fff;
  737. border: 1px solid #c1caca;
  738. box-shadow: 0 1px 2px rgba(0,0,0,.05), inset 0 -15px 10px -12px rgba(0,0,0,.05);
  739. height: 14px;
  740. width: 14px;
  741. }
  742. radio .wx-radio-input.wx-radio-input-checked::before{
  743. border-radius: 100%;
  744. background-color: @globalColor;
  745. border: 3px solid @globalColor;
  746. }
  747. }