hotGoods.wxss 6.0 KB

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