commonTheme.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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. -webkit-box-orient: vertical; /* 排列方向 */
  87. -webkit-line-clamp: 2; /* 显示行数 */
  88. overflow: hidden; /* 超出隐藏 */
  89. text-overflow: ellipsis; /* 超出显示省略号 */
  90. word-break: break-all; /* 允许单词断行 */
  91. }
  92. .lines-2 {
  93. -webkit-line-clamp: 2 !important;
  94. }
  95. .lines-3 {
  96. -webkit-line-clamp: 3 !important;
  97. }
  98. .bold {
  99. font-weight: bold;
  100. }
  101. .line-through {
  102. text-decoration: line-through;
  103. }
  104. .nowrap {
  105. white-space: nowrap;
  106. }
  107. .scrollx {
  108. overflow-x: scroll;
  109. }
  110. .scrolly {
  111. overflow-y: scroll;
  112. }
  113. .base-textcol{
  114. color: var(--base-color-text);
  115. }
  116. .color9{
  117. color: #999;
  118. }
  119. .color6{
  120. color: #666;
  121. }
  122. .bgf{
  123. background-color: #fff;
  124. }
  125. .base-color{
  126. /* color: #018C39; */
  127. color: #1773ff;
  128. }
  129. .colorf {
  130. color: #fff;
  131. }
  132. .base-color-2 {
  133. color: #e7f1fe;
  134. }
  135. .base-color-3 {
  136. color: #425034;
  137. }
  138. .base-color-9 {
  139. color: #999999;
  140. }
  141. .base-color-8 {
  142. color: #f8f8f8;
  143. }
  144. .base-color-6 {
  145. color: #666;
  146. }
  147. .base-color-gray {
  148. color: #DEDFE4;
  149. }
  150. .base-color-red{
  151. color:#ee0a25;
  152. }
  153. .base-color-dark {
  154. color: #313131;
  155. }
  156. .base-color-dark2 {
  157. color: #3E3E3E;
  158. }
  159. .base-price {
  160. color: #FF1212;
  161. }
  162. .base-success {
  163. color: #a3db42;
  164. }
  165. .base-bg {
  166. background: #1773ff;
  167. }
  168. .base-bg-2 {
  169. background: #e7f1fe;
  170. }
  171. .base-bg-red{
  172. background: #ee0a25;
  173. }
  174. .base-bg-f{
  175. background-color:#fff;
  176. }
  177. .base-bg-f8{
  178. background-color: #f8f8f8;
  179. }
  180. .base-bg-f5{
  181. background-color: #f5f5f5;
  182. }
  183. .base-bg-9{
  184. background-color: #999;
  185. }
  186. .base-bg-blue{
  187. background:#1677ff;
  188. }
  189. .base-bg-sure{
  190. background:#e7f2fe;
  191. }
  192. .base-bg-orange{
  193. background:#FF7F00;
  194. }
  195. .base-bg-false{
  196. background:#fae7e7;
  197. }
  198. .bor-blue{
  199. border: 2rpx solid #c9e1fb;
  200. }
  201. .bor-red{
  202. border: 2rpx solid #f7a1a1;
  203. }