new_index.css 12 KB

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