main.wxss 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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. /* 引入uView样式 */
  15. /* 颜色变量 */
  16. /* 行为相关颜色 */
  17. /* 文字基本颜色 */
  18. /* 背景颜色 */
  19. /* 边框颜色 */
  20. /* 尺寸变量 */
  21. /* 文字尺寸 */
  22. /* 图片尺寸 */
  23. /* Border Radius */
  24. /* 水平间距 */
  25. /* 垂直间距 */
  26. /* 透明度 */
  27. /* 文章场景相关 */
  28. /*每个页面公共css */
  29. @font-face {
  30. font-family: 'iconfont'; /* Project id 3909464 */
  31. src: url('https://at.alicdn.com/t/c/font_3909464_ix6c8n4m2.woff2?t=1677131492256') format('woff2'),
  32. url('https://at.alicdn.com/t/c/font_3909464_ix6c8n4m2.woff?t=1677131492256') format('woff'),
  33. url('https://at.alicdn.com/t/c/font_3909464_ix6c8n4m2.ttf?t=1677131492256') format('truetype');
  34. }
  35. .iconfont {
  36. font-family: "iconfont" !important;
  37. font-size: 16px;
  38. font-style: normal;
  39. -webkit-font-smoothing: antialiased;
  40. -moz-osx-font-smoothing: grayscale;
  41. }
  42. .icon-sousuo:before {
  43. content: "\e86e";
  44. }
  45. .icon-qrcode-1-copy:before {
  46. content: "\e613";
  47. }
  48. .icon-saoyisao:before {
  49. content: "\e685";
  50. }
  51. .u-line-1 {
  52. display: -webkit-box !important;
  53. overflow: hidden;
  54. text-overflow: ellipsis;
  55. word-break: break-all;
  56. -webkit-line-clamp: 1;
  57. -webkit-box-orient: vertical !important;
  58. }
  59. .u-line-2 {
  60. display: -webkit-box !important;
  61. overflow: hidden;
  62. text-overflow: ellipsis;
  63. word-break: break-all;
  64. -webkit-line-clamp: 2;
  65. -webkit-box-orient: vertical !important;
  66. }
  67. .u-line-3 {
  68. display: -webkit-box !important;
  69. overflow: hidden;
  70. text-overflow: ellipsis;
  71. word-break: break-all;
  72. -webkit-line-clamp: 3;
  73. -webkit-box-orient: vertical !important;
  74. }
  75. .u-line-4 {
  76. display: -webkit-box !important;
  77. overflow: hidden;
  78. text-overflow: ellipsis;
  79. word-break: break-all;
  80. -webkit-line-clamp: 4;
  81. -webkit-box-orient: vertical !important;
  82. }
  83. .u-line-5 {
  84. display: -webkit-box !important;
  85. overflow: hidden;
  86. text-overflow: ellipsis;
  87. word-break: break-all;
  88. -webkit-line-clamp: 5;
  89. -webkit-box-orient: vertical !important;
  90. }
  91. .u-border {
  92. border-width: 0.5px !important;
  93. border-color: #dadbde !important;
  94. border-style: solid;
  95. }
  96. .u-border-top {
  97. border-top-width: 0.5px !important;
  98. border-color: #dadbde !important;
  99. border-top-style: solid;
  100. }
  101. .u-border-left {
  102. border-left-width: 0.5px !important;
  103. border-color: #dadbde !important;
  104. border-left-style: solid;
  105. }
  106. .u-border-right {
  107. border-right-width: 0.5px !important;
  108. border-color: #dadbde !important;
  109. border-right-style: solid;
  110. }
  111. .u-border-bottom {
  112. border-bottom-width: 0.5px !important;
  113. border-color: #dadbde !important;
  114. border-bottom-style: solid;
  115. }
  116. .u-border-top-bottom {
  117. border-top-width: 0.5px !important;
  118. border-bottom-width: 0.5px !important;
  119. border-color: #dadbde !important;
  120. border-top-style: solid;
  121. border-bottom-style: solid;
  122. }
  123. .u-reset-button {
  124. padding: 0;
  125. background-color: transparent;
  126. font-size: inherit;
  127. line-height: inherit;
  128. color: inherit;
  129. }
  130. .u-reset-button::after {
  131. border: none;
  132. }
  133. .u-hover-class {
  134. opacity: 0.7;
  135. }
  136. .u-primary-light {
  137. color: #ecf5ff;
  138. }
  139. .u-warning-light {
  140. color: #fdf6ec;
  141. }
  142. .u-success-light {
  143. color: #f5fff0;
  144. }
  145. .u-error-light {
  146. color: #fef0f0;
  147. }
  148. .u-info-light {
  149. color: #f4f4f5;
  150. }
  151. .u-primary-light-bg {
  152. background-color: #ecf5ff;
  153. }
  154. .u-warning-light-bg {
  155. background-color: #fdf6ec;
  156. }
  157. .u-success-light-bg {
  158. background-color: #f5fff0;
  159. }
  160. .u-error-light-bg {
  161. background-color: #fef0f0;
  162. }
  163. .u-info-light-bg {
  164. background-color: #f4f4f5;
  165. }
  166. .u-primary-dark {
  167. color: #398ade;
  168. }
  169. .u-warning-dark {
  170. color: #f1a532;
  171. }
  172. .u-success-dark {
  173. color: #53c21d;
  174. }
  175. .u-error-dark {
  176. color: #e45656;
  177. }
  178. .u-info-dark {
  179. color: #767a82;
  180. }
  181. .u-primary-dark-bg {
  182. background-color: #398ade;
  183. }
  184. .u-warning-dark-bg {
  185. background-color: #f1a532;
  186. }
  187. .u-success-dark-bg {
  188. background-color: #53c21d;
  189. }
  190. .u-error-dark-bg {
  191. background-color: #e45656;
  192. }
  193. .u-info-dark-bg {
  194. background-color: #767a82;
  195. }
  196. .u-primary-disabled {
  197. color: #9acafc;
  198. }
  199. .u-warning-disabled {
  200. color: #f9d39b;
  201. }
  202. .u-success-disabled {
  203. color: #a9e08f;
  204. }
  205. .u-error-disabled {
  206. color: #f7b2b2;
  207. }
  208. .u-info-disabled {
  209. color: #c4c6c9;
  210. }
  211. .u-primary {
  212. color: #3c9cff;
  213. }
  214. .u-warning {
  215. color: #f9ae3d;
  216. }
  217. .u-success {
  218. color: #5ac725;
  219. }
  220. .u-error {
  221. color: #f56c6c;
  222. }
  223. .u-info {
  224. color: #909399;
  225. }
  226. .u-primary-bg {
  227. background-color: #3c9cff;
  228. }
  229. .u-warning-bg {
  230. background-color: #f9ae3d;
  231. }
  232. .u-success-bg {
  233. background-color: #5ac725;
  234. }
  235. .u-error-bg {
  236. background-color: #f56c6c;
  237. }
  238. .u-info-bg {
  239. background-color: #909399;
  240. }
  241. .u-main-color {
  242. color: #303133;
  243. }
  244. .u-content-color {
  245. color: #606266;
  246. }
  247. .u-tips-color {
  248. color: #909193;
  249. }
  250. .u-light-color {
  251. color: #c0c4cc;
  252. }
  253. .u-safe-area-inset-top {
  254. padding-top: 0;
  255. padding-top: constant(safe-area-inset-top);
  256. padding-top: env(safe-area-inset-top);
  257. }
  258. .u-safe-area-inset-right {
  259. padding-right: 0;
  260. padding-right: constant(safe-area-inset-right);
  261. padding-right: env(safe-area-inset-right);
  262. }
  263. .u-safe-area-inset-bottom {
  264. padding-bottom: 0;
  265. padding-bottom: constant(safe-area-inset-bottom);
  266. padding-bottom: env(safe-area-inset-bottom);
  267. }
  268. .u-safe-area-inset-left {
  269. padding-left: 0;
  270. padding-left: constant(safe-area-inset-left);
  271. padding-left: env(safe-area-inset-left);
  272. }
  273. ::-webkit-scrollbar {
  274. display: none;
  275. width: 0 !important;
  276. height: 0 !important;
  277. -webkit-appearance: none;
  278. background: transparent;
  279. }