base.scss 2.0 KB

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