index.wxss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  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. padding-top: 130rpx;
  119. justify-content: center;
  120. margin: 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: 250rpx;
  234. width: 445rpx;
  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: 460rpx;
  246. margin-left:20rpx;
  247. }
  248. .a-section .b .name {
  249. /* width: 456rpx; */
  250. display: block;
  251. color: #333;
  252. line-height: 50rpx;
  253. font-size: 33rpx;
  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. #goods-do-new {
  267. margin-top: 10%;
  268. }
  269. #directionp {
  270. margin-right: 5%;
  271. }
  272. .goods-do-font {
  273. font-size:23rpx;
  274. }
  275. .a-section .b .goods-do .price {
  276. /* width: 50rpx; */
  277. display: inline;
  278. color: #f00910;
  279. line-height: 50rpx;
  280. font-size:42rpx;
  281. /* font-weight: bold; */
  282. }
  283. .bottomprice {
  284. margin-bottom:10%;
  285. }
  286. .a-section .b .goods-do .org-price {
  287. /* width: 40rpx; */
  288. display: inline;
  289. color: #333;
  290. line-height: 50rpx;
  291. font-size: 23rpx;
  292. margin-left: 2rpx;
  293. }
  294. .a-brand .wrap {
  295. position: relative;
  296. }
  297. .a-brand .img {
  298. position: absolute;
  299. left: 0;
  300. top: 0;
  301. }
  302. .a-brand .mt {
  303. position: absolute;
  304. z-index: 2;
  305. padding: 27rpx 31rpx;
  306. left: 0;
  307. top: 0;
  308. }
  309. .a-brand .mt .brand {
  310. display: block;
  311. font-size: 33rpx;
  312. height: 43rpx;
  313. color: #333;
  314. }
  315. .a-brand .mt .price, .a-brand .mt .unit {
  316. font-size: 25rpx;
  317. color: #999;
  318. }
  319. .a-brand .item-1 {
  320. float: left;
  321. width: 375rpx;
  322. height: 252rpx;
  323. overflow: hidden;
  324. border-top: 1rpx solid #fff;
  325. margin-left: 1rpx;
  326. }
  327. .a-brand .item-1:nth-child(2n+1) {
  328. margin-left: 0;
  329. width: 374rpx;
  330. }
  331. .a-brand .item-1 .img {
  332. width: 375rpx;
  333. height: 253rpx;
  334. }
  335. .a-new .b {
  336. border-top: 1px solid #d9d9d9;
  337. width: 750rpx;
  338. height: auto;
  339. overflow: hidden;
  340. padding: 0 31rpx 45rpx 31rpx;
  341. }
  342. .topic-list {
  343. border-top: 1px solid #d9d9d9;
  344. }
  345. .topic-list .item .imgtt .imgline .priceInfo {
  346. float: left;
  347. text-align: left;
  348. width: 60%;
  349. height: 33rpx;
  350. line-height: 38rpx;
  351. overflow: hidden;
  352. color: #fff;
  353. font-size: 33rpx;
  354. margin-top: 25rpx;
  355. padding-left: 33rpx;
  356. }
  357. .a-new .b .item {
  358. float: left;
  359. width: 302rpx;
  360. margin-top: 10rpx;
  361. margin-left: 21rpx;
  362. margin-right: 21rpx;
  363. }
  364. .a-new .b .item-b {
  365. margin-left: 42rpx;
  366. }
  367. .a-new .b .imgt {
  368. width: 302rpx;
  369. height: 302rpx;
  370. }
  371. .a-new .b .img {
  372. width: 100%;
  373. height: 100%;
  374. }
  375. .a-new .b .name {
  376. text-align: center;
  377. display: block;
  378. width: 302rpx;
  379. height: 35rpx;
  380. margin-bottom: 14rpx;
  381. overflow: hidden;
  382. font-size: 30rpx;
  383. color: #333;
  384. }
  385. .a-new .b .price {
  386. display: inline;
  387. text-align: center;
  388. line-height: 30rpx;
  389. font-size: 30rpx;
  390. color: #b4282d;
  391. }
  392. .a-new .b .priceInfo {
  393. float: left;
  394. clear: both;
  395. }
  396. .a-topic .b {
  397. height: 433rpx;
  398. width: 750rpx;
  399. padding: 0 0 48rpx 0;
  400. }
  401. .a-topic .b .list {
  402. width: 750rpx;
  403. white-space: nowrap;
  404. }
  405. .a-topic .b .item {
  406. display: inline-block;
  407. width: 680.5rpx;
  408. margin-left: 30rpx;
  409. overflow: hidden;
  410. }
  411. .a-topic .b .item:last-child {
  412. margin-right: 30rpx;
  413. }
  414. .a-topic .b .img {
  415. height: 387.5rpx;
  416. width: 680.5rpx;
  417. margin-bottom: 10rpx;
  418. }
  419. .a-topic .b .np {
  420. height: 35rpx;
  421. margin-bottom: 13.5rpx;
  422. color: #333;
  423. font-size: 30rpx;
  424. }
  425. .a-topic .b .np .price {
  426. margin-left: 20.8rpx;
  427. color: #b4282d;
  428. }
  429. .a-topic .b .desc {
  430. display: block;
  431. height: 30rpx;
  432. color: #999;
  433. font-size: 24rpx;
  434. white-space: nowrap;
  435. overflow: hidden;
  436. text-overflow: ellipsis;
  437. }
  438. .good-grid {
  439. width: 750rpx;
  440. height: auto;
  441. overflow: hidden;
  442. }
  443. .good-grid .h {
  444. display: flex;
  445. flex-flow: row nowrap;
  446. align-items: center;
  447. justify-content: center;
  448. height: 130rpx;
  449. font-size: 33rpx;
  450. color: #333;
  451. }
  452. .good-grid .b {
  453. width: 750rpx;
  454. padding: 0 6.25rpx;
  455. height: auto;
  456. overflow: hidden;
  457. }
  458. .good-grid .b .item {
  459. float: left;
  460. background: #fff;
  461. width: 365rpx;
  462. margin-bottom: 6.25rpx;
  463. height: 452rpx;
  464. overflow: hidden;
  465. text-align: center;
  466. }
  467. .good-grid .b .item .a {
  468. height: 452rpx;
  469. width: 100%;
  470. }
  471. .good-grid .b .item-b {
  472. margin-left: 6.25rpx;
  473. }
  474. .good-grid .item .img {
  475. margin-top: 20rpx;
  476. width: 302rpx;
  477. height: 302rpx;
  478. }
  479. .good-grid .item .name {
  480. display: block;
  481. width: 365.625rpx;
  482. padding: 0 20rpx;
  483. overflow: hidden;
  484. height: 35rpx;
  485. margin: 11.5rpx 0 22rpx 0;
  486. text-align: center;
  487. font-size: 30rpx;
  488. color: #333;
  489. }
  490. .good-grid .item .price {
  491. display: block;
  492. width: 365.625rpx;
  493. height: 30rpx;
  494. text-align: center;
  495. font-size: 30rpx;
  496. color: #b4282d;
  497. }
  498. .good-grid .more-item {
  499. height: 100%;
  500. width: 100%;
  501. }
  502. .more-a {
  503. height: 100%;
  504. width: 100%;
  505. display: flex;
  506. flex-direction: column;
  507. align-items: center;
  508. justify-content: center;
  509. }
  510. .good-grid .more-a .txt {
  511. height: 33rpx;
  512. width: 100%;
  513. line-height: 33rpx;
  514. color: #333;
  515. font-size: 33rpx;
  516. }
  517. .good-grid .more-a .icon {
  518. margin: 60rpx auto 0 auto;
  519. width: 70rpx;
  520. height: 70rpx;
  521. }
  522. .line-through {
  523. text-decoration: line-through;
  524. }
  525. .number-item {
  526. display: inline-flex;
  527. -webkit-box-pack: justify;
  528. align-items: center;
  529. position: absolute;
  530. right: 0;
  531. margin-right: 60rpx;
  532. /* margin-top:8rpx; */
  533. }
  534. .number-item .selnum {
  535. /* height: 71rpx; */
  536. display: flex;
  537. }
  538. .number-item .cut {
  539. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAMAAADypuvZAAAAM1BMVEX////Z296wsLD6+vvo6evi5Obe3+Lr7O709fb5+fr3+Pjb3eDw8fLu7/Hl5+nk5ui5ubmS1nTyAAABG0lEQVRIx52WWXLEIAxEeUGSGeNl7n/aME6lUmQWm+5f+5l2A5LSC+XFPCrUcFtyuqDbFHSK6XaCzE7TvpZ8LFnWnSafPyB5g2oldSpWYXvrcgKmkQdNDpbfWDDwVwEE8cH6HMRTIAX8Y7rZofxbByydyKBfKx7MORV9Bn4CPL82EfkKlOMv+QxzuqQZfr++YemijK3Dz9Sb8mb0sib8Z4tqGlDldrA2AtnhKygjUCGOX0tDesS2sI9BO0vzuI5BK5acMgYVPAV5DMpEy71P9P71pHu/J9REDzXmBdVDSJBkTwpCilzaXOkYSQdWuRrSJZSuu1JYpBKmFEupLCsNQGk1SlOT2qfSqJWRQBg+lDFHG6j00U0fEqVx9BvALAkNabHL3QAAAABJRU5ErkJggg==);
  540. box-sizing: border-box;
  541. width: 25px;
  542. border: none;
  543. border-radius: 50%;
  544. height: 25px;
  545. background-size: 100% 100%;
  546. }
  547. .number-item .number {
  548. width: 2em;
  549. text-align: center;
  550. color: #333;
  551. }
  552. .number-item .add {
  553. 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=);
  554. box-sizing: border-box;
  555. width: 25px;
  556. border: none;
  557. border-radius: 50%;
  558. height: 25px;
  559. background-size: 100% 100%;
  560. }
  561. .group-box {
  562. display: flex;
  563. padding: 10px 10px;
  564. background-color: #fff;
  565. }
  566. .group-box .img {
  567. width: 240rpx;
  568. height: 240rpx;
  569. margin-top: 9px;
  570. }
  571. .group-box .title, .group-box .desc {
  572. text-align: left;
  573. padding: 0;
  574. }
  575. .group-box .imgline {
  576. flex: 1;
  577. padding-left: 15px;
  578. }
  579. .priceInfo .price {
  580. color: #b4282d;
  581. font-size: 40rpx;
  582. }
  583. .btn-view .btn {
  584. color: #fff;
  585. background-color: #f48f18;
  586. width: 200rpx;
  587. margin-top: 10px;
  588. font-size: 28rpx;
  589. float: right;
  590. }
  591. .btn-view .surplus {
  592. float: left;
  593. padding: 5px 10px;
  594. background-color: #ffdf80;
  595. text-align: center;
  596. margin-top: 15px;
  597. align-items: center;
  598. font-size: 28rpx;
  599. border-radius: 16px 16px 16px 16px;
  600. }
  601. .cart{
  602. margin-left: 20rpx;
  603. width: 35rpx;
  604. height: 35rpx;
  605. vertical-align: -6rpx;
  606. }
  607. .container-loc {
  608. box-sizing:border-box;
  609. background-color:#f4f4f4;
  610. font-family:PingFangSC-Light, helvetica, 'Heiti SC';
  611. display:flex;
  612. align-items:center;
  613. height:100vh;
  614. }
  615. .no-location-view{
  616. margin: 0rpx auto;
  617. }
  618. .no-location-text{
  619. color: #999;
  620. font-size: 24rpx;
  621. text-align: center
  622. }
  623. .no-location-text2{
  624. color: #b4282d;
  625. font-size: 30rpx;
  626. text-align: center
  627. }
  628. .no-loc-but-view{
  629. margin: 50rpx auto;
  630. }
  631. .no-loc-but{
  632. color: white;
  633. background: #b4282d;
  634. border-radius: 40rpx;
  635. width: 60%;
  636. height: 60rpx;
  637. line-height: 60rpx;
  638. font-size:34rpx;
  639. }
  640. .no-loc-but::after{
  641. border: none;
  642. }