main.wxss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  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. .ellipsis{
  214. overflow:hidden;
  215. text-overflow:ellipsis;
  216. display:-webkit-box;
  217. -webkit-box-orient:vertical;
  218. -webkit-line-clamp:2;
  219. }
  220. .common-hover {
  221. background: #f5f5f5;
  222. }
  223. /* 角标 */
  224. .corner{
  225. background-color:#e51c23;
  226. position: absolute;
  227. right: -18rpx;
  228. top: -18rpx;
  229. color:#FFFFFF;
  230. text-align: center;
  231. border-radius: 999px;
  232. font-size: 24rpx !important;
  233. min-width: 35rpx;
  234. min-height: 35rpx;
  235. display: flex;
  236. align-items: center;
  237. justify-content: center;
  238. line-height: 1;
  239. }
  240. /*文字对齐*/
  241. .text-left {
  242. text-align: left !important;
  243. }
  244. .text-center {
  245. text-align: center !important;
  246. }
  247. .text-justify {
  248. text-align: justify !important;
  249. }
  250. .text-right {
  251. text-align: right !important;
  252. }
  253. .text-default {
  254. color: #212121 !important;
  255. }
  256. .text-white {
  257. color: #ffffff !important;
  258. }
  259. .text-primary {
  260. color: #00bcd4 !important;
  261. }
  262. .text-success {
  263. color: #009688 !important;
  264. }
  265. .text-info {
  266. color: #03a9f4 !important;
  267. }
  268. .text-warning {
  269. color: #ffc107 !important;
  270. }
  271. .text-danger {
  272. color: #e51c23 !important;
  273. }
  274. .text-pink {
  275. color: #e91e63 !important;
  276. }
  277. .text-purple {
  278. color: #673ab7 !important;
  279. }
  280. .text-indigo {
  281. color: #3f51b5 !important;
  282. }
  283. .text-gray {
  284. color: #999999 !important;
  285. }
  286. .bg-default {
  287. background-color: #f5f5f5 !important;
  288. }
  289. .bg-primary {
  290. background-color: #00bcd4 !important;
  291. }
  292. .bg-success {
  293. background-color: #009688 !important;
  294. }
  295. .bg-info {
  296. background-color: #03a9f4 !important;
  297. }
  298. .bg-warning {
  299. background-color: #f1c40f !important;
  300. }
  301. .bg-danger {
  302. background-color: #e51c23 !important;
  303. }
  304. .bg-pink {
  305. background-color: #e91e63 !important;
  306. }
  307. .bg-purple {
  308. background-color: #673ab7 !important;
  309. }
  310. .bg-indigo {
  311. background-color: #3f51b5 !important;
  312. }
  313. .bg-white {
  314. background-color: white !important;
  315. }
  316. .bg-gray {
  317. background-color: #e3e3e3 !important;
  318. }
  319. /* 边框 */
  320. .border-radius-15 {
  321. border-radius: 15rpx;
  322. }
  323. .border-radius-10 {
  324. border-radius: 10rpx;
  325. }
  326. .border-radius-all {
  327. border-radius: 1000rpx;
  328. }
  329. /* 底部边线 */
  330. .borde-b {
  331. border-bottom: 1px solid #dddddd;
  332. }
  333. /* 弹性盒子 */
  334. .flex {
  335. display: flex;
  336. align-items: center;
  337. justify-content: space-between;
  338. }
  339. .flex_item {
  340. display: flex;
  341. align-items: center;
  342. /* justify-content: space-between; */
  343. }
  344. .items-left {
  345. justify-content: flex-start;
  346. }
  347. .items-right {
  348. justify-content: flex-end;
  349. }
  350. .flex-shrink-false {
  351. flex-shrink: 0;
  352. }
  353. .flex-grow-true {
  354. flex-grow: 1;
  355. }
  356. .position-relative {
  357. position: relative;
  358. }
  359. view,
  360. scroll-view,
  361. swiper,
  362. swiper-item,
  363. cover-view,
  364. cover-image,
  365. icon,
  366. text,
  367. rich-text,
  368. progress,
  369. button,
  370. checkbox,
  371. form,
  372. input,
  373. label,
  374. radio,
  375. slider,
  376. switch,
  377. textarea,
  378. navigator,
  379. audio,
  380. camera,
  381. image,
  382. video {
  383. box-sizing: border-box;
  384. }
  385. /* 骨架屏替代方案 */
  386. .Skeleton {
  387. background: #f3f3f3;
  388. padding: 20rpx 0;
  389. border-radius: 8rpx;
  390. }
  391. /* 图片载入替代方案 */
  392. .image-wrapper {
  393. font-size: 0;
  394. background: #f3f3f3;
  395. border-radius: 4px;
  396. }
  397. .image-wrapper image {
  398. width: 100%;
  399. height: 100%;
  400. transition: 0.6s;
  401. opacity: 0;
  402. }
  403. .image-wrapper image.loaded {
  404. opacity: 1 !important;
  405. }
  406. uni-rich-text ._img {
  407. max-width: 100% !important;
  408. }
  409. /*边框*/
  410. .b-b:after,
  411. .b-t:after {
  412. position: absolute;
  413. z-index: 3;
  414. left: 0;
  415. right: 0;
  416. height: 0;
  417. content: '';
  418. -webkit-transform: scaleY(0.5);
  419. transform: scaleY(0.5);
  420. border-bottom: 1px solid #e4e7ed;
  421. }
  422. .b-b:after {
  423. bottom: 0;
  424. }
  425. .b-t:after {
  426. top: 0;
  427. }
  428. /* button样式改写 */
  429. uni-button,
  430. button {
  431. height: 80rpx;
  432. line-height: 80rpx;
  433. font-size: 34rpx;
  434. font-weight: normal;
  435. }
  436. uni-button.no-border:before, uni-button.no-border:after, button.no-border:before, button.no-border:after {
  437. border: 0;
  438. }
  439. uni-button[type='default'],
  440. button[type='default'] {
  441. color: #303133;
  442. }
  443. /* input 样式 */
  444. .input-placeholder {
  445. color: #999999;
  446. }
  447. .placeholder {
  448. color: #999999;
  449. }
  450. .margin-l-10 {
  451. margin-left: 10rpx !important;
  452. }
  453. .margin-r-10 {
  454. margin-right: 10rpx !important;
  455. }
  456. .margin-t-10 {
  457. margin-top: 10rpx !important;
  458. }
  459. .margin-b-10 {
  460. margin-bottom: 10rpx !important;
  461. }
  462. .margin-10 {
  463. margin: 10rpx !important;
  464. }
  465. .margin-v-10 {
  466. margin-top: 10rpx !important;
  467. margin-bottom: 10rpx !important;
  468. }
  469. .margin-c-10 {
  470. margin-left: 10rpx !important;
  471. margin-right: 10rpx !important;
  472. }
  473. .padding-l-10 {
  474. padding-left: 10rpx !important;
  475. }
  476. .padding-r-10 {
  477. padding-right: 10rpx !important;
  478. }
  479. .padding-t-10 {
  480. padding-top: 10rpx !important;
  481. }
  482. .padding-b-10 {
  483. padding-bottom: 10rpx !important;
  484. }
  485. .padding-10 {
  486. padding: 10rpx !important;
  487. }
  488. .padding-v-10 {
  489. padding-top: 10rpx !important;
  490. padding-bottom: 10rpx !important;
  491. }
  492. .padding-c-10 {
  493. padding-left: 10rpx !important;
  494. padding-right: 10rpx !important;
  495. }
  496. .margin-l-20 {
  497. margin-left: 20rpx !important;
  498. }
  499. .margin-r-20 {
  500. margin-right: 20rpx !important;
  501. }
  502. .margin-t-20 {
  503. margin-top: 20rpx !important;
  504. }
  505. .margin-b-20 {
  506. margin-bottom: 20rpx !important;
  507. }
  508. .margin-20 {
  509. margin: 20rpx !important;
  510. }
  511. .margin-v-20 {
  512. margin-top: 20rpx !important;
  513. margin-bottom: 20rpx !important;
  514. }
  515. .margin-c-20 {
  516. margin-left: 20rpx !important;
  517. margin-right: 20rpx !important;
  518. }
  519. .padding-l-20 {
  520. padding-left: 20rpx !important;
  521. }
  522. .padding-r-20 {
  523. padding-right: 20rpx !important;
  524. }
  525. .padding-t-20 {
  526. padding-top: 20rpx !important;
  527. }
  528. .padding-b-20 {
  529. padding-bottom: 20rpx !important;
  530. }
  531. .padding-20 {
  532. padding: 20rpx !important;
  533. }
  534. .padding-v-20 {
  535. padding-top: 20rpx !important;
  536. padding-bottom: 20rpx !important;
  537. }
  538. .padding-c-20 {
  539. padding-left: 20rpx !important;
  540. padding-right: 20rpx !important;
  541. }
  542. .margin-l-30 {
  543. margin-left: 30rpx !important;
  544. }
  545. .margin-r-30 {
  546. margin-right: 30rpx !important;
  547. }
  548. .margin-t-30 {
  549. margin-top: 30rpx !important;
  550. }
  551. .margin-b-30 {
  552. margin-bottom: 30rpx !important;
  553. }
  554. .margin-30 {
  555. margin: 30rpx !important;
  556. }
  557. .margin-v-30 {
  558. margin-top: 30rpx !important;
  559. margin-bottom: 30rpx !important;
  560. }
  561. .margin-c-30 {
  562. margin-left: 30rpx !important;
  563. margin-right: 30rpx !important;
  564. }
  565. .padding-l-30 {
  566. padding-left: 30rpx !important;
  567. }
  568. .padding-r-30 {
  569. padding-right: 30rpx !important;
  570. }
  571. .padding-t-30 {
  572. padding-top: 30rpx !important;
  573. }
  574. .padding-b-30 {
  575. padding-bottom: 30rpx !important;
  576. }
  577. .padding-30 {
  578. padding: 30rpx !important;
  579. }
  580. .padding-v-30 {
  581. padding-top: 30rpx !important;
  582. padding-bottom: 30rpx !important;
  583. }
  584. .padding-c-30 {
  585. padding-left: 30rpx !important;
  586. padding-right: 30rpx !important;
  587. }
  588. .font-size-sm {
  589. font-size: 24rpx;
  590. }
  591. .font-size-base {
  592. font-size: 28rpx;
  593. }
  594. .font-size-lg {
  595. font-size: 32rpx;
  596. }
  597. .font-color-yellow {
  598. color: #fd5b23;
  599. }
  600. .font-color-gray {
  601. color: #999999;
  602. }
  603. .font-color-red {
  604. color: #dd524d;
  605. }
  606. .border-color-yellow {
  607. border: 1rpx solid #fd5b23;
  608. }
  609. uni-page-wrapper,
  610. page {
  611. background-color: #f8f8f8;
  612. }