You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

156 lines
3.4 KiB

6 months ago
  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. /*文字颜色*/
  23. /* 图片尺寸 */
  24. /* Border Radius */
  25. /* 水平间距 */
  26. /* 垂直间距 */
  27. /* 透明度 */
  28. /* 文章场景相关 */
  29. @font-face {
  30. font-family: 'iconfont';
  31. src: url('https://at.alicdn.com/t/c/font_4299987_viu481j01hf.woff2?t=1698135634093') format('woff2'),
  32. url('https://at.alicdn.com/t/c/font_4299987_viu481j01hf.woff?t=1698135634093') format('woff'),
  33. url('https://at.alicdn.com/t/c/font_4299987_viu481j01hf.ttf?t=1698135634093') 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-huodaofukuan:before {
  43. content: "\e63c";
  44. color:#fa436a;
  45. }
  46. .icon-xianjinzhifu:before {
  47. content: "\ebdb";
  48. color:#fa436a;
  49. }
  50. .icon-huiyuanjifen:before {
  51. content: "\e6b0";
  52. }
  53. page,
  54. view,
  55. scroll-view,
  56. swiper,
  57. button,
  58. input,
  59. textarea,
  60. label,
  61. navigator,
  62. image {
  63. box-sizing: border-box !important;
  64. }
  65. image {
  66. vertical-align: top;
  67. }
  68. /*每个页面公共css */
  69. @font-face {
  70. font-family: yticon;
  71. font-weight: normal;
  72. font-style: normal;
  73. src: url("https://at.alicdn.com/t/font_1078604_w4kpxh0rafi.ttf") format("truetype");
  74. }
  75. /* 图片载入替代方案 */
  76. .image-wrapper {
  77. font-size: 0;
  78. background: #f3f3f3;
  79. border-radius: 4px;
  80. }
  81. .image-wrapper image {
  82. width: 100%;
  83. height: 100%;
  84. transition: .6s;
  85. opacity: 0;
  86. }
  87. .image-wrapper image.loaded {
  88. opacity: 1;
  89. }
  90. .yticon {
  91. font-family: "yticon" !important;
  92. font-size: 16px;
  93. font-style: normal;
  94. -webkit-font-smoothing: antialiased;
  95. -moz-osx-font-smoothing: grayscale;
  96. }
  97. /* 购物车图标 */
  98. .icon-gouwuche_:before {
  99. content: "\e630";
  100. }
  101. .icon-gouwuche:before {
  102. content: "\e609";
  103. }
  104. /*收藏图标 */
  105. .icon-shoucang:before {
  106. content: "\e645";
  107. }
  108. /* 价格上下图标 */
  109. .icon-shang:before {
  110. content: "\e624";
  111. }
  112. .icon-fenlei1:before {
  113. content: "\e620";
  114. }
  115. /* 支付图标 */
  116. .icon-weixinzhifu:before {
  117. content: "\e61a";
  118. }
  119. .icon-erjiye-yucunkuan:before {
  120. content: "\e623";
  121. }
  122. .icon-xuanzhong2:before {
  123. content: "\e62f";
  124. }
  125. /* 订单图标 */
  126. .icon-shouye:before {
  127. content: "\e626";
  128. }
  129. .icon-daifukuan:before {
  130. content: "\e68f";
  131. }
  132. .icon-yishouhuo:before {
  133. content: "\e71a";
  134. }
  135. .icon-shouhoutuikuan:before {
  136. content: "\e631";
  137. }
  138. /* 浏览历史记录 */
  139. .icon-lishijilu:before {
  140. content: "\e6b9";
  141. }
  142. /* 收货地址 */
  143. .icon-dizhi:before {
  144. content: "\e614";
  145. }
  146. .icon-shoucang_xuanzhongzhuangtai:before {
  147. content: "\e6a9";
  148. }
  149. .icon-shezhi1:before {
  150. content: "\e61d";
  151. }
  152. /* 联系客服 */
  153. .icon-pinglun-copy:before {
  154. content: "\e612";
  155. }