s-goods-column.wxss 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .tag-icon-box.data-v-1c3d9e07 {
  27. position: absolute;
  28. left: 0;
  29. top: 0;
  30. z-index: 2;
  31. }
  32. .tag-icon-box .tag-icon.data-v-1c3d9e07 {
  33. width: 72rpx;
  34. height: 44rpx;
  35. }
  36. .seckill-tag.data-v-1c3d9e07 {
  37. position: absolute;
  38. left: 0;
  39. top: 0;
  40. z-index: 2;
  41. width: 68rpx;
  42. height: 38rpx;
  43. background: linear-gradient(90deg, #ff5854 0%, #ff2621 100%);
  44. border-radius: 10rpx 0px 10rpx 0px;
  45. font-size: 24rpx;
  46. font-weight: 500;
  47. color: #ffffff;
  48. line-height: 32rpx;
  49. }
  50. .groupon-tag.data-v-1c3d9e07 {
  51. position: absolute;
  52. left: 0;
  53. top: 0;
  54. z-index: 2;
  55. width: 68rpx;
  56. height: 38rpx;
  57. background: linear-gradient(90deg, #fe832a 0%, #ff6600 100%);
  58. border-radius: 10rpx 0px 10rpx 0px;
  59. font-size: 24rpx;
  60. font-weight: 500;
  61. color: #ffffff;
  62. line-height: 32rpx;
  63. }
  64. .goods-img.data-v-1c3d9e07 {
  65. width: 100%;
  66. height: 100%;
  67. background-color: #f5f5f5;
  68. }
  69. .price-unit.data-v-1c3d9e07 {
  70. margin-right: -4px;
  71. }
  72. .sales-text.data-v-1c3d9e07 {
  73. display: table;
  74. font-size: 24rpx;
  75. transform: scale(0.8);
  76. margin-left: 0rpx;
  77. color: #c4c4c4;
  78. }
  79. .activity-tag.data-v-1c3d9e07 {
  80. font-size: 20rpx;
  81. color: #ff0000;
  82. line-height: 30rpx;
  83. padding: 0 10rpx;
  84. border: 1px solid rgba(255, 0, 0, 0.25);
  85. border-radius: 4px;
  86. flex-shrink: 0;
  87. }
  88. .goods-origin-price.data-v-1c3d9e07 {
  89. font-size: 20rpx;
  90. color: #c4c4c4;
  91. line-height: 36rpx;
  92. text-decoration: line-through;
  93. }
  94. .xs-goods-card.data-v-1c3d9e07 {
  95. overflow: hidden;
  96. background-color: #ffffff;
  97. position: relative;
  98. }
  99. .xs-goods-card .xs-img-box.data-v-1c3d9e07 {
  100. width: 128rpx;
  101. height: 128rpx;
  102. margin-right: 20rpx;
  103. }
  104. .xs-goods-card .xs-goods-title.data-v-1c3d9e07 {
  105. font-size: 26rpx;
  106. color: #333;
  107. font-weight: 500;
  108. }
  109. .xs-goods-card .xs-goods-price.data-v-1c3d9e07 {
  110. font-size: 30rpx;
  111. color: #ff3000;
  112. }
  113. .sm-goods-card.data-v-1c3d9e07 {
  114. overflow: hidden;
  115. background-color: #ffffff;
  116. position: relative;
  117. }
  118. .sm-goods-card .sm-img-box.data-v-1c3d9e07 {
  119. width: 100%;
  120. height: 208rpx;
  121. }
  122. .sm-goods-card .sm-goods-content.data-v-1c3d9e07 {
  123. padding: 20rpx 16rpx;
  124. box-sizing: border-box;
  125. }
  126. .sm-goods-card .sm-goods-title.data-v-1c3d9e07 {
  127. font-size: 26rpx;
  128. color: #333;
  129. }
  130. .sm-goods-card .sm-goods-price.data-v-1c3d9e07 {
  131. font-size: 30rpx;
  132. color: #ff3000;
  133. }
  134. .md-goods-card.data-v-1c3d9e07 {
  135. overflow: hidden;
  136. width: 100%;
  137. position: relative;
  138. z-index: 1;
  139. background-color: #ffffff;
  140. position: relative;
  141. }
  142. .md-goods-card .md-img-box.data-v-1c3d9e07 {
  143. width: 100%;
  144. }
  145. .md-goods-card .md-goods-title.data-v-1c3d9e07 {
  146. font-size: 26rpx;
  147. color: #333;
  148. width: 100%;
  149. }
  150. .md-goods-card .md-goods-subtitle.data-v-1c3d9e07 {
  151. font-size: 24rpx;
  152. font-weight: 400;
  153. color: #999999;
  154. }
  155. .md-goods-card .md-goods-price.data-v-1c3d9e07 {
  156. font-size: 30rpx;
  157. color: #ff3000;
  158. line-height: 36rpx;
  159. }
  160. .md-goods-card .cart-box.data-v-1c3d9e07 {
  161. width: 54rpx;
  162. height: 54rpx;
  163. background: linear-gradient(90deg, #fe8900, #ff5e00);
  164. border-radius: 50%;
  165. position: absolute;
  166. bottom: 50rpx;
  167. right: 20rpx;
  168. z-index: 2;
  169. }
  170. .md-goods-card .cart-box .cart-icon.data-v-1c3d9e07 {
  171. width: 30rpx;
  172. height: 30rpx;
  173. }
  174. .lg-goods-card.data-v-1c3d9e07 {
  175. overflow: hidden;
  176. position: relative;
  177. z-index: 1;
  178. background-color: #ffffff;
  179. height: 280rpx;
  180. }
  181. .lg-goods-card .lg-img-box.data-v-1c3d9e07 {
  182. width: 280rpx;
  183. height: 280rpx;
  184. margin-right: 20rpx;
  185. }
  186. .lg-goods-card .lg-goods-title.data-v-1c3d9e07 {
  187. font-size: 28rpx;
  188. font-weight: 500;
  189. color: #333333;
  190. }
  191. .lg-goods-card .lg-goods-subtitle.data-v-1c3d9e07 {
  192. font-size: 24rpx;
  193. font-weight: 400;
  194. color: #999999;
  195. }
  196. .lg-goods-card .lg-goods-price.data-v-1c3d9e07 {
  197. font-size: 30rpx;
  198. color: #ff3000;
  199. line-height: 36rpx;
  200. }
  201. .lg-goods-card .buy-box.data-v-1c3d9e07 {
  202. position: absolute;
  203. bottom: 20rpx;
  204. right: 20rpx;
  205. z-index: 2;
  206. width: 120rpx;
  207. height: 50rpx;
  208. background: linear-gradient(90deg, #fe8900, #ff5e00);
  209. border-radius: 25rpx;
  210. font-size: 24rpx;
  211. color: #ffffff;
  212. }
  213. .lg-goods-card .tag-box.data-v-1c3d9e07 {
  214. width: 100%;
  215. }
  216. .sl-goods-card.data-v-1c3d9e07 {
  217. overflow: hidden;
  218. position: relative;
  219. z-index: 1;
  220. width: 100%;
  221. background-color: #ffffff;
  222. }
  223. .sl-goods-card .sl-goods-content.data-v-1c3d9e07 {
  224. padding: 20rpx 20rpx;
  225. box-sizing: border-box;
  226. }
  227. .sl-goods-card .sl-img-box.data-v-1c3d9e07 {
  228. width: 100%;
  229. height: 360rpx;
  230. }
  231. .sl-goods-card .sl-goods-title.data-v-1c3d9e07 {
  232. font-size: 26rpx;
  233. color: #333;
  234. font-weight: 500;
  235. }
  236. .sl-goods-card .sl-goods-subtitle.data-v-1c3d9e07 {
  237. font-size: 24rpx;
  238. font-weight: 400;
  239. color: #999999;
  240. line-height: 30rpx;
  241. }
  242. .sl-goods-card .sl-goods-price.data-v-1c3d9e07 {
  243. font-size: 30rpx;
  244. color: #ff3000;
  245. line-height: 36rpx;
  246. }
  247. .sl-goods-card .buy-box.data-v-1c3d9e07 {
  248. position: absolute;
  249. bottom: 20rpx;
  250. right: 20rpx;
  251. z-index: 2;
  252. width: 148rpx;
  253. height: 50rpx;
  254. background: linear-gradient(90deg, #fe8900, #ff5e00);
  255. border-radius: 25rpx;
  256. font-size: 24rpx;
  257. color: #ffffff;
  258. }