1
0

index.wxss 12 KB

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