index.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. @for $i from 1 to 60 {
  2. .text_#{$i} {
  3. font-size: #{$i}rpx;
  4. }
  5. }
  6. /* 小号 */
  7. #page_font_size_min {
  8. @for $i from 1 to 60 {
  9. .text_#{$i} {
  10. font-size: calc(#{$i}rpx - 2rpx);
  11. }
  12. }
  13. }
  14. /* 标准 */
  15. #page_font_size {
  16. @for $i from 1 to 60 {
  17. .text_#{$i} {
  18. font-size: #{$i}rpx;
  19. }
  20. }
  21. }
  22. /* 大 */
  23. #page_font_size_max {
  24. $font_size: 6rpx;
  25. @for $i from 1 to 60 {
  26. .text_#{$i} {
  27. font-size: calc(#{$i}rpx + #{$font_size});
  28. }
  29. }
  30. }
  31. /* 偏大 */
  32. #page_font_size_max_plus {
  33. $font_size: 10rpx;
  34. @for $i from 1 to 60 {
  35. .text_#{$i} {
  36. font-size: calc(#{$i}rpx + #{$font_size});
  37. }
  38. }
  39. }
  40. /* 特大 */
  41. #page_font_size_max_plus_pro {
  42. $font_size: 16rpx;
  43. @for $i from 1 to 60 {
  44. .text_#{$i} {
  45. font-size: calc(#{$i}rpx + #{$font_size});
  46. }
  47. }
  48. }
  49. .flex_r {
  50. display: flex;
  51. flex-direction: row;
  52. }
  53. .flex_c {
  54. display: flex;
  55. flex-direction: column;
  56. }
  57. .flex1 {
  58. flex: 1;
  59. }
  60. .fj_b {
  61. justify-content: space-between;
  62. }
  63. .fj_a {
  64. justify-content: space-around;
  65. }
  66. .fj_c {
  67. justify-content: center;
  68. }
  69. .fa_c {
  70. align-items: center;
  71. }
  72. .flex_c_c {
  73. display: flex;
  74. flex-direction: column;
  75. align-items: center;
  76. justify-content: center;
  77. }
  78. .icon_ {
  79. display: flex;
  80. flex-direction: row;
  81. align-items: center;
  82. justify-content: center;
  83. }
  84. .z_index2 {
  85. position: relative;
  86. z-index: 2;
  87. }
  88. .img {
  89. width: 100%;
  90. height: 100%;
  91. }
  92. .rotate_45 {
  93. transform: rotate(45deg);
  94. }
  95. .rotate_90 {
  96. transform: rotate(90deg);
  97. }
  98. .rotate_180 {
  99. transform: rotate(180deg);
  100. }
  101. .text-indent {
  102. text-indent: 2em;
  103. text-align: justify;
  104. }
  105. /* 文本css */
  106. .nowrap_ {
  107. text-overflow: ellipsis;
  108. /* #ifndef APP-PLUS-NVUE*/
  109. overflow: hidden;
  110. white-space: nowrap;
  111. /* #endif */
  112. /*#ifdef APP-PLUS-NVUE*/
  113. lines: 1;
  114. /* #endif */
  115. }
  116. .ellipsis_2 {
  117. text-overflow: ellipsis;
  118. /* #ifndef APP-PLUS-NVUE*/
  119. overflow: hidden;
  120. display: -webkit-box;
  121. -webkit-box-orient: vertical;
  122. -webkit-line-clamp: 2;
  123. /* #endif */
  124. /* #ifdef APP-PLUS-NVUE*/
  125. lines: 2;
  126. /* #endif */
  127. }
  128. .hover_class::after {
  129. position: absolute;
  130. z-index: 2;
  131. content: '';
  132. top: 0;
  133. left: 0;
  134. right: 0;
  135. bottom: 0;
  136. background-color: rgba(0, 0, 0, 0.1);
  137. }
  138. .size_white {
  139. color: #fff;
  140. }
  141. .color_ {
  142. color: #b5b5b6;
  143. }
  144. .color___ {
  145. color: #7fade8;
  146. }
  147. .color__ {
  148. color: #7e7e7e;
  149. }
  150. .color_4a {
  151. color: #4a4a4a;
  152. }
  153. .color_rot {
  154. color: #ff0000;
  155. }
  156. .bold_ {
  157. font-weight: bold;
  158. }