food.wxss 19 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163
  1. @import '../../weui-wxss/weui.wxss';
  2. page{
  3. width: 100%;
  4. height: 100%;
  5. background: url("https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2856650628,4120182276&fm=26&gp=0.jpg") no-repeat;
  6. background-size:100% 100%;
  7. background-position: center center;
  8. }
  9. swiper-item image {
  10. width: 99%;
  11. height: 100%;
  12. }
  13. @keyframes around {
  14. from{margin-left: 100%;}
  15. to{margin-left:var(--around-end);}
  16. }
  17. @-webkit-keyframes around {
  18. from {margin-left: 100%;}
  19. to {margin-left:var(--around-end);}
  20. }
  21. .marquee_text{
  22. color:#c46e06;
  23. font-size: 32rpx;
  24. display: inline-block;
  25. white-space: nowrap;
  26. padding-left:40rpx;
  27. z-index:-1;
  28. }
  29. .marquee_container:hover{
  30. /* 不起作用 */
  31. animation-play-state: paused;
  32. }
  33. .marquee_container{
  34. position: relative;
  35. }
  36. .marquee_container image{
  37. position: absolute;
  38. width:40rpx;
  39. height:44rpx;
  40. padding-right:20rpx;
  41. display:inline-block;
  42. }
  43. .remainDecMoney{
  44. bottom: 88rpx!important;
  45. background: #ae1e24!important;
  46. opacity: 0.9;
  47. color: #fff;
  48. font-size: 28rpx;
  49. height: 60rpx!important;
  50. line-height: 60rpx;
  51. }
  52. .tag{
  53. float:left;
  54. margin-left:-36px;
  55. color:rgb(240,195,5);
  56. background:rgb(51,51,51);
  57. padding:0.5px 2px;
  58. margin-top:2px;
  59. font-size:14px;
  60. }
  61. .top{
  62. width: 100%;
  63. height: 80rpx;
  64. border-bottom: 1px solid #ccc;
  65. background: #ccc;
  66. }
  67. .top>text{
  68. display: block;
  69. text-align: center;
  70. width: 50%;
  71. height: 100%;
  72. float: left;
  73. font-size: 28rpx;
  74. line-height: 80rpx;
  75. letter-spacing: 3rpx;
  76. }
  77. .all_price{
  78. position:relative;
  79. bottom:-33rpx;
  80. left:164rpx;
  81. font-size:16px;
  82. width:189px;
  83. height:100%;
  84. float:right;
  85. }
  86. .order{
  87. background: #fff;
  88. color: orangered;
  89. border-bottom: 1px solid orangered;
  90. }
  91. /*系列样式*/
  92. .series_scroll{
  93. height: 100%;
  94. width: 170rpx;
  95. position: fixed;
  96. background: #efefef;
  97. /* bottom: 20%; */
  98. left: 0;
  99. font-weight: 600;
  100. }
  101. .series{
  102. width: 170rpx;
  103. height: auto;
  104. overflow: scroll;
  105. float: left;
  106. /* margin-bottom:90rpx; */
  107. }
  108. .series>ul{
  109. width: 100%;
  110. height: 100%;
  111. }
  112. .series>ul>li{
  113. background:#f8f8f8;
  114. display:block;
  115. width:100%;
  116. height:170rpx;
  117. line-height:48rpx;
  118. font-size:25rpx;
  119. text-align:center;
  120. border-bottom:3px solid #fefefe;
  121. box-sizing:border-box;
  122. }
  123. .product>text{
  124. display: block;
  125. width: 100%;
  126. height: 50rpx;
  127. /* background: #eee; */
  128. color: rgb(156, 152, 149);
  129. font-size: 25rpx;
  130. line-height: 50rpx;
  131. padding-left: 25rpx;
  132. /* border-left: 2px solid rgb(156, 152, 149); */
  133. }
  134. .series>ul>li>image{
  135. float:left;
  136. width:100%;
  137. height:100%;
  138. }
  139. /*产品样式*/
  140. .product_scroll{
  141. position: fixed;
  142. height: 100%;
  143. width: 94%;
  144. bottom: 100rpx;
  145. right: 3%;
  146. white-space: nowrap;
  147. background-color: #eee;
  148. opacity: 0.95;
  149. top: 100rpx;
  150. border-radius: 10rpx;
  151. }
  152. .clear_fix::after{
  153. content:'';
  154. display: block;
  155. width:0;
  156. height: 0;
  157. clear:both;
  158. }
  159. .product{
  160. width:100%;
  161. background: #fff;
  162. border-radius: 20rpx;
  163. padding-bottom: 20rpx;
  164. margin-top: 20rpx auto 0 auto;
  165. }
  166. .product:last-child{
  167. margin-bottom:90rpx;
  168. }
  169. .product>text{
  170. display: block;
  171. width: 100%;
  172. height: 0;
  173. /* height: 50rpx; */
  174. /* background: #eee; */
  175. color: rgb(156, 152, 149);
  176. font-size: 25rpx;
  177. line-height: 50rpx;
  178. padding-left: 25rpx;
  179. /* border-left: 2px solid rgb(156, 152, 149); */
  180. /* margin-top: 10px; */
  181. }
  182. .product>ul{
  183. width: 100%;
  184. }
  185. .product>ul>li{
  186. position: relative;
  187. width: 50%;
  188. display:block;
  189. border-radius:5px;
  190. float: left;
  191. box-sizing: border-box;
  192. padding:20rpx 10rpx 20rpx 20rpx;
  193. box-shadow: 10rpx 10rpx 8rpx #efefef;
  194. }
  195. .product>ul>li:nth-child(even){
  196. padding:20rpx 20rpx 20rpx 10rpx;
  197. }
  198. .product>ul>li:last-child{
  199. border-bottom: none;
  200. }
  201. .product>ul>li>image{
  202. height:242rpx;
  203. width:100%;
  204. vertical-align: bottom;
  205. }
  206. .product_detail{
  207. height: 142rpx;
  208. border:1px solid #fff;
  209. padding:20rpx 0 20rpx 14rpx;
  210. }
  211. .product_detail>text{
  212. display: block;
  213. font-size: 26rpx;
  214. position: absolute;
  215. }
  216. .imgs{
  217. text-align:right;
  218. position:absolute;
  219. /*
  220. top:30px;
  221. right:0px;
  222. */
  223. /* margin-top: 160rpx; */
  224. right:8rpx;
  225. /*
  226. width:50rpx;
  227. height:50rpx;
  228. text-align:center;
  229. float:right;
  230. */
  231. height: 50rpx;
  232. /*
  233. background-color: sienna;
  234. */
  235. }
  236. .car_imgs{
  237. text-align:right;
  238. position:absolute;
  239. top:8px;
  240. right:-5px;
  241. }
  242. .car_imgs image{
  243. width:50rpx;
  244. height:50rpx;
  245. padding:8rpx 15rpx 0rpx 15rpx;
  246. }
  247. .imgs image{
  248. width:50rpx;
  249. height:50rpx;
  250. margin:100rpx 15rpx 0rpx 15rpx;
  251. border-radius: 50%;
  252. }
  253. .spec{
  254. width:50rpx;
  255. height:50rpx;
  256. text-align:center;
  257. float:right;
  258. /*
  259. margin-right:6px;
  260. margin-top:56px;
  261. */
  262. margin-right: 20rpx;
  263. margin-top:210rpx;
  264. }
  265. .speca{
  266. width:50rpx;
  267. height:50rpx;
  268. text-align:center;
  269. float:right;
  270. /*
  271. margin-right:6px;
  272. margin-top:56px;
  273. */
  274. margin-right: 16rpx;
  275. margin-top:210rpx;
  276. }
  277. .shouqing{
  278. /* position: absolute; */
  279. margin-left: 206rpx;
  280. display: block;
  281. top: 55rpx;
  282. width: 95rpx;
  283. height: 35rpx;
  284. text-align: center;
  285. color: #fff;
  286. background: #ccc;
  287. font-size: 16rpx !important;
  288. line-height: 35rpx;
  289. border-radius: 20rpx;
  290. }
  291. .product_name{
  292. height: 100rpx;
  293. width: 88%;
  294. flex-wrap:wrap;
  295. word-break: keep-all;
  296. word-wrap: break-word;
  297. white-space: pre-line;
  298. overflow: hidden;
  299. text-overflow: ellipsis;
  300. white-space: nowrap;
  301. font-weight: bold;
  302. font-family: Microsoft yahei,Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  303. font-size:30rpx !important;
  304. }
  305. .product_price{
  306. margin-top: 58rpx;
  307. color: #d33;
  308. font-size: 30rpx !important;
  309. font-weight: bold;
  310. }
  311. ::-webkit-scrollbar{
  312. width: 0;
  313. height: 0;
  314. color: transparent;
  315. }
  316. /*底部样式*/
  317. .menu_bot{
  318. position: fixed;
  319. width:100%;
  320. bottom: -2rpx;
  321. background: rgba(255, 255, 255,0.9);
  322. }
  323. .car_img{
  324. width: 95rpx;
  325. height: 95rpx;
  326. display: block;
  327. float: left;
  328. position: relative;
  329. left: 35rpx;
  330. top: -15rpx;
  331. }
  332. .menu_bot>text{
  333. display: block;
  334. float: right;
  335. font-size: 25rpx;
  336. width: 194rpx;
  337. /* background:rgb(123,121,122); */
  338. background: #FF6347;
  339. text-align: center;
  340. height: 80rpx;
  341. padding-top: 12rpx;
  342. color: #fff;
  343. }
  344. .orders,.order_detail{
  345. border-right: 1px solid #fff;
  346. }
  347. .num{
  348. width: 55rpx;
  349. height: 55rpx;
  350. border-radius: 50%;
  351. position: fixed;
  352. display: block;
  353. background: orangered;
  354. text-align: center;
  355. line-height: 55rpx;
  356. left: 95rpx;
  357. top: 90%;
  358. color: #fff;
  359. font-size: 20rpx;
  360. }
  361. /*我的购物车*/
  362. .my_car{
  363. width: 100%;
  364. height: 100%;
  365. background: rgba(0, 0, 0,0.2);
  366. position: fixed;
  367. bottom: 0rpx;
  368. /* border: 1rpx solid orangered; */
  369. /* left: 15%; */
  370. /* display: block; */
  371. }
  372. .my_car_ul{
  373. /* width: 700rpx;
  374. height: 80%;
  375. position: relative;
  376. background: #fff;
  377. top: 150rpx;
  378. display: block;
  379. overflow: scroll;
  380. left: 25rpx;
  381. padding-bottom: 100rpx;
  382. box-sizing: border-box;
  383. margin-top: -100rpx; */
  384. width:100%;
  385. height:60%;
  386. position:relative;
  387. background:#fff;
  388. /* top:41%; */
  389. display:block;
  390. overflow:scroll;
  391. /* left:25rpx; */
  392. padding-bottom:100rpx;
  393. box-sizing:border-box;
  394. margin-bottom:100rpx;
  395. /* border-radius:15rpx 15rpx 0 0 */
  396. }
  397. .ul_car_li:last-child{
  398. margin-bottom: 30px;
  399. }
  400. .my_car_ul>li{
  401. position: relative;
  402. width: 90%;
  403. min-height:49px;
  404. display: block;
  405. font-size: 25rpx;
  406. border-bottom: 1px solid #ccc;
  407. line-height: 130rpx;
  408. padding-left: 15rpx;
  409. margin-left: 5%;
  410. }
  411. .ul_car_list{
  412. min-height: 70px !important;
  413. font-weight: 600;
  414. display: flex;
  415. flex-direction: row;
  416. align-items: center;
  417. justify-content: flex-start;
  418. }
  419. .ul_car_li{
  420. min-height: 70px !important;
  421. font-weight: 600;
  422. }
  423. .my_car_ul>li>text{
  424. float: left;
  425. }
  426. .my_car_price{
  427. font-size:14px;
  428. margin-top: 28px;
  429. color: #ae1e24;
  430. float: right!important;
  431. margin-right: 12px;
  432. }
  433. .my_car_name{
  434. font-size: 14px;
  435. }
  436. .add_name{
  437. margin-left:15px;
  438. font-size:15px;
  439. }
  440. .title{
  441. /* height: 70rpx; */
  442. height:70rpx !important;
  443. line-height:70rpx;
  444. background:rgb(169,169,169);
  445. min-height:70rpx;
  446. width:100%;
  447. padding-left:0 !important;
  448. margin-left:0 !important;
  449. text-align:center;
  450. position: relative;
  451. /* top: 33%; */
  452. border-radius:15rpx 15rpx 0 0;
  453. margin-top: 60%;
  454. }
  455. .title>text{
  456. display: block;
  457. width: 100%;
  458. text-align: center;
  459. font-size: 24rpx;
  460. letter-spacing: 3rpx;
  461. color: #fff;
  462. /* line-height: 105rpx; */
  463. }
  464. .delete{
  465. width: 35rpx;
  466. height: 35rpx;
  467. }
  468. .jia,.jian{
  469. width: 35rpx;
  470. height:35rpx;
  471. margin-top: 25rpx;
  472. }
  473. .jia{
  474. position: relative;
  475. left: 15rpx;
  476. }
  477. .jian{
  478. position: relative;
  479. right:15rpx;
  480. }
  481. .shuliang{
  482. position: relative;
  483. top: -10rpx;
  484. }
  485. .normal,.normal_spec{
  486. display: none;
  487. }
  488. .remove{
  489. position:relative;
  490. width:55rpx;
  491. height:55rpx;
  492. top:35rpx;
  493. left:50rpx;
  494. }
  495. .choose_spec{
  496. width: 500rpx;
  497. height: auto;
  498. min-height: 300rpx;
  499. position: relative;
  500. margin-top: 55%;
  501. left: 15%;
  502. background: #fff;
  503. border: 1px solid orangered;
  504. }
  505. .choose_spec>view>text{
  506. display: block;
  507. margin-top: 25rpx;
  508. font-size: 30rpx;
  509. margin-left: 15rpx;
  510. }
  511. .choose_spec>view>ul{
  512. display: block;
  513. margin-left: 15rpx;
  514. margin-top: 15rpx;
  515. height: auto;
  516. }
  517. .choose_spec>view>ul>li{
  518. display: block;
  519. float: left;
  520. height: 35rpx;
  521. line-height: 35rpx;
  522. width: auto;
  523. padding: 0 15rpx;
  524. border: 1px solid #ccc;
  525. font-size: 25rpx;
  526. margin-left: 15rpx;
  527. }
  528. .spec_price{
  529. font-size: 25rpx;
  530. position: absolute;
  531. bottom: 25rpx;left: 35rpx;
  532. }
  533. .spec_add{
  534. width: 35rpx;
  535. height: 35rpx;
  536. position: absolute;
  537. bottom: 25rpx;right: 35rpx;
  538. }
  539. .spec_close{
  540. width: 35rpx;
  541. height: 35rpx;
  542. position: absolute;
  543. top: 25rpx;right: 35rpx;
  544. }
  545. .choose_plactice{
  546. border: 1px solid orangered!important;
  547. }
  548. .add_name,.car_package{
  549. position: absolute !important;
  550. left:100rpx !important;
  551. float:left;
  552. top:16px;
  553. font-size:10px;
  554. width:200px;
  555. }
  556. .add_name{
  557. top: 28px !important;
  558. }
  559. .car_package{
  560. top:40px;
  561. }
  562. .car_package>text{
  563. float:left;
  564. margin-top:6rpx;
  565. margin-left:42rpx;
  566. color:#454545;
  567. line-height:31rpx;
  568. }
  569. .car_package>text:first-child{
  570. margin-left: 42rpx;
  571. }
  572. .add_name>text{
  573. float: left;
  574. margin-top:17rpx;
  575. margin-left:15rpx;
  576. color: orangered
  577. }
  578. .add_name>text{
  579. margin-top:45rpx;
  580. line-height:0px;
  581. font-size:10px;
  582. }
  583. .clear_all{
  584. position:absolute;
  585. top:50rpx;
  586. left:552rpx;
  587. }
  588. /* .is_checked{
  589. display: block;
  590. } */
  591. .modal-mask {
  592. width: 100%;
  593. height: 100%;
  594. position: fixed;
  595. top: 0;
  596. left: 0;
  597. background: #000;
  598. opacity: 0.5;
  599. overflow: hidden;
  600. z-index: 9000;
  601. color: #fff;
  602. }
  603. .modal-dialog {
  604. width: 600rpx;
  605. overflow: hidden;
  606. position: fixed;
  607. top: 45%;
  608. left: 0;
  609. z-index: 9500;
  610. margin: -180rpx 70rpx;
  611. }
  612. .modal-photo {
  613. position: fixed;
  614. top: 20%;
  615. left: 0;
  616. z-index: 9999;
  617. margin: -180rpx 250rpx;
  618. }
  619. .modal-content {
  620. position: fixed;
  621. top: 30%;
  622. left: 0;
  623. z-index: 9500;
  624. width: 500rpx;
  625. height: 30%;
  626. overflow: hidden;
  627. padding: 120rpx 50rpx 50rpx;
  628. margin: -75rpx 70rpx;
  629. border-radius: 2rpx;
  630. }
  631. .btns {
  632. margin: 5rpx auto;
  633. width: 500rpx;
  634. }
  635. .btn {
  636. width: 500rpx;
  637. height: 75rpx;
  638. font-size: 30rpx;
  639. border: solid 1rpx rgb(150, 220, 248);
  640. background: rgba(152, 230, 250, 0.3);
  641. margin-bottom: 20rpx;
  642. }
  643. .showModelImg{
  644. width:50px;
  645. height:50px;
  646. position:fixed;
  647. left:42%;
  648. }
  649. .car_bottom{
  650. width:700rpx;
  651. margin-left:25rpx;
  652. position:relative;
  653. top:28px;
  654. padding-bottom:20px;
  655. background:#fff;
  656. }
  657. .showModel{
  658. width: 100%;
  659. height: 100%;
  660. background:rgba(0,0,0,0.2);
  661. position: fixed;
  662. top: 0;
  663. }
  664. .showModelImg{
  665. /*
  666. width:564rpx;
  667. height:806rpx;
  668. display: flex;
  669. justify-content: center;
  670. align-items: center;
  671. 434*620
  672. */
  673. width:80%;
  674. height:70%;
  675. margin-left:-30%;
  676. margin-top:12%;
  677. border-radius:5px;
  678. }
  679. .poster{
  680. /*
  681. width:80%;
  682. height:70%;
  683. 434*620
  684. */
  685. width:564rpx;
  686. height:806rpx;
  687. display: flex;
  688. justify-content: center;
  689. align-items: center;
  690. margin-left:93rpx;
  691. margin-top:20%;
  692. border-radius:20rpx;
  693. }
  694. .close{
  695. position:fixed;
  696. /*
  697. bottom:13%;
  698. */
  699. margin-top:7%;
  700. width:82rpx;
  701. height:82rpx;
  702. left:46%;
  703. }
  704. .bottom{
  705. display: flex; flex-direction: row; justify-content: center; align-items: center;
  706. position:fixed;
  707. width:100%;
  708. bottom:-2rpx;
  709. background:rgb(169,169,169);
  710. height: 90rpx;
  711. }
  712. .menu_bot{
  713. position:fixed;
  714. width:100%;
  715. bottom:-2rpx;
  716. background:rgb(169,169,169);
  717. height: 90rpx;
  718. }
  719. .tongji{
  720. float:left;
  721. font-size:24rpx;
  722. line-height:90rpx;
  723. margin-left:60rpx;
  724. color:#fff;
  725. }
  726. .car_img{
  727. width:68rpx;
  728. height:68rpx;
  729. display:block;
  730. /*
  731. float:left;
  732. position:relative;
  733. */
  734. left:35rpx;
  735. top:13rpx;
  736. }
  737. .menu_bot>text{
  738. display:block;
  739. float:right;
  740. font-size:25rpx;
  741. width:150rpx;
  742. text-align:center;
  743. /* margin-top: 15rpx; */
  744. /* height:50rpx;
  745. padding-top:8rpx;
  746. margin-top:20rpx; */
  747. }
  748. .pay{
  749. display: flex !important;
  750. justify-content: center !important;
  751. align-items: center !important;
  752. width: 50% !important;
  753. height: 100% !important;
  754. background-color: gold !important;
  755. color: black !important;
  756. font-weight: bold !important;
  757. border-radius: 0rpx;
  758. /* border-top-right-radius: 16rpx !important;
  759. border-bottom-right-radius: 16rpx !important; */
  760. /* margin-right: 20rpx !important; */
  761. }
  762. .order_detail{
  763. display: flex !important;
  764. justify-content: center !important;
  765. align-items: center !important;
  766. width: 50% !important;
  767. height: 100% !important;
  768. background-color: black !important;
  769. color: gold !important;
  770. border-radius: 0rpx;
  771. /* border-top-left-radius: 16rpx !important;
  772. border-bottom-left-radius: 16rpx !important; */
  773. }
  774. .categroy,.categroyScroll {
  775. width: 100%;
  776. height: 90rpx;
  777. width: 100%;
  778. overflow: hidden;
  779. white-space: nowrap;
  780. top: 0;
  781. position: fixed;
  782. line-height: 90rpx;
  783. z-index: 9999;
  784. opacity: 0.9;
  785. }
  786. .categroyScrollView {
  787. padding: 0 20rpx;
  788. height: 90rpx;
  789. display: inline-block;
  790. background: #d3c2b8;
  791. }
  792. .on{
  793. background: #f4b73d;
  794. }
  795. .categroyScrollView text{
  796. padding:12rpx;
  797. font-size: 34rpx;
  798. border-radius: 10rpx;
  799. }
  800. .weui-tabs{width:100%}
  801. .weui-tabs-bar__wrp{width:100%;background:#fff}
  802. .menu_content{
  803. white-space:nowrap;
  804. height: 90rpx;
  805. overflow: hidden;
  806. top: 0;
  807. position: fixed;
  808. line-height: 90rpx;
  809. z-index: 9999;
  810. opacity: 0.9;
  811. width: 100%;
  812. display: inline-flex;
  813. }
  814. .menu_item{
  815. height: 90rpx;
  816. display: inline-block;
  817. background: #d3c2b8;
  818. min-width: 25%;
  819. text-align: center;
  820. }
  821. .weui-tabs-bar__title{display:inline-block;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:transparent}
  822. .weui-tabs-bar__wrp {
  823. border-bottom: 1px solid #eee;
  824. margin-top: 10px;
  825. }
  826. .weui-tabs-swiper {
  827. width: 100%;
  828. height: 100px;
  829. }
  830. .tab-content {
  831. height: 100px;
  832. width: 100%;
  833. display: flex;
  834. justify-content: center;
  835. align-items: center;
  836. box-sizing: border-box;
  837. padding: 40rpx;
  838. }
  839. .weui-tabs-bar__title {
  840. margin: 0px 10px;
  841. }
  842. .tab-bar-title__selected {
  843. font-size: 20px;
  844. font-weight: bold;
  845. }
  846. .activeClass{
  847. background-color: #f4b73d;
  848. }
  849. .menu_title{
  850. padding:12rpx;
  851. font-size: 34rpx;
  852. border-radius: 28rpx;
  853. font-weight: bold;
  854. font-family: Microsoft yahei,Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  855. }
  856. .menu {
  857. display: flex;
  858. flex-direction: row;
  859. height: 90rpx;
  860. }
  861. .icon {
  862. top: 0;
  863. position: fixed;
  864. right: 0;
  865. width: 8%;
  866. background-color: #FFF;
  867. height: 90rpx;
  868. display: flex;
  869. justify-content: center;
  870. align-items: center;
  871. }
  872. .product_list {
  873. flex: 1;
  874. display: flex;
  875. margin-top: 20rpx;
  876. margin-left: 22rpx;
  877. min-height: 1000rpx;
  878. }
  879. .product_bg {
  880. background-color: #FFF;
  881. width: 96%;
  882. height: 100%;
  883. min-height: 1000rpx;
  884. background: rgba(255, 255, 255, 0.9);
  885. }
  886. .product_content_list {
  887. display: flex;
  888. width: 700rpx;
  889. /* flex: 1; */
  890. flex-wrap: wrap;
  891. overflow:auto;
  892. border-radius: 8rpx;
  893. /* height: 100%; */
  894. }
  895. .bx-tabs {
  896. display: flex;
  897. flex-direction: column;
  898. height: 100%;
  899. width: 100%;
  900. }
  901. .cart {
  902. height: 100rpx;
  903. display: inline-flex;
  904. flex-direction: row;
  905. }
  906. .product-info {
  907. width: 338rpx;
  908. height: 400rpx;
  909. /* flex: 1; */
  910. display: flex;
  911. flex-direction: column;
  912. box-shadow: 0rpx 1rpx 8rpx #efefef;
  913. border-radius: 20rpx;
  914. padding-top: 10rpx;
  915. margin-bottom: 10rpx;
  916. background-color: #FFF;
  917. margin-left: 8rpx;
  918. }
  919. .cart-icon {
  920. width: 80rpx;
  921. height: 80rpx;
  922. border-radius: 80rpx;
  923. background-color: #d81e06;
  924. display: inline-flex;
  925. justify-content: center;
  926. align-items: center;
  927. z-index: 999;
  928. position: fixed;
  929. margin-left: 25rpx;
  930. }
  931. .cart-icon-size {
  932. width: 40rpx;
  933. height: 40rpx;
  934. }
  935. .product_img {
  936. height: 242rpx;
  937. width: 325rpx;
  938. border-radius: 10rpx;
  939. }
  940. .product_img_dir {
  941. display: flex;
  942. justify-content: center;
  943. align-items: center;
  944. }
  945. .product-info .good_name {
  946. flex-wrap:wrap;
  947. word-break: keep-all;
  948. word-wrap: break-word;
  949. overflow: hidden;
  950. text-overflow: ellipsis;
  951. white-space: nowrap;
  952. font-size:30rpx;
  953. margin-left: 16rpx;
  954. /* height: 64rpx; */
  955. font-weight: bold;
  956. padding-top: 10rpx;
  957. font-family: Microsoft yahei,Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  958. }
  959. .add-cart {
  960. border-radius: 50%;
  961. display: flex;
  962. flex-direction: row-reverse;
  963. height: 50rpx;
  964. margin-right: 13rpx;
  965. padding-bottom: 10rpx;
  966. /* position: relative; */
  967. /* left: -10rpx; */
  968. /* bottom: 10rpx; */
  969. }
  970. .add-cart-size{
  971. width: 50rpx;
  972. height: 50rpx;
  973. }
  974. .good_price {
  975. margin-left: 23rpx;
  976. color: #d33;
  977. }
  978. .cart-num {
  979. display: inline-flex;
  980. background-color: #343434;
  981. width: 69%;
  982. height: 80rpx;
  983. border-top-left-radius: 40rpx;
  984. border-bottom-left-radius: 40rpx;
  985. margin-left: 27rpx;
  986. align-items: center;
  987. }
  988. .cart-num-txt {
  989. color: #888888;
  990. margin-left: 105rpx;
  991. font-size: 26rpx;
  992. }
  993. .buy-cart {
  994. display: inline-flex;
  995. background-color: #d81e06;
  996. justify-content: center;
  997. align-items: center;
  998. height: 80rpx;
  999. width: 24%;
  1000. border-top-right-radius: 40rpx;
  1001. border-bottom-right-radius: 40rpx;
  1002. }
  1003. .buy-cart-txt {
  1004. color: #FFF;
  1005. font-size: 29rpx;
  1006. }
  1007. .cart-mar{
  1008. margin-top: 10rpx;
  1009. }
  1010. .weui-mask,.weui-half-screen-dialog{transition:all .3s}.weui-hidden .weui-mask{visibility:hidden;opacity:0}.weui-hidden .weui-half-screen-dialog{transform:translateY(100%)}.weui-show .weui-mask{opacity:1;visibility:visible}.weui-show .weui-half-screen-dialog{transform:translateY(0%)}
  1011. .cart-dialog {
  1012. max-height: 1000rpx;
  1013. overflow: scroll;
  1014. }
  1015. .cart-hd {
  1016. height: 80rpx;
  1017. padding-top: 10rpx;
  1018. font-size: 29rpx;
  1019. display: inline-flex;
  1020. position:fixed;
  1021. width: 669rpx;
  1022. }
  1023. .discount-txt {
  1024. margin-left: auto;
  1025. margin-right: auto;
  1026. }
  1027. .cart-good-img {
  1028. width: 227rpx;
  1029. height: 169rpx;
  1030. }
  1031. .cart-bd {
  1032. display: inline-flex;
  1033. flex-direction: row;
  1034. width: 100%;
  1035. }
  1036. .cart-good-name {
  1037. flex-wrap:wrap;
  1038. word-break: keep-all;
  1039. word-wrap: break-word;
  1040. overflow: hidden;
  1041. text-overflow: ellipsis;
  1042. white-space: nowrap;
  1043. font-size:30rpx;
  1044. margin-left: 16rpx;
  1045. font-weight: bold;
  1046. padding-top: 10rpx;
  1047. font-family: Microsoft yahei,Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  1048. }
  1049. .cart-info{
  1050. width: 100%;
  1051. height: 169rpx;
  1052. justify-content: space-between;
  1053. display: flex;
  1054. flex-direction: column;
  1055. }
  1056. .cart-good-row {
  1057. display: inline-flex;
  1058. justify-content: space-between;
  1059. padding-left: 10rpx;
  1060. }
  1061. .cart-good-price {
  1062. color: #d33;
  1063. }
  1064. .cart-good-jia {
  1065. display: inline-flex;
  1066. align-items: center;
  1067. width: 100%;
  1068. height: 100%;
  1069. flex-direction: row-reverse;
  1070. }
  1071. .cart-good-num{
  1072. padding: 0 15rpx 0 15rpx;
  1073. }
  1074. .delete-cart{
  1075. background-color:#e64340;
  1076. color:#fff;
  1077. width: 80rpx;
  1078. text-align: center;
  1079. border-radius: 10rpx;
  1080. }