index.wxss 10 KB

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