index.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. /* crmeb颜色变量 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .goodsList {
  28. padding: 0 30rpx;
  29. }
  30. .goodsList .item {
  31. width: 100%;
  32. box-sizing: border-box;
  33. margin-bottom: 63rpx;
  34. }
  35. .goodsList .item .pictrue {
  36. width: 140rpx;
  37. height: 140rpx;
  38. border-radius: 10rpx;
  39. position: relative;
  40. border-radius: 22rpx;
  41. }
  42. .goodsList .item .pictrue image {
  43. width: 100%;
  44. height: 100%;
  45. border-radius: 22rpx;
  46. }
  47. .goodsList .item .pictxt {
  48. width: 372rpx;
  49. }
  50. .goodsList .item .pictxt .text {
  51. font-size: 26rpx;
  52. font-family: PingFang SC;
  53. font-weight: 500;
  54. color: #333333;
  55. }
  56. .goodsList .item .pictxt .bottom {
  57. margin-top: 22rpx;
  58. }
  59. .goodsList .item .pictxt .bottom .money {
  60. font-size: 34rpx;
  61. font-weight: 800;
  62. }
  63. .goodsList .item .pictxt .bottom .money .sign {
  64. font-size: 24rpx;
  65. }
  66. .goodsList .item .pictxt .bottom .money .y_money {
  67. font-size: 20rpx;
  68. color: #999999;
  69. margin-left: 14rpx;
  70. font-weight: normal;
  71. text-decoration: line-through;
  72. }
  73. .goodsList .item .pictxt .bottom .money .vip {
  74. font-size: 22rpx;
  75. color: #333333;
  76. font-weight: normal;
  77. margin-left: 14rpx;
  78. }
  79. .goodsList .item .pictxt .bottom .money .vip image {
  80. width: 38rpx;
  81. height: 18rpx;
  82. margin-right: 6rpx;
  83. }
  84. .goodsList .item .pictxt .bottom .cart {
  85. height: 46rpx;
  86. }
  87. .goodsList .item .pictxt .bottom .cart .pictrue {
  88. color: var(--view-theme);
  89. font-size: 46rpx;
  90. width: 46rpx;
  91. height: 46rpx;
  92. text-align: center;
  93. line-height: 46rpx;
  94. }
  95. .goodsList .item .pictxt .bottom .cart .pictrue.icon-jiahao {
  96. color: var(--view-theme);
  97. }
  98. .goodsList .item .pictxt .bottom .cart .num {
  99. font-size: 30rpx;
  100. color: #333333;
  101. font-weight: bold;
  102. width: 60rpx;
  103. text-align: center;
  104. }
  105. .goodsList .item .pictxt .bottom .icon-gouwuche6 {
  106. width: 46rpx;
  107. height: 46rpx;
  108. background-color: var(--view-theme);
  109. border-radius: 50%;
  110. color: #fff;
  111. font-size: 30rpx;
  112. }
  113. .goodsList .item .pictxt .bottom .bnt {
  114. padding: 0 20rpx;
  115. height: 45rpx;
  116. background: var(--view-theme);
  117. border-radius: 23rpx;
  118. font-size: 22rpx;
  119. color: #fff;
  120. position: relative;
  121. }
  122. .goodsList .item .pictxt .bottom .bnt.end {
  123. background: #cccccc;
  124. }
  125. .goodsList .item .pictxt .bottom .bnt .num {
  126. min-width: 14rpx;
  127. background-color: #fff;
  128. color: var(--view-theme);
  129. border-radius: 15px;
  130. position: absolute;
  131. right: -13rpx;
  132. top: -11rpx;
  133. font-size: 16rpx;
  134. padding: 0 10rpx;
  135. border: 1px solid var(--view-theme);
  136. }