app.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. page {
  2. width: 100%;
  3. height: 100%;
  4. }
  5. /* 字体 */
  6. .ft48 {
  7. font-size: 48rpx;
  8. }
  9. .ft40 {
  10. font-size: 40rpx;
  11. }
  12. .ft38 {
  13. font-size: 38rpx;
  14. }
  15. .ft36 {
  16. font-size: 36rpx;
  17. }
  18. .ft34 {
  19. font-size: 34rpx;
  20. }
  21. .ft32 {
  22. font-size: 32rpx;
  23. }
  24. .ft30 {
  25. font-size: 30rpx;
  26. }
  27. .ft28 {
  28. font-size: 28rpx;
  29. }
  30. .ft26 {
  31. font-size: 26rpx;
  32. }
  33. .ft24 {
  34. font-size: 24rpx;
  35. }
  36. .ft22 {
  37. font-size: 22rpx;
  38. }
  39. .ft20 {
  40. font-size: 20rpx;
  41. }
  42. .is-iphone-x {
  43. padding-bottom: constant(safe-area-inset-bottom);
  44. /* 兼容 iOS < 11.2 */
  45. padding-bottom: env(safe-area-inset-bottom);
  46. /* 兼容 iOS >= 11.2 */
  47. box-sizing: inherit;
  48. }
  49. /*每个页面公共css */
  50. .flex {
  51. display: flex;
  52. }
  53. .flex-row {
  54. flex-direction: row;
  55. }
  56. .flex-column {
  57. flex-direction: column;
  58. }
  59. .flex-nowarp {
  60. flex-wrap: nowrap;
  61. }
  62. .flex-x-between {
  63. justify-content: space-between;
  64. }
  65. .flex-x-center {
  66. justify-content: center;
  67. }
  68. .flex-x-end {
  69. justify-content: flex-end;
  70. }
  71. .flex-y-center {
  72. align-items: center;
  73. }
  74. .flex-y-baseline {
  75. align-items: baseline;
  76. }
  77. .flex {
  78. display: -webkit-box;
  79. display: -webkit-flex;
  80. display: flex;
  81. }
  82. .flex-row {
  83. display: -webkit-box;
  84. display: -webkit-flex;
  85. display: flex;
  86. -webkit-box-orient: horizontal;
  87. -webkit-flex-direction: row;
  88. flex-direction: row;
  89. }
  90. .flex-col {
  91. display: -webkit-box;
  92. display: -webkit-flex;
  93. display: flex;
  94. -webkit-box-orient: vertical;
  95. -webkit-flex-direction: column;
  96. flex-direction: column;
  97. }
  98. .flex-grow-0 {
  99. min-width: 0;
  100. -webkit-box-flex: 0;
  101. -webkit-flex-grow: 0;
  102. -ms-flex-positive: 0;
  103. flex-grow: 0;
  104. -webkit-flex-shrink: 0;
  105. -ms-flex-negative: 0;
  106. flex-shrink: 0;
  107. }
  108. .flex-grow-1 {
  109. min-width: 0;
  110. -webkit-box-flex: 1;
  111. -webkit-flex-grow: 1;
  112. -ms-flex-positive: 1;
  113. flex-grow: 1;
  114. -webkit-flex-shrink: 1;
  115. -ms-flex-negative: 1;
  116. flex-shrink: 1;
  117. }
  118. .flex-x-center {
  119. display: -webkit-box;
  120. display: -webkit-flex;
  121. display: flex;
  122. -webkit-box-pack: center;
  123. -webkit-justify-content: center;
  124. -ms-flex-pack: center;
  125. justify-content: center;
  126. }
  127. .flex-center {
  128. display: -webkit-box;
  129. display: -webkit-flex;
  130. display: flex;
  131. -webkit-box-align: center;
  132. -webkit-align-items: center;
  133. -ms-flex-align: center;
  134. -ms-grid-row-align: center;
  135. align-items: center;
  136. -webkit-box-pack: center;
  137. -webkit-justify-content: center;
  138. -ms-flex-pack: center;
  139. justify-content: center;
  140. }
  141. .flex-y-center {
  142. display: -webkit-box;
  143. display: -webkit-flex;
  144. display: flex;
  145. -webkit-box-align: center;
  146. -webkit-align-items: center;
  147. -ms-flex-align: center;
  148. -ms-grid-row-align: center;
  149. align-items: center;
  150. }
  151. .flex-y-bottom {
  152. display: -webkit-box;
  153. display: -webkit-flex;
  154. display: flex;
  155. -webkit-box-align: end;
  156. -webkit-align-items: flex-end;
  157. -ms-flex-align: end;
  158. -ms-grid-row-align: flex-end;
  159. align-items: flex-end;
  160. }
  161. .box-pack-between {
  162. display: -webkit-box;
  163. display: -webkit-flex;
  164. display: flex;
  165. -webkit-box-pack: justify;
  166. -moz-justify-content: space-between;
  167. -webkit-justify-content: space-between;
  168. justify-content: space-between;
  169. }
  170. .text-1 {
  171. overflow: hidden;
  172. text-overflow: ellipsis;
  173. white-space: nowrap;
  174. }
  175. .text-2 {
  176. overflow: hidden;
  177. text-overflow: ellipsis;
  178. display: -webkit-box;
  179. -webkit-box-orient: vertical;
  180. -webkit-line-clamp: 2;
  181. }
  182. .text-3 {
  183. overflow: hidden;
  184. text-overflow: ellipsis;
  185. display: -webkit-box;
  186. -webkit-box-orient: vertical;
  187. -webkit-line-clamp: 3;
  188. }
  189. .red {
  190. color: red;
  191. }
  192. .wrap {
  193. flex-wrap: wrap;
  194. }
  195. .line-through {
  196. text-decoration: line-through;
  197. }
  198. page,
  199. block,
  200. view,
  201. scroll-view,
  202. swiper,
  203. movable-view,
  204. icon,
  205. text,
  206. progress,
  207. button,
  208. checkbox,
  209. form,
  210. input,
  211. label,
  212. picker,
  213. picker-view,
  214. radio,
  215. slider,
  216. switch,
  217. textarea,
  218. navigator,
  219. audio,
  220. image,
  221. video,
  222. map,
  223. canvas,
  224. contact-button {
  225. box-sizing: border-box;
  226. }
  227. .text-nowarp {
  228. overflow: hidden;
  229. text-overflow: ellipsis;
  230. white-space: nowrap;
  231. }
  232. .no-more {
  233. text-align: center;
  234. font-size: 28rpx;
  235. line-height: 40rpx;
  236. color: #BCC3CB;
  237. padding: 40rpx 0;
  238. }
  239. .nav-hover {
  240. opacity: 0.5;
  241. }
  242. .arr-r::after {
  243. flex: none;
  244. margin-left: auto;
  245. content: "";
  246. display: block;
  247. width: 14rpx;
  248. height: 14rpx;
  249. border: 3rpx solid;
  250. border-color: #666 #666 transparent transparent;
  251. transform: rotate(45deg);
  252. }
  253. .loading {
  254. width: 100%;
  255. height: 100%;
  256. display: flex;
  257. align-items: center;
  258. justify-content: center;
  259. background-color: #FFFFFF;
  260. }
  261. .loading image {
  262. width: 250rpx;
  263. height: 250rpx;
  264. position: relative;
  265. /* margin-top: -200rpx; */
  266. margin-top: 0;
  267. }
  268. button {
  269. border-radius: 0rpx;
  270. padding: 0rpx;
  271. margin: 0rpx;
  272. }
  273. button::after{
  274. border: none;
  275. }
  276. /* .uni-calendar__header{
  277. display:none!important;
  278. } */
  279. /*
  280. .uni-select{
  281. border:none!important;
  282. } */
  283. .uni-select__input-text{
  284. color:#999999;
  285. }
  286. .uni-select{
  287. border:1px solid #999999;
  288. }
  289. .uni-navbar{
  290. }