base.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /**
  2. *全局公共样式
  3. */
  4. .app-content {
  5. // line-height: 1;
  6. background-color: $backColor;
  7. min-height: 100vh;
  8. }
  9. /* #ifdef H5 */
  10. .app-content.app-main {
  11. min-height: calc(100vh - 100px);
  12. }
  13. /* #endif */
  14. .gray_txt {
  15. color: #999 !important;
  16. }
  17. .ph {
  18. font-size: 30px;
  19. color: gray;
  20. }
  21. .w100 {
  22. width: 100% !important;
  23. }
  24. .ml0{
  25. margin-left: 0 !important;
  26. }
  27. .text_main_color {
  28. color: #ff9000;
  29. }
  30. .underline {
  31. text-decoration: underline;
  32. }
  33. .separate_line {
  34. color: #999;
  35. margin: 0 16px;
  36. }
  37. .text_sub_com {
  38. color: #999;
  39. font-size: 24px;
  40. }
  41. .flex {
  42. display: flex;
  43. }
  44. .flex-center-center {
  45. @extend .flex;
  46. align-items: center;
  47. justify-content: center;
  48. }
  49. .flex-center {
  50. display: flex;
  51. align-items: center;
  52. }
  53. .flex-start {
  54. @extend .flex;
  55. align-items: flex-start;
  56. }
  57. .flex-end {
  58. @extend .flex;
  59. align-items: flex-end;
  60. }
  61. .flex-center-between {
  62. @extend .flex;
  63. align-items: center;
  64. justify-content: space-between;
  65. }
  66. .flex-center-around {
  67. @extend .flex;
  68. align-items: center;
  69. justify-content: space-around;
  70. }
  71. .flex-center-evenly {
  72. @extend .flex;
  73. align-items: center;
  74. justify-content: space-evenly;
  75. }
  76. .flex-center-start {
  77. @extend .flex;
  78. align-items: center;
  79. justify-content: flex-start;
  80. }
  81. .flex-center-end {
  82. @extend .flex;
  83. align-items: center;
  84. justify-content: flex-end;
  85. }
  86. // =================== 定义的全局字体普通样式 ========================
  87. .app-padding {
  88. padding: 0 30px;
  89. }
  90. .app-color-0 {
  91. color: $fontColorMain;
  92. }
  93. .app-color-1 {
  94. color: $mainColor;
  95. }
  96. .app-color-2 {
  97. color: $fontColor2;
  98. }
  99. .app-color-3 {
  100. color: $fontColor3;
  101. }
  102. .app-color-4 {
  103. color: $mainColor1;
  104. }
  105. // 金额
  106. .app-price {
  107. color: #FF2842;
  108. }
  109. .app-bold {
  110. font-weight: bold;
  111. }
  112. .app-size-24 {
  113. font-size: 24px;
  114. }
  115. .app-size-26 {
  116. font-size: 26px;
  117. }
  118. .app-size-28 {
  119. font-size: 28px;
  120. }
  121. .app-size-30 {
  122. font-size: 30px;
  123. }
  124. .app-size-32 {
  125. font-size: 32px;
  126. }
  127. .app-size-34 {
  128. font-size: 34px;
  129. }
  130. .app-size-36 {
  131. font-size: 36px;
  132. }
  133. .app-size-38 {
  134. font-size: 38px;
  135. }
  136. .app-size-40 {
  137. font-size: 40px;
  138. }