style.less 14 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  1. body {
  2. background-color: #f5f5f5;
  3. }
  4. page {
  5. background-color: #f5f5f5;
  6. min-height: 100%;
  7. }
  8. image {
  9. max-width: 100%;
  10. height: auto;
  11. }
  12. :root {
  13. --van-primary-color: #ee6d46;
  14. }
  15. .van-grid-item__content {
  16. padding: 0 var(--van-padding-base);
  17. }
  18. .scroll-view-H {
  19. white-space: nowrap;
  20. width: 100%;
  21. }
  22. .page-space {
  23. padding: 0 34rpx;
  24. }
  25. .page-card {
  26. background: #fff;
  27. border-radius: 15rpx;
  28. }
  29. .mb-10 {
  30. margin-bottom: 10rpx;
  31. }
  32. .mb-15 {
  33. margin-bottom: 15rpx;
  34. }
  35. .mb-20 {
  36. margin-bottom: 20rpx;
  37. }
  38. .mb-25 {
  39. margin-bottom: 25rpx;
  40. }
  41. .mb-30 {
  42. margin-bottom: 30rpx;
  43. }
  44. .pl-10 {
  45. padding-left: 10rpx;
  46. }
  47. .pl-15 {
  48. padding-left: 15rpx;
  49. }
  50. .pl-20 {
  51. padding-left: 20rpx;
  52. }
  53. .pl-25 {
  54. padding-left: 25rpx;
  55. }
  56. .pl-30 {
  57. padding-left: 30rpx;
  58. }
  59. .pl-40 {
  60. padding-left: 40rpx;
  61. }
  62. .pr-10 {
  63. padding-right: 10rpx;
  64. }
  65. .pr-15 {
  66. padding-right: 15rpx;
  67. }
  68. .pr-20 {
  69. padding-right: 20rpx;
  70. }
  71. .pr-25 {
  72. padding-right: 25rpx;
  73. }
  74. .pr-30 {
  75. padding-right: 30rpx;
  76. }
  77. .pr-40 {
  78. padding-right: 40rpx;
  79. }
  80. .p-40 {
  81. padding: 40rpx;
  82. }
  83. .paddingH-10 {
  84. padding: 0 20rpx;
  85. }
  86. .border-top {
  87. position: relative;
  88. &::after {
  89. content: '';
  90. position: absolute;
  91. left: 0;
  92. top: 0;
  93. right: 0;
  94. height: 1rpx;
  95. background: #e6e6e6;
  96. }
  97. }
  98. .primary {
  99. }
  100. .van-button {
  101. border-radius: 0;
  102. &--primary {
  103. }
  104. &--mini {
  105. font-size: 24rpx;
  106. }
  107. }
  108. .icon {
  109. .image {
  110. display: block;
  111. width: 100%;
  112. height: 100%;
  113. }
  114. }
  115. .infos {
  116. padding: 20rpx 37rpx 20rpx;
  117. &.infos-right {
  118. .info-cell-value {
  119. text-align: right;
  120. }
  121. }
  122. .info-cell {
  123. margin-bottom: 20rpx;
  124. display: flex;
  125. align-items: center;
  126. justify-content: space-between;
  127. &-label {
  128. margin-right: 30rpx;
  129. line-height: 32rpx;
  130. font-size: 24rpx;
  131. color: #999999;
  132. }
  133. &-value {
  134. flex: 1;
  135. line-height: 32rpx;
  136. font-size: 24rpx;
  137. color: #333333;
  138. }
  139. &-operation {
  140. line-height: 32rpx;
  141. font-size: 24rpx;
  142. color: #ee6d46;
  143. }
  144. }
  145. }
  146. .simple-cell {
  147. display: flex;
  148. align-items: center;
  149. &-icon {
  150. width: 64rpx;
  151. height: 64rpx;
  152. }
  153. &-content {
  154. margin-left: 15rpx;
  155. }
  156. &-title {
  157. line-height: 40rpx;
  158. font-size: 28rpx;
  159. font-weight: 500;
  160. color: #333333;
  161. }
  162. &-label {
  163. line-height: 30rpx;
  164. font-size: 22rpx;
  165. color: #333333;
  166. }
  167. }
  168. .time-bar {
  169. background: #fff;
  170. height: 150rpx;
  171. .van-tab--active {
  172. .time-bar-item {
  173. background: #e96b45;
  174. .time {
  175. color: #fff;
  176. }
  177. .status {
  178. color: #fff;
  179. }
  180. }
  181. }
  182. &-item {
  183. width: 180rpx;
  184. height: 150rpx;
  185. background: #ffffff;
  186. display: flex;
  187. flex-direction: column;
  188. align-items: center;
  189. .time {
  190. margin-top: 26rpx;
  191. line-height: 1em;
  192. font-size: 34rpx;
  193. font-weight: bold;
  194. color: #333333;
  195. margin-bottom: 10rpx;
  196. }
  197. .status {
  198. line-height: 1em;
  199. font-size: 24rpx;
  200. font-weight: 400;
  201. color: #999999;
  202. }
  203. .countdown {
  204. flex: 1;
  205. height: 1em;
  206. font-size: 20rpx;
  207. color: #ffffff;
  208. font-weight: 100;
  209. }
  210. }
  211. .van-tab {
  212. padding: 0;
  213. }
  214. .van-tabs--line .van-tabs__wrap {
  215. height: 150rpx;
  216. }
  217. .van-tabs__nav--line {
  218. padding-bottom: 0;
  219. padding: 0;
  220. }
  221. .van-tabs__wrap {
  222. height: 150rpx;
  223. }
  224. .van-tabs__line {
  225. display: none;
  226. }
  227. }
  228. .card {
  229. background: #ffffff;
  230. border-radius: 15rpx;
  231. &.noBorder {
  232. .card-head {
  233. border-bottom: 0;
  234. }
  235. .card-title {
  236. font-size: 28rpx;
  237. color: #999999;
  238. }
  239. .card-content {
  240. padding: 0;
  241. }
  242. }
  243. &.min {
  244. .card-head {
  245. }
  246. .card-title {
  247. font-size: 28rpx;
  248. color: #999999;
  249. }
  250. .card-content {
  251. padding: 0;
  252. }
  253. }
  254. &.full {
  255. border-radius: 0;
  256. .card-content {
  257. padding: 0 34rpx 20rpx;
  258. }
  259. }
  260. &-head {
  261. height: 85rpx;
  262. border-bottom: 1rpx solid #e6e6e6;
  263. padding-left: 30rpx;
  264. display: flex;
  265. align-items: center;
  266. justify-content: space-between;
  267. }
  268. &-title {
  269. font-size: 32rpx;
  270. font-family: PingFang SC;
  271. font-weight: 500;
  272. color: #333;
  273. .card-title-sub {
  274. font-weight: normal;
  275. font-size: 22rpx;
  276. color: #999999;
  277. }
  278. }
  279. &-more {
  280. font-size: 24rpx;
  281. font-family: PingFang SC;
  282. font-weight: 400;
  283. color: #999999;
  284. display: flex;
  285. align-items: center;
  286. .uv-icon {
  287. margin-left: 10px;
  288. margin-right: 10px;
  289. }
  290. }
  291. &-content {
  292. padding: 20rpx 0 0;
  293. border-bottom-left-radius: 15rpx;
  294. border-bottom-right-radius: 15rpx;
  295. overflow: hidden;
  296. }
  297. .card-grid-item {
  298. display: flex;
  299. flex-direction: column;
  300. justify-content: center;
  301. align-items: center;
  302. padding: 10rpx 0;
  303. margin-bottom: 20rpx;
  304. position: relative;
  305. &-badge {
  306. align-items: center;
  307. display: flex;
  308. position: absolute;
  309. right: 0;
  310. top: 0;
  311. span {
  312. margin: 0 !important;
  313. color: #fff !important;
  314. }
  315. }
  316. .image {
  317. width: 60rpx;
  318. height: 60rpx;
  319. }
  320. &-label {
  321. margin-top: 14rpx;
  322. line-height: 33rpx;
  323. font-size: 24rpx;
  324. font-family: PingFang SC;
  325. font-weight: 400;
  326. color: #333333;
  327. }
  328. }
  329. }
  330. .search {
  331. .y-search {
  332. background: none;
  333. }
  334. }
  335. .cell-attr {
  336. .cell-title {
  337. line-height: 40rpx;
  338. font-size: 28rpx;
  339. color: #333333;
  340. }
  341. .cell-sub-title {
  342. line-height: 40rpx;
  343. font-size: 28rpx;
  344. color: #999999;
  345. }
  346. }
  347. .storeInfo {
  348. padding: 24rpx 35rpx;
  349. display: flex;
  350. align-items: center;
  351. background: #fff;
  352. &-pic {
  353. width: 80rpx;
  354. height: 80rpx;
  355. }
  356. &-info {
  357. flex: 1;
  358. margin-left: 20rpx;
  359. }
  360. &-info-name {
  361. line-height: 40rpx;
  362. font-size: 28rpx;
  363. color: #333333;
  364. }
  365. &-info-address {
  366. line-height: 28rpx;
  367. font-size: 20rpx;
  368. color: #999999;
  369. margin-top: 84px;
  370. }
  371. &-action {
  372. width: 120rpx;
  373. height: 50rpx;
  374. background: #333333;
  375. line-height: 50rpx;
  376. text-align: center;
  377. font-size: 24rpx;
  378. line-height: 0rpx;
  379. color: #ffffff;
  380. }
  381. }
  382. .center-title {
  383. display: flex;
  384. align-items: center;
  385. justify-content: center;
  386. margin: 20rpx 0;
  387. &-line {
  388. width: 36rpx;
  389. height: 1rpx;
  390. background: #333333;
  391. }
  392. .title {
  393. margin: 0 22rpx;
  394. }
  395. }
  396. .blank {
  397. height: var(--van-action-bar-height);
  398. }
  399. .shopping-bar {
  400. bottom: var(--van-tabbar-height);
  401. }
  402. .full-btn {
  403. height: var(--van-action-bar-height);
  404. }
  405. .shopping-checkbox {
  406. .van-checkbox {
  407. padding: 2px;
  408. margin-right: 10rpx;
  409. }
  410. }
  411. .shopping-checkbox-cell {
  412. display: flex;
  413. align-items: center;
  414. padding: 26rpx 0 26rpx 30rpx;
  415. }
  416. .list {
  417. padding: 25rpx 35rpx;
  418. position: relative;
  419. display: flex;
  420. justify-content: space-between;
  421. align-items: center;
  422. &-main {
  423. display: flex;
  424. align-items: center;
  425. flex: 1;
  426. }
  427. &-actions {
  428. &-edit {
  429. width: 33rpx;
  430. height: 33rpx;
  431. .image {
  432. width: 100%;
  433. height: 100%;
  434. display: block;
  435. }
  436. }
  437. }
  438. &.noBorder {
  439. &::after {
  440. display: none;
  441. }
  442. }
  443. &::after {
  444. content: '';
  445. position: absolute;
  446. left: 35rpx;
  447. top: 0;
  448. right: 0;
  449. height: 1rpx;
  450. background: #e6e6e6;
  451. }
  452. &-label {
  453. line-height: 40rpx;
  454. font-size: 28rpx;
  455. color: #333333;
  456. }
  457. &-content {
  458. flex: 1;
  459. input,
  460. .uni-input {
  461. line-height: 40rpx;
  462. font-size: 28rpx;
  463. color: #333333;
  464. }
  465. }
  466. background: #fff;
  467. }
  468. .form-checkbox {
  469. padding: 43rpx 0;
  470. display: flex;
  471. justify-content: center;
  472. }
  473. .form-buttons {
  474. margin-top: 34rpx;
  475. padding: 0 34rpx;
  476. }
  477. .background-warp {
  478. position: relative;
  479. .background {
  480. position: absolute;
  481. left: 0;
  482. top: 0;
  483. right: 0;
  484. z-index: 1;
  485. .image {
  486. width: 100%;
  487. }
  488. &-content {
  489. position: relative;
  490. z-index: 10;
  491. }
  492. }
  493. }
  494. .order {
  495. background-color: #fff;
  496. border-radius: 15rpx;
  497. box-sizing: border-box;
  498. margin: 10rpx 34rpx;
  499. &-header {
  500. display: flex;
  501. align-items: center;
  502. justify-content: space-between;
  503. height: 80rpx;
  504. border-bottom: 1rpx solid #e6e6e6;
  505. padding: 0 34rpx;
  506. }
  507. &-logo {
  508. .image {
  509. height: 45rpx;
  510. width: auto;
  511. }
  512. }
  513. &-title {
  514. line-height: 45rpx;
  515. font-size: 32rpx;
  516. font-weight: 500;
  517. color: #333333;
  518. }
  519. &-status {
  520. &.status-1 {
  521. line-height: 40rpx;
  522. font-size: 28rpx;
  523. color: #999999;
  524. }
  525. &.status-2 {
  526. line-height: 40rpx;
  527. font-size: 28rpx;
  528. color: #ee6d46;
  529. }
  530. }
  531. &-goods {
  532. }
  533. &-info {
  534. border-top: 1rpx solid #e6e6e6;
  535. border-bottom: 1rpx solid #e6e6e6;
  536. height: 80rpx;
  537. line-height: 80rpx;
  538. font-size: 24rpx;
  539. color: #999999;
  540. display: flex;
  541. justify-content: flex-end;
  542. padding-right: 34rpx;
  543. text {
  544. margin-left: 10rpx;
  545. }
  546. }
  547. &-actions {
  548. display: flex;
  549. justify-content: space-between;
  550. padding-right: 34rpx;
  551. padding: 34rpx;
  552. &-btns {
  553. display: flex;
  554. align-items: center;
  555. }
  556. }
  557. &-actions-delete {
  558. width: 169rpx;
  559. height: 60rpx;
  560. border: 1px solid #333333;
  561. opacity: 1;
  562. border-radius: 0rpx;
  563. line-height: 58rpx;
  564. text-align: center;
  565. color: #333333;
  566. font-size: 24rpx;
  567. }
  568. &-actions-primary {
  569. margin-left: 20rpx;
  570. width: 169rpx;
  571. height: 60rpx;
  572. background: #ee6d46;
  573. border: 1px solid #ee6d46;
  574. opacity: 1;
  575. border-radius: 0rpx;
  576. line-height: 58rpx;
  577. text-align: center;
  578. color: #ffffff;
  579. font-size: 24rpx;
  580. }
  581. }
  582. .address {
  583. background: #ffffff;
  584. border-radius: 15rpx;
  585. position: relative;
  586. display: flex;
  587. justify-content: space-between;
  588. align-items: center;
  589. margin-bottom: 20rpx;
  590. padding: 40rpx 34rpx;
  591. &-main {
  592. flex: 1;
  593. }
  594. &-actions {
  595. &-edit {
  596. width: 33rpx;
  597. height: 33rpx;
  598. .image {
  599. width: 100%;
  600. height: 100%;
  601. display: block;
  602. }
  603. }
  604. }
  605. &.noBorder {
  606. &::after {
  607. display: none;
  608. }
  609. }
  610. &::after {
  611. content: '';
  612. position: absolute;
  613. left: 35rpx;
  614. top: 0;
  615. right: 0;
  616. height: 1rpx;
  617. background: #e6e6e6;
  618. }
  619. &-icon {
  620. margin-right: 20rpx;
  621. width: 35rpx;
  622. height: 46rpx;
  623. .image {
  624. width: 100%;
  625. height: 100%;
  626. display: block;
  627. }
  628. }
  629. background: #fff;
  630. &-header {
  631. display: flex;
  632. align-items: center;
  633. }
  634. &-name {
  635. line-height: 40rpx;
  636. font-size: 28rpx;
  637. color: #333333;
  638. margin-right: 30rpx;
  639. }
  640. &-phone {
  641. line-height: 40rpx;
  642. font-size: 28rpx;
  643. color: #333333;
  644. }
  645. &-content {
  646. display: flex;
  647. align-items: center;
  648. }
  649. &-default {
  650. margin-right: 82rpx;
  651. }
  652. &-desc {
  653. line-height: 33rpx;
  654. font-size: 24rpx;
  655. color: #999999;
  656. }
  657. }
  658. .bottom-bar {
  659. position: fixed;
  660. bottom: 0;
  661. left: 0;
  662. right: 0;
  663. background: #fff;
  664. display: flex;
  665. }
  666. .bottom-bar-bg {
  667. height: 150rpx;
  668. }
  669. .action-bar {
  670. position: fixed;
  671. display: flex;
  672. bottom: 0;
  673. padding-bottom: constant(safe-area-inset-bottom);
  674. padding-bottom: env(safe-area-inset-bottom);
  675. left: 0;
  676. right: 0;
  677. background: #fff;
  678. //#ifdef H5
  679. &.screen {
  680. bottom: 50px;
  681. }
  682. // #endif
  683. //#ifndef H5
  684. &.screen {
  685. padding-bottom: 0;
  686. padding-bottom: 0;
  687. }
  688. // #endif
  689. &.column {
  690. flex-direction: column;
  691. .action-info {
  692. flex: 0 0 100rpx;
  693. }
  694. .action-btns {
  695. height: 100rpx;
  696. align-items: center;
  697. }
  698. }
  699. .action-total {
  700. margin-left: 20rpx;
  701. }
  702. .action-info {
  703. flex: 1;
  704. display: flex;
  705. align-items: center;
  706. padding: 0 34rpx;
  707. height: 100rpx;
  708. }
  709. .action-icons {
  710. flex: 1;
  711. display: flex;
  712. align-items: center;
  713. height: 100rpx;
  714. padding-left: 20rpx;
  715. &-item {
  716. flex: 1;
  717. display: flex;
  718. align-items: center;
  719. justify-content: center;
  720. }
  721. .action-icon {
  722. display: flex;
  723. flex-direction: column;
  724. justify-content: center;
  725. align-items: center;
  726. position: relative;
  727. &-badge {
  728. position: absolute;
  729. right: -10rpx;
  730. top: 0;
  731. }
  732. .action-icon-img {
  733. width: 50rpx;
  734. height: 50rpx;
  735. }
  736. .action-icon-label {
  737. line-height: 28rpx;
  738. font-size: 20rpx;
  739. color: #333333;
  740. }
  741. }
  742. }
  743. .action-btns {
  744. display: flex;
  745. align-items: center;
  746. padding: 0 24rpx;
  747. .uv-button-wrapper {
  748. flex: 1;
  749. margin: 0 10rpx;
  750. }
  751. .uv-button {
  752. border-radius: 0 !important;
  753. }
  754. }
  755. }
  756. .y-list {
  757. margin-bottom: 20rpx;
  758. &.min {
  759. margin-bottom: 15rpx;
  760. .y-list-label {
  761. // font-size: 24rpx;
  762. margin-right: 10rpx;
  763. }
  764. .y-list-content {
  765. height: 88rpx;
  766. // padding-left: 20rpx;
  767. }
  768. }
  769. .uv-list-item__wrapper {
  770. flex-direction: row !important;
  771. }
  772. &-content {
  773. flex: 1;
  774. display: flex;
  775. width: 100%;
  776. align-items: center;
  777. height: 100rpx;
  778. padding-left: 34rpx;
  779. padding-right: 34rpx;
  780. &.avatar {
  781. height: 130rpx;
  782. }
  783. }
  784. &-label {
  785. line-height: 40rpx;
  786. font-size: 28rpx;
  787. font-weight: 400;
  788. color: #999999;
  789. margin-right: 30rpx;
  790. word-break: normal;
  791. word-wrap: normal;
  792. text-wrap: nowrap;
  793. flex: 1;
  794. }
  795. &-select {
  796. line-height: 40rpx;
  797. font-size: 28rpx;
  798. font-weight: 400;
  799. color: #333333;
  800. opacity: 1;
  801. flex: 1;
  802. text-align: right;
  803. &-placeholder {
  804. color: #999999;
  805. line-height: 40rpx;
  806. font-size: 28rpx;
  807. font-weight: 400;
  808. color: #999;
  809. opacity: 1;
  810. flex: 1;
  811. text-align: right;
  812. }
  813. }
  814. &-default {
  815. font-size: 28rpx;
  816. font-weight: 400;
  817. color: #333333;
  818. opacity: 1;
  819. }
  820. &-value {
  821. line-height: 40rpx;
  822. font-size: 28rpx;
  823. font-weight: 500;
  824. color: #ee6d46;
  825. .uv-input {
  826. border: 0;
  827. }
  828. }
  829. .uvicon-arrow-right {
  830. font-size: 10rpx !important;
  831. }
  832. &-avatar {
  833. padding: 20rpx 0;
  834. display: flex;
  835. justify-content: flex-end;
  836. .img {
  837. width: 90rpx;
  838. height: 90rpx;
  839. border-radius: 50%;
  840. }
  841. }
  842. }
  843. .uv-list--border-top {
  844. }
  845. .uv-list--border-top {
  846. background: #e6e6e6 !important;
  847. }
  848. .uv-list--border-left {
  849. background: #e6e6e6 !important;
  850. }
  851. .uv-list--border-bottom {
  852. background: #e6e6e6 !important;
  853. }
  854. .uv-list--border-right {
  855. background: #e6e6e6 !important;
  856. }
  857. .uv-list--border:after {
  858. &:after {
  859. background: #e6e6e6 !important;
  860. }
  861. }
  862. .uvicon-arrow-right {
  863. color: #999999;
  864. }
  865. .search-bar {
  866. background: #fff;
  867. padding: 20rpx 34rpx;
  868. }
  869. .y-subsection {
  870. padding: 20rpx 33rpx 0;
  871. }
  872. .swiper {
  873. width: 100%;
  874. &.detail {
  875. height: 750rpx;
  876. }
  877. .image {
  878. width: 100%;
  879. display: block;
  880. }
  881. }
  882. .uv-button {
  883. }
  884. .uv-button--info {
  885. border-color: #333333 !important;
  886. color: #333333 !important;
  887. }