index.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  1. html{
  2. font-size: 70%;
  3. }
  4. body{
  5. font-size: 1.4rem;
  6. line-height: 1.5;
  7. width: 100%;
  8. color: #212121;
  9. }
  10. body.gray{
  11. background: #f0f2f9;
  12. }
  13. a,input,select,option,textarea{
  14. font-size: 1.4rem;
  15. line-height: 1.5;
  16. }
  17. input{
  18. border: none;
  19. outline: none;
  20. }
  21. header{
  22. background: #4162ff;
  23. padding:0 0.5rem;
  24. }
  25. header{
  26. position: relative;
  27. font-size: 2rem;
  28. color: #fff;
  29. text-align: center;
  30. line-height: 4rem;
  31. font-weight: normal;
  32. }
  33. header .ico-msg{
  34. position: absolute;
  35. top: 1.1rem;
  36. right: 1rem;
  37. width: 1.8rem;
  38. height: 1.8rem;
  39. background: url(../images/ico-msg.png) no-repeat;
  40. background-size: 100%;
  41. }
  42. header .ico-msg.has-msg:before{
  43. position: absolute;
  44. width: .8rem;
  45. height: .8rem;
  46. border-radius: 100%;
  47. right: -0.2rem;
  48. top: 0;
  49. background: #b53d66;
  50. content: '';
  51. }
  52. header .ico-back{
  53. position: absolute;
  54. top: 1.1rem;
  55. left: 1rem;
  56. width: 1.8rem;
  57. height: 1.8rem;
  58. background: url(../images/ico-back.png) no-repeat;
  59. background-size: auto 100%;
  60. }
  61. section .logo{
  62. display: block;
  63. width: 40.6%;
  64. margin:15.3% auto;
  65. }
  66. .layer{
  67. position: fixed;
  68. width: 100%;
  69. left: 0;
  70. top: 0;
  71. bottom: 0;
  72. background: rgba(0,0,0,.6);
  73. display: none;
  74. }
  75. .layer article{
  76. position: absolute;
  77. width: 90%;
  78. left: 50%;
  79. top: 50%;
  80. background: #fff;
  81. -webkit-transform: translate3d(-50%,-50%,0);
  82. box-sizing: border-box;
  83. padding: 2rem;
  84. border-radius: 1rem;
  85. }
  86. .layer article h3{
  87. text-align: center;
  88. font-size: 2rem;
  89. margin-bottom: 3rem;
  90. }
  91. .layer article h3 span{
  92. display: block;
  93. color: #8f94a4;
  94. font-weight: normal;
  95. font-size: 1.4rem;
  96. }
  97. .layer article p{
  98. width: 90%;
  99. border-bottom: 1px solid #ddd;
  100. margin-bottom: 2rem;
  101. margin-left: 1.5rem;
  102. }
  103. .layer article input{
  104. width: 100%;
  105. display: block;
  106. line-height: 2rem;
  107. font-size: 1.6rem;
  108. }
  109. .layer article input.inline{
  110. width: 6rem;
  111. display: inline-block;
  112. line-height: 2rem;
  113. font-size: 1.6rem;
  114. }
  115. .layer article input[type="button"]{
  116. color: #fff;
  117. background: #fcaf3b;
  118. border:none;
  119. line-height: 3rem;
  120. margin: 0;
  121. width: 100%;
  122. }
  123. .button{
  124. color: #fff;
  125. background: #fcaf3b;
  126. border:none;
  127. line-height: 3rem;
  128. margin: 2rem auto;
  129. width: 60%;
  130. display: block;
  131. }
  132. h2{
  133. text-align: center;
  134. margin-top: 2rem;
  135. font-size: 1.6rem;
  136. }
  137. .card{
  138. margin:1.2rem 1.2rem 0 1.2rem;
  139. background: #fff;
  140. }
  141. .ico-net,.ico-electric,.ico-temperature,.ico-humidity,.ico-light,.ico-wind,.ico-wind-direction,.ico-rain,.ico-pm25,.ico-setting-gray,.ico-grid,.ico-down,.ico-up,.ico-clock,.ico-ec,.ico-co2,.ico-clock2,.ico-temperature2{
  142. display: inline-block;
  143. width: 2rem;
  144. height: 2rem;
  145. background: url(../images/icons.png?V) no-repeat;
  146. background-size: 100% 2000%;
  147. vertical-align: -webkit-baseline-middle;
  148. }
  149. .ico-electric{
  150. background-position: left -2rem;
  151. }
  152. .ico-temperature{background-position: left -4rem;}
  153. .ico-humidity{background-position: left -6rem;}
  154. .ico-light{background-position: left -8rem;}
  155. .ico-wind{background-position: left -10rem;}
  156. .ico-wind-direction{background-position: left -12rem;}
  157. .ico-rain{background-position: left -14rem;}
  158. .ico-pm25{background-position: left -16rem;}
  159. .ico-grid{background-position: left -18rem;}
  160. .ico-setting-gray{background-position: left -20rem;}
  161. .ico-down{background-position: left -22rem;}
  162. .ico-up{background-position: left -24rem;}
  163. .ico-clock{background-position: left bottom;}
  164. .ico-ec{background-position: left -28rem;}
  165. .ico-co2{background-position: left -30rem;}
  166. .ico-clock2{background-position: left -32rem;}
  167. .ico-temperature2{background-position: left -34rem;}
  168. .btn-on-off{
  169. position: relative;
  170. display: inline-block;
  171. width: 4rem;
  172. height: 2rem;
  173. vertical-align: -webkit-baseline-middle;
  174. border: 1px solid #ddd;
  175. border-radius: 2rem;
  176. }
  177. .btn-on-off:before{
  178. position: absolute;
  179. content: "";
  180. width: 2rem;
  181. height: 2rem;
  182. border-right: 1px solid #ddd;
  183. left: 0;
  184. top: 0;
  185. box-sizing: border-box;
  186. border-radius: 2rem;
  187. }
  188. .btn-on-off.on{
  189. background: #4162ff;
  190. border-color: #4162ff;
  191. }
  192. .btn-on-off.yellow{
  193. background: #fcaf3b;
  194. border-color: #fcaf3b;
  195. }
  196. .btn-on-off.yellow:before{
  197. background: #fff;
  198. border-color: #fff;
  199. }
  200. .btn-on-off.on:before{
  201. background: #fff;
  202. border: none;
  203. left: auto;
  204. right: 0;
  205. }
  206. .color-error{
  207. color: #ea2227;
  208. }
  209. .color-success{
  210. color: #30d438;
  211. }
  212. .color-info{
  213. color: #3c77ff;
  214. }
  215. .color-orange{
  216. color: #fcaf3b;
  217. }
  218. .homepage h1{
  219. position: relative;
  220. height: 20rem;
  221. font-size: 2.5rem;
  222. color: #fff;
  223. padding:0 0.5rem;
  224. background: #4162ff;
  225. text-align: center;
  226. font-weight: normal;
  227. }
  228. .homepage h1 span{
  229. position: absolute;
  230. top: 50%;
  231. left: 0;
  232. display: block;
  233. width: 100%;
  234. -webkit-transform:translate3d(0,-50%,0);
  235. }
  236. .homepage .menu-list{
  237. margin:0 0.5rem;
  238. border-left: 1px solid #e7e7e7;
  239. border-bottom: 1px solid #e7e7e7;
  240. }
  241. .homepage .menu-list li{
  242. position: relative;
  243. width: 33.33%;
  244. float: left;
  245. text-align: center;
  246. border-top: 1px solid #e7e7e7;
  247. border-right: 1px solid #e7e7e7;
  248. box-sizing: border-box;
  249. font-size: 1.4rem;
  250. padding-bottom: 2.5rem;
  251. }
  252. .homepage .menu-list li>p{
  253. display: block;
  254. background-repeat:no-repeat;
  255. width: 5.4rem;
  256. height: 5rem;
  257. background-size: contain;
  258. margin:1.5rem auto 1rem;
  259. position: relative;
  260. }
  261. .homepage .menu-list .ico-wenshi{
  262. background-image: url(../images/ico-wenshi.png);
  263. }
  264. .homepage .menu-list .ico-qixiang{
  265. background-image: url(../images/ico-qixiang.png);
  266. }
  267. .homepage .menu-list .ico-guangai{
  268. background-image: url(../images/ico-guangai.png);
  269. }
  270. .homepage .menu-list .ico-shangqing{
  271. background-image: url(../images/ico-shangqing.png);
  272. }
  273. .homepage .menu-list .ico-seting{
  274. background-image: url(../images/ico-seting.png);
  275. }
  276. .homepage .menu-list .ico-wechat{
  277. background-image: url(../images/ico-wechat.png);
  278. }
  279. .homepage .menu-list li>p span{
  280. position: absolute;
  281. right: .7rem;
  282. bottom: 0.2rem;
  283. }
  284. .homepage .menu-list li em{
  285. position: absolute;
  286. right: 0;
  287. bottom: 0;
  288. background: #e8e8e8;
  289. color: #b3b3b3;
  290. line-height: 2rem;
  291. padding:0 .6rem 0 1.1rem;
  292. border-radius: 2rem 0 0 2rem;
  293. }
  294. .homepage .menu-list li em.online{
  295. color: #fff;
  296. background: #ffb43d;
  297. }
  298. .homepage .menu-list .exit{
  299. background: #f0f2f9;
  300. }
  301. .homepage .menu-list .ico-exit{
  302. text-align: center;
  303. line-height: 100%;
  304. color: #212121;
  305. position: absolute;
  306. left: 0;
  307. top:50%;
  308. width: 100%;
  309. line-height: 2rem;
  310. -webkit-transform:translate3d(0,-50%,0);
  311. }
  312. .form{
  313. width: 78.6%;
  314. margin:0 auto;
  315. }
  316. .form .form-item{
  317. border-bottom: 1px solid #bfbfbf;
  318. margin-bottom: 1rem;
  319. }
  320. .form .form-item.no-border{
  321. border:none;
  322. text-align: right;
  323. }
  324. .form .form-item.no-border a{
  325. color: #8f94a4;
  326. /*font-size: 2rem;*/
  327. }
  328. .form .form-item input{
  329. width: 100%;
  330. box-sizing: border-box;
  331. font-size: 1.4rem;
  332. height: 4.23rem;
  333. margin-top: 1rem;
  334. }
  335. .form .form-item input[type="button"]{
  336. background: #fdbf62;
  337. color: #fff;
  338. }
  339. .form .form-item.tips{
  340. text-align: center;
  341. margin-top: 3rem;
  342. }
  343. .form .form-item.tips span{
  344. display: inline-block;
  345. color: #fff;
  346. background: #666;
  347. text-align: center;
  348. padding: 1rem 1.5rem;
  349. margin:0 auto;
  350. border-radius: 5px;
  351. }
  352. .msgs dl{
  353. padding:5% 6.9%;
  354. margin-bottom: 1.2rem;
  355. background: #fff;
  356. }
  357. .msgs dl dt{
  358. color: #999;
  359. margin-bottom: .5rem;
  360. }
  361. .wrapper{
  362. margin-bottom: 1rem;
  363. }
  364. .wrapper .card dl{
  365. overflow: hidden;
  366. padding: 0 1rem;
  367. }
  368. .wrapper .card dl dt,.wrapper .card dl dd{
  369. position: relative;
  370. display: block;
  371. float: left;
  372. box-sizing: border-box;
  373. line-height: 4.2rem;
  374. }
  375. .wrapper .card dl dt i,.wrapper .card dl dt span{
  376. display: inline-block;
  377. margin-right: 5px;
  378. vertical-align: -webkit-baseline-middle;
  379. }
  380. .wrapper .card dl dd>*{
  381. vertical-align: -webkit-baseline-middle;
  382. }
  383. .wrapper .card dl dt{
  384. width: 32%;
  385. overflow: hidden;
  386. white-space: nowrap;
  387. }
  388. .wrapper .card dl dd:nth-child(2){
  389. width: 24%;
  390. text-align: left;
  391. font-size: 1.6rem;
  392. }
  393. .wrapper .card dl dd:nth-child(2) span{
  394. width: 60%;
  395. text-align: center;
  396. display: inline-block;
  397. }
  398. .wrapper .card dl dd:nth-child(2) em{
  399. width: 40%;
  400. font-size: 1.2rem;
  401. color: #797f7f;
  402. /* position: absolute; */
  403. /* right: 0; */
  404. margin-top: .5rem;
  405. line-height: 1.4rem;
  406. display: inline-block;
  407. }
  408. .wrapper .card dl dd:nth-child(2) p{
  409. margin-top: -0.5rem;
  410. }
  411. .wrapper .card dl dd:nth-child(3){
  412. width: 44%;
  413. text-align: right;
  414. }
  415. .wrapper .card dl dd p{
  416. color: #999;
  417. line-height: 2rem;
  418. font-size: 1.4rem;
  419. text-align: center;
  420. }
  421. .wrapper .card dl dd:last-child p{
  422. text-align: right;
  423. }
  424. .wrapper .card dl dd:nth-child(3) a,.wrapper .card dl dd:nth-child(3) .hline{
  425. margin-left: 1rem;
  426. }
  427. .wrapper .card dl dd.w0{
  428. width: 0;
  429. }
  430. .wrapper .card.col2 dl dt{
  431. width: 56%;
  432. }
  433. .wrapper .card.col2 dl dd:nth-child(2){
  434. width: 0;
  435. }
  436. .wrapper .card .hline{
  437. border-left: 1px solid #ddd;
  438. height: 2.5rem;
  439. display: inline-block;
  440. }
  441. .wrapper .card.border dl{
  442. border-bottom: 1px solid #ddd;
  443. padding: 0;
  444. margin:0 1rem;
  445. }
  446. .wrapper .card.border dl:last-child{
  447. border-bottom: none;
  448. }
  449. .wrapper .card h4{
  450. display: inline-block;
  451. background:#4468fc;
  452. line-height: 2rem;
  453. border-radius: 2rem;
  454. color: #fff;
  455. font-weight: normal;
  456. padding: .5rem 1rem;
  457. }
  458. .wrapper .card.w100{
  459. margin: 1.2rem 0 0 0;
  460. padding:1.2rem;
  461. }
  462. .wrapper .card label{
  463. display: block;
  464. line-height: 3rem;
  465. }
  466. .wrapper .card label span{
  467. vertical-align: -webkit-baseline-middle;
  468. }
  469. .wrapper .card select,.wrapper .card input,.wrapper .card .input{
  470. width: 40%;
  471. height: 3rem;
  472. margin:0 3%;
  473. float: left;
  474. border: 1px solid #ddd;
  475. outline: none;
  476. padding: 0 .5rem;
  477. box-sizing: border-box;
  478. line-height: 3rem;
  479. }
  480. .wrapper .card .input{
  481. text-align: center;
  482. }
  483. .wrapper .card .form-group{
  484. margin-bottom: 1.2rem;
  485. overflow: hidden;
  486. }
  487. .wrapper .card .form-group select:nth-child(2),.wrapper .card .form-group input:nth-child(2){
  488. float: right;
  489. }
  490. .video{
  491. position: relative;
  492. }
  493. .video img{
  494. display: block;
  495. }
  496. .video .btn-video{
  497. position: absolute;
  498. left: 50%;
  499. top: 50%;
  500. background: url(../images/ico-play.png) no-repeat;
  501. background-size: 100%;
  502. width: 4rem;
  503. height: 4rem;
  504. -webkit-transform:translate3d(-50%,-50%,0);
  505. }
  506. .intelligent label{
  507. color: #4162ff;
  508. position: relative;
  509. }
  510. .intelligent label a:last-child{
  511. position: absolute;
  512. right: 0;
  513. top: 1rem;
  514. }
  515. .intelligent .card>p{
  516. text-indent: 2rem;
  517. line-height: 2rem;
  518. }
  519. .wechat .ecode{
  520. width: 52%;
  521. display: block;
  522. margin: 20% auto;
  523. border: 1rem solid #fff;
  524. border-radius: 1rem;
  525. }
  526. .wechat p{
  527. color: #4162ff;
  528. text-align: center;
  529. }