cmy.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  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. .iconlocation:before {
  30. content: "\e651";
  31. }
  32. .iconroundcheckfill:before {
  33. content: "\e656";
  34. }
  35. .iconroundcheck:before {
  36. content: "\e657";
  37. }
  38. .iconunfold:before {
  39. content: "\e661";
  40. }
  41. .iconlikefill:before {
  42. content: "\e668";
  43. }
  44. .iconlike:before {
  45. content: "\e669";
  46. }
  47. .iconshop:before {
  48. content: "\e676";
  49. }
  50. .iconcart:before {
  51. content: "\e6af";
  52. }
  53. .icondelete:before {
  54. content: "\e6b4";
  55. }
  56. .iconhome:before {
  57. content: "\e6b8";
  58. }
  59. .iconcartfill:before {
  60. content: "\e6b9";
  61. }
  62. .iconhomefill:before {
  63. content: "\e6bb";
  64. }
  65. .iconlock:before {
  66. content: "\e6c0";
  67. }
  68. .iconfriendadd:before {
  69. content: "\e6ca";
  70. }
  71. .iconfold:before {
  72. content: "\e6de";
  73. }
  74. .iconapps:before {
  75. content: "\e729";
  76. }
  77. .iconadd:before {
  78. content: "\e767";
  79. }
  80. .iconmove:before {
  81. content: "\e768";
  82. }
  83. .icontriangledownfill:before {
  84. content: "\e79b";
  85. }
  86. .icontriangleupfill:before {
  87. content: "\e79c";
  88. }
  89. .iconshaixuan:before {
  90. content: "\e74a";
  91. }
  92. .iconyanzhengma:before {
  93. content: "\e684";
  94. }
  95. .iconjifen:before {
  96. content: "\e60f";
  97. }
  98. .iconwuliuxinxi:before {
  99. content: "\e62b";
  100. }
  101. .iconmessage:before {
  102. content: "\e78a";
  103. }
  104. .iconsetting:before {
  105. content: "\e78e";
  106. }
  107. .iconaddition:before {
  108. content: "\e6e0";
  109. }
  110. .iconclose:before {
  111. content: "\e6e9";
  112. }
  113. .iconenter:after {
  114. content: "\e6f8";
  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. /*水平线*/
  189. .hr {
  190. width: 100%;
  191. position: relative;
  192. border-bottom: 1px solid #dddddd;
  193. /* height: 0.5rpx; */
  194. }
  195. /* 一行显示 */
  196. .clamp {
  197. overflow: hidden;
  198. text-overflow: ellipsis;
  199. white-space: nowrap;
  200. display: block;
  201. }
  202. /* 二行显示 */
  203. .ellipsis{
  204. overflow:hidden;
  205. text-overflow:ellipsis;
  206. display:-webkit-box;
  207. -webkit-box-orient:vertical;
  208. -webkit-line-clamp:2;
  209. }
  210. .common-hover {
  211. background: #f5f5f5;
  212. }
  213. /* 角标 */
  214. .corner{
  215. background-color:#e51c23;
  216. position: absolute;
  217. right: -18rpx;
  218. top: -18rpx;
  219. color:#FFFFFF;
  220. text-align: center;
  221. border-radius: 999px;
  222. font-size: 24rpx !important;
  223. min-width: 35rpx;
  224. min-height: 35rpx;
  225. display: flex;
  226. align-items: center;
  227. justify-content: center;
  228. line-height: 1;
  229. }
  230. /*文字对齐*/
  231. .text-left {
  232. text-align: left !important;
  233. }
  234. .text-center {
  235. text-align: center !important;
  236. }
  237. .text-justify {
  238. text-align: justify !important;
  239. }
  240. .text-right {
  241. text-align: right !important;
  242. }
  243. .text-default {
  244. color: #212121 !important;
  245. }
  246. .text-white {
  247. color: #ffffff !important;
  248. }
  249. .text-primary {
  250. color: #00bcd4 !important;
  251. }
  252. .text-success {
  253. color: #009688 !important;
  254. }
  255. .text-info {
  256. color: #03a9f4 !important;
  257. }
  258. .text-warning {
  259. color: #ffc107 !important;
  260. }
  261. .text-danger {
  262. color: #e51c23 !important;
  263. }
  264. .text-pink {
  265. color: #e91e63 !important;
  266. }
  267. .text-purple {
  268. color: #673ab7 !important;
  269. }
  270. .text-indigo {
  271. color: #3f51b5 !important;
  272. }
  273. .text-gray {
  274. color: #999999 !important;
  275. }
  276. .bg-default {
  277. background-color: #f5f5f5 !important;
  278. }
  279. .bg-primary {
  280. background-color: #00bcd4 !important;
  281. }
  282. .bg-success {
  283. background-color: #009688 !important;
  284. }
  285. .bg-info {
  286. background-color: #03a9f4 !important;
  287. }
  288. .bg-warning {
  289. background-color: #f1c40f !important;
  290. }
  291. .bg-danger {
  292. background-color: #e51c23 !important;
  293. }
  294. .bg-pink {
  295. background-color: #e91e63 !important;
  296. }
  297. .bg-purple {
  298. background-color: #673ab7 !important;
  299. }
  300. .bg-indigo {
  301. background-color: #3f51b5 !important;
  302. }
  303. .bg-white {
  304. background-color: white !important;
  305. }
  306. .bg-gray {
  307. background-color: #e3e3e3 !important;
  308. }
  309. /* 边框 */
  310. .border-radius-15 {
  311. border-radius: 15rpx;
  312. }
  313. .border-radius-10 {
  314. border-radius: 10rpx;
  315. }
  316. .border-radius-all {
  317. border-radius: 1000rpx;
  318. }
  319. /* 底部边线 */
  320. .borde-b {
  321. border-bottom: 1px solid #dddddd;
  322. }
  323. /* 弹性盒子 */
  324. .flex {
  325. display: flex;
  326. align-items: center;
  327. justify-content: space-between;
  328. }
  329. .flex_item {
  330. display: flex;
  331. align-items: center;
  332. /* justify-content: space-between; */
  333. }
  334. .items-left {
  335. justify-content: flex-start;
  336. }
  337. .items-right {
  338. justify-content: flex-end;
  339. }
  340. .flex-shrink-false {
  341. flex-shrink: 0;
  342. }
  343. .flex-grow-true {
  344. flex-grow: 1;
  345. }
  346. .position-relative {
  347. position: relative;
  348. }