app.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. /*app.wxss*/
  2. /* #ifndef APP-NVUE */
  3. page {
  4. background-color: #fafafa;
  5. font-size: 32rpx;
  6. }
  7. ::-webkit-scrollbar {
  8. width: 0 !important;
  9. height: 0 !important;
  10. color: transparent !important;
  11. display: none;
  12. }
  13. button::after {
  14. border: none;
  15. }
  16. .container {
  17. display: flex;
  18. box-sizing: border-box;
  19. flex-direction: column;
  20. }
  21. .tui-phcolor {
  22. color: #ccc;
  23. font-size: 32rpx;
  24. overflow: visible;
  25. }
  26. .tui-opcity {
  27. opacity: 0.5;
  28. }
  29. .tui-hover {
  30. background-color: #f7f7f9 !important;
  31. }
  32. .tui-ellipsis {
  33. overflow: hidden;
  34. white-space: nowrap;
  35. text-overflow: ellipsis;
  36. }
  37. /*按钮样式*/
  38. /*列表统一样式 */
  39. .tui-list-item {
  40. position: relative;
  41. }
  42. .tui-list-item::after {
  43. content: '';
  44. position: absolute;
  45. border-bottom: 1rpx solid #eaeef1;
  46. -webkit-transform: scaleY(0.5);
  47. transform: scaleY(0.5);
  48. bottom: 0;
  49. right: 0;
  50. left: 30rpx;
  51. }
  52. .tui-last::after {
  53. border-bottom: 0 !important;
  54. }
  55. .tui-button-primary {
  56. width: 100%;
  57. height: 90rpx;
  58. line-height: 90rpx;
  59. background: linear-gradient(-90deg, #5677fc, #5c8dff);
  60. border-radius: 45rpx;
  61. color: #fff;
  62. font-size: 36rpx;
  63. }
  64. .tui-button-hover {
  65. color: #d5d4d9;
  66. background: linear-gradient(-90deg, #4a67d6, #4e77d9);
  67. }
  68. .tui-button-gray {
  69. background: #ededed;
  70. color: #999 !important;
  71. }
  72. .tui-button-gray_hover {
  73. background: #d5d5d5 !important;
  74. color: #898989;
  75. }
  76. .tui-button-white {
  77. background: #fff;
  78. color: #333 !important;
  79. }
  80. .tui-button-white_hover {
  81. background: #e5e5e5 !important;
  82. color: #2e2e2e !important;
  83. }
  84. .f-34 {
  85. font-size: 34rpx;
  86. }
  87. .f-32 {
  88. font-size: 32rpx;
  89. }
  90. .f-31 {
  91. font-size: 31rpx;
  92. }
  93. .f-30 {
  94. font-size: 30rpx;
  95. }
  96. .f-29 {
  97. font-size: 29rpx;
  98. }
  99. .f-28 {
  100. font-size: 28rpx;
  101. }
  102. .f-26 {
  103. font-size: 26rpx;
  104. }
  105. .f-24 {
  106. font-size: 24rpx;
  107. }
  108. .f-22 {
  109. font-size: 22rpx;
  110. }
  111. .dis-flex {
  112. display: flex;
  113. /* flex-wrap: wrap; */
  114. }
  115. .flex-box {
  116. flex: 1;
  117. }
  118. .flex-dir-row {
  119. flex-direction: row;
  120. }
  121. .flex-dir-column {
  122. flex-direction: column;
  123. }
  124. .flex-x-center {
  125. /* display: flex; */
  126. justify-content: center;
  127. }
  128. .flex-x-between {
  129. justify-content: space-between;
  130. }
  131. .flex-x-around {
  132. justify-content: space-around;
  133. }
  134. .flex-x-end {
  135. justify-content: flex-end;
  136. }
  137. .flex-y-center {
  138. /* display: flex; */
  139. align-items: center;
  140. }
  141. .flex-five {
  142. box-sizing: border-box;
  143. flex: 0 0 50%;
  144. }
  145. .flex-three {
  146. float: left;
  147. width: 33.3%;
  148. }
  149. .flex-four {
  150. box-sizing: border-box;
  151. flex: 0 0 25%;
  152. }
  153. /* #endif */