new_index.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  1. /* 左侧第一个盒子start--- */
  2. /**/
  3. /* */
  4. /**/
  5. .firstBox {
  6. width: 90%;
  7. margin-left: 6%;
  8. height: 90%;
  9. }
  10. .firstBox .pic {
  11. width: 100%;
  12. height: 25%;
  13. }
  14. .pic img {
  15. display: inline-block;
  16. width: 40%;
  17. height: 80%;
  18. margin-top: 1vw;
  19. }
  20. .first_top1 {
  21. margin-left: 1vw;
  22. }
  23. .first_top2 {
  24. margin-left: 1vw;
  25. }
  26. .picText {
  27. color: #0EFCFF;
  28. margin-left: 1vw;
  29. }
  30. .picText .text_second {
  31. margin-left: 6vw;
  32. }
  33. /* 声波动画start--- */
  34. .voice_animation {
  35. width: 100%;
  36. height: 20%;
  37. margin-top: 1vw;
  38. background-image: url(../img/voice_pic.png);
  39. background-size: 90% 90%;
  40. background-repeat: no-repeat;
  41. background-position: center;
  42. }
  43. /* 声波动画over--- */
  44. /* 进度条start--- */
  45. .progress {
  46. width: 93%;
  47. height: 10%;
  48. margin-top: 1vw;
  49. margin-left: .6vw;
  50. background-image: url(../img/progress_pic.png);
  51. background-size: 100% 100%;
  52. }
  53. /* 进度条over--- */
  54. .about_illness {
  55. width: 100%;
  56. height: 25%;
  57. margin-top: 1.5vw;
  58. margin-left: .6vw;
  59. color: #fff;
  60. font-size: .6vw;
  61. }
  62. .about_illness > div {
  63. display: inline-block;
  64. width: 45%;
  65. height: 100%;
  66. background-image: url(../img/illness_pic.png);
  67. background-size: 100% 100%;
  68. }
  69. .prevent {
  70. margin-left: .5vw;
  71. text-indent: .2vw;
  72. }
  73. .symptom {
  74. /* text-indent: .2vw; */
  75. /* font-size: .5vw; */
  76. }
  77. .symptom_content, .prevent_content {
  78. color: #0EFCFF;
  79. margin-top: .5vw;
  80. margin: .6vw .2vw .2vw .5vw;
  81. }
  82. .symptom_title .prevent_title {
  83. font-size: .1vw;
  84. color: red;
  85. }
  86. /* 左侧第一个盒子over--- */
  87. /* center部分start--- */
  88. .maps {
  89. position: relative;
  90. width: 100%;
  91. height: 95%;
  92. margin-top: 2%;
  93. /* background: pink; */
  94. /* background-image: url(../img/landLevel.png); */
  95. /* background-size: 95% 100%; */
  96. /* background-repeat: no-repeat; */
  97. /* background-position: center; */
  98. }
  99. .maps .land_level {
  100. width: 95%;
  101. height: 100%;
  102. margin-left: 2.5%;
  103. }
  104. .maps .wifi_gif {
  105. position: absolute;
  106. right: 27%;
  107. top: -3.5%;
  108. width: 5%;
  109. height: 10%;
  110. }
  111. .maps .sun_pic {
  112. position: absolute;
  113. top: -5%;
  114. left: 18%;
  115. width: 10%;
  116. height: 15%;
  117. animation:mymove 3s infinite;
  118. -webkit-animation:mymove 3s infinite; /*Safari and Chrome*/
  119. animation-direction:alternate;/*轮流反向播放动画。*/
  120. animation-timing-function: ease-in-out; /*动画的速度曲线*/
  121. /* Safari 和 Chrome */
  122. -webkit-animation:mymove 3s infinite;
  123. -webkit-animation-direction:alternate;/*轮流反向播放动画。*/
  124. -webkit-animation-timing-function: ease-in-out;
  125. }
  126. @keyframes mymove
  127. {
  128. 0%{
  129. transform: scale(1); /*开始为原始大小*/
  130. }
  131. 25%{
  132. transform: scale(1.1); /*放大1.1倍*/
  133. }
  134. 50%{
  135. transform: scale(1.05);
  136. }
  137. 75%{
  138. transform: scale(1);
  139. }
  140. }
  141. @-webkit-keyframes mymove /*Safari and Chrome*/
  142. {
  143. 0%{
  144. transform: scale(1); /*开始为原始大小*/
  145. }
  146. 25%{
  147. transform: scale(1.1); /*放大1.1倍*/
  148. }
  149. 50%{
  150. transform: scale(1.05);
  151. }
  152. 75%{
  153. transform: scale(1);
  154. }
  155. }
  156. .maps .wrj_pic {
  157. position: absolute;
  158. width: 8%;
  159. height: 8%;
  160. left: 30%;
  161. animation: myfirst 5s infinite;
  162. -moz-animation: myfirst 5s infinite;
  163. /* Firefox */
  164. -webkit-animation: myfirst 5s infinite;
  165. /* Safari 和 Chrome */
  166. -o-animation: myfirst 5s infinite;
  167. /* Opera */
  168. /* animation: btn-load-loop 1s linear infinite; */
  169. }
  170. @keyframes myfirst
  171. {
  172. 0% { left:250px; top:0px;}
  173. 25% {left:300px; top:0px;}
  174. 50% {left:150px; top:300px;}
  175. 75% { left:250px; top:200px;}
  176. 100% {left:250px; top:0px;}
  177. }
  178. @-moz-keyframes myfirst
  179. /* Firefox */
  180. {
  181. 0% { left:250px; top:0px;}
  182. 25% {left:300px; top:0px;}
  183. 50% {left:500px; top:200px;}
  184. 75% { left:250px; top:200px;}
  185. 100% {left:250px; top:0px;}
  186. }
  187. @-webkit-keyframes myfirst
  188. /* Safari 和 Chrome */
  189. {
  190. 0% { left:250px; top:0px;}
  191. 25% {left:300px; top:0px;}
  192. 50% {left:500px; top:200px;}
  193. 75% { left:250px; top:200px;}
  194. 100% {left:250px; top:0px;}
  195. }
  196. @-o-keyframes myfirst
  197. /* Opera */
  198. {
  199. 0% { left:250px; top:0px;}
  200. 25% {left:300px; top:0px;}
  201. 50% {left:500px; top:200px;}
  202. 75% { left:250px; top:200px;}
  203. 100% {left:250px; top:0px;}
  204. }
  205. .wind_gif {
  206. position: absolute;
  207. top: 25%;
  208. left: 5%;
  209. width: 10%;
  210. height: 19%;
  211. }
  212. .plant_pic {
  213. position: absolute;
  214. top: 40%;
  215. left: 60%;
  216. width: 8%;
  217. height: 10%;
  218. }
  219. .windows, .window_two, .window_three, .window_four, .window_five, .window_six{
  220. padding: 1.5%;
  221. color: #0EFCFF;
  222. background: rgba(40, 229, 233, .2);
  223. }
  224. .windows {
  225. position: absolute;
  226. bottom: 0;
  227. left: 3%;
  228. }
  229. .windows li:nth-of-type(1) {
  230. font-size: .9vw;
  231. }
  232. .windows li {
  233. margin-bottom: .2vw;
  234. }
  235. .window_two {
  236. position: absolute;
  237. right: 5%;
  238. /* right: 1%; */
  239. top: 5%;
  240. }
  241. .window_two li:nth-of-type(1) {
  242. font-size: .9vw;
  243. }
  244. .window_three {
  245. position: absolute;
  246. bottom: 5%;
  247. left: 60%;
  248. }
  249. .window_four {
  250. position: absolute;
  251. top: 7%;
  252. left: 10%;
  253. }
  254. .window_five {
  255. position: absolute;
  256. bottom: 15%;
  257. left: 20%;
  258. }
  259. .window_six{
  260. position: absolute;
  261. /* border: 1px solid red; */
  262. right: 40%;
  263. top: 0%;
  264. }
  265. .peasant {
  266. position: absolute;
  267. right: 17%;
  268. top: 27%;
  269. width: 5.5%;
  270. height:9%;
  271. cursor: pointer;
  272. /* background-color: #fff; */
  273. }
  274. .display_box {
  275. display: none;
  276. }
  277. .land_box1 {
  278. position: absolute;
  279. left: 13%;
  280. top: 32%;
  281. width: 13%;
  282. height: 30%;
  283. cursor: pointer;
  284. }
  285. .land_box2 {
  286. position: absolute;
  287. left: 45%;
  288. top: 65%;
  289. width: 20%;
  290. height: 15%;
  291. transform:rotate(150deg);
  292. cursor: pointer;
  293. }
  294. .land_box3 {
  295. position: absolute;
  296. right: 5%;
  297. top: 40%;
  298. width: 20%;
  299. height: 15%;
  300. transform:rotate(150deg);
  301. cursor: pointer;
  302. }
  303. .land_box4 {
  304. position: absolute;
  305. right: 41%;
  306. top: 0%;
  307. width: 10%;
  308. height: 25%;
  309. transform:rotate(140deg);
  310. cursor: pointer;
  311. }
  312. .plant {
  313. position: absolute;
  314. top: 30%;
  315. left: 35%;
  316. width: 25%;
  317. height: 30%;
  318. cursor: pointer;
  319. /* border: 1px solid red; */
  320. }
  321. .soil_data {
  322. position: absolute;
  323. bottom:23%;
  324. left: 45%;
  325. width: 55%;
  326. height: 10%;
  327. transform:rotate(150deg);
  328. }
  329. .weather_info {
  330. position: absolute;
  331. top: -5%;
  332. left: 18%;
  333. width: 10%;
  334. height: 15%;
  335. }
  336. /* center部分over--- */
  337. /* left bottom start--- */
  338. .leftBottom {
  339. display: inline-block;
  340. position: relative;
  341. width: 32%;
  342. height: 80%;
  343. font-size: .6vw;
  344. color: #0EFCFF;
  345. }
  346. .leftBottom .land_data p {
  347. position: absolute;
  348. left: 52%;
  349. top: 14%;
  350. }
  351. .land_data p:nth-child(2) {
  352. top: 24%;
  353. left: 57%;
  354. }
  355. .land_data p:nth-child(3) {
  356. top: 32%;
  357. left: 67%;
  358. }
  359. .right_box {
  360. float: right;
  361. width: 65%;
  362. height: 70%;
  363. /* margin: 2%; */
  364. margin-top: 1%;
  365. margin-right: 1%;
  366. /* background-color: red; */
  367. }
  368. .grow_data {
  369. position: relative;
  370. display: inline-block;
  371. float: left;
  372. width: 45%;
  373. height: 100%;
  374. /* background-color: pink; */
  375. }
  376. .grow_data img {
  377. display: inline-block;
  378. width: 20%;
  379. height: 80%;
  380. margin-top: .8vw;
  381. }
  382. .grow_data p {
  383. color: #0EFCFF;
  384. position: absolute;
  385. }
  386. .grow_data p:nth-of-type(1) {
  387. top: 3%;
  388. left: 5%;
  389. }
  390. .grow_data p:nth-of-type(2) {
  391. top: 47%;
  392. left: 22%;
  393. }
  394. .grow_data p:nth-of-type(3) {
  395. top: 80%;
  396. left: 5%;
  397. }
  398. .grow_data span {
  399. position: absolute;
  400. top: 18%;
  401. left: 13%;
  402. padding: .15vw .6vw;
  403. border-radius: 1vw;
  404. display: inline-block;
  405. color: #0EFCFF;
  406. background: rgba(40, 229, 233, .2);
  407. }
  408. .specialistSuggest {
  409. position: absolute;
  410. left: 50%;
  411. top: -15%;
  412. display: inline-block;
  413. width: 30%;
  414. padding: 1vw;
  415. color: #0EFCFF;
  416. font-size: .6vw;
  417. }
  418. .specialistSuggest div:nth-of-type(1) {
  419. font-size: .7vw;
  420. }
  421. .fertilizationSuggest {
  422. position: absolute;
  423. left: 50%;
  424. top: 55%;
  425. display: inline-block;
  426. width: 35%;
  427. padding: 1vw;
  428. color: #0EFCFF;
  429. font-size: .6vw;
  430. }
  431. .fertilizationSuggest div:nth-of-type(1) {
  432. font-size: .7vw;
  433. }
  434. .weather_data {
  435. position: relative;
  436. display: inline-block;
  437. width: 50%;
  438. height: 100%;
  439. margin-left: 3%;
  440. margin-top: .5%;
  441. font-size: .6vw;
  442. /* background-color: yellow; */
  443. background-image: url(../img//bottom_icons.png);
  444. background-size: 90% 80%;
  445. background-repeat: no-repeat;
  446. }
  447. .weather_text {
  448. color: #0EFCFF;
  449. }
  450. .weather_text span {
  451. position: absolute;
  452. top: 35%;
  453. }
  454. .weather_text span:nth-of-type(1) {
  455. left: -5%;
  456. }
  457. .weather_text span:nth-of-type(2) {
  458. left: 24%;
  459. }
  460. .weather_text span:nth-of-type(3) {
  461. left: 50%;
  462. }
  463. .weather_text span:nth-of-type(4) {
  464. left: 75%;
  465. }
  466. .text_two span {
  467. top: 85%;
  468. }
  469. .text_two span:nth-of-type(1) {
  470. left: 0%;
  471. }
  472. .text_two span:nth-of-type(2) {
  473. left: 30%;
  474. }
  475. .text_two span:nth-of-type(3) {
  476. left: 65%;
  477. }
  478. /* .text_one {
  479. margin-top: 14%;
  480. }
  481. .text_two {
  482. margin-top: 18%;
  483. } */
  484. /* left bottom over--- */
  485. /* 右侧三个内容框start--- */
  486. /* 硬件设备展示start--- */
  487. .boxLis {
  488. width: 68%;
  489. z-index: 9999;
  490. height: 1.5vw;
  491. margin-left: 3.5vw;
  492. margin-top: 1vw;
  493. font-size: .6vw;
  494. /* background-color: pink; */
  495. border-bottom: .02vw solid rgb(40, 229, 233);
  496. }
  497. .boxLis>li {
  498. /* width: 21.1%; */
  499. /* height: 1.4vw; */
  500. z-index: 9999;
  501. padding: .1vw;
  502. display: block;
  503. background: rgba(40, 229, 233, .5);
  504. margin-right: 2.5%;
  505. line-height: 1.4vw;
  506. text-align: center;
  507. cursor: pointer;
  508. color: #fff;
  509. /* border-bottom: .02vw solid rgb(40, 229, 233); */
  510. }
  511. .boxLis li:nth-child(4) {
  512. margin-right: 0;
  513. }
  514. .boxLis > .active {
  515. /* border-bottom: none; */
  516. /* color: #0EFCFF; */
  517. border-top: .02vw solid rgb(40, 229, 233);
  518. border-right: .02vw solid rgb(40, 229, 233);
  519. border-left: .02vw solid rgb(40, 229, 233);
  520. }
  521. .equipment_pic {
  522. position: relative;
  523. width: 100%;
  524. height: 100%;
  525. background-color: #031426;
  526. }
  527. .equipment_pic img {
  528. position: absolute;
  529. margin: auto;
  530. left: 0;
  531. top: 0;
  532. right: 0;
  533. bottom: 0;
  534. width: 80%;
  535. height: 80%;
  536. }
  537. .equipment_pic img:nth-child(2) {
  538. display: none;
  539. width: 45%;
  540. height: 50%;
  541. }
  542. .equipment_pic img:nth-child(3) {
  543. width: 40%;
  544. height: 65%;
  545. display: none;
  546. }
  547. .equipment_pic img:nth-child(4) {
  548. width: 50%;
  549. height: 70%;
  550. display: none;
  551. }
  552. .liSpan {
  553. width: 100%;
  554. margin-top: -1%;
  555. text-align: center;
  556. color: rgb(40, 229, 233);
  557. }
  558. .liP {
  559. width: 66%;
  560. margin: .3vw auto 0;
  561. text-align: left;
  562. font-size: .6vw;
  563. color: rgb(40, 229, 233);
  564. }
  565. /* 硬件设备展示over--- */
  566. /* 灌溉数据start--- */
  567. .irrigate_data {
  568. width: 100%;
  569. height: 100%;
  570. /* background-color: yellow; */
  571. }
  572. .centerList {
  573. /* float: left; */
  574. display: inline-block;
  575. width: 37%;
  576. height: 80%;
  577. padding-top: 3%;
  578. text-align: center;
  579. margin-left: 2vw;
  580. }
  581. .centerListFont {
  582. font-size: .8vw;
  583. color: #0EFCFF;
  584. }
  585. .centerListNum {
  586. font-size: 1.5vw;
  587. color: white;
  588. margin-top: .2vw;
  589. }
  590. .irrigate_bottom {
  591. width: 100%;
  592. height: 40%;
  593. margin-top: .2vw;
  594. }
  595. .irrigate_bottom .every_line {
  596. width: 90%;
  597. height: 25%;
  598. margin-left: 5%;
  599. margin-bottom: 3%;
  600. background-color: rgba(14,252,255,.2);
  601. }
  602. .every_line span {
  603. color: #0EFCFF;
  604. margin-left: .7vw;
  605. font-size: .7vw;
  606. }
  607. .every_line i {
  608. color: #fff;
  609. float: right;
  610. margin-right: .8vw;
  611. font-size: 1vw;
  612. }
  613. /* 灌溉数据over--- */
  614. /* 数据日志start--- */
  615. .data_day {
  616. width: 100%;
  617. height: 100%;
  618. font-size: .55vw;
  619. color: #fff;
  620. }
  621. .data_day table {
  622. height: 10%;
  623. width: 100%;
  624. overflow:hidden;
  625. text-align: center;
  626. margin: auto;
  627. margin-left: 5%;
  628. }
  629. .data_day .head {
  630. color: #0EFCFF;
  631. }
  632. .data_day ul {
  633. display: inline-block;
  634. }
  635. /* 数据日志over--- */
  636. /* 右侧三个内容框over--- */