index.wxss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. .banner {
  2. width: 750rpx;
  3. height: 417rpx;
  4. }
  5. .banner image {
  6. width: 100%;
  7. height: 417rpx;
  8. }
  9. .m-menu {
  10. display: flex;
  11. height: 181rpx;
  12. width: 750rpx;
  13. flex-flow: row nowrap;
  14. align-items: center;
  15. justify-content: space-between;
  16. background-color: #fff;
  17. }
  18. .m-menu .item {
  19. flex: 1;
  20. display: block;
  21. padding: 20rpx 0;
  22. }
  23. .m-menu image {
  24. display: block;
  25. width: 58rpx;
  26. height: 58rpx;
  27. margin: 0 auto;
  28. margin-bottom: 12rpx;
  29. }
  30. .m-menu text {
  31. display: block;
  32. font-size: 24rpx;
  33. text-align: center;
  34. margin: 0 auto;
  35. line-height: 1;
  36. color: #333;
  37. }
  38. .a-section {
  39. width: 750rpx;
  40. height: auto;
  41. overflow: hidden;
  42. background: #fff;
  43. color: #333;
  44. margin-top: 20rpx;
  45. }
  46. .a-section .h {
  47. display: flex;
  48. flex-flow: row nowrap;
  49. align-items: center;
  50. justify-content: center;
  51. height: 130rpx;
  52. }
  53. .a-section .h .txt {
  54. padding-right: 30rpx;
  55. background-size: 16.656rpx 27rpx;
  56. display: inline-block;
  57. height: 36rpx;
  58. font-size: 33rpx;
  59. line-height: 36rpx;
  60. }
  61. .a-brand .b {
  62. width: 750rpx;
  63. height: auto;
  64. overflow: hidden;
  65. position: relative;
  66. }
  67. .a-brand .wrap {
  68. position: relative;
  69. }
  70. .a-brand .img {
  71. position: absolute;
  72. left: 0;
  73. top: 0;
  74. }
  75. .a-brand .mt {
  76. position: absolute;
  77. z-index: 2;
  78. padding: 27rpx 31rpx;
  79. left: 0;
  80. top: 0;
  81. }
  82. .a-brand .mt .brand {
  83. display: block;
  84. font-size: 33rpx;
  85. height: 43rpx;
  86. color: #333;
  87. }
  88. .a-brand .mt .price, .a-brand .mt .unit {
  89. font-size: 25rpx;
  90. color: #999;
  91. }
  92. .a-brand .item-1 {
  93. float: left;
  94. width: 375rpx;
  95. height: 252rpx;
  96. overflow: hidden;
  97. border-top: 1rpx solid #fff;
  98. margin-left: 1rpx;
  99. }
  100. .a-brand .item-1:nth-child(2n+1){
  101. margin-left: 0;
  102. width: 374rpx;
  103. }
  104. .a-brand .item-1 .img {
  105. width: 375rpx;
  106. height: 253rpx;
  107. }
  108. .a-new .b {
  109. width: 750rpx;
  110. height: auto;
  111. overflow: hidden;
  112. padding: 0 31rpx 45rpx 31rpx;
  113. }
  114. .a-new .b .item {
  115. float: left;
  116. width: 302rpx;
  117. margin-top: 10rpx;
  118. margin-left: 21rpx;
  119. margin-right: 21rpx;
  120. }
  121. .a-new .b .item-b {
  122. margin-left: 42rpx;
  123. }
  124. .a-new .b .img {
  125. width: 302rpx;
  126. height: 302rpx;
  127. }
  128. .a-new .b .name {
  129. text-align: center;
  130. display: block;
  131. width: 302rpx;
  132. height: 35rpx;
  133. margin-bottom: 14rpx;
  134. overflow: hidden;
  135. font-size: 30rpx;
  136. color: #333;
  137. }
  138. .a-new .b .price {
  139. display: block;
  140. text-align: center;
  141. line-height: 30rpx;
  142. font-size: 30rpx;
  143. color: #b4282d;
  144. }
  145. .a-popular {
  146. width: 750rpx;
  147. height: auto;
  148. overflow: hidden;
  149. }
  150. .a-popular .b .item {
  151. border-top: 1px solid #d9d9d9;
  152. margin: 0 20rpx;
  153. height: 264rpx;
  154. width: 710rpx;
  155. }
  156. .a-popular .b .img {
  157. margin-top: 12rpx;
  158. margin-right: 12rpx;
  159. float: left;
  160. width: 240rpx;
  161. height: 240rpx;
  162. }
  163. .a-popular .b .right {
  164. float: left;
  165. height: 264rpx;
  166. width: 456rpx;
  167. display: flex;
  168. flex-flow: row nowrap;
  169. }
  170. .a-popular .b .text {
  171. display: flex;
  172. flex-wrap: nowrap;
  173. flex-direction: column;
  174. justify-content: center;
  175. overflow: hidden;
  176. height: 264rpx;
  177. width: 456rpx;
  178. }
  179. .a-popular .b .name {
  180. width: 456rpx;
  181. display: block;
  182. color: #333;
  183. line-height: 50rpx;
  184. font-size: 30rpx;
  185. }
  186. .a-popular .b .desc {
  187. width: 456rpx;
  188. display: block;
  189. color: #999;
  190. line-height: 50rpx;
  191. font-size: 25rpx;
  192. }
  193. .a-popular .b .price {
  194. width: 456rpx;
  195. display: block;
  196. color: #b4282d;
  197. line-height: 50rpx;
  198. font-size: 33rpx;
  199. }
  200. .a-topic .b {
  201. height: 533rpx;
  202. width: 750rpx;
  203. padding: 0 0 48rpx 0;
  204. }
  205. .a-topic .b .list {
  206. height: 533rpx;
  207. width: 750rpx;
  208. white-space: nowrap;
  209. }
  210. .a-topic .b .item {
  211. display: inline-block;
  212. height: 533rpx;
  213. width: 680.5rpx;
  214. margin-left: 30rpx;
  215. overflow: hidden;
  216. }
  217. .a-topic .b .item:last-child {
  218. margin-right: 30rpx;
  219. }
  220. .a-topic .b .img {
  221. height: 387.5rpx;
  222. width: 680.5rpx;
  223. margin-bottom: 30rpx;
  224. }
  225. .a-topic .b .np {
  226. height: 35rpx;
  227. margin-bottom: 13.5rpx;
  228. color: #333;
  229. font-size: 30rpx;
  230. }
  231. .a-topic .b .np .price {
  232. margin-left: 20.8rpx;
  233. color: #b4282d;
  234. }
  235. .a-topic .b .desc {
  236. display: block;
  237. height: 30rpx;
  238. color: #999;
  239. font-size: 24rpx;
  240. white-space: nowrap;
  241. overflow: hidden;
  242. text-overflow:ellipsis;
  243. }
  244. .good-grid {
  245. width: 750rpx;
  246. height: auto;
  247. overflow: hidden;
  248. }
  249. .good-grid .h {
  250. display: flex;
  251. flex-flow: row nowrap;
  252. align-items: center;
  253. justify-content: center;
  254. height: 130rpx;
  255. font-size: 33rpx;
  256. color: #333;
  257. }
  258. .good-grid .b {
  259. width: 750rpx;
  260. padding: 0 6.25rpx;
  261. height: auto;
  262. overflow: hidden;
  263. }
  264. .good-grid .b .item {
  265. float: left;
  266. background: #fff;
  267. width: 365rpx;
  268. margin-bottom: 6.25rpx;
  269. height: 452rpx;
  270. overflow: hidden;
  271. text-align: center;
  272. }
  273. .good-grid .b .item .a{
  274. height: 452rpx;
  275. width: 100%;
  276. }
  277. .good-grid .b .item-b {
  278. margin-left: 6.25rpx;
  279. }
  280. .good-grid .item .img {
  281. margin-top: 20rpx;
  282. width: 302rpx;
  283. height: 302rpx;
  284. }
  285. .good-grid .item .name {
  286. display: block;
  287. width: 365.625rpx;
  288. padding: 0 20rpx;
  289. overflow: hidden;
  290. height: 35rpx;
  291. margin: 11.5rpx 0 22rpx 0;
  292. text-align: center;
  293. font-size: 30rpx;
  294. color: #333;
  295. }
  296. .good-grid .item .price {
  297. display: block;
  298. width: 365.625rpx;
  299. height: 30rpx;
  300. text-align: center;
  301. font-size: 30rpx;
  302. color: #b4282d;
  303. }
  304. .good-grid .more-item{
  305. height: 100%;
  306. width: 100%;
  307. }
  308. .more-a{
  309. height: 100%;
  310. width: 100%;
  311. display: flex;
  312. flex-direction: column;
  313. align-items: center;
  314. justify-content: center;
  315. }
  316. .good-grid .more-a .txt{
  317. height: 33rpx;
  318. width: 100%;
  319. line-height: 33rpx;
  320. color: #333;
  321. font-size: 33rpx;
  322. }
  323. .good-grid .more-a .icon{
  324. margin: 60rpx auto 0 auto;
  325. width: 70rpx;
  326. height: 70rpx;
  327. }