index.vue 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085
  1. <template>
  2. <div class="paddy">
  3. <div class="bgImg">
  4. <img src="@/assets/images/home/bgImg.png" alt="" />
  5. </div>
  6. <div class="top">
  7. <!-- <img src="@/assets/images/home/paddy.png" alt="" /> -->
  8. <van-swipe
  9. class="my-swipe"
  10. :autoplay="3000"
  11. indicator-color="#DAAD71"
  12. @change="onChange"
  13. >
  14. <van-swipe-item style="width: 90vw">
  15. <img
  16. src="@/assets/images/home/swipper/swipper1.png"
  17. alt=""
  18. style="width: 100%"
  19. />
  20. </van-swipe-item>
  21. <van-swipe-item>
  22. <img src="@/assets/images/home/swipper/swipper2.png" alt="" />
  23. </van-swipe-item>
  24. <template #indicator>
  25. <ul class="oUl">
  26. <li
  27. :class="
  28. current == 0
  29. ? 'custom-indicator indicator-active'
  30. : 'custom-indicator'
  31. "
  32. ></li>
  33. <li
  34. :class="
  35. current == 1
  36. ? 'custom-indicator indicator-active'
  37. : 'custom-indicator'
  38. "
  39. ></li>
  40. </ul>
  41. </template>
  42. </van-swipe>
  43. </div>
  44. <div class="centerBtn">
  45. <li @click="goto('/referMenu', '五常大米')">
  46. <img src="@/assets/images/home/centerUl/rice.png" alt="" />
  47. <p>五常大米</p>
  48. </li>
  49. <li @click="goto('/referMenu', '金卡权益')">
  50. <img src="@/assets/images/home/centerUl/card.png" alt="" />
  51. <p>金卡权益</p>
  52. </li>
  53. <li @click="goto('/referMenu', '品牌简介')">
  54. <img src="@/assets/images/home/centerUl/infro.png" alt="" />
  55. <p>品牌简介</p>
  56. </li>
  57. </div>
  58. <div class="detail">
  59. <p>产品展示</p>
  60. <li @click="goto('/referMenu', '五常大米-实惠装')">
  61. <div class="riceBag">
  62. <p class="riceBag-title">实惠装</p>
  63. </div>
  64. <img src="@/assets/images/home/detail/bag.png" alt="" />
  65. </li>
  66. <li @click="goto('/referMenu', '五常大米-礼盒装')">
  67. <div class="riceBox">
  68. <p class="riceBox-title">礼盒装</p>
  69. </div>
  70. <img src="@/assets/images/home/detail/box.png" alt="" />
  71. </li>
  72. <!-- <img src="@/assets/images/home/paddy-title.png" alt="" /> -->
  73. <!-- <img src="@/assets/images/home/paddy-detail.png" alt="" /> -->
  74. </div>
  75. <div class="middle">
  76. <p>产品优势</p>
  77. <!-- 每个元素的两侧间隔相等 -->
  78. <van-row type="flex" justify="center">
  79. <van-col
  80. span="12"
  81. style="padding: 2px 0px 0px 0"
  82. @click="goto('/live', '实时监控')"
  83. >
  84. <div class="card">
  85. <img
  86. src="@/assets/images/home/middle/cardOne.png"
  87. alt=""
  88. style="width: 40vw"
  89. />
  90. <p class="first">实时监控</p>
  91. <p class="second">全程溯源信赖保证</p>
  92. <div class="lastP">
  93. <p>查看更多</p>
  94. </div>
  95. </div>
  96. <div class="camera">
  97. <img src="@/assets/images/home/middle/camera.png" alt="" />
  98. </div>
  99. </van-col>
  100. <van-col span="12" style="padding: 0px 0 0px 0px">
  101. <van-col span="24" style="padding: 0 0 5px 0">
  102. <div class="cardTwo" @click="goto('/referMenu', '恒温保鲜')">
  103. <img
  104. src="@/assets/images/home/middle/cardTwo.png"
  105. alt=""
  106. style="width: 41vw"
  107. />
  108. <p class="first">恒温保鲜</p>
  109. <p class="second">带壳归仓恒温仓储</p>
  110. <div class="keepAlive">
  111. <img src="@/assets/images/home/middle/keepAlive.png" alt="" />
  112. </div>
  113. </div>
  114. <!-- <img src="@/assets/images/home/middle/keepAlive.png" alt="" /> -->
  115. </van-col>
  116. <van-col span="24" style="padding: 0 0 0px 0">
  117. <div class="cardThree" @click="goto('/referMenu', '现磨鲜米')">
  118. <img
  119. src="@/assets/images/home/middle/cardTwo.png"
  120. alt=""
  121. style="width: 41vw"
  122. />
  123. <p class="first">现磨鲜米</p>
  124. <p class="second">现磨现发随享鲜香</p>
  125. <div class="freshRice">
  126. <img src="@/assets/images/home/middle/freshRice.png" alt="" />
  127. </div>
  128. </div>
  129. </van-col>
  130. </van-col>
  131. <van-col span="12" style="padding: 8px 0px 0px 0">
  132. <div class="cardFour" @click="goto('/referMenu', '自然耕种')">
  133. <img
  134. src="@/assets/images/home/middle/cardTwo.png"
  135. alt=""
  136. style="width: 40vw"
  137. />
  138. <p class="first">自然耕种</p>
  139. <p class="second">农耕记忆山水乡愁</p>
  140. <div class="normalGrow">
  141. <img src="@/assets/images/home/middle/normalGrow.png" alt="" />
  142. </div>
  143. </div>
  144. </van-col>
  145. <van-col span="12" style="padding: 8px 0 0px 0px">
  146. <div class="cardFive" @click="goto('/referMenu', '生态有机')">
  147. <img
  148. src="@/assets/images/home/middle/cardTwo.png"
  149. alt=""
  150. style="width: 41vw"
  151. />
  152. <p class="first">生态有机</p>
  153. <p class="second">黄金纬度黑金厚土</p>
  154. <div class="organic">
  155. <img src="@/assets/images/home/middle/organic.png" alt="" />
  156. </div>
  157. </div>
  158. <!-- <img src="@/assets/images/home/middle/keepAlive.png" alt="" /> -->
  159. </van-col>
  160. </van-row>
  161. <!-- <van-row type="flex" justify="center" style="margin: 5px 0 0 0">
  162. <van-col span="12">
  163. <div class="cardFour" @click="goto('/referMenu', '自然耕种')">
  164. <img
  165. src="@/assets/images/home/middle/cardTwo.png"
  166. alt=""
  167. style="width: 40vw"
  168. />
  169. <p class="first">自然耕种</p>
  170. <p class="second">农耕记忆 山水乡愁</p>
  171. </div>
  172. <div class="normalGrow">
  173. </div>
  174. </van-col>
  175. <van-col span="12" style="padding: 0 0 0 5px">
  176. <div class="cardFive" @click="goto('/referMenu', '生态有机')">
  177. <img src="@/assets/images/home/middle/cardTwo.png" alt="" />
  178. <p class="first">生态有机</p>
  179. <p class="second">黄金纬度 黑金厚土</p>
  180. </div>
  181. <div class="organic">
  182. </div>
  183. </van-col>
  184. </van-row> -->
  185. </div>
  186. <div class="bottom">
  187. <img src="@/assets/img/footer.png" alt="" />
  188. </div>
  189. <!-- <div class="bottom">
  190. <img src="@/assets/img/footer.png" alt="" />
  191. </div> -->
  192. </div>
  193. </template>
  194. <script>
  195. export default {
  196. data() {
  197. return {
  198. current: 0,
  199. };
  200. },
  201. methods: {
  202. onChange(index) {
  203. this.current = index;
  204. },
  205. goto(url, name) {
  206. window.vm.$router.push({
  207. path: url,
  208. query: {
  209. type: name,
  210. },
  211. });
  212. },
  213. },
  214. };
  215. </script>
  216. <style lang="scss" scoped>
  217. .paddy {
  218. overflow: scroll;
  219. position: relative;
  220. .bgImg {
  221. width: 100%;
  222. position: absolute;
  223. left: 0;
  224. top: 0;
  225. // height: 948px;
  226. img {
  227. width: 100%;
  228. }
  229. }
  230. .top {
  231. width: 90vw;
  232. margin: 34.5px auto 0 auto;
  233. img {
  234. width: 90vw;
  235. }
  236. }
  237. .bottom {
  238. width: 90vw;
  239. height: 108px;
  240. overflow: hidden;
  241. margin: 0 auto;
  242. z-index: 99999;
  243. position: relative;
  244. left: 0;
  245. // display: flex;
  246. // position: relative;
  247. bottom: 0;
  248. img {
  249. width: 90vw;
  250. }
  251. }
  252. .oUl {
  253. position: absolute;
  254. // top: 23vh;
  255. // left: 48vw;\
  256. padding: 0 0 0 0;
  257. margin: -2vh 0 0 44vw;
  258. }
  259. .custom-indicator {
  260. right: 155px;
  261. bottom: 7.5px;
  262. float: left;
  263. margin: 1px 3px;
  264. width: 6px;
  265. height: 6px;
  266. background: #7c6d5b;
  267. border-radius: 50%;
  268. }
  269. .indicator-active {
  270. background: #daad71;
  271. border-radius: 2px;
  272. width: 16px;
  273. height: 4px;
  274. margin-top: 2px;
  275. }
  276. .centerBtn {
  277. z-index: 99;
  278. width: 300px;
  279. height: 65px;
  280. position: relative;
  281. // top: 209px;
  282. margin: 2vh auto 0 auto;
  283. li {
  284. width: 60px;
  285. height: 100%;
  286. margin: 0 20px;
  287. float: left;
  288. list-style: none;
  289. text-align: center;
  290. img {
  291. width: 45px;
  292. height: 45px;
  293. }
  294. p {
  295. margin: 0 auto;
  296. width: 48px;
  297. height: 12px;
  298. font-size: 12px;
  299. font-family: Source Han Sans CN;
  300. font-weight: 200;
  301. color: #dab082;
  302. line-height: 13px;
  303. background: linear-gradient(
  304. -4deg,
  305. #b8925c 0%,
  306. #936e40 28.80859375%,
  307. #f6c684 65.8203125%,
  308. #936e40 100%
  309. );
  310. -webkit-background-clip: text;
  311. -webkit-text-fill-color: transparent;
  312. }
  313. }
  314. }
  315. .detail {
  316. width: 90vw;
  317. height: 20vh;
  318. margin: 3vh auto 0;
  319. position: relative;
  320. // display: flex;
  321. // justify-content: center;
  322. p {
  323. width: 125px;
  324. height: 15.5px;
  325. font-size: 16px;
  326. font-family: Source Han Sans CN;
  327. font-weight: 500;
  328. color: #daad70;
  329. line-height: 15px;
  330. margin: 0px 0 10px 5px;
  331. }
  332. li {
  333. float: left;
  334. list-style: none;
  335. width: 42vw;
  336. height: 105px;
  337. margin: 0 0 0 9px;
  338. img {
  339. width: 100%;
  340. }
  341. .riceBag {
  342. width: 43px;
  343. height: 14px;
  344. background: #613c0c;
  345. border-radius: 10px 0;
  346. text-align: center;
  347. position: absolute;
  348. left: 8px;
  349. top: 25px;
  350. display: flex;
  351. justify-content: center;
  352. align-items: center;
  353. .riceBag-title {
  354. margin: 0;
  355. // width: 26.5px;
  356. transform: scale(0.8);
  357. width: 36.5px;
  358. height: 17.5px;
  359. font-size: 0.5rem;
  360. font-family: Source Han Sans CN;
  361. font-weight: 150;
  362. color: #f1cda9;
  363. line-height: 16.5px;
  364. }
  365. }
  366. .riceBox {
  367. width: 43px;
  368. height: 14px;
  369. background: #613c0c;
  370. border-radius: 10px 0;
  371. text-align: center;
  372. position: absolute;
  373. right: 120px;
  374. top: 25px;
  375. display: flex;
  376. justify-content: center;
  377. align-items: center;
  378. .riceBox-title {
  379. margin: 0;
  380. // width: 26.5px;
  381. transform: scale(0.8);
  382. width: 36.5px;
  383. height: 17.5px;
  384. font-size: 0.75rem;
  385. font-family: Source Han Sans CN;
  386. font-weight: 150;
  387. color: #f1cda9;
  388. }
  389. }
  390. }
  391. }
  392. .middle {
  393. width: 90vw;
  394. margin: 3vh auto 15px;
  395. position: relative;
  396. p {
  397. margin: 0 0 10px 5px;
  398. width: 126px;
  399. height: 15.5px;
  400. font-size: 16px;
  401. font-family: Source Han Sans CN;
  402. font-weight: 500;
  403. color: #daad70;
  404. line-height: 15px;
  405. }
  406. img {
  407. width: 100%;
  408. }
  409. .card {
  410. width: 45vw;
  411. // position: absolute;
  412. display: flex;
  413. justify-content: center;
  414. align-items: center;
  415. .first {
  416. position: absolute;
  417. width: 78.5px;
  418. height: 14px;
  419. font-size: 15px;
  420. font-family: Source Han Sans CN;
  421. font-weight: 500;
  422. color: #613c0c;
  423. line-height: 3px;
  424. left: 3vw;
  425. top: 10vh;
  426. }
  427. .second {
  428. // margin: -21vh 0 0 5vw;
  429. position: absolute;
  430. top: 9vh;
  431. left: 4vw;
  432. // margin: 1vh 0 0 6vw;
  433. width: 48px;
  434. height: 24px;
  435. font-size: 11px;
  436. font-family: Source Han Sans CN;
  437. font-weight: 300;
  438. color: #613c0c;
  439. line-height: 12px;
  440. }
  441. .lastP {
  442. width: 52px;
  443. height: 17px;
  444. background: #0f0b06;
  445. border-radius: 13px;
  446. position: absolute;
  447. top: 15vh;
  448. left: 4vw;
  449. display: flex;
  450. justify-content: center;
  451. align-items: center;
  452. p {
  453. margin: 0;
  454. transform: scale(0.8);
  455. width: 48px;
  456. height: 12px;
  457. line-height: 12px;
  458. font-size: 0.5rem;
  459. font-family: Source Han Sans CN;
  460. font-weight: 300;
  461. color: #c5a06b;
  462. line-height: 11.5px;
  463. background: linear-gradient(0deg, #a57d50 0%, #e3d097 100%);
  464. -webkit-background-clip: text;
  465. -webkit-text-fill-color: transparent;
  466. }
  467. }
  468. }
  469. .camera {
  470. width: 20vw;
  471. position: absolute;
  472. left: 22vw;
  473. top: 6vh;
  474. // margin: 4vh 0 0 12vh;
  475. }
  476. .cardTwo {
  477. width: 40vw;
  478. display: flex;
  479. justify-content: center;
  480. // align-items: center;
  481. .first {
  482. position: absolute;
  483. left: 44vw;
  484. top: 16vh;
  485. margin: -9vh 0 0 5vw;
  486. width: 60px;
  487. height: 14.5px;
  488. font-size: 15px;
  489. font-family: Source Han Sans CN;
  490. font-weight: 500;
  491. color: #613c0c;
  492. line-height: 6px;
  493. }
  494. .second {
  495. position: absolute;
  496. left: 47vw;
  497. top: 9vh;
  498. margin: 0 0 0 5vw;
  499. width: 48px;
  500. height: 24px;
  501. font-size: 11px;
  502. font-family: Source Han Sans CN;
  503. font-weight: 300;
  504. color: #613c0c;
  505. line-height: 15px;
  506. }
  507. img {
  508. width: 100%;
  509. }
  510. .keepAlive {
  511. width: 14vw;
  512. position: absolute;
  513. left: 70vw;
  514. top: 5vh;
  515. }
  516. }
  517. .cardThree {
  518. width: 40vw;
  519. display: flex;
  520. justify-content: center;
  521. position: relative;
  522. .first {
  523. position: absolute;
  524. left: 3vw;
  525. top: 3vh;
  526. width: 60px;
  527. height: 14.5px;
  528. font-size: 15px;
  529. font-family: Source Han Sans CN;
  530. font-weight: 500;
  531. color: #613c0c;
  532. line-height: 6px;
  533. }
  534. .second {
  535. position: absolute;
  536. left: 3vw;
  537. top: 5vh;
  538. width: 48px;
  539. height: 24px;
  540. font-size: 11px;
  541. font-family: Source Han Sans CN;
  542. font-weight: 300;
  543. color: #613c0c;
  544. line-height: 15px;
  545. }
  546. }
  547. .freshRice {
  548. width: 14vw;
  549. position: absolute;
  550. top: 1vh;
  551. left: 24vw;
  552. }
  553. .cardFour {
  554. width: 45vw;
  555. position: relative;
  556. // position: absolute;
  557. display: flex;
  558. justify-content: center;
  559. align-items: center;
  560. .first {
  561. position: absolute;
  562. width: 78.5px;
  563. height: 14px;
  564. font-size: 15px;
  565. font-family: Source Han Sans CN;
  566. font-weight: 500;
  567. color: #613c0c;
  568. line-height: 3px;
  569. left: 3vw;
  570. top: 10vh;
  571. }
  572. .second {
  573. // margin: -21vh 0 0 5vw;
  574. position: absolute;
  575. top: 9vh;
  576. left: 4vw;
  577. // margin: 1vh 0 0 6vw;
  578. width: 48px;
  579. height: 24px;
  580. font-size: 0.5rem;
  581. font-family: Source Han Sans CN;
  582. font-weight: 300;
  583. color: #613c0c;
  584. line-height: 12px;
  585. }
  586. .normalGrow {
  587. width: 14vw;
  588. position: absolute;
  589. left: 26vw;
  590. top: 31vh;
  591. // margin: 4vh 0 0 12vh;
  592. }
  593. }
  594. .cardFive {
  595. width: 40vw;
  596. display: flex;
  597. position: relative;
  598. justify-content: center;
  599. .first {
  600. position: absolute;
  601. left: 2vw;
  602. top: 16px;
  603. width: 60px;
  604. height: 14.5px;
  605. font-size: 15px;
  606. font-family: Source Han Sans CN;
  607. font-weight: 500;
  608. color: #613c0c;
  609. line-height: 6px;
  610. }
  611. .second {
  612. position: absolute;
  613. left: 45vw;
  614. top: 33vh;
  615. margin: 0 0 0 5vw;
  616. width: 48px;
  617. height: 24px;
  618. font-size: 11px;
  619. font-family: Source Han Sans CN;
  620. font-weight: 300;
  621. color: #613c0c;
  622. line-height: 12px;
  623. }
  624. img {
  625. width: 100%;
  626. }
  627. .organic {
  628. width: 14vw;
  629. position: absolute;
  630. left: 70vw;
  631. top: 30vh;
  632. }
  633. }
  634. }
  635. @media screen and (max-width: 414px) {
  636. .middle .card {
  637. .first {
  638. // margin-top: 27px;
  639. font-size: 18px;
  640. left: 4vw;
  641. top: 7vh;
  642. }
  643. .second {
  644. font-size: 11px;
  645. }
  646. .lastP {
  647. left: 18px;
  648. }
  649. }
  650. .middle .cardTwo {
  651. .first {
  652. left: 44vw;
  653. top: 15vh;
  654. }
  655. .second {
  656. left: 44vw;
  657. top: 8vh;
  658. }
  659. .keepAlive {
  660. width: 11.5vw;
  661. left: 70vw;
  662. top: 5vh;
  663. }
  664. }
  665. //
  666. .middle .freshRice {
  667. top: 1vh;
  668. left: 24vw;
  669. }
  670. .middle .cardThree {
  671. .first {
  672. left: 3vw;
  673. top: 3vh;
  674. }
  675. .second {
  676. left: 3vw;
  677. top: 5vh;
  678. }
  679. }
  680. .middle .cardFour {
  681. .first {
  682. left: 4vw;
  683. top: 3vh;
  684. }
  685. .second {
  686. left: 4vw;
  687. top: 5vh;
  688. }
  689. .normalGrow {
  690. left: 24vw;
  691. top: 2vh;
  692. }
  693. }
  694. .middle .cardFive {
  695. .first {
  696. left: 2vw;
  697. top: 19px;
  698. }
  699. .second {
  700. left: -2vw;
  701. top: 34px;
  702. }
  703. .organic {
  704. left: 22vw;
  705. top: 13px;
  706. }
  707. }
  708. .detail li .riceBox {
  709. right: 137px;
  710. }
  711. }
  712. @media screen and (max-width: 375px) {
  713. .middle .card {
  714. .first {
  715. // margin-top: 27px;
  716. font-size: 16px;
  717. left: 4vw;
  718. top: 9vh;
  719. }
  720. .second {
  721. top: 12vh;
  722. left: 4vw;
  723. }
  724. .lastP {
  725. top: 17vh;
  726. left: 5vw;
  727. span {
  728. font-size: 0.6rem;
  729. }
  730. }
  731. }
  732. .middle .cardTwo {
  733. .first {
  734. left: 44vw;
  735. top: 16vh;
  736. }
  737. .second {
  738. left: 44vw;
  739. top: 9vh;
  740. }
  741. .keepAlive {
  742. width: 12vw;
  743. left: 70vw;
  744. top: 5vh;
  745. }
  746. }
  747. //
  748. .middle .freshRice {
  749. top: 1vh;
  750. left: 24vw;
  751. }
  752. .middle .cardThree {
  753. .first {
  754. left: 3vw;
  755. top: 3vh;
  756. }
  757. .second {
  758. left: 3vw;
  759. top: 5vh;
  760. }
  761. }
  762. .middle .cardFour {
  763. .first {
  764. left: 4vw;
  765. top: 3vh;
  766. }
  767. .second {
  768. left: 4vw;
  769. top: 5vh;
  770. }
  771. .normalGrow {
  772. left: 24vw;
  773. top: 2vh;
  774. }
  775. }
  776. .middle .cardFive {
  777. .first {
  778. left: 2vw;
  779. top: 19px;
  780. }
  781. .second {
  782. left: -2vw;
  783. top: 34px;
  784. }
  785. .organic {
  786. left: 22vw;
  787. top: 13px;
  788. }
  789. }
  790. .detail li .riceBox {
  791. right: 120px;
  792. }
  793. }
  794. @media screen and (max-width: 360px) {
  795. .detail li .riceBox {
  796. right: 113px;
  797. }
  798. .middle .card {
  799. .first {
  800. // margin-top: 27px;
  801. font-size: 15px;
  802. left: 14px;
  803. top: 47px;
  804. }
  805. .second {
  806. left: 14px;
  807. top: 62px;
  808. }
  809. .lastP {
  810. top: 17vh;
  811. left: 5vw;
  812. span {
  813. font-size: 0.6rem;
  814. }
  815. }
  816. }
  817. .middle .cardTwo {
  818. .first {
  819. left: 157px;
  820. top: 99px;
  821. }
  822. .second {
  823. left: 157px;
  824. top: 55px;
  825. }
  826. .keepAlive {
  827. width: 13vw;
  828. left: 243px;
  829. top: 32px;
  830. }
  831. }
  832. .middle .cardThree {
  833. .first {
  834. left: 3vw;
  835. top: 3vh;
  836. }
  837. .second {
  838. left: 3vw;
  839. top: 5vh;
  840. }
  841. }
  842. .middle .freshRice {
  843. top: 1vh;
  844. left: 23vw;
  845. }
  846. .middle .cardFour {
  847. .first {
  848. left: 4vw;
  849. top: 3vh;
  850. }
  851. .second {
  852. left: 4vw;
  853. top: 5vh;
  854. }
  855. .normalGrow {
  856. left: 24vw;
  857. top: 2vh;
  858. }
  859. }
  860. .middle .cardFive {
  861. .first {
  862. left: 2vw;
  863. top: 16px;
  864. }
  865. .second {
  866. left: -2vw;
  867. top: 30px;
  868. }
  869. .organic {
  870. left: 22vw;
  871. top: 13px;
  872. }
  873. }
  874. }
  875. @media screen and (max-width: 320px) {
  876. .productPack .box {
  877. p {
  878. margin: 7.5px 0 7px 4px;
  879. }
  880. span {
  881. margin: 12.5px 0 0px 8px;
  882. }
  883. }
  884. .middle .card {
  885. .first {
  886. font-size: 0.9rem;
  887. left: 12px;
  888. top: 9vh;
  889. }
  890. .second {
  891. top: 64px;
  892. left: 7px;
  893. font-size: 0.7rem;
  894. transform: scale(0.8);
  895. }
  896. .lastP {
  897. top: 18vh;
  898. left: 4vw;
  899. span {
  900. font-size: 0.6rem;
  901. }
  902. }
  903. }
  904. .middle .camera {
  905. left: 22vw;
  906. top: 8vh;
  907. }
  908. .middle .cardTwo {
  909. .first {
  910. left: 138px;
  911. top: 90px;
  912. font-size: 14px;
  913. }
  914. .second {
  915. transform: scale(0.8);
  916. left: 134px;
  917. top: 51px;
  918. font-size: 0.7rem;
  919. }
  920. .keepAlive {
  921. width: 13vw;
  922. left: 223px;
  923. top: 32px;
  924. }
  925. }
  926. .middle .keepAlive {
  927. width: 11.5vw;
  928. left: 70vw;
  929. top: 6vh;
  930. }
  931. .middle .cardFour {
  932. .first {
  933. left: 4vw;
  934. top: 3vh;
  935. }
  936. .second {
  937. transform: scale(0.8);
  938. left: 3vw;
  939. top: 5vh;
  940. }
  941. .normalGrow {
  942. left: 26vw;
  943. top: 2vh;
  944. }
  945. }
  946. //
  947. .middle .freshRice {
  948. top: 1vh;
  949. left: 24vw;
  950. }
  951. .middle .cardThree {
  952. .first {
  953. font-size: 14px;
  954. left: 3vw;
  955. top: 3vh;
  956. }
  957. .second {
  958. left: 2vw;
  959. top: 5vh;
  960. transform: scale(0.8);
  961. }
  962. }
  963. .middle .cardFive {
  964. .first {
  965. left: 2vw;
  966. top: 17px;
  967. }
  968. .second {
  969. transform: scale(0.8);
  970. left: -3vw;
  971. top: 30px;
  972. }
  973. .organic {
  974. left: 25vw;
  975. top: 13px;
  976. }
  977. }
  978. .detail li .riceBox {
  979. right: 94px;
  980. }
  981. }
  982. @media screen and (min-height: 812px) {
  983. .middle .card .first {
  984. // margin-top: 27px;
  985. font-size: 16px;
  986. left: 4vw;
  987. top: 7vh;
  988. }
  989. .middle .card .second {
  990. top: 9vh;
  991. left: 4vw;
  992. }
  993. .middle .camera {
  994. left: 22vw;
  995. top: 6vh;
  996. }
  997. .middle .card .lastP {
  998. top: 13vh;
  999. left: 5vw;
  1000. span {
  1001. font-size: 12px;
  1002. }
  1003. }
  1004. .middle .cardTwo .first {
  1005. left: 44vw;
  1006. top: 14vh;
  1007. }
  1008. .middle .cardTwo .keepAlive {
  1009. width: 11.5vw;
  1010. left: 70vw;
  1011. top: 4vh;
  1012. }
  1013. .middle .cardTwo .second {
  1014. left: 44vw;
  1015. top: 7vh;
  1016. }
  1017. //
  1018. .middle .freshRice {
  1019. top: 2vh;
  1020. left: 25vw;
  1021. }
  1022. .middle .cardThree .first {
  1023. left: 3vw;
  1024. top: 2vh;
  1025. }
  1026. .middle .cardThree .second {
  1027. left: 3vw;
  1028. top: 4vh;
  1029. }
  1030. .middle .cardFour {
  1031. .first {
  1032. left: 4vw;
  1033. top: 3vh;
  1034. }
  1035. .second {
  1036. left: 4vw;
  1037. top: 5vh;
  1038. }
  1039. .normalGrow {
  1040. left: 24vw;
  1041. top: 2vh;
  1042. }
  1043. }
  1044. .middle .cardFive {
  1045. .first {
  1046. left: 2vw;
  1047. top: 19px;
  1048. }
  1049. .second {
  1050. left: -2vw;
  1051. top: 34px;
  1052. }
  1053. .organic {
  1054. left: 24vw;
  1055. top: 21px;
  1056. }
  1057. }
  1058. }
  1059. }
  1060. </style>