main.wxss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  4. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  5. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  6. */
  7. /*每个页面公共css */
  8. @charset "UTF-8";
  9. /***********
  10. 常用样式库 v1
  11. 包含颜色、亮度、宽高、flex、gird、margin、padding、圆角、字体、动画
  12. ***********/
  13. /***********颜色:背景、文本***********/
  14. .bg-red {
  15. background-color: #ff0000;
  16. color: #fff;
  17. }
  18. .txt-red {
  19. color: #ff0000;
  20. }
  21. .bg-orange {
  22. background-color: #f37b1d;
  23. color: #fff;
  24. }
  25. .txt-orange {
  26. color: #f37b1d;
  27. }
  28. .bg-yellow {
  29. background-color: #fbbd08;
  30. color: #fff;
  31. }
  32. .txt-yellow {
  33. color: #fbbd08;
  34. }
  35. .bg-olive {
  36. background-color: #8dc63f;
  37. color: #fff;
  38. }
  39. .txt-olive {
  40. color: #8dc63f;
  41. }
  42. .bg-green {
  43. background-color: #39b54a;
  44. color: #fff;
  45. }
  46. .txt-green {
  47. color: #39b54a;
  48. }
  49. .bg-cyan {
  50. background-color: #1cbbb4;
  51. color: #fff;
  52. }
  53. .txt-cyan {
  54. color: #1cbbb4;
  55. }
  56. .bg-blue {
  57. background-color: #0081ff;
  58. color: #fff;
  59. }
  60. .txt-blue {
  61. color: #0081ff;
  62. }
  63. .bg-purple {
  64. background-color: #6739b6;
  65. color: #fff;
  66. }
  67. .txt-purple {
  68. color: #6739b6;
  69. }
  70. .bg-mauve {
  71. background-color: #9c26b0;
  72. color: #fff;
  73. }
  74. .txt-mauve {
  75. color: #9c26b0;
  76. }
  77. .bg-pink {
  78. background-color: #e03997;
  79. color: #fff;
  80. }
  81. .txt-pink {
  82. color: #e03997;
  83. }
  84. .bg-brown {
  85. background-color: #a5673f;
  86. color: #fff;
  87. }
  88. .txt-brown {
  89. color: #a5673f;
  90. }
  91. .bg-grey {
  92. background-color: #8799a3;
  93. color: #fff;
  94. }
  95. .txt-grey {
  96. color: #8799a3;
  97. }
  98. .bg-black {
  99. background-color: #333333;
  100. color: #fff;
  101. }
  102. .txt-black {
  103. color: #333333;
  104. }
  105. .bg-darkGray {
  106. background-color: #666666;
  107. color: #fff;
  108. }
  109. .txt-darkGray {
  110. color: #666666;
  111. }
  112. .bg-gray {
  113. background-color: #aaaaaa;
  114. color: #000;
  115. }
  116. .txt-gray {
  117. color: #aaaaaa;
  118. }
  119. .bg-ghostWhite {
  120. background-color: #f1f1f1;
  121. color: #000;
  122. }
  123. .txt-ghostWhite {
  124. color: #f1f1f1;
  125. }
  126. .bg-white {
  127. background-color: #ffffff;
  128. color: #000;
  129. }
  130. .txt-white {
  131. color: #ffffff;
  132. }
  133. .txt-2hide{
  134. word-break: break-all;
  135. text-overflow: ellipsis;
  136. display: -webkit-box;
  137. -webkit-box-orient: vertical;
  138. -webkit-line-clamp: 2;
  139. overflow: hidden;
  140. }
  141. /***********宽度***********/
  142. .wid-1 {
  143. width: 1%;
  144. }
  145. .wid-2 {
  146. width: 2%;
  147. }
  148. .wid-3 {
  149. width: 3%;
  150. }
  151. .wid-4 {
  152. width: 4%;
  153. }
  154. .wid-5 {
  155. width: 5%;
  156. }
  157. .wid-10 {
  158. width: 10%;
  159. }
  160. .wid-20 {
  161. width: 20%;
  162. }
  163. .wid-30 {
  164. width: 30%;
  165. }
  166. .wid-40 {
  167. width: 40%;
  168. }
  169. .wid-50 {
  170. width: 50%;
  171. }
  172. .wid-60 {
  173. width: 60%;
  174. }
  175. .wid-70 {
  176. width: 70%;
  177. }
  178. .wid-80 {
  179. width: 80%;
  180. }
  181. .wid-90 {
  182. width: 90%;
  183. }
  184. .wid-100 {
  185. width: 100%;
  186. }
  187. /***********高度***********/
  188. .hei-100 {
  189. height: 100%;
  190. }
  191. .hei-50 {
  192. height: 50%;
  193. }
  194. .wh-100 {
  195. height: 100%;
  196. width: 100%;
  197. }
  198. /***********margin***********/
  199. .mt-10 {
  200. margin-top: 10rpx;
  201. }
  202. .mt-20 {
  203. margin-top: 20rpx;
  204. }
  205. .mt-30 {
  206. margin-top: 30rpx;
  207. }
  208. .mt-40 {
  209. margin-top: 40rpx;
  210. }
  211. .mt-50 {
  212. margin-top: 50rpx;
  213. }
  214. .mt-60 {
  215. margin-top: 60rpx;
  216. }
  217. .mt-70 {
  218. margin-top: 70rpx;
  219. }
  220. .mt-80 {
  221. margin-top: 80rpx;
  222. }
  223. .mt-90 {
  224. margin-top: 90rpx;
  225. }
  226. .mt-100 {
  227. margin-top: 100rpx;
  228. }
  229. /***********padding***********/
  230. .pd-5 {
  231. padding: 5rpx;
  232. }
  233. .pd-10 {
  234. padding: 10rpx;
  235. }
  236. .pd-15 {
  237. padding: 15rpx;
  238. }
  239. .pd-20 {
  240. padding: 20rpx;
  241. }
  242. .pd-30 {
  243. padding: 30rpx;
  244. }
  245. .pd-40 {
  246. padding: 40rpx;
  247. }
  248. /***********圆角***********/
  249. .round-5 {
  250. border-radius: 5rpx;
  251. }
  252. .round-10 {
  253. border-radius: 10rpx;
  254. }
  255. .round-15 {
  256. border-radius: 15rpx;
  257. }
  258. .round-20 {
  259. border-radius: 20rpx;
  260. }
  261. .round-50 {
  262. border-radius: 50%;
  263. }
  264. /***********Flex布局***********/
  265. .row {
  266. display: flex;
  267. flex-direction: row;
  268. }
  269. .column {
  270. display: flex;
  271. flex-direction: column;
  272. }
  273. .y-center {
  274. align-items: center;
  275. }
  276. .x-center {
  277. justify-content: center;
  278. }
  279. .flex-center {
  280. align-items: center;
  281. justify-content: center;
  282. }
  283. .flex-start {
  284. justify-content: flex-start;
  285. }
  286. .flex-end {
  287. justify-content: flex-end;
  288. }
  289. .flex-between {
  290. justify-content: space-between;
  291. }
  292. .flex-around {
  293. justify-content: space-around;
  294. }
  295. .flex-wrap {
  296. flex-wrap: wrap;
  297. }
  298. /***********grid***********/
  299. .grid {
  300. display: grid;
  301. flex-wrap: wrap;
  302. }
  303. .grid.col-1 > view {
  304. width: 100%;
  305. }
  306. .grid.col-2 > view {
  307. width: 50%;
  308. }
  309. .grid.col-3 > view {
  310. width: 33.33333%;
  311. }
  312. .grid.col-4 > view {
  313. width: 25%;
  314. }
  315. .grid.col-5 > view {
  316. width: 20%;
  317. }
  318. /***********文本***********/
  319. .txt-sm {
  320. font-size: 22rpx;
  321. }
  322. .txt-df {
  323. font-size: 28rpx;
  324. }
  325. .txt-lg {
  326. font-size: 32rpx;
  327. }
  328. .txt-xl {
  329. font-size: 36rpx;
  330. }
  331. .txt-xxl {
  332. font-size: 42rpx;
  333. }
  334. .txt-sl {
  335. font-size: 56rpx;
  336. }
  337. .txt-sxl {
  338. font-size: 88rpx;
  339. }
  340. .txt-left {
  341. text-align: left;
  342. }
  343. .txt-right {
  344. text-align: right;
  345. }
  346. .txt-center {
  347. text-align: center;
  348. }
  349. .txt-bold {
  350. font-weight: 800;
  351. }
  352. .txt-space-3 {
  353. letter-spacing: 3rpx;
  354. }
  355. .txt-Abc {
  356. text-transform: Capitalize;
  357. }
  358. .txt-ABC {
  359. text-transform: Uppercase;
  360. }
  361. .txt-abc {
  362. text-transform: Lowercase;
  363. }
  364. .txtHide {
  365. text-overflow: ellipsis;
  366. white-space: nowrap;
  367. overflow: hidden;
  368. }
  369. /***********animation***********/
  370. [class*=ani-] {
  371. -webkit-animation-duration: .5s;
  372. animation-duration: .5s;
  373. -webkit-animation-timing-function: ease-out;
  374. animation-timing-function: ease-out;
  375. -webkit-animation-fill-mode: both;
  376. animation-fill-mode: both;
  377. }
  378. .ani-fade {
  379. -webkit-animation: fade;
  380. animation: fade;
  381. -webkit-animation-duration: .8s;
  382. animation-duration: .8s;
  383. -webkit-animation-timing-function: linear;
  384. animation-timing-function: linear;
  385. }
  386. .ani-scale-up {
  387. -webkit-animation: scale-up;
  388. animation: scale-up;
  389. }
  390. .ani-scale-down {
  391. -webkit-animation: scale-down;
  392. animation: scale-down;
  393. }
  394. .ani-slide-top {
  395. -webkit-animation: slide-top;
  396. animation: slide-top;
  397. }
  398. .ani-slide-bottom {
  399. -webkit-animation: slide-bottom;
  400. animation: slide-bottom;
  401. }
  402. .ani-slide-left {
  403. -webkit-animation: slide-left;
  404. animation: slide-left;
  405. }
  406. .ani-slide-right {
  407. -webkit-animation: slide-right;
  408. animation: slide-right;
  409. }
  410. .ani-shake {
  411. -webkit-animation: shake;
  412. animation: shake;
  413. }
  414. @-webkit-keyframes fade {
  415. 0% {
  416. opacity: 0;
  417. }
  418. 100% {
  419. opacity: 1;
  420. }
  421. }
  422. @keyframes fade {
  423. 0% {
  424. opacity: 0;
  425. }
  426. 100% {
  427. opacity: 1;
  428. }
  429. }
  430. @-webkit-keyframes scale-up {
  431. 0% {
  432. opacity: 0;
  433. -webkit-transform: scale(0.2);
  434. transform: scale(0.2);
  435. }
  436. 100% {
  437. opacity: 1;
  438. -webkit-transform: scale(1);
  439. transform: scale(1);
  440. }
  441. }
  442. @keyframes scale-up {
  443. 0% {
  444. opacity: 0;
  445. -webkit-transform: scale(0.2);
  446. transform: scale(0.2);
  447. }
  448. 100% {
  449. opacity: 1;
  450. -webkit-transform: scale(1);
  451. transform: scale(1);
  452. }
  453. }
  454. @-webkit-keyframes scale-down {
  455. 0% {
  456. opacity: 0;
  457. -webkit-transform: scale(1.8);
  458. transform: scale(1.8);
  459. }
  460. 100% {
  461. opacity: 1;
  462. -webkit-transform: scale(1);
  463. transform: scale(1);
  464. }
  465. }
  466. @keyframes scale-down {
  467. 0% {
  468. opacity: 0;
  469. -webkit-transform: scale(1.8);
  470. transform: scale(1.8);
  471. }
  472. 100% {
  473. opacity: 1;
  474. -webkit-transform: scale(1);
  475. transform: scale(1);
  476. }
  477. }
  478. @-webkit-keyframes slide-top {
  479. 0% {
  480. opacity: 0;
  481. -webkit-transform: translateY(-100%);
  482. transform: translateY(-100%);
  483. }
  484. 100% {
  485. opacity: 1;
  486. -webkit-transform: translateY(0);
  487. transform: translateY(0);
  488. }
  489. }
  490. @keyframes slide-top {
  491. 0% {
  492. opacity: 0;
  493. -webkit-transform: translateY(-100%);
  494. transform: translateY(-100%);
  495. }
  496. 100% {
  497. opacity: 1;
  498. -webkit-transform: translateY(0);
  499. transform: translateY(0);
  500. }
  501. }
  502. @-webkit-keyframes slide-bottom {
  503. 0% {
  504. opacity: 0;
  505. -webkit-transform: translateY(100%);
  506. transform: translateY(100%);
  507. }
  508. 100% {
  509. opacity: 1;
  510. -webkit-transform: translateY(0);
  511. transform: translateY(0);
  512. }
  513. }
  514. @keyframes slide-bottom {
  515. 0% {
  516. opacity: 0;
  517. -webkit-transform: translateY(100%);
  518. transform: translateY(100%);
  519. }
  520. 100% {
  521. opacity: 1;
  522. -webkit-transform: translateY(0);
  523. transform: translateY(0);
  524. }
  525. }
  526. @-webkit-keyframes shake {
  527. 0%,
  528. 100% {
  529. -webkit-transform: translateX(0);
  530. transform: translateX(0);
  531. }
  532. 10% {
  533. -webkit-transform: translateX(-9px);
  534. transform: translateX(-9px);
  535. }
  536. 20% {
  537. -webkit-transform: translateX(8px);
  538. transform: translateX(8px);
  539. }
  540. 30% {
  541. -webkit-transform: translateX(-7px);
  542. transform: translateX(-7px);
  543. }
  544. 40% {
  545. -webkit-transform: translateX(6px);
  546. transform: translateX(6px);
  547. }
  548. 50% {
  549. -webkit-transform: translateX(-5px);
  550. transform: translateX(-5px);
  551. }
  552. 60% {
  553. -webkit-transform: translateX(4px);
  554. transform: translateX(4px);
  555. }
  556. 70% {
  557. -webkit-transform: translateX(-3px);
  558. transform: translateX(-3px);
  559. }
  560. 80% {
  561. -webkit-transform: translateX(2px);
  562. transform: translateX(2px);
  563. }
  564. 90% {
  565. -webkit-transform: translateX(-1px);
  566. transform: translateX(-1px);
  567. }
  568. }
  569. @keyframes shake {
  570. 0%,
  571. 100% {
  572. -webkit-transform: translateX(0);
  573. transform: translateX(0);
  574. }
  575. 10% {
  576. -webkit-transform: translateX(-9px);
  577. transform: translateX(-9px);
  578. }
  579. 20% {
  580. -webkit-transform: translateX(8px);
  581. transform: translateX(8px);
  582. }
  583. 30% {
  584. -webkit-transform: translateX(-7px);
  585. transform: translateX(-7px);
  586. }
  587. 40% {
  588. -webkit-transform: translateX(6px);
  589. transform: translateX(6px);
  590. }
  591. 50% {
  592. -webkit-transform: translateX(-5px);
  593. transform: translateX(-5px);
  594. }
  595. 60% {
  596. -webkit-transform: translateX(4px);
  597. transform: translateX(4px);
  598. }
  599. 70% {
  600. -webkit-transform: translateX(-3px);
  601. transform: translateX(-3px);
  602. }
  603. 80% {
  604. -webkit-transform: translateX(2px);
  605. transform: translateX(2px);
  606. }
  607. 90% {
  608. -webkit-transform: translateX(-1px);
  609. transform: translateX(-1px);
  610. }
  611. }
  612. @-webkit-keyframes slide-left {
  613. 0% {
  614. opacity: 0;
  615. -webkit-transform: translateX(-100%);
  616. transform: translateX(-100%);
  617. }
  618. 100% {
  619. opacity: 1;
  620. -webkit-transform: translateX(0);
  621. transform: translateX(0);
  622. }
  623. }
  624. @keyframes slide-left {
  625. 0% {
  626. opacity: 0;
  627. -webkit-transform: translateX(-100%);
  628. transform: translateX(-100%);
  629. }
  630. 100% {
  631. opacity: 1;
  632. -webkit-transform: translateX(0);
  633. transform: translateX(0);
  634. }
  635. }
  636. @-webkit-keyframes slide-right {
  637. 0% {
  638. opacity: 0;
  639. -webkit-transform: translateX(100%);
  640. transform: translateX(100%);
  641. }
  642. 100% {
  643. opacity: 1;
  644. -webkit-transform: translateX(0);
  645. transform: translateX(0);
  646. }
  647. }
  648. @keyframes slide-right {
  649. 0% {
  650. opacity: 0;
  651. -webkit-transform: translateX(100%);
  652. transform: translateX(100%);
  653. }
  654. 100% {
  655. opacity: 1;
  656. -webkit-transform: translateX(0);
  657. transform: translateX(0);
  658. }
  659. }
  660. /***********辅助交互***********/
  661. .btnClick {
  662. position: relative;
  663. }
  664. .btnClick:active {
  665. -webkit-transform: translate(1px, 1px);
  666. transform: translate(1px, 1px);
  667. }
  668. .pageShow {
  669. opacity: 1;
  670. z-index: 999;
  671. }
  672. .pageHide {
  673. opacity: 0;
  674. z-index: -999;
  675. }
  676. .shadow {
  677. position: relative;
  678. box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
  679. }
  680. .u-line-1 {
  681. display: -webkit-box !important;
  682. overflow: hidden;
  683. text-overflow: ellipsis;
  684. word-break: break-all;
  685. -webkit-line-clamp: 1;
  686. -webkit-box-orient: vertical !important;
  687. }
  688. .u-line-2 {
  689. display: -webkit-box !important;
  690. overflow: hidden;
  691. text-overflow: ellipsis;
  692. word-break: break-all;
  693. -webkit-line-clamp: 2;
  694. -webkit-box-orient: vertical !important;
  695. }
  696. .u-line-3 {
  697. display: -webkit-box !important;
  698. overflow: hidden;
  699. text-overflow: ellipsis;
  700. word-break: break-all;
  701. -webkit-line-clamp: 3;
  702. -webkit-box-orient: vertical !important;
  703. }
  704. .u-line-4 {
  705. display: -webkit-box !important;
  706. overflow: hidden;
  707. text-overflow: ellipsis;
  708. word-break: break-all;
  709. -webkit-line-clamp: 4;
  710. -webkit-box-orient: vertical !important;
  711. }
  712. .u-line-5 {
  713. display: -webkit-box !important;
  714. overflow: hidden;
  715. text-overflow: ellipsis;
  716. word-break: break-all;
  717. -webkit-line-clamp: 5;
  718. -webkit-box-orient: vertical !important;
  719. }
  720. .u-border {
  721. border-width: 0.5px !important;
  722. border-color: #dadbde !important;
  723. border-style: solid;
  724. }
  725. .u-border-top {
  726. border-top-width: 0.5px !important;
  727. border-color: #dadbde !important;
  728. border-top-style: solid;
  729. }
  730. .u-border-left {
  731. border-left-width: 0.5px !important;
  732. border-color: #dadbde !important;
  733. border-left-style: solid;
  734. }
  735. .u-border-right {
  736. border-right-width: 0.5px !important;
  737. border-color: #dadbde !important;
  738. border-right-style: solid;
  739. }
  740. .u-border-bottom {
  741. border-bottom-width: 0.5px !important;
  742. border-color: #dadbde !important;
  743. border-bottom-style: solid;
  744. }
  745. .u-border-top-bottom {
  746. border-top-width: 0.5px !important;
  747. border-bottom-width: 0.5px !important;
  748. border-color: #dadbde !important;
  749. border-top-style: solid;
  750. border-bottom-style: solid;
  751. }
  752. .u-reset-button {
  753. padding: 0;
  754. background-color: transparent;
  755. font-size: inherit;
  756. line-height: inherit;
  757. color: inherit;
  758. }
  759. .u-reset-button::after {
  760. border: none;
  761. }
  762. .u-hover-class {
  763. opacity: 0.7;
  764. }
  765. .u-primary-light {
  766. color: #ecf5ff;
  767. }
  768. .u-warning-light {
  769. color: #fdf6ec;
  770. }
  771. .u-success-light {
  772. color: #f5fff0;
  773. }
  774. .u-error-light {
  775. color: #fef0f0;
  776. }
  777. .u-info-light {
  778. color: #f4f4f5;
  779. }
  780. .u-primary-light-bg {
  781. background-color: #ecf5ff;
  782. }
  783. .u-warning-light-bg {
  784. background-color: #fdf6ec;
  785. }
  786. .u-success-light-bg {
  787. background-color: #f5fff0;
  788. }
  789. .u-error-light-bg {
  790. background-color: #fef0f0;
  791. }
  792. .u-info-light-bg {
  793. background-color: #f4f4f5;
  794. }
  795. .u-primary-dark {
  796. color: #eb5a10;
  797. }
  798. .u-warning-dark {
  799. color: #f1a532;
  800. }
  801. .u-success-dark {
  802. color: #53c21d;
  803. }
  804. .u-error-dark {
  805. color: #e45656;
  806. }
  807. .u-info-dark {
  808. color: #767a82;
  809. }
  810. .u-primary-dark-bg {
  811. background-color: #eb5a10;
  812. }
  813. .u-warning-dark-bg {
  814. background-color: #f1a532;
  815. }
  816. .u-success-dark-bg {
  817. background-color: #53c21d;
  818. }
  819. .u-error-dark-bg {
  820. background-color: #e45656;
  821. }
  822. .u-info-dark-bg {
  823. background-color: #767a82;
  824. }
  825. .u-primary-disabled {
  826. color: rgba(235, 90, 16, 0.6);
  827. }
  828. .u-warning-disabled {
  829. color: #f9d39b;
  830. }
  831. .u-success-disabled {
  832. color: #a9e08f;
  833. }
  834. .u-error-disabled {
  835. color: #f7b2b2;
  836. }
  837. .u-info-disabled {
  838. color: #c4c6c9;
  839. }
  840. .u-primary {
  841. color: #eb5a10;
  842. }
  843. .u-warning {
  844. color: #f9ae3d;
  845. }
  846. .u-success {
  847. color: #5ac725;
  848. }
  849. .u-error {
  850. color: #f56c6c;
  851. }
  852. .u-info {
  853. color: #909399;
  854. }
  855. .u-primary-bg {
  856. background-color: #eb5a10;
  857. }
  858. .u-warning-bg {
  859. background-color: #f9ae3d;
  860. }
  861. .u-success-bg {
  862. background-color: #5ac725;
  863. }
  864. .u-error-bg {
  865. background-color: #f56c6c;
  866. }
  867. .u-info-bg {
  868. background-color: #909399;
  869. }
  870. .u-main-color {
  871. color: #303133;
  872. }
  873. .u-content-color {
  874. color: #606266;
  875. }
  876. .u-tips-color {
  877. color: #909193;
  878. }
  879. .u-light-color {
  880. color: #c0c4cc;
  881. }
  882. .u-safe-area-inset-top {
  883. padding-top: 0;
  884. padding-top: constant(safe-area-inset-top);
  885. padding-top: env(safe-area-inset-top);
  886. }
  887. .u-safe-area-inset-right {
  888. padding-right: 0;
  889. padding-right: constant(safe-area-inset-right);
  890. padding-right: env(safe-area-inset-right);
  891. }
  892. .u-safe-area-inset-bottom {
  893. padding-bottom: 0;
  894. padding-bottom: constant(safe-area-inset-bottom);
  895. padding-bottom: env(safe-area-inset-bottom);
  896. }
  897. .u-safe-area-inset-left {
  898. padding-left: 0;
  899. padding-left: constant(safe-area-inset-left);
  900. padding-left: env(safe-area-inset-left);
  901. }
  902. ::-webkit-scrollbar {
  903. display: none;
  904. width: 0 !important;
  905. height: 0 !important;
  906. -webkit-appearance: none;
  907. background: transparent;
  908. }
  909. .u-block {
  910. padding: 14px;
  911. }
  912. .u-block__section {
  913. margin-bottom: 10px;
  914. }
  915. .u-block__title {
  916. margin-top: 10px;
  917. font-size: 15px;
  918. color: #606266;
  919. margin-bottom: 10px;
  920. }
  921. .u-block__flex {
  922. display: flex;
  923. }
  924. .u-cell-icon {
  925. width: 36rpx;
  926. height: 36rpx;
  927. margin-right: 8rpx;
  928. }
  929. .u-page {
  930. padding: 15px 15px 40px 15px;
  931. }
  932. .u-demo-block {
  933. flex: 1;
  934. margin-bottom: 23px;
  935. }
  936. .u-demo-block__content {
  937. display: flex;
  938. flex-direction: column;
  939. }
  940. .u-demo-block__title {
  941. font-size: 14px;
  942. color: #8f9ca2;
  943. margin-bottom: 8px;
  944. display: flex;
  945. flex-direction: row;
  946. }
  947. .pageCon {
  948. width: 100%;
  949. display: flex;
  950. flex-direction: column;
  951. height: calc(100vh - 276rpx);
  952. overflow-y: scroll;
  953. overflow-x: hidden;
  954. font-size: 28rpx;
  955. }
  956. page {
  957. background-color: #f6f6f6;
  958. }