康巴易测肤/伤疤uniapp小程序类
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

main.wxss 5.4KB

hace 1 mes
hace 3 semanas
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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. .safe-area-bottom {
  28. padding-bottom: env(safe-area-inset-bottom);
  29. }
  30. text {
  31. font-family: Source Han Sans CN;
  32. }
  33. /* 引入uView基础样式,注意要写在第一行,同时给style标签加入lang="scss"属性 */
  34. .u-line-1 {
  35. display: -webkit-box !important;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. word-break: break-all;
  39. -webkit-line-clamp: 1;
  40. -webkit-box-orient: vertical !important;
  41. }
  42. .u-line-2 {
  43. display: -webkit-box !important;
  44. overflow: hidden;
  45. text-overflow: ellipsis;
  46. word-break: break-all;
  47. -webkit-line-clamp: 2;
  48. -webkit-box-orient: vertical !important;
  49. }
  50. .u-line-3 {
  51. display: -webkit-box !important;
  52. overflow: hidden;
  53. text-overflow: ellipsis;
  54. word-break: break-all;
  55. -webkit-line-clamp: 3;
  56. -webkit-box-orient: vertical !important;
  57. }
  58. .u-line-4 {
  59. display: -webkit-box !important;
  60. overflow: hidden;
  61. text-overflow: ellipsis;
  62. word-break: break-all;
  63. -webkit-line-clamp: 4;
  64. -webkit-box-orient: vertical !important;
  65. }
  66. .u-line-5 {
  67. display: -webkit-box !important;
  68. overflow: hidden;
  69. text-overflow: ellipsis;
  70. word-break: break-all;
  71. -webkit-line-clamp: 5;
  72. -webkit-box-orient: vertical !important;
  73. }
  74. .u-border {
  75. border-width: 0.5px !important;
  76. border-color: #dadbde !important;
  77. border-style: solid;
  78. }
  79. .u-border-top {
  80. border-top-width: 0.5px !important;
  81. border-color: #dadbde !important;
  82. border-top-style: solid;
  83. }
  84. .u-border-left {
  85. border-left-width: 0.5px !important;
  86. border-color: #dadbde !important;
  87. border-left-style: solid;
  88. }
  89. .u-border-right {
  90. border-right-width: 0.5px !important;
  91. border-color: #dadbde !important;
  92. border-right-style: solid;
  93. }
  94. .u-border-bottom {
  95. border-bottom-width: 0.5px !important;
  96. border-color: #dadbde !important;
  97. border-bottom-style: solid;
  98. }
  99. .u-border-top-bottom {
  100. border-top-width: 0.5px !important;
  101. border-bottom-width: 0.5px !important;
  102. border-color: #dadbde !important;
  103. border-top-style: solid;
  104. border-bottom-style: solid;
  105. }
  106. .u-reset-button {
  107. padding: 0;
  108. background-color: transparent;
  109. font-size: inherit;
  110. line-height: inherit;
  111. color: inherit;
  112. }
  113. .u-reset-button::after {
  114. border: none;
  115. }
  116. .u-hover-class {
  117. opacity: 0.7;
  118. }
  119. .u-primary-light {
  120. color: #ecf5ff;
  121. }
  122. .u-warning-light {
  123. color: #fdf6ec;
  124. }
  125. .u-success-light {
  126. color: #f5fff0;
  127. }
  128. .u-error-light {
  129. color: #fef0f0;
  130. }
  131. .u-info-light {
  132. color: #f4f4f5;
  133. }
  134. .u-primary-light-bg {
  135. background-color: #ecf5ff;
  136. }
  137. .u-warning-light-bg {
  138. background-color: #fdf6ec;
  139. }
  140. .u-success-light-bg {
  141. background-color: #f5fff0;
  142. }
  143. .u-error-light-bg {
  144. background-color: #fef0f0;
  145. }
  146. .u-info-light-bg {
  147. background-color: #f4f4f5;
  148. }
  149. .u-primary-dark {
  150. color: #398ade;
  151. }
  152. .u-warning-dark {
  153. color: #f1a532;
  154. }
  155. .u-success-dark {
  156. color: #53c21d;
  157. }
  158. .u-error-dark {
  159. color: #e45656;
  160. }
  161. .u-info-dark {
  162. color: #767a82;
  163. }
  164. .u-primary-dark-bg {
  165. background-color: #398ade;
  166. }
  167. .u-warning-dark-bg {
  168. background-color: #f1a532;
  169. }
  170. .u-success-dark-bg {
  171. background-color: #53c21d;
  172. }
  173. .u-error-dark-bg {
  174. background-color: #e45656;
  175. }
  176. .u-info-dark-bg {
  177. background-color: #767a82;
  178. }
  179. .u-primary-disabled {
  180. color: #9acafc;
  181. }
  182. .u-warning-disabled {
  183. color: #f9d39b;
  184. }
  185. .u-success-disabled {
  186. color: #a9e08f;
  187. }
  188. .u-error-disabled {
  189. color: #f7b2b2;
  190. }
  191. .u-info-disabled {
  192. color: #c4c6c9;
  193. }
  194. .u-primary {
  195. color: #3c9cff;
  196. }
  197. .u-warning {
  198. color: #f9ae3d;
  199. }
  200. .u-success {
  201. color: #5ac725;
  202. }
  203. .u-error {
  204. color: #f56c6c;
  205. }
  206. .u-info {
  207. color: #909399;
  208. }
  209. .u-primary-bg {
  210. background-color: #3c9cff;
  211. }
  212. .u-warning-bg {
  213. background-color: #f9ae3d;
  214. }
  215. .u-success-bg {
  216. background-color: #5ac725;
  217. }
  218. .u-error-bg {
  219. background-color: #f56c6c;
  220. }
  221. .u-info-bg {
  222. background-color: #909399;
  223. }
  224. .u-main-color {
  225. color: #303133;
  226. }
  227. .u-content-color {
  228. color: #606266;
  229. }
  230. .u-tips-color {
  231. color: #909193;
  232. }
  233. .u-light-color {
  234. color: #c0c4cc;
  235. }
  236. .u-safe-area-inset-top {
  237. padding-top: 0;
  238. padding-top: constant(safe-area-inset-top);
  239. padding-top: env(safe-area-inset-top);
  240. }
  241. .u-safe-area-inset-right {
  242. padding-right: 0;
  243. padding-right: constant(safe-area-inset-right);
  244. padding-right: env(safe-area-inset-right);
  245. }
  246. .u-safe-area-inset-bottom {
  247. padding-bottom: 0;
  248. padding-bottom: constant(safe-area-inset-bottom);
  249. padding-bottom: env(safe-area-inset-bottom);
  250. }
  251. .u-safe-area-inset-left {
  252. padding-left: 0;
  253. padding-left: constant(safe-area-inset-left);
  254. padding-left: env(safe-area-inset-left);
  255. }
  256. ::-webkit-scrollbar {
  257. display: none;
  258. width: 0 !important;
  259. height: 0 !important;
  260. -webkit-appearance: none;
  261. background: transparent;
  262. }