hotGoods.wxss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. page{
  2. background: #f4f4f4;
  3. }
  4. .brand-info .name{
  5. width: 100%;
  6. height: 278rpx;
  7. position: relative;
  8. }
  9. .brand-info .img{
  10. position: absolute;
  11. top:0;
  12. left:0;
  13. width: 100%;
  14. height: 278rpx;
  15. }
  16. .brand-info .info-box{
  17. position: absolute;
  18. top:0;
  19. left:0;
  20. width: 100%;
  21. height: 278rpx;
  22. text-align: center;
  23. display: flex;
  24. justify-content: center;
  25. align-items: center;
  26. }
  27. .brand-info .info{
  28. display: block;
  29. }
  30. .brand-info .txt{
  31. display: block;
  32. height: 40rpx;
  33. font-size: 37.5rpx;
  34. color: #fff;
  35. }
  36. .brand-info .line{
  37. margin: 0 auto;
  38. margin-top: 16rpx;
  39. display: block;
  40. height: 2rpx;
  41. width: 145rpx;
  42. background: #fff;
  43. }
  44. .sort{
  45. position: relative;
  46. background: #fff;
  47. width: 100%;
  48. height: 78rpx;
  49. }
  50. .sort-box{
  51. background: #fff;
  52. width: 100%;
  53. height: 78rpx;
  54. overflow: hidden;
  55. padding: 0 30rpx;
  56. display: flex;
  57. border-bottom: 1px solid #d9d9d9;
  58. }
  59. .sort-box .item{
  60. height: 78rpx;
  61. line-height: 78rpx;
  62. text-align: center;
  63. flex:1;
  64. color: #333;
  65. font-size: 30rpx;
  66. }
  67. .sort-box .item .txt{
  68. display: block;
  69. width: 100%;
  70. height: 100%;
  71. color: #333;
  72. }
  73. .sort-box .item.active .txt{
  74. color: #b4282d;
  75. }
  76. .sort-box .item.by-price{
  77. background: url(http://120.76.26.84:80/group1/M00/00/02/rBJEdVvr3CSAazwCAAABD1aCMbo520.png) 155rpx center no-repeat;
  78. background-size: 15rpx 21rpx;
  79. }
  80. .sort-box .item.by-price.active.asc{
  81. background: url(http://120.76.26.84:80/group1/M00/00/02/rBJEdVvr3FOACHzqAAABHU5MD_M687.png) 155rpx center no-repeat;
  82. background-size: 15rpx 21rpx;
  83. }
  84. .sort-box .item.by-price.active.desc{
  85. background: url(http://120.76.26.84:80/group1/M00/00/02/rBJEdVvr3JCAcOP5AAABdVcSS6A457.png) 155rpx center no-repeat;
  86. background-size: 15rpx 21rpx;
  87. }
  88. .sort-box-category{
  89. background: #fff;
  90. width: 100%;
  91. height: auto;
  92. overflow: hidden;
  93. padding: 40rpx 40rpx 0 0;
  94. border-bottom: 1px solid #d9d9d9;
  95. }
  96. .sort-box-category .item{
  97. height: 54rpx;
  98. line-height: 54rpx;
  99. text-align: center;
  100. float: left;
  101. padding: 0 16rpx;
  102. margin: 0 0 40rpx 40rpx;
  103. border: 1px solid #666;
  104. color: #333;
  105. font-size: 24rpx;
  106. }
  107. .sort-box-category .item.active{
  108. color: #b4282d;
  109. border: 1px solid #b4282d;
  110. }
  111. .cate-item .b{
  112. width: 750rpx;
  113. height: auto;
  114. overflow: hidden;
  115. border-top: 1rpx solid #f4f4f4;
  116. margin-top: 20rpx;
  117. margin-bottom: 120rpx;
  118. }
  119. .cate-item .b .item{
  120. float: left;
  121. background: #fff;
  122. width: 375rpx;
  123. padding-bottom: 33.333rpx;
  124. border-bottom: 1rpx solid #f4f4f4;
  125. height: auto;
  126. overflow: hidden;
  127. text-align: center;
  128. }
  129. .cate-item .b .item-b{
  130. border-right: 1rpx solid #f4f4f4;
  131. }
  132. .cate-item .item .img{
  133. margin-top: 10rpx;
  134. width: 302rpx;
  135. height: 302rpx;
  136. }
  137. .cate-item .item .name{
  138. display: block;
  139. width: 365.625rpx;
  140. height: 70rpx;
  141. padding: 0 20rpx;
  142. margin: 11.5rpx 0 22rpx 0;
  143. text-align: center;
  144. font-size: 30rpx;
  145. color: #333;
  146. }
  147. .cate-item .item .price{
  148. display: block;
  149. width: 365.625rpx;
  150. height: 30rpx;
  151. text-align: center;
  152. font-size: 30rpx;
  153. color: #b4282d;
  154. }
  155. .cate-item .item .price .cart{
  156. margin-left: 20rpx;
  157. width: 35rpx;
  158. height: 35rpx;
  159. vertical-align: -6rpx;
  160. }
  161. .attr-pop {
  162. width: 100%;
  163. height: auto;
  164. padding: 31.25rpx;
  165. background: #fff;
  166. position: fixed;
  167. bottom: 100rpx;
  168. z-index: 500;
  169. }
  170. .attr-close{
  171. float: right;
  172. width: 40rpx;
  173. height: 40rpx;
  174. line-height: 40rpx;
  175. border-radius: 50%;
  176. font-size: 40rpx;
  177. text-align: center;
  178. overflow: hidden;
  179. }
  180. .attr-pop .img-info {
  181. width: 687.5rpx;
  182. height: 177rpx;
  183. overflow: hidden;
  184. margin-bottom: 41.5rpx;
  185. }
  186. .attr-pop .img {
  187. float: left;
  188. height: 177rpx;
  189. width: 177rpx;
  190. background: #f4f4f4;
  191. margin-right: 31.25rpx;
  192. }
  193. .attr-pop .info {
  194. float: left;
  195. height: 177rpx;
  196. display: flex;
  197. align-items: flex-start;
  198. }
  199. .attr-pop .p {
  200. font-size: 33rpx;
  201. color: #333;
  202. height: 33rpx;
  203. line-height: 33rpx;
  204. margin-bottom: 10rpx;
  205. }
  206. .attr-pop .a {
  207. font-size: 29rpx;
  208. color: #333;
  209. height: 40rpx;
  210. line-height: 40rpx;
  211. width: 260px;
  212. display:block;
  213. word-break: break-all;
  214. word-wrap: break-word;
  215. }
  216. .spec-con {
  217. width: 100%;
  218. height: auto;
  219. overflow: hidden;
  220. }
  221. .spec-con .name {
  222. height: 32rpx;
  223. margin-bottom: 22rpx;
  224. font-size: 29rpx;
  225. color: #333;
  226. }
  227. .spec-con .values {
  228. height: auto;
  229. margin-bottom: 31.25rpx;
  230. font-size: 0;
  231. }
  232. .spec-con .value {
  233. display: inline-block;
  234. height: 62rpx;
  235. padding: 0 35rpx;
  236. line-height: 56rpx;
  237. text-align: center;
  238. margin-right: 25rpx;
  239. margin-bottom: 16.5rpx;
  240. border: 1px solid #333;
  241. font-size: 25rpx;
  242. color: #333;
  243. }
  244. .spec-con .value.disable {
  245. border: 1px solid #ccc;
  246. color: #ccc;
  247. }
  248. .spec-con .value.selected {
  249. border: 1px solid #b4282d;
  250. color: #b4282d;
  251. }
  252. .number-item .selnum {
  253. width: 322rpx;
  254. height: 71rpx;
  255. border: 1px solid #ccc;
  256. display: flex;
  257. }
  258. .number-item .cut {
  259. width: 93.75rpx;
  260. height: 100%;
  261. text-align: center;
  262. line-height: 65rpx;
  263. }
  264. .number-item .number {
  265. flex: 1;
  266. height: 100%;
  267. text-align: center;
  268. line-height: 68.75rpx;
  269. border-left: 1px solid #ccc;
  270. border-right: 1px solid #ccc;
  271. float: left;
  272. }
  273. .number-item .add {
  274. width: 93.75rpx;
  275. height: 100%;
  276. text-align: center;
  277. line-height: 65rpx;
  278. }
  279. .bottom-btn {
  280. position: fixed;
  281. left: 0;
  282. bottom: 0;
  283. z-index: 10;
  284. width: 750rpx;
  285. height: 100rpx;
  286. display: flex;
  287. background: #fff;
  288. }
  289. .bottom-btn .r {
  290. border: 1px solid #b4282d;
  291. background: #b4282d;
  292. float: left;
  293. height: 100rpx;
  294. line-height: 96rpx;
  295. flex: 1;
  296. text-align: center;
  297. color: #fff;
  298. }