base.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. /**
  2. *全局公共样式
  3. */
  4. @import './minxin.scss';
  5. // 所有样式为公共样式,已在全局引用可直接使用
  6. // 主色
  7. $mainColor: #3385FF;
  8. $mainColor1: #3A8840;
  9. $auxiliaryColor2: #ff6900;
  10. $blueColor: #2965fe;
  11. $greenColor: #3A8840;
  12. $redColor: #ff3841;
  13. // 字体色
  14. $fontColorMain: #333333;
  15. $fontColor2: #666666;
  16. $fontColor3: #999999;
  17. $fontColor4: #bbbbbb;
  18. $fontColor5: #cccccc;
  19. // 边框
  20. $borderColor: #eee;
  21. $borderColor1: #46963E;
  22. // 背景色
  23. $backColor: #f5f5f5;
  24. // minxin
  25. @mixin disFlexCen(){
  26. display:flex;
  27. display: -webkit-flex;
  28. display: -moz-flex;
  29. display: -ms-flex;
  30. align-items: center;
  31. }
  32. .app-list-content {
  33. height: 100%;
  34. }
  35. .app-content {
  36. padding: 10px;
  37. background-color: #fff;
  38. // .app-content-title {
  39. // padding: 0 10px 10px;
  40. // margin-bottom: 10px;
  41. // color: #666;
  42. // background-color: #f5f5f5;
  43. // }
  44. }
  45. // .app-content {
  46. // line-height: 1;
  47. // background-color: $backColor;
  48. // min-height: 100vh;
  49. // &.app-main {
  50. // min-height: calc(100vh - 100px);
  51. // }
  52. // }
  53. .gray_txt {
  54. color: #999 !important;
  55. }
  56. .ph {
  57. font-size: 30px;
  58. color: gray;
  59. }
  60. .w100 {
  61. width: 100% !important;
  62. }
  63. .ml0{
  64. margin-left: 0 !important;
  65. }
  66. .text_main_color {
  67. color: #ff9000;
  68. }
  69. .underline {
  70. text-decoration: underline;
  71. }
  72. .app-margin-left-10 {
  73. margin-left: 10px !important;
  74. }
  75. .app-center {
  76. text-align: center;
  77. }
  78. .flex {
  79. display: flex;
  80. }
  81. .flex-center-center {
  82. @extend .flex;
  83. align-items: center;
  84. justify-content: center;
  85. }
  86. .flex-center {
  87. display: flex;
  88. align-items: center;
  89. }
  90. .flex-start {
  91. @extend .flex;
  92. align-items: flex-start;
  93. }
  94. .flex-end {
  95. @extend .flex;
  96. align-items: flex-end;
  97. }
  98. .flex-center-between {
  99. @extend .flex;
  100. align-items: center;
  101. justify-content: space-between;
  102. }
  103. .flex-center-around {
  104. @extend .flex;
  105. align-items: center;
  106. justify-content: space-around;
  107. }
  108. .flex-center-evenly {
  109. @extend .flex;
  110. align-items: center;
  111. justify-content: space-evenly;
  112. }
  113. .flex-center-start {
  114. @extend .flex;
  115. align-items: center;
  116. justify-content: flex-start;
  117. }
  118. .flex-center-end {
  119. @extend .flex;
  120. align-items: center;
  121. justify-content: flex-end;
  122. }
  123. .flex-wrap {
  124. flex-wrap: wrap;
  125. }
  126. // =================== 定义的全局字体普通样式 ========================
  127. .app-padding {
  128. padding: 0 30px;
  129. }
  130. .app-color-0 {
  131. color: $fontColorMain;
  132. }
  133. .app-color-1 {
  134. color: $mainColor;
  135. }
  136. .app-color-2 {
  137. color: $fontColor2;
  138. }
  139. .app-color-3 {
  140. color: $fontColor3;
  141. }
  142. // 金额
  143. .app-price {
  144. color: #FF2842;
  145. }
  146. .app-bold {
  147. font-weight: bold;
  148. }
  149. .app-size-24 {
  150. font-size: 12px;
  151. }
  152. .app-size-26 {
  153. font-size: 13px;
  154. }
  155. .app-size-28 {
  156. font-size: 14px;
  157. }
  158. .app-size-30 {
  159. font-size: 15px;
  160. }
  161. .app-size-32 {
  162. font-size: 16px;
  163. }
  164. .app-size-34 {
  165. font-size: 17px;
  166. }
  167. .app-size-36 {
  168. font-size: 18px;
  169. }
  170. .app-size-38 {
  171. font-size: 19px;
  172. }
  173. .app-size-40 {
  174. font-size: 20px;
  175. }