cmy.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. /*初始化类*/
  2. @font-face {
  3. font-family: 'iconfont';
  4. /* project id 1482221 */
  5. src: url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.eot');
  6. src: url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.eot?#iefix') format('embedded-opentype'),
  7. url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.woff2') format('woff2'),
  8. url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.woff') format('woff'),
  9. url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.ttf') format('truetype'),
  10. url('https://at.alicdn.com/t/font_1482221_x9emymthrxs.svg#iconfont') format('svg');
  11. }
  12. .iconfont {
  13. font-family: "iconfont" !important;
  14. font-size: 34rpx;
  15. font-style: normal;
  16. -webkit-font-smoothing: antialiased;
  17. -webkit-text-stroke-width: 0rpx;
  18. -moz-osx-font-smoothing: grayscale;
  19. }
  20. .iconedit:before {
  21. content: "\e649";
  22. }
  23. .iconfavorfill:before {
  24. content: "\e64b";
  25. }
  26. .iconfavor:before {
  27. content: "\e64c";
  28. }
  29. .iconfold:before {
  30. content: "\e6de";
  31. }
  32. .iconunfold:before {
  33. content: "\e661";
  34. }
  35. .iconenter:after {
  36. content: "\e6f8";
  37. }
  38. .iconlocation:before {
  39. content: "\e651";
  40. }
  41. .iconroundcheckfill:before {
  42. content: "\e656";
  43. }
  44. .iconroundcheck:before {
  45. content: "\e657";
  46. }
  47. .iconlikefill:before {
  48. content: "\e668";
  49. }
  50. .iconlike:before {
  51. content: "\e669";
  52. }
  53. .iconshop:before {
  54. content: "\e676";
  55. }
  56. .iconcart:before {
  57. content: "\e6af";
  58. }
  59. .icondelete:before {
  60. content: "\e6b4";
  61. }
  62. .iconhome:before {
  63. content: "\e6b8";
  64. }
  65. .iconcartfill:before {
  66. content: "\e6b9";
  67. }
  68. .iconhomefill:before {
  69. content: "\e6bb";
  70. }
  71. .iconlock:before {
  72. content: "\e6c0";
  73. }
  74. .iconfriendadd:before {
  75. content: "\e6ca";
  76. }
  77. .iconapps:before {
  78. content: "\e729";
  79. }
  80. .iconadd:before {
  81. content: "\e767";
  82. }
  83. .iconmove:before {
  84. content: "\e768";
  85. }
  86. .icontriangledownfill:before {
  87. content: "\e79b";
  88. }
  89. .icontriangleupfill:before {
  90. content: "\e79c";
  91. }
  92. .iconshaixuan:before {
  93. content: "\e74a";
  94. }
  95. .iconyanzhengma:before {
  96. content: "\e684";
  97. }
  98. .iconjifen:before {
  99. content: "\e60f";
  100. }
  101. .iconwuliuxinxi:before {
  102. content: "\e62b";
  103. }
  104. .iconmessage:before {
  105. content: "\e78a";
  106. }
  107. .iconsetting:before {
  108. content: "\e78e";
  109. }
  110. .iconaddition:before {
  111. content: "\e6e0";
  112. }
  113. .iconclose:before {
  114. content: "\e6e9";
  115. }
  116. .iconprompt:before {
  117. content: "\e71b";
  118. }
  119. .iconreturn:before {
  120. content: "\e720";
  121. }
  122. .iconsearch:before {
  123. content: "\e741";
  124. }
  125. .iconpengyouquan:before {
  126. content: "\e62c";
  127. }
  128. .iconweixin:before {
  129. content: "\e60e";
  130. }
  131. .iconzhifubao:before {
  132. content: "\e673";
  133. }
  134. .iconyue:before {
  135. content: "\e618";
  136. }
  137. .iconweixin1:before {
  138. content: "\e622";
  139. }
  140. .iconlock1:before {
  141. content: "\e64d";
  142. }
  143. .iconuser:before {
  144. content: "\e64e";
  145. }
  146. .iconchenggongtixianshouyi:before {
  147. content: "\e64f";
  148. }
  149. .iconviptuiguangdingdan:before {
  150. content: "\e650";
  151. }
  152. .icondaifukuan:before {
  153. content: "\e652";
  154. }
  155. .icondaijiesuanshouyi:before {
  156. content: "\e653";
  157. }
  158. .icondaidakuanshouyi:before {
  159. content: "\e654";
  160. }
  161. .icondaifahuo:before {
  162. content: "\e655";
  163. }
  164. .icondaishouhuoshouyi:before {
  165. content: "\e658";
  166. }
  167. .icondaishouhuo:before {
  168. content: "\e659";
  169. }
  170. .iconwuxiaoshouyi:before {
  171. content: "\e65a";
  172. }
  173. .icontixianmingxi:before {
  174. content: "\e65b";
  175. }
  176. .iconshouyi:before {
  177. content: "\e65c";
  178. }
  179. .iconkouchutixianshouxufei:before {
  180. content: "\e65d";
  181. }
  182. .iconyishenqingshouyi:before {
  183. content: "\e65e";
  184. }
  185. .icontuihuanhuo:before {
  186. content: "\e65f";
  187. }
  188. .bg-color-red {
  189. background-color: #e93323 !important;
  190. }
  191. /*水平线*/
  192. .hr {
  193. width: 100%;
  194. position: relative;
  195. border-bottom: 1px solid #dddddd;
  196. /* height: 0.5rpx; */
  197. }
  198. /* 一行显示 */
  199. .clamp {
  200. overflow: hidden;
  201. text-overflow: ellipsis;
  202. white-space: nowrap;
  203. display: block;
  204. }
  205. /* 二行显示 */
  206. .clamp2 {
  207. overflow: hidden;
  208. text-overflow: ellipsis;
  209. display: -webkit-box;
  210. -webkit-line-clamp: 2;
  211. -webkit-box-orient: vertical;
  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. .flex_item {
  242. display: flex;
  243. align-items: center;
  244. /* justify-content: space-between; */
  245. }
  246. /* 左右顶格加上下居中 */
  247. .flex-between-center {
  248. display: flex;
  249. justify-content: space-between;
  250. align-items: center;
  251. }
  252. /* flex布局-整体居中 */
  253. .flex-center {
  254. display: flex;
  255. align-items: center;
  256. justify-content: center;
  257. }
  258. /* flex-开始居中 */
  259. .flex-start {
  260. display: flex;
  261. align-items: center;
  262. justify-content: flex-start;
  263. }
  264. /* 一行居中显示 */
  265. .flex-line {
  266. display: flex;
  267. justify-content: center;
  268. align-items: center;
  269. flex-direction: column;
  270. }
  271. /*文字对齐*/
  272. .text-left {
  273. text-align: left !important;
  274. }
  275. .text-center {
  276. text-align: center !important;
  277. }
  278. .text-justify {
  279. text-align: justify !important;
  280. }
  281. .text-right {
  282. text-align: right !important;
  283. }
  284. .text-default {
  285. color: #212121 !important;
  286. }
  287. .text-white {
  288. color: #ffffff !important;
  289. }
  290. .text-primary {
  291. color: #00bcd4 !important;
  292. }
  293. .text-success {
  294. color: #009688 !important;
  295. }
  296. .text-info {
  297. color: #03a9f4 !important;
  298. }
  299. .text-warning {
  300. color: #ffc107 !important;
  301. }
  302. .text-danger {
  303. color: #e51c23 !important;
  304. }
  305. .text-pink {
  306. color: #e91e63 !important;
  307. }
  308. .text-purple {
  309. color: #673ab7 !important;
  310. }
  311. .text-indigo {
  312. color: #3f51b5 !important;
  313. }
  314. .text-gray {
  315. color: #999999 !important;
  316. }
  317. .bg-default {
  318. background-color: #f5f5f5 !important;
  319. }
  320. .bg-primary {
  321. background-color: #00bcd4 !important;
  322. }
  323. .bg-success {
  324. background-color: #009688 !important;
  325. }
  326. .bg-info {
  327. background-color: #03a9f4 !important;
  328. }
  329. .bg-warning {
  330. background-color: #FFB238 !important;
  331. }
  332. .bg-danger {
  333. background-color: #DC4D46 !important;
  334. }
  335. .bg-pink {
  336. background-color: #e91e63 !important;
  337. }
  338. .bg-purple {
  339. background-color: #673ab7 !important;
  340. }
  341. .bg-indigo {
  342. background-color: #3f51b5 !important;
  343. }
  344. .bg-white {
  345. background-color: white !important;
  346. }
  347. .bg-gray {
  348. background-color: #e3e3e3 !important;
  349. }
  350. /* 边框 */
  351. .border-radius-15 {
  352. border-radius: 15rpx;
  353. }
  354. .border-radius-10 {
  355. border-radius: 10rpx;
  356. }
  357. .border-radius-all {
  358. border-radius: 1000rpx;
  359. }
  360. /* 底部边线 */
  361. .borde-b {
  362. border-bottom: 1px solid #dddddd;
  363. }
  364. /* 弹性盒子 */
  365. .flex {
  366. display: flex;
  367. align-items: center;
  368. justify-content: space-between;
  369. }
  370. .items-left {
  371. justify-content: flex-start;
  372. }
  373. .items-right {
  374. justify-content: flex-end;
  375. }
  376. .flex-shrink-false {
  377. flex-shrink: 0;
  378. }
  379. .flex-grow-true {
  380. flex-grow: 1;
  381. }
  382. .position-relative {
  383. position: relative;
  384. }