uni.css 23 KB

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