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

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