hotGoods.wxss 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  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: 20rpx 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 .imglist {
  130. width: 302rpx;
  131. height: 302rpx;
  132. /* float: left; */
  133. display: flex;
  134. justify-content: center;
  135. align-items: center;
  136. border-radius: 20rpx;
  137. margin-left: 39rpx;
  138. }
  139. .touming-img{
  140. opacity:0.6;
  141. filter:alpha(opacity=60);
  142. }
  143. .cate-item .b .item-b{
  144. border-right: 1rpx solid #f4f4f4;
  145. }
  146. .cate-item .item .img{
  147. margin-top: 10rpx;
  148. width: 302rpx;
  149. height: 302rpx;
  150. background-size:202rpx 202rpx;
  151. }
  152. .cate-item .item .name{
  153. display: block;
  154. width: 365.625rpx;
  155. height: 70rpx;
  156. padding: 0 20rpx;
  157. margin: 11.5rpx 0 22rpx 0;
  158. text-align: center;
  159. font-size: 26rpx;
  160. color: #333;
  161. }
  162. .cate-item .item .price{
  163. display: block;
  164. width: 365.625rpx;
  165. height: 30rpx;
  166. text-align: center;
  167. font-size: 30rpx;
  168. color: #b4282d;
  169. }
  170. .cate-item .item .price .cart{
  171. margin-left: 20rpx;
  172. width: 35rpx;
  173. height: 35rpx;
  174. vertical-align: -6rpx;
  175. }
  176. .attr-pop {
  177. width: 100%;
  178. height: auto;
  179. padding: 31.25rpx;
  180. background: #fff;
  181. position: fixed;
  182. bottom: 100rpx;
  183. z-index: 500;
  184. }
  185. .attr-close{
  186. float: right;
  187. width: 40rpx;
  188. height: 40rpx;
  189. line-height: 40rpx;
  190. border-radius: 50%;
  191. font-size: 40rpx;
  192. text-align: center;
  193. overflow: hidden;
  194. }
  195. .attr-pop .img-info {
  196. width: 687.5rpx;
  197. height: 177rpx;
  198. overflow: hidden;
  199. margin-bottom: 41.5rpx;
  200. }
  201. .attr-pop .img {
  202. float: left;
  203. height: 177rpx;
  204. width: 177rpx;
  205. background: #f4f4f4;
  206. margin-right: 31.25rpx;
  207. }
  208. .attr-pop .info {
  209. /* float: left; */
  210. height: 177rpx;
  211. display: flex;
  212. align-items: flex-start;
  213. }
  214. .attr-pop .p {
  215. font-size: 33rpx;
  216. color: #333;
  217. height: 33rpx;
  218. line-height: 33rpx;
  219. margin-bottom: 10rpx;
  220. }
  221. .attr-pop .a {
  222. font-size: 29rpx;
  223. color: #333;
  224. height: 40rpx;
  225. line-height: 40rpx;
  226. width: 260px;
  227. display:block;
  228. word-break: break-all;
  229. word-wrap: break-word;
  230. }
  231. .spec-con {
  232. width: 100%;
  233. height: auto;
  234. overflow: hidden;
  235. }
  236. .spec-con .name {
  237. height: 32rpx;
  238. margin-bottom: 22rpx;
  239. font-size: 29rpx;
  240. color: #333;
  241. }
  242. .spec-con .values {
  243. height: auto;
  244. margin-bottom: 31.25rpx;
  245. font-size: 0;
  246. }
  247. .spec-con .value {
  248. display: inline-block;
  249. height: 62rpx;
  250. padding: 0 35rpx;
  251. line-height: 56rpx;
  252. text-align: center;
  253. margin-right: 25rpx;
  254. margin-bottom: 16.5rpx;
  255. border: 1px solid #333;
  256. font-size: 25rpx;
  257. color: #333;
  258. }
  259. .spec-con .value.disable {
  260. border: 1px solid #ccc;
  261. color: #ccc;
  262. }
  263. .spec-con .value.selected {
  264. border: 1px solid #b4282d;
  265. color: #b4282d;
  266. }
  267. .number-item .selnum {
  268. width: 322rpx;
  269. height: 71rpx;
  270. border: 1px solid #ccc;
  271. display: flex;
  272. }
  273. .number-item .cut {
  274. width: 93.75rpx;
  275. height: 100%;
  276. text-align: center;
  277. line-height: 65rpx;
  278. }
  279. .number-item .number {
  280. flex: 1;
  281. height: 100%;
  282. text-align: center;
  283. line-height: 68.75rpx;
  284. border-left: 1px solid #ccc;
  285. border-right: 1px solid #ccc;
  286. float: left;
  287. }
  288. .number-item .add {
  289. width: 93.75rpx;
  290. height: 100%;
  291. text-align: center;
  292. line-height: 65rpx;
  293. }
  294. .bottom-btn {
  295. position: fixed;
  296. left: 0;
  297. bottom: 0;
  298. z-index: 10;
  299. width: 750rpx;
  300. height: 100rpx;
  301. display: flex;
  302. background: #fff;
  303. }
  304. .bottom-btn .r {
  305. border: 1px solid #b4282d;
  306. background: #b4282d;
  307. float: left;
  308. height: 100rpx;
  309. line-height: 96rpx;
  310. flex: 1;
  311. text-align: center;
  312. color: #fff;
  313. }
  314. .addEnabel {
  315. width: 93.75rpx;
  316. height: 100%;
  317. text-align: center;
  318. line-height: 65rpx;
  319. color: #ccc;
  320. }