main.wxss 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .u-line-1 {
  28. display: -webkit-box !important;
  29. overflow: hidden;
  30. text-overflow: ellipsis;
  31. word-break: break-all;
  32. -webkit-line-clamp: 1;
  33. -webkit-box-orient: vertical !important;
  34. }
  35. .u-line-2 {
  36. display: -webkit-box !important;
  37. overflow: hidden;
  38. text-overflow: ellipsis;
  39. word-break: break-all;
  40. -webkit-line-clamp: 2;
  41. -webkit-box-orient: vertical !important;
  42. }
  43. .u-line-3 {
  44. display: -webkit-box !important;
  45. overflow: hidden;
  46. text-overflow: ellipsis;
  47. word-break: break-all;
  48. -webkit-line-clamp: 3;
  49. -webkit-box-orient: vertical !important;
  50. }
  51. .u-line-4 {
  52. display: -webkit-box !important;
  53. overflow: hidden;
  54. text-overflow: ellipsis;
  55. word-break: break-all;
  56. -webkit-line-clamp: 4;
  57. -webkit-box-orient: vertical !important;
  58. }
  59. .u-line-5 {
  60. display: -webkit-box !important;
  61. overflow: hidden;
  62. text-overflow: ellipsis;
  63. word-break: break-all;
  64. -webkit-line-clamp: 5;
  65. -webkit-box-orient: vertical !important;
  66. }
  67. .u-border {
  68. border-width: 0.5px !important;
  69. border-color: #dadbde !important;
  70. border-style: solid;
  71. }
  72. .u-border-top {
  73. border-top-width: 0.5px !important;
  74. border-color: #dadbde !important;
  75. border-top-style: solid;
  76. }
  77. .u-border-left {
  78. border-left-width: 0.5px !important;
  79. border-color: #dadbde !important;
  80. border-left-style: solid;
  81. }
  82. .u-border-right {
  83. border-right-width: 0.5px !important;
  84. border-color: #dadbde !important;
  85. border-right-style: solid;
  86. }
  87. .u-border-bottom {
  88. border-bottom-width: 0.5px !important;
  89. border-color: #dadbde !important;
  90. border-bottom-style: solid;
  91. }
  92. .u-border-top-bottom {
  93. border-top-width: 0.5px !important;
  94. border-bottom-width: 0.5px !important;
  95. border-color: #dadbde !important;
  96. border-top-style: solid;
  97. border-bottom-style: solid;
  98. }
  99. .u-reset-button {
  100. padding: 0;
  101. background-color: transparent;
  102. font-size: inherit;
  103. line-height: inherit;
  104. color: inherit;
  105. }
  106. .u-reset-button::after {
  107. border: none;
  108. }
  109. .u-hover-class {
  110. opacity: 0.7;
  111. }
  112. .u-primary-light {
  113. color: #ecf5ff;
  114. }
  115. .u-warning-light {
  116. color: #fdf6ec;
  117. }
  118. .u-success-light {
  119. color: #f5fff0;
  120. }
  121. .u-error-light {
  122. color: #fef0f0;
  123. }
  124. .u-info-light {
  125. color: #f4f4f5;
  126. }
  127. .u-primary-light-bg {
  128. background-color: #ecf5ff;
  129. }
  130. .u-warning-light-bg {
  131. background-color: #fdf6ec;
  132. }
  133. .u-success-light-bg {
  134. background-color: #f5fff0;
  135. }
  136. .u-error-light-bg {
  137. background-color: #fef0f0;
  138. }
  139. .u-info-light-bg {
  140. background-color: #f4f4f5;
  141. }
  142. .u-primary-dark {
  143. color: #398ade;
  144. }
  145. .u-warning-dark {
  146. color: #f1a532;
  147. }
  148. .u-success-dark {
  149. color: #53c21d;
  150. }
  151. .u-error-dark {
  152. color: #e45656;
  153. }
  154. .u-info-dark {
  155. color: #767a82;
  156. }
  157. .u-primary-dark-bg {
  158. background-color: #398ade;
  159. }
  160. .u-warning-dark-bg {
  161. background-color: #f1a532;
  162. }
  163. .u-success-dark-bg {
  164. background-color: #53c21d;
  165. }
  166. .u-error-dark-bg {
  167. background-color: #e45656;
  168. }
  169. .u-info-dark-bg {
  170. background-color: #767a82;
  171. }
  172. .u-primary-disabled {
  173. color: #9acafc;
  174. }
  175. .u-warning-disabled {
  176. color: #f9d39b;
  177. }
  178. .u-success-disabled {
  179. color: #a9e08f;
  180. }
  181. .u-error-disabled {
  182. color: #f7b2b2;
  183. }
  184. .u-info-disabled {
  185. color: #c4c6c9;
  186. }
  187. .u-primary {
  188. color: #3c9cff;
  189. }
  190. .u-warning {
  191. color: #f9ae3d;
  192. }
  193. .u-success {
  194. color: #5ac725;
  195. }
  196. .u-error {
  197. color: #f56c6c;
  198. }
  199. .u-info {
  200. color: #909399;
  201. }
  202. .u-primary-bg {
  203. background-color: #3c9cff;
  204. }
  205. .u-warning-bg {
  206. background-color: #f9ae3d;
  207. }
  208. .u-success-bg {
  209. background-color: #5ac725;
  210. }
  211. .u-error-bg {
  212. background-color: #f56c6c;
  213. }
  214. .u-info-bg {
  215. background-color: #909399;
  216. }
  217. .u-main-color {
  218. color: #303133;
  219. }
  220. .u-content-color {
  221. color: #606266;
  222. }
  223. .u-tips-color {
  224. color: #909193;
  225. }
  226. .u-light-color {
  227. color: #c0c4cc;
  228. }
  229. .u-safe-area-inset-top {
  230. padding-top: 0;
  231. padding-top: constant(safe-area-inset-top);
  232. padding-top: env(safe-area-inset-top);
  233. }
  234. .u-safe-area-inset-right {
  235. padding-right: 0;
  236. padding-right: constant(safe-area-inset-right);
  237. padding-right: env(safe-area-inset-right);
  238. }
  239. .u-safe-area-inset-bottom {
  240. padding-bottom: 0;
  241. padding-bottom: constant(safe-area-inset-bottom);
  242. padding-bottom: env(safe-area-inset-bottom);
  243. }
  244. .u-safe-area-inset-left {
  245. padding-left: 0;
  246. padding-left: constant(safe-area-inset-left);
  247. padding-left: env(safe-area-inset-left);
  248. }
  249. ::-webkit-scrollbar {
  250. display: none;
  251. width: 0 !important;
  252. height: 0 !important;
  253. -webkit-appearance: none;
  254. background: transparent;
  255. }
  256. @font-face {
  257. font-family: "iconfont";
  258. /* Project id 3968184 */
  259. src: url("//at.alicdn.com/t/c/font_3968184_hcrtd58fqgm.woff2?t=1679539173719") format("woff2"), url("//at.alicdn.com/t/c/font_3968184_hcrtd58fqgm.woff?t=1679539173719") format("woff"), url("//at.alicdn.com/t/c/font_3968184_hcrtd58fqgm.ttf?t=1679539173719") format("truetype");
  260. }
  261. .iconfont {
  262. font-family: "iconfont" !important;
  263. font-size: 16px;
  264. font-style: normal;
  265. -webkit-font-smoothing: antialiased;
  266. -moz-osx-font-smoothing: grayscale;
  267. }
  268. .icon-shijian:before {
  269. content: "\1010f";
  270. }
  271. .icon-right:before {
  272. content: "\e662";
  273. }
  274. .icon-baocun:before {
  275. content: "\e648";
  276. }
  277. .icon-dangewenjian:before {
  278. content: "\e649";
  279. }
  280. .icon-qianbao1:before {
  281. content: "\e64e";
  282. }
  283. .icon-a-shezhi2:before {
  284. content: "\e64f";
  285. }
  286. .icon-wenti-yuan:before {
  287. content: "\e653";
  288. }
  289. .icon-xiangji:before {
  290. content: "\e654";
  291. }
  292. .icon-saoyisao:before {
  293. content: "\ee17";
  294. }
  295. .icon-weixiu:before {
  296. content: "\e635";
  297. }
  298. .icon-camera:before {
  299. content: "\e605";
  300. }
  301. .icon-paragraph-left-2:before {
  302. content: "\e60e";
  303. }
  304. .icon-search-2:before {
  305. content: "\e610";
  306. }
  307. .icon-wallet:before {
  308. content: "\e611";
  309. }
  310. .icon-user:before {
  311. content: "\e612";
  312. }
  313. .icon-shouye:before {
  314. content: "\e602";
  315. }
  316. .icon-bangzhu:before {
  317. content: "\e613";
  318. }
  319. .icon-wode:before {
  320. content: "\e61f";
  321. }
  322. .icon-sousuo:before {
  323. content: "\e626";
  324. }
  325. .icon-baogaoguanli:before {
  326. content: "\e632";
  327. }
  328. .icon-tongzhi:before {
  329. content: "\e647";
  330. }
  331. .icon-ditu:before {
  332. content: "\e650";
  333. }
  334. .icon-xianshi:before {
  335. content: "\e660";
  336. }
  337. .icon-yincang:before {
  338. content: "\e661";
  339. }
  340. .icon-qianbao:before {
  341. content: "\e667";
  342. }
  343. /*每个页面公共css */
  344. .status_bar {
  345. height: 25px;
  346. width: 100%;
  347. }