main.wxss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. /*全局公共样式和字体图标*/
  12. /*初始化类*/
  13. @font-face {
  14. font-family: 'iconfont';
  15. /* project id 1482221 */
  16. src: url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.eot');
  17. src: url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.eot?#iefix') format('embedded-opentype'),
  18. url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.woff2') format('woff2'),
  19. url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.woff') format('woff'),
  20. url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.ttf') format('truetype'),
  21. url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.svg#iconfont') format('svg');
  22. }
  23. .iconfont {
  24. font-family: "iconfont" !important;
  25. font-size: 34rpx;
  26. font-style: normal;
  27. -webkit-font-smoothing: antialiased;
  28. -webkit-text-stroke-width: 0rpx;
  29. -moz-osx-font-smoothing: grayscale;
  30. }
  31. .iconedit:before {
  32. content: "\e649";
  33. }
  34. .iconfavorfill:before {
  35. content: "\e64b";
  36. }
  37. .iconfavor:before {
  38. content: "\e64c";
  39. }
  40. .iconlocation:before {
  41. content: "\e651";
  42. }
  43. .iconroundcheckfill:before {
  44. content: "\e656";
  45. }
  46. .iconroundcheck:before {
  47. content: "\e657";
  48. }
  49. .iconunfold:before {
  50. content: "\e661";
  51. }
  52. .iconlikefill:before {
  53. content: "\e668";
  54. }
  55. .iconlike:before {
  56. content: "\e669";
  57. }
  58. .iconshop:before {
  59. content: "\e676";
  60. }
  61. .iconcart:before {
  62. content: "\e6af";
  63. }
  64. .icondelete:before {
  65. content: "\e6b4";
  66. }
  67. .iconhome:before {
  68. content: "\e6b8";
  69. }
  70. .iconcartfill:before {
  71. content: "\e6b9";
  72. }
  73. .iconhomefill:before {
  74. content: "\e6bb";
  75. }
  76. .iconlock:before {
  77. content: "\e6c0";
  78. }
  79. .iconfriendadd:before {
  80. content: "\e6ca";
  81. }
  82. .iconfold:before {
  83. content: "\e6de";
  84. }
  85. .iconapps:before {
  86. content: "\e729";
  87. }
  88. .iconadd:before {
  89. content: "\e767";
  90. }
  91. .iconmove:before {
  92. content: "\e768";
  93. }
  94. .icontriangledownfill:before {
  95. content: "\e79b";
  96. }
  97. .icontriangleupfill:before {
  98. content: "\e79c";
  99. }
  100. .iconshaixuan:before {
  101. content: "\e74a";
  102. }
  103. .iconyanzhengma:before {
  104. content: "\e684";
  105. }
  106. .iconjifen:before {
  107. content: "\e60f";
  108. }
  109. .iconwuliuxinxi:before {
  110. content: "\e62b";
  111. }
  112. .iconmessage:before {
  113. content: "\e78a";
  114. }
  115. .iconsetting:before {
  116. content: "\e78e";
  117. }
  118. .iconaddition:before {
  119. content: "\e6e0";
  120. }
  121. .iconclose:before {
  122. content: "\e6e9";
  123. }
  124. .iconenter:after {
  125. content: "\e6f8";
  126. }
  127. .iconprompt:before {
  128. content: "\e71b";
  129. }
  130. .iconreturn:before {
  131. content: "\e720";
  132. }
  133. .iconsearch:before {
  134. content: "\e741";
  135. }
  136. .iconpengyouquan:before {
  137. content: "\e62c";
  138. }
  139. .iconweixin:before {
  140. content: "\e60e";
  141. }
  142. .iconzhifubao:before {
  143. content: "\e673";
  144. }
  145. .iconyue:before {
  146. content: "\e618";
  147. }
  148. .iconweixin1:before {
  149. content: "\e622";
  150. }
  151. .iconlock1:before {
  152. content: "\e64d";
  153. }
  154. .iconuser:before {
  155. content: "\e64e";
  156. }
  157. .iconchenggongtixianshouyi:before {
  158. content: "\e64f";
  159. }
  160. .iconviptuiguangdingdan:before {
  161. content: "\e650";
  162. }
  163. .icondaifukuan:before {
  164. content: "\e652";
  165. }
  166. .icondaijiesuanshouyi:before {
  167. content: "\e653";
  168. }
  169. .icondaidakuanshouyi:before {
  170. content: "\e654";
  171. }
  172. .icondaifahuo:before {
  173. content: "\e655";
  174. }
  175. .icondaishouhuoshouyi:before {
  176. content: "\e658";
  177. }
  178. .icondaishouhuo:before {
  179. content: "\e659";
  180. }
  181. .iconwuxiaoshouyi:before {
  182. content: "\e65a";
  183. }
  184. .icontixianmingxi:before {
  185. content: "\e65b";
  186. }
  187. .iconshouyi:before {
  188. content: "\e65c";
  189. }
  190. .iconkouchutixianshouxufei:before {
  191. content: "\e65d";
  192. }
  193. .iconyishenqingshouyi:before {
  194. content: "\e65e";
  195. }
  196. .icontuihuanhuo:before {
  197. content: "\e65f";
  198. }
  199. /*水平线*/
  200. .hr {
  201. width: 100%;
  202. position: relative;
  203. border-bottom: 1px solid #dddddd;
  204. /* height: 0.5rpx; */
  205. }
  206. /* 一行显示 */
  207. .clamp {
  208. overflow: hidden;
  209. text-overflow: ellipsis;
  210. white-space: nowrap;
  211. display: block;
  212. }
  213. /* 二行显示 */
  214. .ellipsis{
  215. overflow:hidden;
  216. text-overflow:ellipsis;
  217. display:-webkit-box;
  218. -webkit-box-orient:vertical;
  219. -webkit-line-clamp:2;
  220. }
  221. .common-hover {
  222. background: #f5f5f5;
  223. }
  224. /* 角标 */
  225. .corner{
  226. background-color:#e51c23;
  227. position: absolute;
  228. right: -18rpx;
  229. top: -18rpx;
  230. color:#FFFFFF;
  231. text-align: center;
  232. border-radius: 999px;
  233. font-size: 24rpx !important;
  234. min-width: 35rpx;
  235. min-height: 35rpx;
  236. display: flex;
  237. align-items: center;
  238. justify-content: center;
  239. line-height: 1;
  240. }
  241. /*文字对齐*/
  242. .text-left {
  243. text-align: left !important;
  244. }
  245. .text-center {
  246. text-align: center !important;
  247. }
  248. .text-justify {
  249. text-align: justify !important;
  250. }
  251. .text-right {
  252. text-align: right !important;
  253. }
  254. .text-default {
  255. color: #212121 !important;
  256. }
  257. .text-white {
  258. color: #ffffff !important;
  259. }
  260. .text-primary {
  261. color: #00bcd4 !important;
  262. }
  263. .text-success {
  264. color: #009688 !important;
  265. }
  266. .text-warning {
  267. color: #ffc107 !important;
  268. }
  269. .text-danger {
  270. color: #e51c23 !important;
  271. }
  272. .text-pink {
  273. color: #e91e63 !important;
  274. }
  275. .text-purple {
  276. color: #673ab7 !important;
  277. }
  278. .text-indigo {
  279. color: #3f51b5 !important;
  280. }
  281. .text-gray {
  282. color: #999999 !important;
  283. }
  284. .bg-default {
  285. background-color: #f5f5f5 !important;
  286. }
  287. .bg-primary {
  288. background-color: #00bcd4 !important;
  289. }
  290. .bg-success {
  291. background-color: #009688 !important;
  292. }
  293. .bg-info {
  294. background-color: #03a9f4 !important;
  295. }
  296. .bg-warning {
  297. background-color: #FFB238 !important;
  298. }
  299. .bg-danger {
  300. background-color: #DC4D46 !important;
  301. }
  302. .bg-pink {
  303. background-color: #e91e63 !important;
  304. }
  305. .bg-purple {
  306. background-color: #673ab7 !important;
  307. }
  308. .bg-indigo {
  309. background-color: #3f51b5 !important;
  310. }
  311. .bg-white {
  312. background-color: white !important;
  313. }
  314. .bg-gray {
  315. background-color: #e3e3e3 !important;
  316. }
  317. /* 边框 */
  318. .border-radius-15 {
  319. border-radius: 15rpx;
  320. }
  321. .border-radius-10 {
  322. border-radius: 10rpx;
  323. }
  324. .border-radius-all {
  325. border-radius: 1000rpx;
  326. }
  327. /* 底部边线 */
  328. .borde-b {
  329. border-bottom: 1px solid #dddddd;
  330. }
  331. /* 弹性盒子 */
  332. .flex {
  333. display: flex;
  334. align-items: center;
  335. justify-content: space-between;
  336. }
  337. /* 弹性盒子 */
  338. .flex_item {
  339. display: flex;
  340. align-items: center;
  341. /* justify-content: space-between; */
  342. }
  343. .items-left {
  344. justify-content: flex-start;
  345. }
  346. .items-right {
  347. justify-content: flex-end;
  348. }
  349. .flex-shrink-false {
  350. flex-shrink: 0;
  351. }
  352. .flex-grow-true {
  353. flex-grow: 1;
  354. }
  355. .position-relative {
  356. position: relative;
  357. }
  358. view,
  359. scroll-view,
  360. swiper,
  361. swiper-item,
  362. cover-view,
  363. cover-image,
  364. icon,
  365. text,
  366. rich-text,
  367. progress,
  368. button,
  369. checkbox,
  370. form,
  371. input,
  372. label,
  373. radio,
  374. slider,
  375. switch,
  376. textarea,
  377. navigator,
  378. audio,
  379. camera,
  380. image,
  381. video {
  382. box-sizing: border-box;
  383. }
  384. /* 骨架屏替代方案 */
  385. .Skeleton {
  386. background: #f3f3f3;
  387. padding: 20rpx 0;
  388. border-radius: 8rpx;
  389. }
  390. /* 图片载入替代方案 */
  391. .image-wrapper {
  392. font-size: 0;
  393. background: #f3f3f3;
  394. border-radius: 4px;
  395. }
  396. .image-wrapper image {
  397. width: 100%;
  398. height: 100%;
  399. transition: 0.6s;
  400. opacity: 0;
  401. }
  402. .image-wrapper image.loaded {
  403. opacity: 1;
  404. }
  405. uni-rich-text ._img {
  406. max-width: 100% !important;
  407. }
  408. /*边框*/
  409. .b-b:after,
  410. .b-t:after {
  411. position: absolute;
  412. z-index: 3;
  413. left: 0;
  414. right: 0;
  415. height: 0;
  416. content: '';
  417. -webkit-transform: scaleY(0.5);
  418. transform: scaleY(0.5);
  419. border-bottom: 1px solid #e4e7ed;
  420. }
  421. .b-b:after {
  422. bottom: 0;
  423. }
  424. .b-t:after {
  425. top: 0;
  426. }
  427. /* button样式改写 */
  428. uni-button,
  429. button {
  430. height: 80rpx;
  431. line-height: 80rpx;
  432. font-size: 34rpx;
  433. font-weight: normal;
  434. }
  435. uni-button.no-border:before, uni-button.no-border:after, button.no-border:before, button.no-border:after {
  436. border: 0;
  437. }
  438. uni-button[type='default'],
  439. button[type='default'] {
  440. color: #303133;
  441. }
  442. /* input 样式 */
  443. .input-placeholder {
  444. color: #999999;
  445. }
  446. .placeholder {
  447. color: #999999;
  448. }
  449. .margin-l-10 {
  450. margin-left: 10rpx !important;
  451. }
  452. .margin-r-10 {
  453. margin-right: 10rpx !important;
  454. }
  455. .margin-t-10 {
  456. margin-top: 10rpx !important;
  457. }
  458. .margin-b-10 {
  459. margin-bottom: 10rpx !important;
  460. }
  461. .margin-10 {
  462. margin: 10rpx !important;
  463. }
  464. .margin-v-10 {
  465. margin-top: 10rpx !important;
  466. margin-bottom: 10rpx !important;
  467. }
  468. .margin-c-10 {
  469. margin-left: 10rpx !important;
  470. margin-right: 10rpx !important;
  471. }
  472. .padding-l-10 {
  473. padding-left: 10rpx !important;
  474. }
  475. .padding-r-10 {
  476. padding-right: 10rpx !important;
  477. }
  478. .padding-t-10 {
  479. padding-top: 10rpx !important;
  480. }
  481. .padding-b-10 {
  482. padding-bottom: 10rpx !important;
  483. }
  484. .padding-10 {
  485. padding: 10rpx !important;
  486. }
  487. .padding-v-10 {
  488. padding-top: 10rpx !important;
  489. padding-bottom: 10rpx !important;
  490. }
  491. .padding-c-10 {
  492. padding-left: 10rpx !important;
  493. padding-right: 10rpx !important;
  494. }
  495. .margin-l-20 {
  496. margin-left: 20rpx !important;
  497. }
  498. .margin-r-20 {
  499. margin-right: 20rpx !important;
  500. }
  501. .margin-t-20 {
  502. margin-top: 20rpx !important;
  503. }
  504. .margin-b-20 {
  505. margin-bottom: 20rpx !important;
  506. }
  507. .margin-20 {
  508. margin: 20rpx !important;
  509. }
  510. .margin-v-20 {
  511. margin-top: 20rpx !important;
  512. margin-bottom: 20rpx !important;
  513. }
  514. .margin-c-20 {
  515. margin-left: 20rpx !important;
  516. margin-right: 20rpx !important;
  517. }
  518. .padding-l-20 {
  519. padding-left: 20rpx !important;
  520. }
  521. .padding-r-20 {
  522. padding-right: 20rpx !important;
  523. }
  524. .padding-t-20 {
  525. padding-top: 20rpx !important;
  526. }
  527. .padding-b-20 {
  528. padding-bottom: 20rpx !important;
  529. }
  530. .padding-20 {
  531. padding: 20rpx !important;
  532. }
  533. .padding-v-20 {
  534. padding-top: 20rpx !important;
  535. padding-bottom: 20rpx !important;
  536. }
  537. .padding-c-20 {
  538. padding-left: 20rpx !important;
  539. padding-right: 20rpx !important;
  540. }
  541. .margin-l-30 {
  542. margin-left: 30rpx !important;
  543. }
  544. .margin-r-30 {
  545. margin-right: 30rpx !important;
  546. }
  547. .margin-t-30 {
  548. margin-top: 30rpx !important;
  549. }
  550. .margin-b-30 {
  551. margin-bottom: 30rpx !important;
  552. }
  553. .margin-30 {
  554. margin: 30rpx !important;
  555. }
  556. .margin-v-30 {
  557. margin-top: 30rpx !important;
  558. margin-bottom: 30rpx !important;
  559. }
  560. .margin-c-30 {
  561. margin-left: 30rpx !important;
  562. margin-right: 30rpx !important;
  563. }
  564. .padding-l-30 {
  565. padding-left: 30rpx !important;
  566. }
  567. .padding-r-30 {
  568. padding-right: 30rpx !important;
  569. }
  570. .padding-t-30 {
  571. padding-top: 30rpx !important;
  572. }
  573. .padding-b-30 {
  574. padding-bottom: 30rpx !important;
  575. }
  576. .padding-30 {
  577. padding: 30rpx !important;
  578. }
  579. .padding-v-30 {
  580. padding-top: 30rpx !important;
  581. padding-bottom: 30rpx !important;
  582. }
  583. .padding-c-30 {
  584. padding-left: 30rpx !important;
  585. padding-right: 30rpx !important;
  586. }
  587. .font-size-sm {
  588. font-size: 24rpx;
  589. }
  590. .font-size-base {
  591. font-size: 28rpx;
  592. }
  593. .font-size-lg {
  594. font-size: 32rpx;
  595. }
  596. .font-color-yellow {
  597. color: #fd5b23;
  598. }
  599. .font-color-gray {
  600. color: #999999;
  601. }
  602. .font-color-red {
  603. color: #dd524d;
  604. }
  605. .border-color-yellow {
  606. border: 1rpx solid #fd5b23;
  607. }
  608. uni-page-wrapper {
  609. background-color: #ffffff;
  610. }
  611. page {
  612. background-color: #ffffff;
  613. font-family: PingFang SC, STHeitiSC-Light, Helvetica-Light, arial, sans-serif, Droid Sans Fallback;
  614. }