cmy.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. .bg-color-red {
  2. background-color: #e93323 !important;
  3. }
  4. /*水平线*/
  5. .hr {
  6. width: 100%;
  7. position: relative;
  8. border-bottom: 1px solid #dddddd;
  9. /* height: 0.5rpx; */
  10. }
  11. /* 一行显示 */
  12. .clamp {
  13. overflow: hidden;
  14. text-overflow: ellipsis;
  15. white-space: nowrap;
  16. display: block;
  17. }
  18. /* 二行显示 */
  19. .clamp2 {
  20. overflow: hidden;
  21. text-overflow: ellipsis;
  22. display: -webkit-box;
  23. -webkit-line-clamp: 2;
  24. -webkit-box-orient: vertical;
  25. }
  26. /* 二行显示 */
  27. .ellipsis {
  28. overflow: hidden;
  29. text-overflow: ellipsis;
  30. display: -webkit-box;
  31. -webkit-box-orient: vertical;
  32. -webkit-line-clamp: 2;
  33. }
  34. .common-hover {
  35. background: #f5f5f5;
  36. }
  37. /* 角标 */
  38. .corner {
  39. background-color: #e51c23;
  40. position: absolute;
  41. right: -18rpx;
  42. top: -18rpx;
  43. color: #FFFFFF;
  44. text-align: center;
  45. border-radius: 999px;
  46. font-size: 24rpx !important;
  47. min-width: 35rpx;
  48. min-height: 35rpx;
  49. display: flex;
  50. align-items: center;
  51. justify-content: center;
  52. line-height: 1;
  53. }
  54. .flex_item {
  55. display: flex;
  56. align-items: center;
  57. /* justify-content: space-between; */
  58. }
  59. /* 左右顶格加上下居中 */
  60. .flex-between-center {
  61. display: flex;
  62. justify-content: space-between;
  63. align-items: center;
  64. }
  65. /* flex布局-整体居中 */
  66. .flex-center {
  67. display: flex;
  68. align-items: center;
  69. justify-content: center;
  70. }
  71. /* flex-开始居中 */
  72. .flex-start {
  73. display: flex;
  74. align-items: center;
  75. justify-content: flex-start;
  76. }
  77. /* 一行居中显示 */
  78. .flex-line{
  79. display: flex;
  80. justify-content: center;
  81. align-items: center;
  82. flex-direction: column;
  83. }
  84. /*文字对齐*/
  85. .text-left {
  86. text-align: left !important;
  87. }
  88. .text-center {
  89. text-align: center !important;
  90. }
  91. .text-justify {
  92. text-align: justify !important;
  93. }
  94. .text-right {
  95. text-align: right !important;
  96. }
  97. .text-default {
  98. color: #212121 !important;
  99. }
  100. .text-white {
  101. color: #ffffff !important;
  102. }
  103. .text-primary {
  104. color: #00bcd4 !important;
  105. }
  106. .text-success {
  107. color: #009688 !important;
  108. }
  109. .text-info {
  110. color: #03a9f4 !important;
  111. }
  112. .text-warning {
  113. color: #ffc107 !important;
  114. }
  115. .text-danger {
  116. color: #e51c23 !important;
  117. }
  118. .text-pink {
  119. color: #e91e63 !important;
  120. }
  121. .text-purple {
  122. color: #673ab7 !important;
  123. }
  124. .text-indigo {
  125. color: #3f51b5 !important;
  126. }
  127. .text-gray {
  128. color: #999999 !important;
  129. }
  130. .bg-default {
  131. background-color: #f5f5f5 !important;
  132. }
  133. .bg-primary {
  134. background-color: #00bcd4 !important;
  135. }
  136. .bg-success {
  137. background-color: #009688 !important;
  138. }
  139. .bg-info {
  140. background-color: #03a9f4 !important;
  141. }
  142. .bg-warning {
  143. background-color: #FFB238 !important;
  144. }
  145. .bg-danger {
  146. background-color: #DC4D46 !important;
  147. }
  148. .bg-pink {
  149. background-color: #e91e63 !important;
  150. }
  151. .bg-purple {
  152. background-color: #673ab7 !important;
  153. }
  154. .bg-indigo {
  155. background-color: #3f51b5 !important;
  156. }
  157. .bg-white {
  158. background-color: white !important;
  159. }
  160. .bg-gray {
  161. background-color: #e3e3e3 !important;
  162. }
  163. /* 边框 */
  164. .border-radius-15 {
  165. border-radius: 15rpx;
  166. }
  167. .border-radius-10 {
  168. border-radius: 10rpx;
  169. }
  170. .border-radius-all {
  171. border-radius: 1000rpx;
  172. }
  173. /* 底部边线 */
  174. .borde-b {
  175. border-bottom: 1px solid #dddddd;
  176. }
  177. /* 弹性盒子 */
  178. .flex {
  179. display: flex;
  180. align-items: center;
  181. justify-content: space-between;
  182. }
  183. .items-left {
  184. justify-content: flex-start;
  185. }
  186. .items-right {
  187. justify-content: flex-end;
  188. }
  189. .flex-shrink-false {
  190. flex-shrink: 0;
  191. }
  192. .flex-grow-true {
  193. flex-grow: 1;
  194. }
  195. .position-relative {
  196. position: relative;
  197. }