uni.css 24 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718
  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. position: relative;
  663. width: 48%;
  664. }
  665. .uni-uploader__files text {
  666. color: #999;
  667. font-size: 12px;
  668. margin: 5px 0;
  669. }
  670. .uni-uploader__file {
  671. width: 100%;
  672. height: 100px;
  673. border-radius: 2px;
  674. }
  675. .uni-uploader__img {
  676. display: block;
  677. width: 100%;
  678. height: 100px;
  679. border-radius: 2px;
  680. }
  681. .uni-uploader__input-box {
  682. position: relative;
  683. width: 100%;
  684. height: 100px;
  685. border: 1px dashed #CED4DA;
  686. background: #F9F9F9;
  687. border-radius: 2px;
  688. }
  689. .uni-uploader__input-box:after {
  690. content: " ";
  691. position: absolute;
  692. top: 50%;
  693. left: 50%;
  694. transform: translate(-50%, -50%);
  695. background-image: url('/static/image/car-insure/imgicon.png');
  696. /* 替换为你的图片路径 */
  697. background-size: cover;
  698. /* 确保图片覆盖整个元素 */
  699. background-repeat: no-repeat;
  700. /* 防止图片重复 */
  701. width: 25px;
  702. /* 设定宽度 */
  703. height: 25px;
  704. /* 设定高度 */
  705. }
  706. .uni-uploader__input-box:before {
  707. content: "添加照片";
  708. position: absolute;
  709. top: 75%;
  710. left: 50%;
  711. color: #999;
  712. font-size: 12px;
  713. transform: translate(-50%, -50%);
  714. }
  715. .uni-uploader__input-box:active {
  716. border-color: #999999;
  717. }
  718. .uni-uploader__input-box:active:before,
  719. .uni-uploader__input-box:active:after {
  720. background-color: #999999;
  721. }
  722. .uni-uploader__input {
  723. position: absolute;
  724. z-index: 1;
  725. top: 0;
  726. left: 0;
  727. width: 100%;
  728. height: 100%;
  729. opacity: 0;
  730. }
  731. /*问题反馈*/
  732. .feedback-title {
  733. display: flex;
  734. flex-direction: row;
  735. justify-content: space-between;
  736. align-items: center;
  737. padding: 20rpx;
  738. color: #8f8f94;
  739. font-size: 28rpx;
  740. }
  741. .feedback-star-view.feedback-title {
  742. justify-content: flex-start;
  743. margin: 0;
  744. }
  745. .feedback-quick {
  746. position: relative;
  747. padding-right: 40rpx;
  748. }
  749. .feedback-quick:after {
  750. font-family: uniicons;
  751. font-size: 40rpx;
  752. content: '\e581';
  753. position: absolute;
  754. right: 0;
  755. top: 50%;
  756. color: #bbb;
  757. -webkit-transform: translateY(-50%);
  758. transform: translateY(-50%);
  759. }
  760. .feedback-body {
  761. background: #fff;
  762. }
  763. .feedback-textare {
  764. height: 200rpx;
  765. font-size: 34rpx;
  766. line-height: 50rpx;
  767. width: 100%;
  768. box-sizing: border-box;
  769. padding: 20rpx 30rpx 0;
  770. }
  771. .feedback-input {
  772. font-size: 34rpx;
  773. height: 50rpx;
  774. min-height: 50rpx;
  775. padding: 15rpx 20rpx;
  776. line-height: 50rpx;
  777. }
  778. .feedback-uploader {
  779. padding: 22rpx 20rpx;
  780. }
  781. .feedback-star {
  782. font-family: uniicons;
  783. font-size: 40rpx;
  784. margin-left: 6rpx;
  785. }
  786. .feedback-star-view {
  787. margin-left: 20rpx;
  788. }
  789. .feedback-star:after {
  790. content: '\e408';
  791. }
  792. .feedback-star.active {
  793. color: #FFB400;
  794. }
  795. .feedback-star.active:after {
  796. content: '\e438';
  797. }
  798. .feedback-submit {
  799. background: #007AFF;
  800. color: #FFFFFF;
  801. margin: 20rpx;
  802. }
  803. /* input group */
  804. .uni-input-group {
  805. position: relative;
  806. padding: 0;
  807. border: 0;
  808. background-color: #fff;
  809. }
  810. .uni-input-group:before {
  811. position: absolute;
  812. top: 0;
  813. right: 0;
  814. left: 0;
  815. height: 2rpx;
  816. content: '';
  817. transform: scaleY(.5);
  818. background-color: #c8c7cc;
  819. }
  820. .uni-input-group:after {
  821. position: absolute;
  822. right: 0;
  823. bottom: 0;
  824. left: 0;
  825. height: 2rpx;
  826. content: '';
  827. transform: scaleY(.5);
  828. background-color: #c8c7cc;
  829. }
  830. .uni-input-row {
  831. position: relative;
  832. display: flex;
  833. flex-direction: row;
  834. font-size: 28rpx;
  835. padding: 22rpx 30rpx;
  836. justify-content: space-between;
  837. }
  838. .uni-input-group .uni-input-row:after {
  839. position: absolute;
  840. right: 0;
  841. bottom: 0;
  842. left: 30rpx;
  843. height: 2rpx;
  844. content: '';
  845. transform: scaleY(.5);
  846. background-color: #c8c7cc;
  847. }
  848. .uni-input-row label {
  849. line-height: 70rpx;
  850. }
  851. /* textarea */
  852. .uni-textarea {
  853. width: 100%;
  854. background: #FFF;
  855. }
  856. .uni-textarea textarea {
  857. width: 96%;
  858. padding: 18rpx 2%;
  859. line-height: 1.6;
  860. font-size: 28rpx;
  861. height: 150rpx;
  862. }
  863. /* tab bar */
  864. .uni-tab-bar {
  865. display: flex;
  866. flex: 1;
  867. flex-direction: column;
  868. overflow: hidden;
  869. height: 100%;
  870. }
  871. .uni-tab-bar .list {
  872. width: 750rpx;
  873. height: 100%;
  874. }
  875. .uni-swiper-tab {
  876. width: 100%;
  877. white-space: nowrap;
  878. line-height: 100rpx;
  879. height: 100rpx;
  880. border-bottom: 1px solid #c8c7cc;
  881. }
  882. .swiper-tab-list {
  883. font-size: 30rpx;
  884. width: 150rpx;
  885. display: inline-block;
  886. text-align: center;
  887. color: #555;
  888. }
  889. .uni-tab-bar .active {
  890. color: #007AFF;
  891. }
  892. .uni-tab-bar .swiper-box {
  893. flex: 1;
  894. width: 100%;
  895. height: calc(100% - 100rpx);
  896. }
  897. .uni-tab-bar-loading {
  898. padding: 20rpx 0;
  899. }
  900. /* comment */
  901. .uni-comment {
  902. padding: 5rpx 0;
  903. display: flex;
  904. flex-grow: 1;
  905. flex-direction: column;
  906. }
  907. .uni-comment-list {
  908. flex-wrap: nowrap;
  909. padding: 10rpx 0;
  910. margin: 10rpx 0;
  911. width: 100%;
  912. display: flex;
  913. }
  914. .uni-comment-face {
  915. width: 70rpx;
  916. height: 70rpx;
  917. border-radius: 100%;
  918. margin-right: 20rpx;
  919. flex-shrink: 0;
  920. overflow: hidden;
  921. }
  922. .uni-comment-face image {
  923. width: 100%;
  924. border-radius: 100%;
  925. }
  926. .uni-comment-body {
  927. width: 100%;
  928. }
  929. .uni-comment-top {
  930. line-height: 1.5em;
  931. justify-content: space-between;
  932. }
  933. .uni-comment-top text {
  934. color: #0A98D5;
  935. font-size: 24rpx;
  936. }
  937. .uni-comment-date {
  938. line-height: 38rpx;
  939. flex-direction: row;
  940. justify-content: space-between;
  941. display: flex !important;
  942. flex-grow: 1;
  943. }
  944. .uni-comment-date view {
  945. color: #666666;
  946. font-size: 24rpx;
  947. line-height: 38rpx;
  948. }
  949. .uni-comment-content {
  950. line-height: 1.6em;
  951. font-size: 28rpx;
  952. padding: 8rpx 0;
  953. }
  954. .uni-comment-replay-btn {
  955. background: #FFF;
  956. font-size: 24rpx;
  957. line-height: 28rpx;
  958. padding: 5rpx 20rpx;
  959. border-radius: 30rpx;
  960. color: #333 !important;
  961. margin: 0 10rpx;
  962. }
  963. /* swiper msg */
  964. .uni-swiper-msg {
  965. width: 100%;
  966. padding: 12rpx 0;
  967. flex-wrap: nowrap;
  968. display: flex;
  969. }
  970. .uni-swiper-msg-icon {
  971. width: 50rpx;
  972. margin-right: 20rpx;
  973. }
  974. .uni-swiper-msg-icon image {
  975. width: 100%;
  976. flex-shrink: 0;
  977. }
  978. .uni-swiper-msg swiper {
  979. width: 100%;
  980. height: 50rpx;
  981. }
  982. .uni-swiper-msg swiper-item {
  983. line-height: 50rpx;
  984. }
  985. /* product */
  986. .uni-product-list {
  987. display: flex;
  988. width: 100%;
  989. flex-wrap: wrap;
  990. flex-direction: row;
  991. }
  992. .uni-product {
  993. padding: 20rpx;
  994. display: flex;
  995. flex-direction: column;
  996. }
  997. .image-view {
  998. height: 330rpx;
  999. width: 330rpx;
  1000. margin: 12rpx 0;
  1001. }
  1002. .uni-product-image {
  1003. height: 330rpx;
  1004. width: 330rpx;
  1005. }
  1006. .uni-product-title {
  1007. width: 300rpx;
  1008. word-break: break-all;
  1009. display: -webkit-box;
  1010. overflow: hidden;
  1011. line-height: 1.5;
  1012. text-overflow: ellipsis;
  1013. -webkit-box-orient: vertical;
  1014. -webkit-line-clamp: 2;
  1015. }
  1016. .uni-product-price {
  1017. margin-top: 10rpx;
  1018. font-size: 28rpx;
  1019. line-height: 1.5;
  1020. position: relative;
  1021. }
  1022. .uni-product-price-original {
  1023. color: #e80080;
  1024. }
  1025. .uni-product-price-favour {
  1026. color: #888888;
  1027. text-decoration: line-through;
  1028. margin-left: 10rpx;
  1029. }
  1030. .uni-product-tip {
  1031. position: absolute;
  1032. right: 10rpx;
  1033. background-color: #ff3333;
  1034. color: #ffffff;
  1035. padding: 0 10rpx;
  1036. border-radius: 5rpx;
  1037. }
  1038. /* timeline */
  1039. .uni-timeline {
  1040. margin: 35rpx 0;
  1041. display: flex;
  1042. flex-direction: column;
  1043. position: relative;
  1044. }
  1045. .uni-timeline-item {
  1046. display: flex;
  1047. flex-direction: row;
  1048. position: relative;
  1049. padding-bottom: 20rpx;
  1050. box-sizing: border-box;
  1051. overflow: hidden;
  1052. }
  1053. .uni-timeline-item .uni-timeline-item-keynode {
  1054. width: 160rpx;
  1055. flex-shrink: 0;
  1056. box-sizing: border-box;
  1057. padding-right: 20rpx;
  1058. text-align: right;
  1059. line-height: 65rpx;
  1060. }
  1061. .uni-timeline-item .uni-timeline-item-divider {
  1062. flex-shrink: 0;
  1063. position: relative;
  1064. width: 30rpx;
  1065. height: 30rpx;
  1066. top: 15rpx;
  1067. border-radius: 50%;
  1068. background-color: #bbb;
  1069. }
  1070. .uni-timeline-item-divider::before,
  1071. .uni-timeline-item-divider::after {
  1072. position: absolute;
  1073. left: 15rpx;
  1074. width: 1rpx;
  1075. height: 100vh;
  1076. content: '';
  1077. background: inherit;
  1078. }
  1079. .uni-timeline-item-divider::before {
  1080. bottom: 100%;
  1081. }
  1082. .uni-timeline-item-divider::after {
  1083. top: 100%;
  1084. }
  1085. .uni-timeline-last-item .uni-timeline-item-divider:after {
  1086. display: none;
  1087. }
  1088. .uni-timeline-first-item .uni-timeline-item-divider:before {
  1089. display: none;
  1090. }
  1091. .uni-timeline-item .uni-timeline-item-content {
  1092. padding-left: 20rpx;
  1093. }
  1094. .uni-timeline-last-item .bottom-border::after {
  1095. display: none;
  1096. }
  1097. .uni-timeline-item-content .datetime {
  1098. color: #CCCCCC;
  1099. }
  1100. /* 自定义节点颜色 */
  1101. .uni-timeline-last-item .uni-timeline-item-divider {
  1102. background-color: #1AAD19;
  1103. }
  1104. /* uni-icon */
  1105. .uni-icon {
  1106. font-family: uniicons;
  1107. font-size: 24px;
  1108. font-weight: normal;
  1109. font-style: normal;
  1110. line-height: 1;
  1111. display: inline-block;
  1112. text-decoration: none;
  1113. -webkit-font-smoothing: antialiased;
  1114. }
  1115. .uni-icon.uni-active {
  1116. color: #007aff;
  1117. }
  1118. .uni-icon-contact:before {
  1119. content: '\e100';
  1120. }
  1121. .uni-icon-person:before {
  1122. content: '\e101';
  1123. }
  1124. .uni-icon-personadd:before {
  1125. content: '\e102';
  1126. }
  1127. .uni-icon-contact-filled:before {
  1128. content: '\e130';
  1129. }
  1130. .uni-icon-person-filled:before {
  1131. content: '\e131';
  1132. }
  1133. .uni-icon-personadd-filled:before {
  1134. content: '\e132';
  1135. }
  1136. .uni-icon-phone:before {
  1137. content: '\e200';
  1138. }
  1139. .uni-icon-email:before {
  1140. content: '\e201';
  1141. }
  1142. .uni-icon-chatbubble:before {
  1143. content: '\e202';
  1144. }
  1145. .uni-icon-chatboxes:before {
  1146. content: '\e203';
  1147. }
  1148. .uni-icon-phone-filled:before {
  1149. content: '\e230';
  1150. }
  1151. .uni-icon-email-filled:before {
  1152. content: '\e231';
  1153. }
  1154. .uni-icon-chatbubble-filled:before {
  1155. content: '\e232';
  1156. }
  1157. .uni-icon-chatboxes-filled:before {
  1158. content: '\e233';
  1159. }
  1160. .uni-icon-weibo:before {
  1161. content: '\e260';
  1162. }
  1163. .uni-icon-weixin:before {
  1164. content: '\e261';
  1165. }
  1166. .uni-icon-pengyouquan:before {
  1167. content: '\e262';
  1168. }
  1169. .uni-icon-chat:before {
  1170. content: '\e263';
  1171. }
  1172. .uni-icon-qq:before {
  1173. content: '\e264';
  1174. }
  1175. .uni-icon-videocam:before {
  1176. content: '\e300';
  1177. }
  1178. .uni-icon-camera:before {
  1179. content: '\e301';
  1180. }
  1181. .uni-icon-mic:before {
  1182. content: '\e302';
  1183. }
  1184. .uni-icon-location:before {
  1185. content: '\e303';
  1186. }
  1187. .uni-icon-mic-filled:before,
  1188. .uni-icon-speech:before {
  1189. content: '\e332';
  1190. }
  1191. .uni-icon-location-filled:before {
  1192. content: '\e333';
  1193. }
  1194. .uni-icon-micoff:before {
  1195. content: '\e360';
  1196. }
  1197. .uni-icon-image:before {
  1198. content: '\e363';
  1199. }
  1200. .uni-icon-map:before {
  1201. content: '\e364';
  1202. }
  1203. .uni-icon-compose:before {
  1204. content: '\e400';
  1205. }
  1206. .uni-icon-trash:before {
  1207. content: '\e401';
  1208. }
  1209. .uni-icon-upload:before {
  1210. content: '\e402';
  1211. }
  1212. .uni-icon-download:before {
  1213. content: '\e403';
  1214. }
  1215. .uni-icon-close:before {
  1216. content: '\e404';
  1217. }
  1218. .uni-icon-redo:before {
  1219. content: '\e405';
  1220. }
  1221. .uni-icon-undo:before {
  1222. content: '\e406';
  1223. }
  1224. .uni-icon-refresh:before {
  1225. content: '\e407';
  1226. }
  1227. .uni-icon-star:before {
  1228. content: '\e408';
  1229. }
  1230. .uni-icon-plus:before {
  1231. content: '\e409';
  1232. }
  1233. .uni-icon-minus:before {
  1234. content: '\e410';
  1235. }
  1236. .uni-icon-circle:before,
  1237. .uni-icon-checkbox:before {
  1238. content: '\e411';
  1239. }
  1240. .uni-icon-close-filled:before,
  1241. .uni-icon-clear:before {
  1242. content: '\e434';
  1243. }
  1244. .uni-icon-refresh-filled:before {
  1245. content: '\e437';
  1246. }
  1247. .uni-icon-star-filled:before {
  1248. content: '\e438';
  1249. }
  1250. .uni-icon-plus-filled:before {
  1251. content: '\e439';
  1252. }
  1253. .uni-icon-minus-filled:before {
  1254. content: '\e440';
  1255. }
  1256. .uni-icon-circle-filled:before {
  1257. content: '\e441';
  1258. }
  1259. .uni-icon-checkbox-filled:before {
  1260. content: '\e442';
  1261. }
  1262. .uni-icon-closeempty:before {
  1263. content: '\e460';
  1264. }
  1265. .uni-icon-refreshempty:before {
  1266. content: '\e461';
  1267. }
  1268. .uni-icon-reload:before {
  1269. content: '\e462';
  1270. }
  1271. .uni-icon-starhalf:before {
  1272. content: '\e463';
  1273. }
  1274. .uni-icon-spinner:before {
  1275. content: '\e464';
  1276. }
  1277. .uni-icon-spinner-cycle:before {
  1278. content: '\e465';
  1279. }
  1280. .uni-icon-search:before {
  1281. content: '\e466';
  1282. }
  1283. .uni-icon-plusempty:before {
  1284. content: '\e468';
  1285. }
  1286. .uni-icon-forward:before {
  1287. content: '\e470';
  1288. }
  1289. .uni-icon-back:before,
  1290. .uni-icon-left-nav:before {
  1291. content: '\e471';
  1292. }
  1293. .uni-icon-checkmarkempty:before {
  1294. content: '\e472';
  1295. }
  1296. .uni-icon-home:before {
  1297. content: '\e500';
  1298. }
  1299. .uni-icon-navigate:before {
  1300. content: '\e501';
  1301. }
  1302. .uni-icon-gear:before {
  1303. content: '\e502';
  1304. }
  1305. .uni-icon-paperplane:before {
  1306. content: '\e503';
  1307. }
  1308. .uni-icon-info:before {
  1309. content: '\e504';
  1310. }
  1311. .uni-icon-help:before {
  1312. content: '\e505';
  1313. }
  1314. .uni-icon-locked:before {
  1315. content: '\e506';
  1316. }
  1317. .uni-icon-more:before {
  1318. content: '\e507';
  1319. }
  1320. .uni-icon-flag:before {
  1321. content: '\e508';
  1322. }
  1323. .uni-icon-home-filled:before {
  1324. content: '\e530';
  1325. }
  1326. .uni-icon-gear-filled:before {
  1327. content: '\e532';
  1328. }
  1329. .uni-icon-info-filled:before {
  1330. content: '\e534';
  1331. }
  1332. .uni-icon-help-filled:before {
  1333. content: '\e535';
  1334. }
  1335. .uni-icon-more-filled:before {
  1336. content: '\e537';
  1337. }
  1338. .uni-icon-settings:before {
  1339. content: '\e560';
  1340. }
  1341. .uni-icon-list:before {
  1342. content: '\e562';
  1343. }
  1344. .uni-icon-bars:before {
  1345. content: '\e563';
  1346. }
  1347. .uni-icon-loop:before {
  1348. content: '\e565';
  1349. }
  1350. .uni-icon-paperclip:before {
  1351. content: '\e567';
  1352. }
  1353. .uni-icon-eye:before {
  1354. content: '\e568';
  1355. }
  1356. .uni-icon-arrowup:before {
  1357. content: '\e580';
  1358. }
  1359. .uni-icon-arrowdown:before {
  1360. content: '\e581';
  1361. }
  1362. .uni-icon-arrowleft:before {
  1363. content: '\e582';
  1364. }
  1365. .uni-icon-arrowright:before {
  1366. content: '\e583';
  1367. }
  1368. .uni-icon-arrowthinup:before {
  1369. content: '\e584';
  1370. }
  1371. .uni-icon-arrowthindown:before {
  1372. content: '\e585';
  1373. }
  1374. .uni-icon-arrowthinleft:before {
  1375. content: '\e586';
  1376. }
  1377. .uni-icon-arrowthinright:before {
  1378. content: '\e587';
  1379. }
  1380. .uni-icon-pulldown:before {
  1381. content: '\e588';
  1382. }
  1383. .uni-icon-scan:before {
  1384. content: "\e612";
  1385. }
  1386. /* 分界线 */
  1387. .uni-divider {
  1388. height: 110rpx;
  1389. display: flex;
  1390. align-items: center;
  1391. justify-content: center;
  1392. position: relative;
  1393. }
  1394. .uni-divider__content {
  1395. font-size: 28rpx;
  1396. color: #999;
  1397. padding: 0 20rpx;
  1398. position: relative;
  1399. z-index: 101;
  1400. background: #F4F5F6;
  1401. }
  1402. .uni-divider__line {
  1403. background-color: #CCCCCC;
  1404. height: 1px;
  1405. width: 100%;
  1406. position: absolute;
  1407. z-index: 100;
  1408. top: 50%;
  1409. left: 0;
  1410. transform: translateY(50%);
  1411. }