uni.css 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707
  1. @font-face {
  2. font-family: uniicons;
  3. font-weight: normal;
  4. font-style: normal;
  5. src: url('~@/style/uni.ttf') format('truetype');
  6. }
  7. /*通用 */
  8. view {
  9. font-size: 28rpx;
  10. line-height: 1.8;
  11. }
  12. progress,
  13. checkbox-group {
  14. width: 100%;
  15. }
  16. form {
  17. width: 100%;
  18. }
  19. .uni-flex {
  20. display: flex;
  21. flex-direction: row;
  22. }
  23. .uni-flex-item {
  24. flex: 1;
  25. }
  26. .uni-row {
  27. flex-direction: row;
  28. }
  29. .uni-column {
  30. flex-direction: column;
  31. }
  32. .uni-link {
  33. color: #576B95;
  34. font-size: 26rpx;
  35. }
  36. .uni-center {
  37. text-align: center;
  38. }
  39. .uni-inline-item {
  40. display: flex;
  41. flex-direction: row;
  42. align-items: center;
  43. }
  44. .uni-inline-item text {
  45. margin-right: 20rpx;
  46. }
  47. .uni-inline-item text:last-child {
  48. margin-right: 0rpx;
  49. margin-left: 20rpx;
  50. }
  51. /* page */
  52. .uni-page-head {
  53. padding: 35rpx;
  54. text-align: center;
  55. }
  56. .uni-page-head-title {
  57. display: inline-block;
  58. padding: 0 40rpx;
  59. font-size: 30rpx;
  60. height: 88rpx;
  61. line-height: 88rpx;
  62. color: #BEBEBE;
  63. box-sizing: border-box;
  64. border-bottom: 2rpx solid #D8D8D8;
  65. }
  66. .uni-page-body {
  67. width: 100%;
  68. flex-grow: 1;
  69. overflow-x: hidden;
  70. }
  71. .uni-padding-wrap {
  72. width: 690rpx;
  73. padding: 0 30rpx;
  74. }
  75. .uni-word {
  76. text-align: center;
  77. padding: 200rpx 100rpx;
  78. }
  79. .uni-title {
  80. font-size: 30rpx;
  81. font-weight: 500;
  82. padding: 20rpx 0;
  83. line-height: 1.5;
  84. }
  85. .uni-text {
  86. font-size: 28rpx;
  87. }
  88. .uni-title text {
  89. font-size: 24rpx;
  90. color: #888;
  91. }
  92. .uni-text-gray {
  93. color: #ccc;
  94. }
  95. .uni-text-small {
  96. font-size: 24rpx;
  97. }
  98. .uni-common-mb {
  99. margin-bottom: 30rpx;
  100. }
  101. .uni-common-pb {
  102. padding-bottom: 30rpx;
  103. }
  104. .uni-common-pl {
  105. padding-left: 30rpx;
  106. }
  107. .uni-common-mt {
  108. margin-top: 30rpx;
  109. }
  110. /* 背景色 */
  111. .uni-bg-red {
  112. background: #F76260;
  113. color: #FFF;
  114. }
  115. .uni-bg-green {
  116. background: #09BB07;
  117. color: #FFF;
  118. }
  119. .uni-bg-blue {
  120. background: #007AFF;
  121. color: #FFF;
  122. }
  123. /* 标题 */
  124. .uni-h1 {
  125. font-size: 80rpx;
  126. font-weight: 700;
  127. }
  128. .uni-h2 {
  129. font-size: 60rpx;
  130. font-weight: 700;
  131. }
  132. .uni-h3 {
  133. font-size: 48rpx;
  134. font-weight: 700;
  135. }
  136. .uni-h4 {
  137. font-size: 36rpx;
  138. font-weight: 700;
  139. }
  140. .uni-h5 {
  141. font-size: 28rpx;
  142. color: #8f8f94;
  143. }
  144. .uni-h6 {
  145. font-size: 24rpx;
  146. color: #8f8f94;
  147. }
  148. .uni-bold {
  149. font-weight: bold;
  150. }
  151. /* 文本溢出隐藏 */
  152. .uni-ellipsis {
  153. overflow: hidden;
  154. white-space: nowrap;
  155. text-overflow: ellipsis;
  156. }
  157. /* 竖向百分百按钮 */
  158. .uni-btn-v {
  159. padding: 10rpx 0;
  160. }
  161. .uni-btn-v button {
  162. margin: 20rpx 0;
  163. }
  164. /* 表单 */
  165. .uni-form-item {
  166. display: flex;
  167. width: 100%;
  168. padding: 10rpx 0;
  169. }
  170. .uni-form-item .title {
  171. padding: 10rpx 25rpx;
  172. }
  173. .uni-label {
  174. width: 210rpx;
  175. word-wrap: break-word;
  176. word-break: break-all;
  177. text-indent: 20rpx;
  178. }
  179. .uni-input {
  180. height: 50rpx;
  181. padding: 15rpx 25rpx;
  182. line-height: 50rpx;
  183. font-size: 28rpx;
  184. background: #FFF;
  185. flex: 1;
  186. }
  187. radio-group,
  188. checkbox-group {
  189. width: 100%;
  190. }
  191. radio-group label,
  192. checkbox-group label {
  193. padding-right: 20rpx;
  194. }
  195. .uni-form-item .with-fun {
  196. display: flex;
  197. flex-wrap: nowrap;
  198. background: #FFFFFF;
  199. }
  200. .uni-form-item .with-fun .uni-icon {
  201. width: 40px;
  202. height: 80rpx;
  203. line-height: 80rpx;
  204. flex-shrink: 0;
  205. }
  206. /* loadmore */
  207. .uni-loadmore {
  208. height: 80rpx;
  209. line-height: 80rpx;
  210. text-align: center;
  211. padding-bottom: 30rpx;
  212. }
  213. /*数字角标*/
  214. .uni-badge,
  215. .uni-badge-default {
  216. font-family: 'Helvetica Neue', Helvetica, sans-serif;
  217. font-size: 12px;
  218. line-height: 1;
  219. display: inline-block;
  220. padding: 3px 6px;
  221. color: #333;
  222. border-radius: 100px;
  223. background-color: rgba(0, 0, 0, .15);
  224. }
  225. .uni-badge.uni-badge-inverted {
  226. padding: 0 5px 0 0;
  227. color: #929292;
  228. background-color: transparent
  229. }
  230. .uni-badge-primary {
  231. color: #fff;
  232. background-color: #007aff
  233. }
  234. .uni-badge-blue.uni-badge-inverted,
  235. .uni-badge-primary.uni-badge-inverted {
  236. color: #007aff;
  237. background-color: transparent
  238. }
  239. .uni-badge-green,
  240. .uni-badge-success {
  241. color: #fff;
  242. background-color: #4cd964;
  243. }
  244. .uni-badge-green.uni-badge-inverted,
  245. .uni-badge-success.uni-badge-inverted {
  246. color: #4cd964;
  247. background-color: transparent
  248. }
  249. .uni-badge-warning,
  250. .uni-badge-yellow {
  251. color: #fff;
  252. background-color: #f0ad4e
  253. }
  254. .uni-badge-warning.uni-badge-inverted,
  255. .uni-badge-yellow.uni-badge-inverted {
  256. color: #f0ad4e;
  257. background-color: transparent
  258. }
  259. .uni-badge-danger,
  260. .uni-badge-red {
  261. color: #fff;
  262. background-color: #dd524d
  263. }
  264. .uni-badge-danger.uni-badge-inverted,
  265. .uni-badge-red.uni-badge-inverted {
  266. color: #dd524d;
  267. background-color: transparent
  268. }
  269. .uni-badge-purple,
  270. .uni-badge-royal {
  271. color: #fff;
  272. background-color: #8a6de9
  273. }
  274. .uni-badge-purple.uni-badge-inverted,
  275. .uni-badge-royal.uni-badge-inverted {
  276. color: #8a6de9;
  277. background-color: transparent
  278. }
  279. /*折叠面板 */
  280. .uni-collapse-content {
  281. height: 0;
  282. width: 100%;
  283. overflow: hidden;
  284. }
  285. .uni-collapse-content.uni-active {
  286. height: auto;
  287. }
  288. /*卡片视图 */
  289. .uni-card {
  290. background: #fff;
  291. border-radius: 8rpx;
  292. margin: 20rpx 0;
  293. position: relative;
  294. box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, .3);
  295. }
  296. .uni-card-content {
  297. font-size: 30rpx;
  298. }
  299. .uni-card-content.image-view {
  300. width: 100%;
  301. margin: 0;
  302. }
  303. .uni-card-content-inner {
  304. position: relative;
  305. padding: 30rpx;
  306. }
  307. .uni-card-footer,
  308. .uni-card-header {
  309. position: relative;
  310. display: flex;
  311. min-height: 50rpx;
  312. padding: 20rpx 30rpx;
  313. justify-content: space-between;
  314. align-items: center;
  315. }
  316. .uni-card-header {
  317. font-size: 36rpx;
  318. }
  319. .uni-card-footer {
  320. color: #6d6d72;
  321. }
  322. .uni-card-footer:before,
  323. .uni-card-header:after {
  324. position: absolute;
  325. top: 0;
  326. right: 0;
  327. left: 0;
  328. height: 2rpx;
  329. content: '';
  330. -webkit-transform: scaleY(.5);
  331. transform: scaleY(.5);
  332. background-color: #c8c7cc;
  333. }
  334. .uni-card-header:after {
  335. top: auto;
  336. bottom: 0;
  337. }
  338. .uni-card-media {
  339. justify-content: flex-start;
  340. }
  341. .uni-card-media-logo {
  342. height: 84rpx;
  343. width: 84rpx;
  344. margin-right: 20rpx;
  345. }
  346. .uni-card-media-body {
  347. height: 84rpx;
  348. display: flex;
  349. flex-direction: column;
  350. justify-content: space-between;
  351. align-items: flex-start;
  352. }
  353. .uni-card-media-text-top {
  354. line-height: 36rpx;
  355. font-size: 34rpx;
  356. }
  357. .uni-card-media-text-bottom {
  358. line-height: 30rpx;
  359. font-size: 28rpx;
  360. color: #8f8f94;
  361. }
  362. .uni-card-link {
  363. color: #007AFF;
  364. }
  365. /* 列表 */
  366. .uni-list {
  367. background-color: #FFFFFF;
  368. position: relative;
  369. width: 100%;
  370. display: flex;
  371. flex-direction: column;
  372. }
  373. .uni-list:after {
  374. position: absolute;
  375. z-index: 10;
  376. right: 0;
  377. bottom: 0;
  378. left: 0;
  379. height: 1px;
  380. content: '';
  381. -webkit-transform: scaleY(.5);
  382. transform: scaleY(.5);
  383. background-color: #c8c7cc;
  384. }
  385. .uni-list::before {
  386. position: absolute;
  387. z-index: 10;
  388. right: 0;
  389. top: 0;
  390. left: 0;
  391. height: 1px;
  392. content: '';
  393. -webkit-transform: scaleY(.5);
  394. transform: scaleY(.5);
  395. background-color: #c8c7cc;
  396. }
  397. .uni-list-cell {
  398. position: relative;
  399. display: flex;
  400. flex-direction: row;
  401. justify-content: space-between;
  402. align-items: center;
  403. }
  404. .uni-list-cell-hover {
  405. background-color: #eee;
  406. }
  407. .uni-list-cell-pd {
  408. padding: 22rpx 30rpx;
  409. }
  410. .uni-list-cell-left {
  411. white-space: nowrap;
  412. font-size: 28rpx;
  413. padding: 0 30rpx;
  414. }
  415. .uni-list-cell-db,
  416. .uni-list-cell-right {
  417. flex: 1;
  418. }
  419. .uni-list-cell::after {
  420. position: absolute;
  421. z-index: 3;
  422. right: 0;
  423. bottom: 0;
  424. left: 30rpx;
  425. height: 1px;
  426. content: '';
  427. -webkit-transform: scaleY(.5);
  428. transform: scaleY(.5);
  429. background-color: #c8c7cc;
  430. }
  431. .uni-list .uni-list-cell:last-child::after {
  432. height: 0rpx;
  433. }
  434. .uni-list-cell-last.uni-list-cell::after {
  435. height: 0rpx;
  436. }
  437. .uni-list-cell-divider {
  438. position: relative;
  439. display: flex;
  440. color: #999;
  441. background-color: #f7f7f7;
  442. padding: 15rpx 20rpx;
  443. }
  444. .uni-list-cell-divider::before {
  445. position: absolute;
  446. right: 0;
  447. top: 0;
  448. left: 0;
  449. height: 1px;
  450. content: '';
  451. -webkit-transform: scaleY(.5);
  452. transform: scaleY(.5);
  453. background-color: #c8c7cc;
  454. }
  455. .uni-list-cell-divider::after {
  456. position: absolute;
  457. right: 0;
  458. bottom: 0;
  459. left: 0rpx;
  460. height: 1px;
  461. content: '';
  462. -webkit-transform: scaleY(.5);
  463. transform: scaleY(.5);
  464. background-color: #c8c7cc;
  465. }
  466. .uni-list-cell-navigate {
  467. font-size: 30rpx;
  468. padding: 22rpx 30rpx;
  469. line-height: 48rpx;
  470. position: relative;
  471. display: flex;
  472. box-sizing: border-box;
  473. width: 100%;
  474. flex: 1;
  475. justify-content: space-between;
  476. align-items: center;
  477. }
  478. .uni-list-cell-navigate {
  479. padding-right: 36rpx;
  480. }
  481. .uni-navigate-badge {
  482. padding-right: 50rpx;
  483. }
  484. .uni-list-cell-navigate.uni-navigate-right:after {
  485. font-family: uniicons;
  486. content: '\e583';
  487. position: absolute;
  488. right: 24rpx;
  489. top: 50%;
  490. color: #bbb;
  491. -webkit-transform: translateY(-50%);
  492. transform: translateY(-50%);
  493. }
  494. .uni-list-cell-navigate.uni-navigate-bottom:after {
  495. font-family: uniicons;
  496. content: '\e581';
  497. position: absolute;
  498. right: 24rpx;
  499. top: 50%;
  500. color: #bbb;
  501. -webkit-transform: translateY(-50%);
  502. transform: translateY(-50%);
  503. }
  504. .uni-list-cell-navigate.uni-navigate-bottom.uni-active::after {
  505. font-family: uniicons;
  506. content: '\e580';
  507. position: absolute;
  508. right: 24rpx;
  509. top: 50%;
  510. color: #bbb;
  511. -webkit-transform: translateY(-50%);
  512. transform: translateY(-50%);
  513. }
  514. .uni-collapse.uni-list-cell {
  515. flex-direction: column;
  516. }
  517. .uni-list-cell-navigate.uni-active {
  518. background: #eee;
  519. }
  520. .uni-list.uni-collapse {
  521. box-sizing: border-box;
  522. height: 0;
  523. overflow: hidden;
  524. }
  525. .uni-collapse .uni-list-cell {
  526. padding-left: 20rpx;
  527. }
  528. .uni-collapse .uni-list-cell::after {
  529. left: 52rpx;
  530. }
  531. .uni-list.uni-active {
  532. height: auto;
  533. }
  534. /* 三行列表 */
  535. .uni-triplex-row {
  536. display: flex;
  537. flex: 1;
  538. width: 100%;
  539. box-sizing: border-box;
  540. flex-direction: row;
  541. padding: 22rpx 30rpx;
  542. }
  543. .uni-triplex-right,
  544. .uni-triplex-left {
  545. display: flex;
  546. flex-direction: column;
  547. }
  548. .uni-triplex-left {
  549. width: 84%;
  550. }
  551. .uni-triplex-left .uni-title {
  552. padding: 8rpx 0;
  553. }
  554. .uni-triplex-left .uni-text,
  555. .uni-triplex-left .uni-text-small {
  556. color: #999999;
  557. }
  558. .uni-triplex-right {
  559. width: 16%;
  560. text-align: right;
  561. }
  562. /* 图文列表 */
  563. .uni-media-list {
  564. padding: 22rpx 30rpx;
  565. box-sizing: border-box;
  566. display: flex;
  567. width: 100%;
  568. flex-direction: row;
  569. }
  570. .uni-navigate-right.uni-media-list {
  571. padding-right: 74rpx;
  572. }
  573. .uni-pull-right {
  574. flex-direction: row-reverse;
  575. }
  576. .uni-pull-right>.uni-media-list-logo {
  577. margin-right: 0rpx;
  578. margin-left: 20rpx;
  579. }
  580. .uni-media-list-logo {
  581. height: 84rpx;
  582. width: 84rpx;
  583. margin-right: 20rpx;
  584. }
  585. .uni-media-list-logo image {
  586. height: 100%;
  587. width: 100%;
  588. }
  589. .uni-media-list-body {
  590. height: 84rpx;
  591. display: flex;
  592. flex: 1;
  593. flex-direction: column;
  594. justify-content: space-between;
  595. align-items: flex-start;
  596. overflow: hidden;
  597. }
  598. .uni-media-list-text-top {
  599. width: 100%;
  600. line-height: 36rpx;
  601. font-size: 30rpx;
  602. }
  603. .uni-media-list-text-bottom {
  604. width: 100%;
  605. line-height: 30rpx;
  606. font-size: 26rpx;
  607. color: #8f8f94;
  608. }
  609. /* 九宫格 */
  610. .uni-grid-9 {
  611. background: #f2f2f2;
  612. width: 750rpx;
  613. display: flex;
  614. flex-direction: row;
  615. flex-wrap: wrap;
  616. border-top: 2rpx solid #eee;
  617. }
  618. .uni-grid-9-item {
  619. width: 250rpx;
  620. height: 200rpx;
  621. display: flex;
  622. flex-direction: column;
  623. align-items: center;
  624. justify-content: center;
  625. border-bottom: 2rpx solid;
  626. border-right: 2rpx solid;
  627. border-color: #eee;
  628. box-sizing: border-box;
  629. }
  630. .no-border-right {
  631. border-right: none;
  632. }
  633. .uni-grid-9-image {
  634. width: 100rpx;
  635. height: 100rpx;
  636. }
  637. .uni-grid-9-text {
  638. width: 250rpx;
  639. line-height: 4rpx;
  640. height: 40rpx;
  641. text-align: center;
  642. font-size: 30rpx;
  643. }
  644. .uni-grid-9-item-hover {
  645. background: rgba(0, 0, 0, 0.1);
  646. }
  647. /* 上传 */
  648. .uni-uploader {
  649. flex: 1;
  650. flex-direction: column;
  651. }
  652. .uni-uploader-head {
  653. display: flex;
  654. flex-direction: row;
  655. justify-content: space-between;
  656. }
  657. .uni-uploader-info {
  658. color: #B2B2B2;
  659. }
  660. .uni-uploader-body {}
  661. .uni-uploader__files {
  662. width: 50%;
  663. height: 100%;
  664. }
  665. .uni-uploader__files text {
  666. color: #999;
  667. font-size: 12px;
  668. }
  669. .uni-uploader__file {
  670. margin: 10rpx;
  671. width: 158px;
  672. height: 92px;
  673. }
  674. .uni-uploader__img {
  675. display: block;
  676. width: 158px;
  677. height: 92px;
  678. }
  679. .uni-uploader__input-box {
  680. position: relative;
  681. margin: 10rpx;
  682. width: 158px;
  683. height: 92px;
  684. border: 1px dashed #CED4DA;
  685. background: #F9F9F9;
  686. }
  687. .uni-uploader__input-box:before,
  688. .uni-uploader__input-box:after {
  689. content: " ";
  690. position: absolute;
  691. top: 50%;
  692. left: 50%;
  693. -webkit-transform: translate(-50%, -50%);
  694. transform: translate(-50%, -50%);
  695. background-color: #0052FF;
  696. }
  697. .uni-uploader__input-box:before {
  698. width: 4rpx;
  699. height: 50rpx;
  700. }
  701. .uni-uploader__input-box:after {
  702. width: 50rpx;
  703. height: 4rpx;
  704. }
  705. .uni-uploader__input-box:active {
  706. border-color: #999999;
  707. }
  708. .uni-uploader__input-box:active:before,
  709. .uni-uploader__input-box:active:after {
  710. background-color: #999999;
  711. }
  712. .uni-uploader__input {
  713. position: absolute;
  714. z-index: 1;
  715. top: 0;
  716. left: 0;
  717. width: 100%;
  718. height: 100%;
  719. opacity: 0;
  720. }
  721. /*问题反馈*/
  722. .feedback-title {
  723. display: flex;
  724. flex-direction: row;
  725. justify-content: space-between;
  726. align-items: center;
  727. padding: 20rpx;
  728. color: #8f8f94;
  729. font-size: 28rpx;
  730. }
  731. .feedback-star-view.feedback-title {
  732. justify-content: flex-start;
  733. margin: 0;
  734. }
  735. .feedback-quick {
  736. position: relative;
  737. padding-right: 40rpx;
  738. }
  739. .feedback-quick:after {
  740. font-family: uniicons;
  741. font-size: 40rpx;
  742. content: '\e581';
  743. position: absolute;
  744. right: 0;
  745. top: 50%;
  746. color: #bbb;
  747. -webkit-transform: translateY(-50%);
  748. transform: translateY(-50%);
  749. }
  750. .feedback-body {
  751. background: #fff;
  752. }
  753. .feedback-textare {
  754. height: 200rpx;
  755. font-size: 34rpx;
  756. line-height: 50rpx;
  757. width: 100%;
  758. box-sizing: border-box;
  759. padding: 20rpx 30rpx 0;
  760. }
  761. .feedback-input {
  762. font-size: 34rpx;
  763. height: 50rpx;
  764. min-height: 50rpx;
  765. padding: 15rpx 20rpx;
  766. line-height: 50rpx;
  767. }
  768. .feedback-uploader {
  769. padding: 22rpx 20rpx;
  770. }
  771. .feedback-star {
  772. font-family: uniicons;
  773. font-size: 40rpx;
  774. margin-left: 6rpx;
  775. }
  776. .feedback-star-view {
  777. margin-left: 20rpx;
  778. }
  779. .feedback-star:after {
  780. content: '\e408';
  781. }
  782. .feedback-star.active {
  783. color: #FFB400;
  784. }
  785. .feedback-star.active:after {
  786. content: '\e438';
  787. }
  788. .feedback-submit {
  789. background: #007AFF;
  790. color: #FFFFFF;
  791. margin: 20rpx;
  792. }
  793. /* input group */
  794. .uni-input-group {
  795. position: relative;
  796. padding: 0;
  797. border: 0;
  798. background-color: #fff;
  799. }
  800. .uni-input-group:before {
  801. position: absolute;
  802. top: 0;
  803. right: 0;
  804. left: 0;
  805. height: 2rpx;
  806. content: '';
  807. transform: scaleY(.5);
  808. background-color: #c8c7cc;
  809. }
  810. .uni-input-group:after {
  811. position: absolute;
  812. right: 0;
  813. bottom: 0;
  814. left: 0;
  815. height: 2rpx;
  816. content: '';
  817. transform: scaleY(.5);
  818. background-color: #c8c7cc;
  819. }
  820. .uni-input-row {
  821. position: relative;
  822. display: flex;
  823. flex-direction: row;
  824. font-size: 28rpx;
  825. padding: 22rpx 30rpx;
  826. justify-content: space-between;
  827. }
  828. .uni-input-group .uni-input-row:after {
  829. position: absolute;
  830. right: 0;
  831. bottom: 0;
  832. left: 30rpx;
  833. height: 2rpx;
  834. content: '';
  835. transform: scaleY(.5);
  836. background-color: #c8c7cc;
  837. }
  838. .uni-input-row label {
  839. line-height: 70rpx;
  840. }
  841. /* textarea */
  842. .uni-textarea {
  843. width: 100%;
  844. background: #FFF;
  845. }
  846. .uni-textarea textarea {
  847. width: 96%;
  848. padding: 18rpx 2%;
  849. line-height: 1.6;
  850. font-size: 28rpx;
  851. height: 150rpx;
  852. }
  853. /* tab bar */
  854. .uni-tab-bar {
  855. display: flex;
  856. flex: 1;
  857. flex-direction: column;
  858. overflow: hidden;
  859. height: 100%;
  860. }
  861. .uni-tab-bar .list {
  862. width: 750rpx;
  863. height: 100%;
  864. }
  865. .uni-swiper-tab {
  866. width: 100%;
  867. white-space: nowrap;
  868. line-height: 100rpx;
  869. height: 100rpx;
  870. border-bottom: 1px solid #c8c7cc;
  871. }
  872. .swiper-tab-list {
  873. font-size: 30rpx;
  874. width: 150rpx;
  875. display: inline-block;
  876. text-align: center;
  877. color: #555;
  878. }
  879. .uni-tab-bar .active {
  880. color: #007AFF;
  881. }
  882. .uni-tab-bar .swiper-box {
  883. flex: 1;
  884. width: 100%;
  885. height: calc(100% - 100rpx);
  886. }
  887. .uni-tab-bar-loading {
  888. padding: 20rpx 0;
  889. }
  890. /* comment */
  891. .uni-comment {
  892. padding: 5rpx 0;
  893. display: flex;
  894. flex-grow: 1;
  895. flex-direction: column;
  896. }
  897. .uni-comment-list {
  898. flex-wrap: nowrap;
  899. padding: 10rpx 0;
  900. margin: 10rpx 0;
  901. width: 100%;
  902. display: flex;
  903. }
  904. .uni-comment-face {
  905. width: 70rpx;
  906. height: 70rpx;
  907. border-radius: 100%;
  908. margin-right: 20rpx;
  909. flex-shrink: 0;
  910. overflow: hidden;
  911. }
  912. .uni-comment-face image {
  913. width: 100%;
  914. border-radius: 100%;
  915. }
  916. .uni-comment-body {
  917. width: 100%;
  918. }
  919. .uni-comment-top {
  920. line-height: 1.5em;
  921. justify-content: space-between;
  922. }
  923. .uni-comment-top text {
  924. color: #0A98D5;
  925. font-size: 24rpx;
  926. }
  927. .uni-comment-date {
  928. line-height: 38rpx;
  929. flex-direction: row;
  930. justify-content: space-between;
  931. display: flex !important;
  932. flex-grow: 1;
  933. }
  934. .uni-comment-date view {
  935. color: #666666;
  936. font-size: 24rpx;
  937. line-height: 38rpx;
  938. }
  939. .uni-comment-content {
  940. line-height: 1.6em;
  941. font-size: 28rpx;
  942. padding: 8rpx 0;
  943. }
  944. .uni-comment-replay-btn {
  945. background: #FFF;
  946. font-size: 24rpx;
  947. line-height: 28rpx;
  948. padding: 5rpx 20rpx;
  949. border-radius: 30rpx;
  950. color: #333 !important;
  951. margin: 0 10rpx;
  952. }
  953. /* swiper msg */
  954. .uni-swiper-msg {
  955. width: 100%;
  956. padding: 12rpx 0;
  957. flex-wrap: nowrap;
  958. display: flex;
  959. }
  960. .uni-swiper-msg-icon {
  961. width: 50rpx;
  962. margin-right: 20rpx;
  963. }
  964. .uni-swiper-msg-icon image {
  965. width: 100%;
  966. flex-shrink: 0;
  967. }
  968. .uni-swiper-msg swiper {
  969. width: 100%;
  970. height: 50rpx;
  971. }
  972. .uni-swiper-msg swiper-item {
  973. line-height: 50rpx;
  974. }
  975. /* product */
  976. .uni-product-list {
  977. display: flex;
  978. width: 100%;
  979. flex-wrap: wrap;
  980. flex-direction: row;
  981. }
  982. .uni-product {
  983. padding: 20rpx;
  984. display: flex;
  985. flex-direction: column;
  986. }
  987. .image-view {
  988. height: 330rpx;
  989. width: 330rpx;
  990. margin: 12rpx 0;
  991. }
  992. .uni-product-image {
  993. height: 330rpx;
  994. width: 330rpx;
  995. }
  996. .uni-product-title {
  997. width: 300rpx;
  998. word-break: break-all;
  999. display: -webkit-box;
  1000. overflow: hidden;
  1001. line-height: 1.5;
  1002. text-overflow: ellipsis;
  1003. -webkit-box-orient: vertical;
  1004. -webkit-line-clamp: 2;
  1005. }
  1006. .uni-product-price {
  1007. margin-top: 10rpx;
  1008. font-size: 28rpx;
  1009. line-height: 1.5;
  1010. position: relative;
  1011. }
  1012. .uni-product-price-original {
  1013. color: #e80080;
  1014. }
  1015. .uni-product-price-favour {
  1016. color: #888888;
  1017. text-decoration: line-through;
  1018. margin-left: 10rpx;
  1019. }
  1020. .uni-product-tip {
  1021. position: absolute;
  1022. right: 10rpx;
  1023. background-color: #ff3333;
  1024. color: #ffffff;
  1025. padding: 0 10rpx;
  1026. border-radius: 5rpx;
  1027. }
  1028. /* timeline */
  1029. .uni-timeline {
  1030. margin: 35rpx 0;
  1031. display: flex;
  1032. flex-direction: column;
  1033. position: relative;
  1034. }
  1035. .uni-timeline-item {
  1036. display: flex;
  1037. flex-direction: row;
  1038. position: relative;
  1039. padding-bottom: 20rpx;
  1040. box-sizing: border-box;
  1041. overflow: hidden;
  1042. }
  1043. .uni-timeline-item .uni-timeline-item-keynode {
  1044. width: 160rpx;
  1045. flex-shrink: 0;
  1046. box-sizing: border-box;
  1047. padding-right: 20rpx;
  1048. text-align: right;
  1049. line-height: 65rpx;
  1050. }
  1051. .uni-timeline-item .uni-timeline-item-divider {
  1052. flex-shrink: 0;
  1053. position: relative;
  1054. width: 30rpx;
  1055. height: 30rpx;
  1056. top: 15rpx;
  1057. border-radius: 50%;
  1058. background-color: #bbb;
  1059. }
  1060. .uni-timeline-item-divider::before,
  1061. .uni-timeline-item-divider::after {
  1062. position: absolute;
  1063. left: 15rpx;
  1064. width: 1rpx;
  1065. height: 100vh;
  1066. content: '';
  1067. background: inherit;
  1068. }
  1069. .uni-timeline-item-divider::before {
  1070. bottom: 100%;
  1071. }
  1072. .uni-timeline-item-divider::after {
  1073. top: 100%;
  1074. }
  1075. .uni-timeline-last-item .uni-timeline-item-divider:after {
  1076. display: none;
  1077. }
  1078. .uni-timeline-first-item .uni-timeline-item-divider:before {
  1079. display: none;
  1080. }
  1081. .uni-timeline-item .uni-timeline-item-content {
  1082. padding-left: 20rpx;
  1083. }
  1084. .uni-timeline-last-item .bottom-border::after {
  1085. display: none;
  1086. }
  1087. .uni-timeline-item-content .datetime {
  1088. color: #CCCCCC;
  1089. }
  1090. /* 自定义节点颜色 */
  1091. .uni-timeline-last-item .uni-timeline-item-divider {
  1092. background-color: #1AAD19;
  1093. }
  1094. /* uni-icon */
  1095. .uni-icon {
  1096. font-family: uniicons;
  1097. font-size: 24px;
  1098. font-weight: normal;
  1099. font-style: normal;
  1100. line-height: 1;
  1101. display: inline-block;
  1102. text-decoration: none;
  1103. -webkit-font-smoothing: antialiased;
  1104. }
  1105. .uni-icon.uni-active {
  1106. color: #007aff;
  1107. }
  1108. .uni-icon-contact:before {
  1109. content: '\e100';
  1110. }
  1111. .uni-icon-person:before {
  1112. content: '\e101';
  1113. }
  1114. .uni-icon-personadd:before {
  1115. content: '\e102';
  1116. }
  1117. .uni-icon-contact-filled:before {
  1118. content: '\e130';
  1119. }
  1120. .uni-icon-person-filled:before {
  1121. content: '\e131';
  1122. }
  1123. .uni-icon-personadd-filled:before {
  1124. content: '\e132';
  1125. }
  1126. .uni-icon-phone:before {
  1127. content: '\e200';
  1128. }
  1129. .uni-icon-email:before {
  1130. content: '\e201';
  1131. }
  1132. .uni-icon-chatbubble:before {
  1133. content: '\e202';
  1134. }
  1135. .uni-icon-chatboxes:before {
  1136. content: '\e203';
  1137. }
  1138. .uni-icon-phone-filled:before {
  1139. content: '\e230';
  1140. }
  1141. .uni-icon-email-filled:before {
  1142. content: '\e231';
  1143. }
  1144. .uni-icon-chatbubble-filled:before {
  1145. content: '\e232';
  1146. }
  1147. .uni-icon-chatboxes-filled:before {
  1148. content: '\e233';
  1149. }
  1150. .uni-icon-weibo:before {
  1151. content: '\e260';
  1152. }
  1153. .uni-icon-weixin:before {
  1154. content: '\e261';
  1155. }
  1156. .uni-icon-pengyouquan:before {
  1157. content: '\e262';
  1158. }
  1159. .uni-icon-chat:before {
  1160. content: '\e263';
  1161. }
  1162. .uni-icon-qq:before {
  1163. content: '\e264';
  1164. }
  1165. .uni-icon-videocam:before {
  1166. content: '\e300';
  1167. }
  1168. .uni-icon-camera:before {
  1169. content: '\e301';
  1170. }
  1171. .uni-icon-mic:before {
  1172. content: '\e302';
  1173. }
  1174. .uni-icon-location:before {
  1175. content: '\e303';
  1176. }
  1177. .uni-icon-mic-filled:before,
  1178. .uni-icon-speech:before {
  1179. content: '\e332';
  1180. }
  1181. .uni-icon-location-filled:before {
  1182. content: '\e333';
  1183. }
  1184. .uni-icon-micoff:before {
  1185. content: '\e360';
  1186. }
  1187. .uni-icon-image:before {
  1188. content: '\e363';
  1189. }
  1190. .uni-icon-map:before {
  1191. content: '\e364';
  1192. }
  1193. .uni-icon-compose:before {
  1194. content: '\e400';
  1195. }
  1196. .uni-icon-trash:before {
  1197. content: '\e401';
  1198. }
  1199. .uni-icon-upload:before {
  1200. content: '\e402';
  1201. }
  1202. .uni-icon-download:before {
  1203. content: '\e403';
  1204. }
  1205. .uni-icon-close:before {
  1206. content: '\e404';
  1207. }
  1208. .uni-icon-redo:before {
  1209. content: '\e405';
  1210. }
  1211. .uni-icon-undo:before {
  1212. content: '\e406';
  1213. }
  1214. .uni-icon-refresh:before {
  1215. content: '\e407';
  1216. }
  1217. .uni-icon-star:before {
  1218. content: '\e408';
  1219. }
  1220. .uni-icon-plus:before {
  1221. content: '\e409';
  1222. }
  1223. .uni-icon-minus:before {
  1224. content: '\e410';
  1225. }
  1226. .uni-icon-circle:before,
  1227. .uni-icon-checkbox:before {
  1228. content: '\e411';
  1229. }
  1230. .uni-icon-close-filled:before,
  1231. .uni-icon-clear:before {
  1232. content: '\e434';
  1233. }
  1234. .uni-icon-refresh-filled:before {
  1235. content: '\e437';
  1236. }
  1237. .uni-icon-star-filled:before {
  1238. content: '\e438';
  1239. }
  1240. .uni-icon-plus-filled:before {
  1241. content: '\e439';
  1242. }
  1243. .uni-icon-minus-filled:before {
  1244. content: '\e440';
  1245. }
  1246. .uni-icon-circle-filled:before {
  1247. content: '\e441';
  1248. }
  1249. .uni-icon-checkbox-filled:before {
  1250. content: '\e442';
  1251. }
  1252. .uni-icon-closeempty:before {
  1253. content: '\e460';
  1254. }
  1255. .uni-icon-refreshempty:before {
  1256. content: '\e461';
  1257. }
  1258. .uni-icon-reload:before {
  1259. content: '\e462';
  1260. }
  1261. .uni-icon-starhalf:before {
  1262. content: '\e463';
  1263. }
  1264. .uni-icon-spinner:before {
  1265. content: '\e464';
  1266. }
  1267. .uni-icon-spinner-cycle:before {
  1268. content: '\e465';
  1269. }
  1270. .uni-icon-search:before {
  1271. content: '\e466';
  1272. }
  1273. .uni-icon-plusempty:before {
  1274. content: '\e468';
  1275. }
  1276. .uni-icon-forward:before {
  1277. content: '\e470';
  1278. }
  1279. .uni-icon-back:before,
  1280. .uni-icon-left-nav:before {
  1281. content: '\e471';
  1282. }
  1283. .uni-icon-checkmarkempty:before {
  1284. content: '\e472';
  1285. }
  1286. .uni-icon-home:before {
  1287. content: '\e500';
  1288. }
  1289. .uni-icon-navigate:before {
  1290. content: '\e501';
  1291. }
  1292. .uni-icon-gear:before {
  1293. content: '\e502';
  1294. }
  1295. .uni-icon-paperplane:before {
  1296. content: '\e503';
  1297. }
  1298. .uni-icon-info:before {
  1299. content: '\e504';
  1300. }
  1301. .uni-icon-help:before {
  1302. content: '\e505';
  1303. }
  1304. .uni-icon-locked:before {
  1305. content: '\e506';
  1306. }
  1307. .uni-icon-more:before {
  1308. content: '\e507';
  1309. }
  1310. .uni-icon-flag:before {
  1311. content: '\e508';
  1312. }
  1313. .uni-icon-home-filled:before {
  1314. content: '\e530';
  1315. }
  1316. .uni-icon-gear-filled:before {
  1317. content: '\e532';
  1318. }
  1319. .uni-icon-info-filled:before {
  1320. content: '\e534';
  1321. }
  1322. .uni-icon-help-filled:before {
  1323. content: '\e535';
  1324. }
  1325. .uni-icon-more-filled:before {
  1326. content: '\e537';
  1327. }
  1328. .uni-icon-settings:before {
  1329. content: '\e560';
  1330. }
  1331. .uni-icon-list:before {
  1332. content: '\e562';
  1333. }
  1334. .uni-icon-bars:before {
  1335. content: '\e563';
  1336. }
  1337. .uni-icon-loop:before {
  1338. content: '\e565';
  1339. }
  1340. .uni-icon-paperclip:before {
  1341. content: '\e567';
  1342. }
  1343. .uni-icon-eye:before {
  1344. content: '\e568';
  1345. }
  1346. .uni-icon-arrowup:before {
  1347. content: '\e580';
  1348. }
  1349. .uni-icon-arrowdown:before {
  1350. content: '\e581';
  1351. }
  1352. .uni-icon-arrowleft:before {
  1353. content: '\e582';
  1354. }
  1355. .uni-icon-arrowright:before {
  1356. content: '\e583';
  1357. }
  1358. .uni-icon-arrowthinup:before {
  1359. content: '\e584';
  1360. }
  1361. .uni-icon-arrowthindown:before {
  1362. content: '\e585';
  1363. }
  1364. .uni-icon-arrowthinleft:before {
  1365. content: '\e586';
  1366. }
  1367. .uni-icon-arrowthinright:before {
  1368. content: '\e587';
  1369. }
  1370. .uni-icon-pulldown:before {
  1371. content: '\e588';
  1372. }
  1373. .uni-icon-scan:before {
  1374. content: "\e612";
  1375. }
  1376. /* 分界线 */
  1377. .uni-divider {
  1378. height: 110rpx;
  1379. display: flex;
  1380. align-items: center;
  1381. justify-content: center;
  1382. position: relative;
  1383. }
  1384. .uni-divider__content {
  1385. font-size: 28rpx;
  1386. color: #999;
  1387. padding: 0 20rpx;
  1388. position: relative;
  1389. z-index: 101;
  1390. background: #F4F5F6;
  1391. }
  1392. .uni-divider__line {
  1393. background-color: #CCCCCC;
  1394. height: 1px;
  1395. width: 100%;
  1396. position: absolute;
  1397. z-index: 100;
  1398. top: 50%;
  1399. left: 0;
  1400. transform: translateY(50%);
  1401. }