1
0

index.wxss 12 KB

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