index.wxss 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. .banner {
  2. width: 750rpx;
  3. height: 365rpx;
  4. }
  5. .discount-dialog {
  6. position: fixed;
  7. z-index: 5000;
  8. width: 80%;
  9. max-width: 600rpx;
  10. top: 50%;
  11. left: 50%;
  12. transform: translate(-50%, -50%);
  13. background-color: transparent;
  14. text-align: center;
  15. border-radius: 8px;
  16. overflow: hidden;
  17. }
  18. .dialog-title {
  19. height: 60rpx;
  20. line-height: 60rpx;
  21. text-align: center;
  22. color: #fff;
  23. }
  24. .image-box {
  25. height: 90vmin;
  26. overflow: hidden;
  27. }
  28. .image-box image {
  29. width: 100%;
  30. height: 100%;
  31. }
  32. .dialog-close {
  33. margin-top: 16rpx;
  34. margin-bottom: 16rpx;
  35. }
  36. .home-header {
  37. height: 90rpx;
  38. display: flex;
  39. justify-content: center;
  40. align-items: center;
  41. background-color: #fff;
  42. padding: 20rpx;
  43. }
  44. .current-store {
  45. text-align: center;
  46. position: relative;
  47. margin-left: auto;
  48. }
  49. .search-icon {
  50. width: 40rpx;
  51. height: 40rpx;
  52. margin-left: auto;
  53. }
  54. .banner image {
  55. width: 100%;
  56. height: 365rpx;
  57. }
  58. .m-menu {
  59. display: flex;
  60. height: 155rpx;
  61. width: 750rpx;
  62. flex-flow: row nowrap;
  63. align-items: center;
  64. justify-content: space-between;
  65. background-color: #fff;
  66. }
  67. .m-menu .item {
  68. flex: 1;
  69. display: block;
  70. padding: 20rpx 0;
  71. }
  72. .m-menu image {
  73. display: block;
  74. width: 58rpx;
  75. height: 58rpx;
  76. margin: 0 auto;
  77. margin-bottom: 12rpx;
  78. }
  79. .m-menu text {
  80. display: block;
  81. font-size: 24rpx;
  82. text-align: center;
  83. margin: 0 auto;
  84. line-height: 1;
  85. color: #333;
  86. }
  87. .a-section {
  88. width: 750rpx;
  89. height: auto;
  90. overflow: hidden;
  91. background: #fff;
  92. color: #333;
  93. margin-top: 10rpx;
  94. }
  95. .a-section .h {
  96. display: flex;
  97. flex-flow: row nowrap;
  98. align-items: center;
  99. justify-content: center;
  100. height: 90rpx;
  101. }
  102. .a-section .h .txt {
  103. padding-right: 30rpx;
  104. background: url(http://image.meiping123.com/upload/20180104/104752297a18b9.png) right 4rpx no-repeat;
  105. background-size: 16.656rpx 27rpx;
  106. display: inline-block;
  107. height: 36rpx;
  108. font-size: 33rpx;
  109. line-height: 36rpx;
  110. }
  111. .a-brand .b {
  112. width: 750rpx;
  113. height: auto;
  114. overflow: hidden;
  115. position: relative;
  116. }
  117. .a-brand .wrap {
  118. position: relative;
  119. }
  120. .a-brand .img {
  121. position: absolute;
  122. left: 0;
  123. top: 0;
  124. }
  125. .a-brand .mt {
  126. position: absolute;
  127. z-index: 2;
  128. padding: 27rpx 31rpx;
  129. left: 0;
  130. top: 0;
  131. }
  132. .a-brand .mt .brand {
  133. display: block;
  134. font-size: 33rpx;
  135. height: 43rpx;
  136. color: #333;
  137. }
  138. .a-brand .mt .price, .a-brand .mt .unit {
  139. font-size: 25rpx;
  140. color: #999;
  141. }
  142. .a-brand .item-1 {
  143. float: left;
  144. width: 375rpx;
  145. height: 252rpx;
  146. overflow: hidden;
  147. border-top: 1rpx solid #fff;
  148. margin-left: 1rpx;
  149. }
  150. .a-brand .item-1:nth-child(2n+1) {
  151. margin-left: 0;
  152. width: 374rpx;
  153. }
  154. .a-brand .item-1 .img {
  155. width: 375rpx;
  156. height: 253rpx;
  157. }
  158. .a-new .b {
  159. border-top: 1px solid #d9d9d9;
  160. width: 750rpx;
  161. height: auto;
  162. overflow: hidden;
  163. padding: 0 31rpx 45rpx 31rpx;
  164. }
  165. .topic-list {
  166. border-top: 1px solid #d9d9d9;
  167. }
  168. .topic-list .item .imgtt .imgline .priceInfo {
  169. float: left;
  170. text-align: left;
  171. width: 60%;
  172. height: 33rpx;
  173. line-height: 38rpx;
  174. overflow: hidden;
  175. color: #fff;
  176. font-size: 33rpx;
  177. margin-top: 25rpx;
  178. padding-left: 33rpx;
  179. }
  180. .a-new .b .item {
  181. float: left;
  182. width: 302rpx;
  183. margin-top: 10rpx;
  184. margin-left: 21rpx;
  185. margin-right: 21rpx;
  186. }
  187. .a-new .b .item-b {
  188. margin-left: 42rpx;
  189. }
  190. .a-new .b .imgt {
  191. width: 302rpx;
  192. height: 302rpx;
  193. }
  194. .a-new .b .img {
  195. width: 100%;
  196. height: 100%;
  197. }
  198. .a-new .b .name {
  199. text-align: center;
  200. display: block;
  201. width: 302rpx;
  202. height: 35rpx;
  203. margin-bottom: 14rpx;
  204. overflow: hidden;
  205. font-size: 30rpx;
  206. color: #333;
  207. }
  208. .a-new .b .price {
  209. display: inline;
  210. text-align: center;
  211. line-height: 30rpx;
  212. font-size: 30rpx;
  213. color: #b4282d;
  214. }
  215. .a-new .b .priceInfo {
  216. float: left;
  217. clear: both;
  218. }
  219. .a-popular {
  220. width: 750rpx;
  221. height: auto;
  222. overflow: hidden;
  223. }
  224. .a-popular .b .item {
  225. border-top: 1px solid #d9d9d9;
  226. margin: 0 10rpx;
  227. height: 254rpx;
  228. width: 710rpx;
  229. }
  230. .a-popular .b .img {
  231. margin-top: 12rpx;
  232. margin-right: 15rpx;
  233. float: left;
  234. width: 240rpx;
  235. height: 240rpx;
  236. }
  237. .a-popular .b .right {
  238. float: left;
  239. height: 264rpx;
  240. width: 456rpx;
  241. display: flex;
  242. flex-flow: row nowrap;
  243. }
  244. .a-popular .b .text {
  245. display: flex;
  246. flex-wrap: nowrap;
  247. flex-direction: column;
  248. justify-content: center;
  249. overflow: hidden;
  250. height: 264rpx;
  251. width: 456rpx;
  252. }
  253. .a-popular .b .name {
  254. width: 456rpx;
  255. display: block;
  256. color: #333;
  257. line-height: 50rpx;
  258. font-size: 30rpx;
  259. }
  260. .a-popular .b .desc {
  261. width: 456rpx;
  262. display: block;
  263. color: #999;
  264. line-height: 50rpx;
  265. font-size: 25rpx;
  266. }
  267. .a-popular .b .goods-do {
  268. display: inline;
  269. }
  270. .a-popular .b .goods-do .price {
  271. /* width: 50rpx; */
  272. display: inline;
  273. color: #b4282d;
  274. line-height: 50rpx;
  275. font-size: 27rpx;
  276. }
  277. .a-popular .b .goods-do .org-price {
  278. /* width: 40rpx; */
  279. display: inline;
  280. color: #333;
  281. line-height: 50rpx;
  282. font-size: 23rpx;
  283. }
  284. .a-topic .b {
  285. height: 433rpx;
  286. width: 750rpx;
  287. padding: 0 0 48rpx 0;
  288. }
  289. .a-topic .b .list {
  290. width: 750rpx;
  291. white-space: nowrap;
  292. }
  293. .a-topic .b .item {
  294. display: inline-block;
  295. width: 680.5rpx;
  296. margin-left: 30rpx;
  297. overflow: hidden;
  298. }
  299. .a-topic .b .item:last-child {
  300. margin-right: 30rpx;
  301. }
  302. .a-topic .b .img {
  303. height: 387.5rpx;
  304. width: 680.5rpx;
  305. margin-bottom: 10rpx;
  306. }
  307. .a-topic .b .np {
  308. height: 35rpx;
  309. margin-bottom: 13.5rpx;
  310. color: #333;
  311. font-size: 30rpx;
  312. }
  313. .a-topic .b .np .price {
  314. margin-left: 20.8rpx;
  315. color: #b4282d;
  316. }
  317. .a-topic .b .desc {
  318. display: block;
  319. height: 30rpx;
  320. color: #999;
  321. font-size: 24rpx;
  322. white-space: nowrap;
  323. overflow: hidden;
  324. text-overflow: ellipsis;
  325. }
  326. .good-grid {
  327. width: 750rpx;
  328. height: auto;
  329. overflow: hidden;
  330. }
  331. .good-grid .h {
  332. display: flex;
  333. flex-flow: row nowrap;
  334. align-items: center;
  335. justify-content: center;
  336. height: 130rpx;
  337. font-size: 33rpx;
  338. color: #333;
  339. }
  340. .good-grid .b {
  341. width: 750rpx;
  342. padding: 0 6.25rpx;
  343. height: auto;
  344. overflow: hidden;
  345. }
  346. .good-grid .b .item {
  347. float: left;
  348. background: #fff;
  349. width: 365rpx;
  350. margin-bottom: 6.25rpx;
  351. height: 452rpx;
  352. overflow: hidden;
  353. text-align: center;
  354. }
  355. .good-grid .b .item .a {
  356. height: 452rpx;
  357. width: 100%;
  358. }
  359. .good-grid .b .item-b {
  360. margin-left: 6.25rpx;
  361. }
  362. .good-grid .item .img {
  363. margin-top: 20rpx;
  364. width: 302rpx;
  365. height: 302rpx;
  366. }
  367. .good-grid .item .name {
  368. display: block;
  369. width: 365.625rpx;
  370. padding: 0 20rpx;
  371. overflow: hidden;
  372. height: 35rpx;
  373. margin: 11.5rpx 0 22rpx 0;
  374. text-align: center;
  375. font-size: 30rpx;
  376. color: #333;
  377. }
  378. .good-grid .item .price {
  379. display: block;
  380. width: 365.625rpx;
  381. height: 30rpx;
  382. text-align: center;
  383. font-size: 30rpx;
  384. color: #b4282d;
  385. }
  386. .good-grid .more-item {
  387. height: 100%;
  388. width: 100%;
  389. }
  390. .more-a {
  391. height: 100%;
  392. width: 100%;
  393. display: flex;
  394. flex-direction: column;
  395. align-items: center;
  396. justify-content: center;
  397. }
  398. .good-grid .more-a .txt {
  399. height: 33rpx;
  400. width: 100%;
  401. line-height: 33rpx;
  402. color: #333;
  403. font-size: 33rpx;
  404. }
  405. .good-grid .more-a .icon {
  406. margin: 60rpx auto 0 auto;
  407. width: 70rpx;
  408. height: 70rpx;
  409. }
  410. .line-through {
  411. text-decoration: line-through;
  412. }
  413. .number-item {
  414. display: inline-flex;
  415. -webkit-box-pack: justify;
  416. align-items: center;
  417. position: absolute;
  418. right: 0;
  419. margin-right: 40rpx;
  420. }
  421. .number-item .selnum {
  422. height: 71rpx;
  423. display: flex;
  424. }
  425. .number-item .cut {
  426. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAMAAADypuvZAAAAM1BMVEX////Z296wsLD6+vvo6evi5Obe3+Lr7O709fb5+fr3+Pjb3eDw8fLu7/Hl5+nk5ui5ubmS1nTyAAABG0lEQVRIx52WWXLEIAxEeUGSGeNl7n/aME6lUmQWm+5f+5l2A5LSC+XFPCrUcFtyuqDbFHSK6XaCzE7TvpZ8LFnWnSafPyB5g2oldSpWYXvrcgKmkQdNDpbfWDDwVwEE8cH6HMRTIAX8Y7rZofxbByydyKBfKx7MORV9Bn4CPL82EfkKlOMv+QxzuqQZfr++YemijK3Dz9Sb8mb0sib8Z4tqGlDldrA2AtnhKygjUCGOX0tDesS2sI9BO0vzuI5BK5acMgYVPAV5DMpEy71P9P71pHu/J9REDzXmBdVDSJBkTwpCilzaXOkYSQdWuRrSJZSuu1JYpBKmFEupLCsNQGk1SlOT2qfSqJWRQBg+lDFHG6j00U0fEqVx9BvALAkNabHL3QAAAABJRU5ErkJggg==);
  427. box-sizing: border-box;
  428. width: 25px;
  429. border: none;
  430. border-radius: 50%;
  431. height: 25px;
  432. background-size: 100% 100%;
  433. }
  434. .number-item .number {
  435. width: 2em;
  436. text-align: center;
  437. color: #333;
  438. }
  439. .number-item .add {
  440. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAANlBMVEX/0WH///8zMzP/02b//fb/+u7/5qj/45z/3oz/1W1KRDj/8c//78j/7L7/6rX/2HfEo1P/3IXeVLZ3AAAA70lEQVRIx52WWQ7DIAxEJzFrNpL7X7ZIbdUUnITh/aIngW1sY6gwiwspisQU3GLq81KxaxCckLDaW8V6KHh7qRgnUBFndGWOuCTOmrLhlq1WPB7wpXLgkeNf8WjAn5UNTWw/ZUYj81cxEY1E81EcmnFvxQqaEZuVi2jt07TrUcuKhcY0jhM0bFZWaIwZaKxZCZwSBhjhFDFYwClZcKziEFglILFKQiwyOFYUOY0QnFGMMqfSo/AX63k+H+SeVPIF01OWfPHzX6zrI/Ptgm9KfOvjGyzfxvlhwY8kfvDx45Uf4vyqwC8kvWtP/3LFr3AvL0kJEWHNe5sAAAAASUVORK5CYII=);
  441. box-sizing: border-box;
  442. width: 25px;
  443. border: none;
  444. border-radius: 50%;
  445. height: 25px;
  446. background-size: 100% 100%;
  447. }
  448. .group-box {
  449. display: flex;
  450. padding: 10px 10px;
  451. background-color: #fff;
  452. }
  453. .group-box .img {
  454. width: 240rpx;
  455. height: 240rpx;
  456. margin-top: 9px;
  457. }
  458. .group-box .title, .group-box .desc {
  459. text-align: left;
  460. padding: 0;
  461. }
  462. .group-box .imgline {
  463. flex: 1;
  464. padding-left: 15px;
  465. }
  466. .priceInfo .price {
  467. color: #b4282d;
  468. font-size: 40rpx;
  469. }
  470. .btn-view .btn {
  471. color: #fff;
  472. background-color: #f48f18;
  473. width: 200rpx;
  474. margin-top: 10px;
  475. font-size: 28rpx;
  476. float: right;
  477. }
  478. .btn-view .surplus {
  479. float: left;
  480. padding: 5px 10px;
  481. background-color: #ffdf80;
  482. text-align: center;
  483. margin-top: 15px;
  484. align-items: center;
  485. font-size: 28rpx;
  486. border-radius: 16px 16px 16px 16px;
  487. }