1
0

hotGoods.wxss 5.6 KB

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