s-goods-column.wxss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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. .origin-price-text.data-v-1c3d9e07 {
  27. font-size: 22rpx;
  28. font-weight: 400;
  29. color: #cccccc;
  30. font-family: OPPOSANS;
  31. background: #ffca3e;
  32. padding: 2px 8px;
  33. border-radius: 4px;
  34. display: inline-block;
  35. color: #597533;
  36. }
  37. .tag-icon-box.data-v-1c3d9e07 {
  38. position: absolute;
  39. left: 0;
  40. top: 0;
  41. z-index: 2;
  42. }
  43. .tag-icon-box .tag-icon.data-v-1c3d9e07 {
  44. width: 72rpx;
  45. height: 44rpx;
  46. }
  47. .seckill-tag.data-v-1c3d9e07 {
  48. position: absolute;
  49. left: 0;
  50. top: 0;
  51. z-index: 2;
  52. width: 68rpx;
  53. height: 38rpx;
  54. background: linear-gradient(90deg, #ff5854 0%, #ff2621 100%);
  55. border-radius: 10rpx 0px 10rpx 0px;
  56. font-size: 24rpx;
  57. font-weight: 500;
  58. color: #ffffff;
  59. line-height: 32rpx;
  60. }
  61. .groupon-tag.data-v-1c3d9e07 {
  62. position: absolute;
  63. left: 0;
  64. top: 0;
  65. z-index: 2;
  66. width: 68rpx;
  67. height: 38rpx;
  68. background: linear-gradient(90deg, #fe832a 0%, #ff6600 100%);
  69. border-radius: 10rpx 0px 10rpx 0px;
  70. font-size: 24rpx;
  71. font-weight: 500;
  72. color: #ffffff;
  73. line-height: 32rpx;
  74. }
  75. .goods-img.data-v-1c3d9e07 {
  76. width: 100%;
  77. height: 100%;
  78. background-color: #f5f5f5;
  79. }
  80. .price-unit.data-v-1c3d9e07 {
  81. margin-right: -4px;
  82. }
  83. .sales-text.data-v-1c3d9e07 {
  84. display: table;
  85. font-size: 24rpx;
  86. transform: scale(0.8);
  87. margin-left: 0rpx;
  88. color: #c4c4c4;
  89. }
  90. .activity-tag.data-v-1c3d9e07 {
  91. font-size: 20rpx;
  92. color: #ff0000;
  93. line-height: 30rpx;
  94. padding: 0 10rpx;
  95. border: 1px solid rgba(255, 0, 0, 0.25);
  96. border-radius: 4px;
  97. flex-shrink: 0;
  98. }
  99. .goods-origin-price.data-v-1c3d9e07 {
  100. font-size: 20rpx;
  101. color: #c4c4c4;
  102. line-height: 36rpx;
  103. text-decoration: line-through;
  104. }
  105. .xs-goods-card.data-v-1c3d9e07 {
  106. overflow: hidden;
  107. background-color: #ffffff;
  108. position: relative;
  109. }
  110. .xs-goods-card .xs-img-box.data-v-1c3d9e07 {
  111. width: 128rpx;
  112. height: 128rpx;
  113. margin-right: 20rpx;
  114. }
  115. .xs-goods-card .xs-goods-title.data-v-1c3d9e07 {
  116. font-size: 26rpx;
  117. color: #333;
  118. font-weight: 500;
  119. }
  120. .xs-goods-card .xs-goods-price.data-v-1c3d9e07 {
  121. font-size: 30rpx;
  122. color: #ff3000;
  123. }
  124. .sm-goods-card.data-v-1c3d9e07 {
  125. overflow: hidden;
  126. background-color: #ffffff;
  127. position: relative;
  128. }
  129. .sm-goods-card .sm-img-box.data-v-1c3d9e07 {
  130. width: 100%;
  131. height: 208rpx;
  132. }
  133. .sm-goods-card .sm-goods-content.data-v-1c3d9e07 {
  134. padding: 20rpx 16rpx;
  135. box-sizing: border-box;
  136. }
  137. .sm-goods-card .sm-goods-title.data-v-1c3d9e07 {
  138. font-size: 26rpx;
  139. color: #333;
  140. }
  141. .sm-goods-card .sm-goods-price.data-v-1c3d9e07 {
  142. font-size: 30rpx;
  143. color: #ff3000;
  144. }
  145. .md-goods-card.data-v-1c3d9e07 {
  146. overflow: hidden;
  147. width: 100%;
  148. position: relative;
  149. z-index: 1;
  150. background-color: #ffffff;
  151. position: relative;
  152. }
  153. .md-goods-card .md-img-box.data-v-1c3d9e07 {
  154. width: 100%;
  155. }
  156. .md-goods-card .md-goods-title.data-v-1c3d9e07 {
  157. font-size: 26rpx;
  158. color: #333;
  159. width: 100%;
  160. }
  161. .md-goods-card .md-goods-subtitle.data-v-1c3d9e07 {
  162. font-size: 24rpx;
  163. font-weight: 400;
  164. color: #999999;
  165. }
  166. .md-goods-card .md-goods-price.data-v-1c3d9e07 {
  167. font-size: 30rpx;
  168. color: #ff3000;
  169. line-height: 36rpx;
  170. }
  171. .md-goods-card .cart-box.data-v-1c3d9e07 {
  172. width: 54rpx;
  173. height: 54rpx;
  174. background: linear-gradient(90deg, #fe8900, #ff5e00);
  175. border-radius: 50%;
  176. position: absolute;
  177. bottom: 50rpx;
  178. right: 20rpx;
  179. z-index: 2;
  180. }
  181. .md-goods-card .cart-box .cart-icon.data-v-1c3d9e07 {
  182. width: 30rpx;
  183. height: 30rpx;
  184. }
  185. .lg-goods-card.data-v-1c3d9e07 {
  186. overflow: hidden;
  187. position: relative;
  188. z-index: 1;
  189. background-color: #ffffff;
  190. height: 280rpx;
  191. }
  192. .lg-goods-card .lg-img-box.data-v-1c3d9e07 {
  193. width: 280rpx;
  194. height: 280rpx;
  195. margin-right: 20rpx;
  196. }
  197. .lg-goods-card .lg-goods-title.data-v-1c3d9e07 {
  198. font-size: 28rpx;
  199. font-weight: 500;
  200. color: #333333;
  201. }
  202. .lg-goods-card .lg-goods-subtitle.data-v-1c3d9e07 {
  203. font-size: 24rpx;
  204. font-weight: 400;
  205. color: #999999;
  206. }
  207. .lg-goods-card .lg-goods-price.data-v-1c3d9e07 {
  208. font-size: 30rpx;
  209. color: #ff3000;
  210. line-height: 36rpx;
  211. }
  212. .lg-goods-card .buy-box.data-v-1c3d9e07 {
  213. position: absolute;
  214. bottom: 20rpx;
  215. right: 20rpx;
  216. z-index: 2;
  217. width: 120rpx;
  218. height: 50rpx;
  219. background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
  220. border-radius: 25rpx;
  221. font-size: 24rpx;
  222. color: #ffffff;
  223. }
  224. .lg-goods-card .tag-box.data-v-1c3d9e07 {
  225. width: 100%;
  226. }
  227. .sl-goods-card.data-v-1c3d9e07 {
  228. overflow: hidden;
  229. position: relative;
  230. z-index: 1;
  231. width: 100%;
  232. background-color: #ffffff;
  233. }
  234. .sl-goods-card .sl-goods-content.data-v-1c3d9e07 {
  235. padding: 20rpx 20rpx;
  236. box-sizing: border-box;
  237. }
  238. .sl-goods-card .sl-img-box.data-v-1c3d9e07 {
  239. width: 100%;
  240. height: 360rpx;
  241. }
  242. .sl-goods-card .sl-goods-title.data-v-1c3d9e07 {
  243. font-size: 26rpx;
  244. color: #333;
  245. font-weight: 500;
  246. }
  247. .sl-goods-card .sl-goods-subtitle.data-v-1c3d9e07 {
  248. font-size: 24rpx;
  249. font-weight: 400;
  250. color: #999999;
  251. line-height: 30rpx;
  252. }
  253. .sl-goods-card .sl-goods-price.data-v-1c3d9e07 {
  254. font-size: 30rpx;
  255. color: #ff3000;
  256. line-height: 36rpx;
  257. }
  258. .sl-goods-card .buy-box.data-v-1c3d9e07 {
  259. position: absolute;
  260. bottom: 20rpx;
  261. right: 20rpx;
  262. z-index: 2;
  263. width: 148rpx;
  264. height: 50rpx;
  265. background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
  266. border-radius: 25rpx;
  267. font-size: 24rpx;
  268. color: #ffffff;
  269. }