goodsList.wxss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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. /* Border Radius */
  24. /* 水平间距 */
  25. /* 垂直间距 */
  26. /* 透明度 */
  27. /* 文章场景相关 */
  28. .goods-template {
  29. width: 100%;
  30. background: #FFFFFF;
  31. margin-top: 24rpx;
  32. }
  33. .goods-template .goods-list {
  34. width: 100%;
  35. background: #F7F7F7;
  36. }
  37. .goods-template .goods-list .goods-item {
  38. width: 702rpx;
  39. padding: 0 24rpx;
  40. background: #FFFFFF;
  41. margin-bottom: 24rpx;
  42. }
  43. .goods-template .goods-list .goods-item:last-child {
  44. margin-bottom: 0;
  45. }
  46. .goods-template .goods-list .shoptitle {
  47. display: flex;
  48. align-items: center;
  49. height: 80rpx;
  50. line-height: 80rpx;
  51. }
  52. .goods-template .goods-list .shoptitle .title-logo {
  53. width: 48rpx;
  54. height: 48rpx;
  55. float: left;
  56. border-radius: 8rpx;
  57. border: 1px solid #e1e1e1;
  58. margin-right: 10rpx;
  59. }
  60. .goods-template .goods-list .shoptitle .title-logo image {
  61. border-radius: 8rpx;
  62. width: 48rpx;
  63. height: 48rpx;
  64. }
  65. .goods-template .goods-list .shoptitle .title-text {
  66. width: 400rpx;
  67. overflow: hidden;
  68. text-overflow: ellipsis;
  69. white-space: nowrap;
  70. float: left;
  71. font-size: 28rpx;
  72. color: #333333;
  73. text-align: left;
  74. line-height: 56rpx;
  75. font-weight: bold;
  76. }
  77. .goods-template .goods-list .productlist {
  78. width: 100%;
  79. height: auto;
  80. }
  81. .goods-template .goods-list .goods-pros-t {
  82. display: flex;
  83. align-items: center;
  84. width: 100%;
  85. height: auto;
  86. padding: 12rpx 0;
  87. }
  88. .goods-template .goods-list .goods-pros-t .pros-img {
  89. width: 210rpx;
  90. height: 100%;
  91. border-radius: 10rpx;
  92. margin: 0 26rpx 0 0;
  93. position: relative;
  94. }
  95. .goods-template .goods-list .goods-pros-t .pros-img .tips {
  96. display: inline-block;
  97. width: 80rpx;
  98. height: 40rpx;
  99. background-image: linear-gradient(214deg, #ff4500 0%, #ff5800 53%, #ff4367 100%);
  100. line-height: 40rpx;
  101. text-align: center;
  102. font-size: 24rpx;
  103. color: #FFFFFF;
  104. border-radius: 10rpx 0 10rpx 0;
  105. position: absolute;
  106. top: 0;
  107. left: 0;
  108. }
  109. .goods-template .goods-list .goods-pros-t .pros-img image {
  110. width: 210rpx;
  111. height: 210rpx;
  112. border-radius: 10rpx;
  113. border: 1px solid #f3f3f3;
  114. }
  115. .goods-template .goods-list .pros-product {
  116. width: 468rpx;
  117. height: 100%;
  118. line-height: 40rpx;
  119. font-size: 26rpx;
  120. position: relative;
  121. }
  122. .goods-template .goods-list .pros-product .producttitle {
  123. width: 100%;
  124. display: inline-block;
  125. height: auto;
  126. text-overflow: ellipsis;
  127. display: -webkit-box;
  128. word-break: break-all;
  129. -webkit-box-orient: vertical;
  130. -webkit-line-clamp: 2;
  131. overflow: hidden;
  132. margin-bottom: 8rpx;
  133. }
  134. .goods-template .goods-list .pros-product .productspec {
  135. width: 100%;
  136. float: left;
  137. height: 40rpx;
  138. color: #999999;
  139. line-height: 40rpx;
  140. font-size: 20rpx;
  141. text-overflow: ellipsis;
  142. display: -webkit-box;
  143. word-break: break-all;
  144. -webkit-box-orient: vertical;
  145. -webkit-line-clamp: 2;
  146. overflow: hidden;
  147. }
  148. .goods-template .goods-list .pros-product .productprice {
  149. width: 100%;
  150. height: 54rpx;
  151. line-height: 54rpx;
  152. width: 100%;
  153. }
  154. .goods-template .goods-list .pros-product .productprice .price {
  155. line-height: 54rpx;
  156. font-size: 28rpx;
  157. width: 48%;
  158. color: #ff457b;
  159. float: left;
  160. }
  161. .goods-template .goods-list .pros-product .productprice .price.disabled {
  162. color: #999999;
  163. text-decoration: line-through;
  164. }
  165. .goods-template .goods-list .pros-product .productprice .count {
  166. height: 100%;
  167. float: right;
  168. position: relative;
  169. }
  170. .goods-template .goods-list .pros-product .productprice .count .small {
  171. color: #666666;
  172. }
  173. .goods-template .goods-list .pros-product .floor-item-act {
  174. width: 100%;
  175. height: 30rpx;
  176. margin-top: 8rpx;
  177. float: left;
  178. }
  179. .goods-template .goods-list .pros-product .floor-item-act .tag {
  180. display: inline-block;
  181. height: 32rpx;
  182. font-size: 22rpx;
  183. line-height: 30rpx;
  184. text-align: center;
  185. color: #f83c6c;
  186. float: left;
  187. margin-right: 10rpx;
  188. }
  189. .goods-template .goods-list .pros-product .floor-item-act .tag.tag-02 {
  190. width: 80rpx;
  191. background: url(https://static.caimei365.com/app/mini-hehe/icon/icon-active.png) top center no-repeat;
  192. background-size: contain;
  193. }
  194. .goods-template .goods-list .pros-product .floor-item-act .tag.tag-01 {
  195. width: 56rpx;
  196. color: #fff;
  197. background-color: #f83c6c;
  198. border-radius: 4rpx;
  199. }
  200. .goods-template .goods-list .goods-pros-m {
  201. height: 76rpx;
  202. line-height: 76rpx;
  203. font-size: 26rpx;
  204. color: #333333;
  205. margin-top: 12rpx;
  206. }
  207. .goods-template .goods-list .goods-pros-m .m-text {
  208. width: 62rpx;
  209. float: left;
  210. padding-right: 20rpx;
  211. font-weight: bold;
  212. }
  213. .goods-template .goods-list .goods-pros-m .m-input {
  214. display: flex;
  215. align-items: center;
  216. position: relative;
  217. width: 576rpx;
  218. height: 36rpx;
  219. padding: 20rpx;
  220. background: #F9F9F9;
  221. border-radius: 10rpx;
  222. }
  223. .goods-template .goods-list .goods-pros-m .m-input input {
  224. width: 100%;
  225. height: 100%;
  226. font-size: 26rpx;
  227. line-height: 36rpx;
  228. color: #333333;
  229. min-height: 36rpx;
  230. }
  231. .goods-template .goods-list .goods-pros-b {
  232. width: 100%;
  233. height: auto;
  234. padding: 10rpx 0;
  235. }
  236. .goods-template .goods-list .goods-pros-b .sum-none {
  237. width: 100%;
  238. height: 48rpx;
  239. line-height: 48rpx;
  240. color: #333333;
  241. float: left;
  242. text-align: right;
  243. }
  244. .goods-template .goods-list .goods-pros-b .sum-none .money {
  245. font-size: 26rpx;
  246. color: #999999;
  247. text-decoration: line-through;
  248. }
  249. .goods-template .goods-list .goods-pros-b .sum-none .money-sign {
  250. font-size: 26rpx;
  251. color: #999999;
  252. text-decoration: line-through;
  253. }
  254. .goods-template .goods-list .goods-pros-b .sum-none .money-reduced {
  255. margin-left: 10rpx;
  256. font-size: 26rpx;
  257. color: #ff457b;
  258. }
  259. .goods-template .goods-list .goods-pros-b .sum-none .money-reduced .iconfont {
  260. font-size: 34rpx;
  261. }
  262. .goods-template .goods-list .goods-pros-b .sum {
  263. width: 100%;
  264. height: 48rpx;
  265. font-size: 28rpx;
  266. line-height: 48rpx;
  267. color: #333333;
  268. display: flex;
  269. justify-content: flex-end;
  270. }
  271. .goods-template .goods-list .goods-pros-b .sum .money {
  272. color: #ff457b;
  273. font-size: 28rpx;
  274. }