goodsList.wxss 6.6 KB

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