shopProds.wxss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. /* pages/allGoods/allGoods.wxss */
  2. page {
  3. }
  4. .head-bg {
  5. width: 100%;
  6. height: 150rpx;
  7. /*background: linear-gradient( #102b6a,#f8f8f8); 标准的语法(必须放在最后) */
  8. }
  9. /* 店铺信息 */
  10. .shop {
  11. display: flex;
  12. padding: 20rpx;
  13. padding-top: 30rpx;
  14. box-sizing: border-box;
  15. /* background: linear-gradient( #102b6a ,#f8f8f8); 标准的语法(必须放在最后) */
  16. }
  17. .shop-container .shopInfo {
  18. display: flex;
  19. height: 100rpx;
  20. padding: 0 18rpx;
  21. }
  22. .shopInfo .shopLogo {
  23. padding-right: 20rpx;
  24. background: #ffffff;
  25. }
  26. .shopInfo .shopLogo image {
  27. width: 100rpx;
  28. height: 100rpx;
  29. border-radius: 8rpx;
  30. }
  31. .shopInfo .shopTitle {
  32. flex: 4;
  33. padding: 5rpx 0;
  34. display: flex;
  35. flex-direction: column;
  36. justify-content: space-between;
  37. }
  38. .shopInfo .shopTitle .shopName {
  39. font-size: 30rpx;
  40. font-weight: bold;
  41. color: #000;
  42. }
  43. .shopInfo .shopTitle .shopDesc {
  44. color: #999;
  45. font-size: 25rpx;
  46. /* padding-bottom: 8rpx; */
  47. display: -webkit-box;
  48. line-height: 40rpx;
  49. word-break: break-all;
  50. -webkit-box-orient: vertical;
  51. -webkit-line-clamp: 1;
  52. overflow: hidden;
  53. text-overflow: ellipsis;
  54. }
  55. /* 搜索框 */
  56. .container.bg-sear {
  57. position: fixed;
  58. z-index: 999;
  59. width: 100%;
  60. line-height: 56rpx;
  61. height: 70rpx;
  62. background: #fff;
  63. padding-bottom: 20rpx;
  64. text-align: center;
  65. top: 0;
  66. }
  67. .bg-search {
  68. background: #fff;
  69. }
  70. .bg-sear .navtop {
  71. position: fixed;
  72. top: 0rpx;
  73. z-index: 99;
  74. background: #fff;
  75. width: 100%;
  76. height: 150rpx;
  77. /*background: linear-gradient(to bottom,#1a3470 , #f7f7f7); 标准的语法(必须放在最后) */
  78. }
  79. .bg-sear .section {
  80. display: flex;
  81. justify-content: center;
  82. align-items: center;
  83. height: 60rpx;
  84. background: #fff;
  85. z-index: 1;
  86. border-radius: 50rpx;
  87. width: 92%;
  88. margin: auto;
  89. margin-top: 20rpx;
  90. left: 4%;
  91. background: #f3f3f3;
  92. }
  93. .bg-sear .section .placeholder {
  94. display: block;
  95. font-size: 24rpx;
  96. color: #999;
  97. }
  98. .bg-sear .section .search-img {
  99. width: 32rpx;
  100. height: 32rpx;
  101. margin-right: 10rpx;
  102. }
  103. /* 排序tab */
  104. .tab-tit {
  105. display: flex;
  106. justify-content: space-around;
  107. z-index: 999;
  108. width: 100%;
  109. height: 90rpx;
  110. line-height: 90rpx;
  111. background-color: #fff;
  112. border-bottom: 1rpx solid #f4f4f4;
  113. }
  114. .tab-tit text {
  115. display: block;
  116. font-size: 28rpx;
  117. color: 999;
  118. width: 100rpx;
  119. text-align: center;
  120. }
  121. .tab-tit text.on {
  122. border-bottom: 4rpx solid #e43130;
  123. color: #e43130;
  124. }
  125. .test {
  126. height: 150rpx;
  127. background: #0af;
  128. }
  129. /* 商品列表 */
  130. .prodlist-item-cont {
  131. /* position: absolute;
  132. top: 350rpx; */
  133. margin-top: 10rpx;
  134. }
  135. .more-prod-cont {
  136. color: #999;
  137. display: inline-block;
  138. text-align: right;
  139. }
  140. .more-prod-cont .more {
  141. position: absolute;
  142. right: 30rpx;
  143. top: 48rpx;
  144. color: #666;
  145. font-size: 24rpx;
  146. padding: 0 20rpx;
  147. height: 44rpx;
  148. line-height: 44rpx;
  149. }
  150. .more-prod-cont .arrow {
  151. width: 15rpx;
  152. height: 15rpx;
  153. transform: rotate(45deg);
  154. position: absolute;
  155. top: 58rpx;
  156. right: 30rpx;
  157. border-top: 2rpx solid #666;
  158. border-right: 2rpx solid #666;
  159. }
  160. .prod-items {
  161. width: 345rpx;
  162. display: inline-block;
  163. background: #fff;
  164. padding-bottom: 20rpx;
  165. box-sizing: border-box;
  166. box-shadow: 0rpx 6rpx 8rpx rgba(58, 134, 185, 0.2);
  167. }
  168. .prod-items:nth-child(2n-1) {
  169. margin: 20rpx 10rpx 10rpx 20rpx;
  170. }
  171. .prod-items:nth-child(2n) {
  172. margin: 20rpx 20rpx 10rpx 10rpx;
  173. }
  174. .prod-items:last-child {
  175. margin-bottom: 30rpx;
  176. }
  177. .prod-items .hot-imagecont .hotsaleimg {
  178. width: 341rpx;
  179. height: 341rpx;
  180. }
  181. .prod-items .hot-text .hotprod-text {
  182. font-size: 28rpx;
  183. white-space: nowrap;
  184. overflow: hidden;
  185. text-overflow: ellipsis;
  186. }
  187. .prod-items .hot-imagecont {
  188. font-size: 0;
  189. text-align: center;
  190. }
  191. .prod-items .hot-text {
  192. margin-top: 20rpx;
  193. padding: 0 10rpx;
  194. }
  195. .prod-items .hot-text .prod-info, .more-prod .prod-text-right .prod-info {
  196. font-size: 22rpx;
  197. color: #999;
  198. white-space: nowrap;
  199. overflow: hidden;
  200. text-overflow: ellipsis;
  201. }
  202. .prod-items .hot-text .prod-text-info {
  203. position: relative;
  204. height: 70rpx;
  205. line-height: 70rpx;
  206. font-family: Arial;
  207. }
  208. .prod-items .hot-text .prod-text-info .hotprod-price {
  209. display: inline;
  210. font-size: 26rpx;
  211. color: #e43130;
  212. }
  213. .prod-items .hot-text .prod-text-info .basket-img {
  214. width: 50rpx;
  215. height: 50rpx;
  216. position: absolute;
  217. right: 0;
  218. bottom: 2rpx;
  219. padding: 8rpx;
  220. }
  221. .singal-price {
  222. display: inline;
  223. font-size: 20rpx;
  224. text-decoration: line-through;
  225. color: #777;
  226. margin-left: 15rpx;
  227. }
  228. .tips {
  229. margin-top: 50rpx;
  230. margin-bottom: 130rpx;
  231. height: 60rpx;
  232. line-height: 60rpx;
  233. text-align: center;
  234. color: #999;
  235. font-size: 24rpx;
  236. }