commonTheme.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. .hb {
  2. height: 100%;
  3. box-sizing: border-box;
  4. }
  5. .hidden {
  6. overflow: hidden;
  7. }
  8. .w100 {
  9. width: 100%;
  10. }
  11. .h100 {
  12. height: 100%;
  13. }
  14. .row {
  15. display: flex;
  16. flex-direction: row;
  17. }
  18. .column {
  19. display: flex;
  20. flex-direction: column;
  21. }
  22. .justify-start {
  23. display: flex;
  24. justify-content: flex-start;
  25. }
  26. .justify-center {
  27. display: flex;
  28. justify-content: center;
  29. }
  30. .justify-end {
  31. display: flex;
  32. justify-content: flex-end;
  33. }
  34. .justify-around {
  35. display: flex;
  36. justify-content: space-around;
  37. }
  38. .justify-evenly {
  39. display: flex;
  40. justify-content: space-evenly;
  41. }
  42. .justify-between {
  43. display: flex;
  44. justify-content: space-between;
  45. }
  46. .align-start {
  47. display: flex;
  48. align-items: flex-start;
  49. }
  50. .align-center {
  51. display: flex;
  52. align-items: center;
  53. }
  54. .align-end {
  55. display: flex;
  56. align-items: flex-end;
  57. }
  58. .center {
  59. display: flex;
  60. justify-content: center;
  61. align-items: center;
  62. }
  63. .centerV {
  64. display: flex;
  65. justify-content: center;
  66. align-items: center;
  67. flex-direction: column;
  68. }
  69. .wrap {
  70. flex-wrap: wrap;
  71. }
  72. .flex-1 {
  73. flex: 1;
  74. }
  75. .ellipsis {
  76. overflow: hidden;
  77. text-overflow: ellipsis;
  78. display: -webkit-box;
  79. -webkit-box-orient: vertical;
  80. box-sizing: border-box;
  81. width: 100%;
  82. -webkit-line-clamp: 1;
  83. }
  84. .text-ellipsis {
  85. display: -webkit-box;
  86. /* 关键属性 */
  87. -webkit-box-orient: vertical;
  88. /* 排列方向 */
  89. -webkit-line-clamp: 2;
  90. /* 显示行数 */
  91. overflow: hidden;
  92. /* 超出隐藏 */
  93. text-overflow: ellipsis;
  94. /* 超出显示省略号 */
  95. word-break: break-all;
  96. /* 允许单词断行 */
  97. }
  98. .lines-2 {
  99. -webkit-line-clamp: 2 !important;
  100. }
  101. .lines-3 {
  102. -webkit-line-clamp: 3 !important;
  103. }
  104. .bold {
  105. font-weight: bold;
  106. }
  107. .line-through {
  108. text-decoration: line-through;
  109. }
  110. .nowrap {
  111. white-space: nowrap;
  112. }
  113. .scrollx {
  114. overflow-x: scroll;
  115. }
  116. .scrolly {
  117. overflow-y: scroll;
  118. }
  119. .color-price {
  120. color: #FF5030;
  121. }
  122. .color-white {
  123. color: #fff;
  124. }
  125. .color-orange {
  126. color: #FC581C;
  127. }
  128. .color-red {
  129. color: #F22513;
  130. }
  131. .color-yellow {
  132. color: #FE9000;
  133. }
  134. .color-pink {
  135. color: #FF4545;
  136. }
  137. .color-text {
  138. color: #222426;
  139. }
  140. .color-text1 {
  141. color: #626468;
  142. }
  143. .color-text2 {
  144. color: #898E91;
  145. }
  146. .color-text3 {
  147. color: #B2B2B2;
  148. }
  149. .bg-color {
  150. background-color: #008FD3;
  151. }
  152. .bg-price {
  153. background-color: #FF5030;
  154. }
  155. .bg-yellow {
  156. background-color: #F5A623;
  157. }
  158. .bg-gree {
  159. background-color: #2CAE5C;
  160. }
  161. .bg-purple {
  162. background-color: #7A73E0;
  163. }
  164. .bg-white {
  165. background-color: #fff;
  166. }