index.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  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. max-height: 90%;
  86. overflow: auto;
  87. }
  88. .layer article h3{
  89. text-align: center;
  90. font-size: 2rem;
  91. margin-bottom: 3rem;
  92. }
  93. .layer article h3 span{
  94. display: block;
  95. color: #8f94a4;
  96. font-weight: normal;
  97. font-size: 1.4rem;
  98. }
  99. .layer article p{
  100. width: 90%;
  101. border-bottom: 1px solid #ddd;
  102. margin-bottom: 2rem;
  103. margin-left: 1.5rem;
  104. }
  105. .layer article input{
  106. width: 100%;
  107. display: block;
  108. line-height: 2rem;
  109. font-size: 1.6rem;
  110. }
  111. .layer article input.inline{
  112. width: 6rem;
  113. display: inline-block;
  114. line-height: 2rem;
  115. font-size: 1.6rem;
  116. }
  117. .layer article input[type="button"]{
  118. color: #fff;
  119. background: #fcaf3b;
  120. border:none;
  121. line-height: 3rem;
  122. margin: 0;
  123. width: 100%;
  124. }
  125. .layer article input[type="checkbox"]{
  126. line-height: 2rem;
  127. width: 2rem;
  128. -webkit-appearance: checkbox;
  129. margin:0;
  130. }
  131. .layer article label.tit{
  132. margin: 1rem 0;
  133. display: inline-block;
  134. line-height: 2;
  135. }
  136. .form-group{
  137. margin-bottom: 1.2rem !important;
  138. overflow: hidden;
  139. width: 100% !important;
  140. border-bottom: none !important;
  141. margin-left: 0 !important;
  142. }
  143. .form-group select,.form-group input,.form-group .input{
  144. width: 40%;
  145. height: 3rem;
  146. /*margin:0 3%;*/
  147. float: left;
  148. border: 1px solid #ddd;
  149. outline: none;
  150. padding: 0 .5rem;
  151. box-sizing: border-box;
  152. line-height: 3rem;
  153. }
  154. .form-group .input{
  155. text-align: center;
  156. }
  157. .form-group select:nth-child(2),.form-group input:nth-child(2){
  158. float: right;
  159. }
  160. .form-group>*{
  161. float: left;
  162. line-height: 3rem;
  163. }
  164. .button{
  165. color: #fff;
  166. background: #fcaf3b;
  167. border:none;
  168. line-height: 3rem;
  169. margin: 2rem auto;
  170. width: 60%;
  171. display: block;
  172. }
  173. h2{
  174. text-align: center;
  175. margin-top: 2rem;
  176. font-size: 1.6rem;
  177. }
  178. .card{
  179. margin:1.2rem 1.2rem 0 1.2rem;
  180. background: #fff;
  181. }
  182. .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{
  183. display: inline-block;
  184. width: 2rem;
  185. height: 2rem;
  186. background-size: 100%;
  187. vertical-align: -webkit-baseline-middle;
  188. background-image: url(../images/icons/icons_01.png);
  189. }
  190. .ico-electric{
  191. background-image: url(../images/icons/icons_02.png);
  192. }
  193. .ico-temperature{background-image: url(../images/icons/icons_03.png);}
  194. .ico-humidity{background-image: url(../images/icons/icons_04.png);}
  195. .ico-light{background-image: url(../images/icons/icons_05.png);}
  196. .ico-wind{background-image: url(../images/icons/icons_06.png);}
  197. .ico-wind-direction{background-image: url(../images/icons/icons_07.png);}
  198. .ico-rain{background-image: url(../images/icons/icons_08.png);}
  199. .ico-pm25{background-image: url(../images/icons/icons_09.png);}
  200. .ico-grid{background-image: url(../images/icons/icons_10.png);}
  201. .ico-setting-gray{background-image: url(../images/icons/icons_11.png);}
  202. .ico-down{background-image: url(../images/icons/icons_12.png);}
  203. .ico-up{background-image: url(../images/icons/icons_13.png);}
  204. .ico-clock{background-image: url(../images/icons/icons_20.png);}
  205. .ico-ec{background-image: url(../images/icons/icons_15.png);}
  206. .ico-co2{background-image: url(../images/icons/icons_16.png);}
  207. .ico-clock2{background-image: url(../images/icons/icons_17.png);}
  208. .ico-temperature2{background-image: url(../images/icons/icons_18.png);}
  209. .btn-on-off{
  210. position: relative;
  211. display: inline-block;
  212. width: 4rem;
  213. height: 2rem;
  214. vertical-align: -webkit-baseline-middle;
  215. border: 1px solid #ddd;
  216. border-radius: 2rem;
  217. }
  218. .btn-on-off:before{
  219. position: absolute;
  220. content: "";
  221. width: 2rem;
  222. height: 2rem;
  223. border-right: 1px solid #ddd;
  224. left: 0;
  225. top: 0;
  226. box-sizing: border-box;
  227. border-radius: 2rem;
  228. }
  229. .btn-on-off.on{
  230. background: #4162ff;
  231. border-color: #4162ff;
  232. }
  233. .btn-on-off.yellow{
  234. background: #fcaf3b;
  235. border-color: #fcaf3b;
  236. }
  237. .btn-on-off.yellow:before{
  238. background: #fff;
  239. border-color: #fff;
  240. }
  241. .btn-on-off.on:before{
  242. background: #fff;
  243. border: none;
  244. left: auto;
  245. right: 0;
  246. }
  247. .color-error{
  248. color: #ea2227;
  249. }
  250. .color-success{
  251. color: #30d438;
  252. }
  253. .color-info{
  254. color: #3c77ff;
  255. }
  256. .color-orange{
  257. color: #fcaf3b;
  258. }
  259. .homepage h1{
  260. position: relative;
  261. height: 20rem;
  262. font-size: 2.5rem;
  263. color: #fff;
  264. padding:0 0.5rem;
  265. background: #4162ff;
  266. text-align: center;
  267. font-weight: normal;
  268. }
  269. .homepage h1 span{
  270. position: absolute;
  271. top: 50%;
  272. left: 0;
  273. display: block;
  274. width: 100%;
  275. -webkit-transform:translate3d(0,-50%,0);
  276. }
  277. .homepage .menu-list{
  278. margin:0 0.5rem;
  279. border-left: 1px solid #e7e7e7;
  280. border-bottom: 1px solid #e7e7e7;
  281. }
  282. .homepage .menu-list li{
  283. position: relative;
  284. width: 33.33%;
  285. float: left;
  286. text-align: center;
  287. border-top: 1px solid #e7e7e7;
  288. border-right: 1px solid #e7e7e7;
  289. box-sizing: border-box;
  290. font-size: 1.4rem;
  291. padding-bottom: 2.5rem;
  292. }
  293. .homepage .menu-list li>p{
  294. display: block;
  295. background-repeat:no-repeat;
  296. width: 5.4rem;
  297. height: 5rem;
  298. background-size: contain;
  299. margin:1.5rem auto 1rem;
  300. position: relative;
  301. }
  302. .homepage .menu-list .ico-wenshi{
  303. background-image: url(../images/ico-wenshi.png);
  304. }
  305. .homepage .menu-list .ico-qixiang{
  306. background-image: url(../images/ico-qixiang.png);
  307. }
  308. .homepage .menu-list .ico-guangai{
  309. background-image: url(../images/ico-guangai.png);
  310. }
  311. .homepage .menu-list .ico-shangqing{
  312. background-image: url(../images/ico-shangqing.png);
  313. }
  314. .homepage .menu-list .ico-seting{
  315. background-image: url(../images/ico-seting.png);
  316. }
  317. .homepage .menu-list .ico-wechat{
  318. background-image: url(../images/ico-wechat.png);
  319. }
  320. .homepage .menu-list li>p span{
  321. position: absolute;
  322. right: .7rem;
  323. bottom: 0.2rem;
  324. }
  325. .homepage .menu-list li em{
  326. position: absolute;
  327. right: 0;
  328. bottom: 0;
  329. background: #e8e8e8;
  330. color: #b3b3b3;
  331. line-height: 2rem;
  332. padding:0 .6rem 0 1.1rem;
  333. border-radius: 2rem 0 0 2rem;
  334. }
  335. .homepage .menu-list li em.online{
  336. color: #fff;
  337. background: #ffb43d;
  338. }
  339. .homepage .menu-list .exit{
  340. background: #f0f2f9;
  341. }
  342. .homepage .menu-list .ico-exit{
  343. text-align: center;
  344. line-height: 100%;
  345. color: #212121;
  346. position: absolute;
  347. left: 0;
  348. top:50%;
  349. width: 100%;
  350. line-height: 2rem;
  351. -webkit-transform:translate3d(0,-50%,0);
  352. }
  353. .form{
  354. width: 78.6%;
  355. margin:0 auto;
  356. }
  357. .form .form-item{
  358. border-bottom: 1px solid #bfbfbf;
  359. margin-bottom: 1rem;
  360. }
  361. .form .form-item.no-border{
  362. border:none;
  363. text-align: right;
  364. }
  365. .form .form-item.no-border a{
  366. color: #8f94a4;
  367. /*font-size: 2rem;*/
  368. }
  369. .form .form-item input{
  370. width: 100%;
  371. box-sizing: border-box;
  372. font-size: 1.4rem;
  373. height: 4.23rem;
  374. margin-top: 1rem;
  375. }
  376. .form .form-item input[type="button"]{
  377. background: #fdbf62;
  378. color: #fff;
  379. }
  380. .form .form-item.tips{
  381. text-align: center;
  382. margin-top: 3rem;
  383. }
  384. .form .form-item.tips span{
  385. display: inline-block;
  386. color: #fff;
  387. background: #666;
  388. text-align: center;
  389. padding: 1rem 1.5rem;
  390. margin:0 auto;
  391. border-radius: 5px;
  392. }
  393. .msgs dl{
  394. padding:5% 6.9%;
  395. margin-bottom: 1.2rem;
  396. background: #fff;
  397. }
  398. .msgs dl dt{
  399. color: #999;
  400. margin-bottom: .5rem;
  401. }
  402. .wrapper{
  403. margin-bottom: 1rem;
  404. }
  405. .wrapper .card dl{
  406. overflow: hidden;
  407. padding: 0 1rem;
  408. }
  409. .wrapper .card dl dt,.wrapper .card dl dd{
  410. position: relative;
  411. display: block;
  412. float: left;
  413. box-sizing: border-box;
  414. line-height: 4.2rem;
  415. }
  416. .wrapper .card dl dt i,.wrapper .card dl dt span{
  417. display: inline-block;
  418. margin-right: 5px;
  419. vertical-align: -webkit-baseline-middle;
  420. }
  421. .wrapper .card dl dd>*{
  422. vertical-align: -webkit-baseline-middle;
  423. }
  424. .wrapper .card dl dt{
  425. width: 32%;
  426. overflow: hidden;
  427. white-space: nowrap;
  428. }
  429. .wrapper .card dl dd:nth-child(2){
  430. width: 24%;
  431. text-align: left;
  432. font-size: 1.6rem;
  433. }
  434. .wrapper .card dl dd:nth-child(2) span{
  435. width: 60%;
  436. text-align: center;
  437. display: inline-block;
  438. }
  439. .wrapper .card dl dd:nth-child(2) em{
  440. width: 40%;
  441. font-size: 1.2rem;
  442. color: #797f7f;
  443. /* position: absolute; */
  444. /* right: 0; */
  445. margin-top: .5rem;
  446. line-height: 1.4rem;
  447. display: inline-block;
  448. }
  449. .wrapper .card dl dd:nth-child(2) p{
  450. margin-top: -0.5rem;
  451. }
  452. .wrapper .card dl dd:nth-child(3){
  453. width: 44%;
  454. text-align: right;
  455. }
  456. .wrapper .card dl dd p{
  457. color: #999;
  458. line-height: 2rem;
  459. font-size: 1.4rem;
  460. text-align: center;
  461. }
  462. .wrapper .card dl dd:last-child p{
  463. text-align: right;
  464. }
  465. .wrapper .card dl dd:nth-child(3) a,.wrapper .card dl dd:nth-child(3) .hline{
  466. margin-left: 1rem;
  467. }
  468. .wrapper .card dl dd.w0{
  469. width: 0;
  470. }
  471. .wrapper .card.col2 dl dt{
  472. width: 56%;
  473. }
  474. .wrapper .card.col2 dl dd:nth-child(2){
  475. width: 0;
  476. }
  477. .wrapper .card .hline{
  478. border-left: 1px solid #ddd;
  479. height: 2.5rem;
  480. display: inline-block;
  481. }
  482. .wrapper .card.border dl{
  483. border-bottom: 1px solid #ddd;
  484. padding: 0;
  485. margin:0 1rem;
  486. }
  487. .wrapper .card.border dl:last-child{
  488. border-bottom: none;
  489. }
  490. .wrapper .card h4{
  491. display: inline-block;
  492. background:#4468fc;
  493. line-height: 2rem;
  494. border-radius: 2rem;
  495. color: #fff;
  496. font-weight: normal;
  497. padding: .5rem 1rem;
  498. }
  499. .wrapper .card.w100{
  500. margin: 1.2rem 0 0 0;
  501. padding:1.2rem;
  502. }
  503. .wrapper .card label{
  504. display: block;
  505. line-height: 3rem;
  506. }
  507. .wrapper .card label span{
  508. vertical-align: -webkit-baseline-middle;
  509. }
  510. .video{
  511. position: relative;
  512. }
  513. .video img{
  514. display: block;
  515. }
  516. .video .btn-video{
  517. position: absolute;
  518. left: 50%;
  519. top: 50%;
  520. background: url(../images/ico-play.png) no-repeat;
  521. background-size: 100%;
  522. width: 4rem;
  523. height: 4rem;
  524. -webkit-transform:translate3d(-50%,-50%,0);
  525. }
  526. .intelligent label{
  527. color: #4162ff;
  528. position: relative;
  529. }
  530. .intelligent label a:last-child{
  531. position: absolute;
  532. right: 0;
  533. top: 1rem;
  534. }
  535. .intelligent .card>p{
  536. text-indent: 2rem;
  537. line-height: 2rem;
  538. }
  539. .wechat .ecode{
  540. width: 52%;
  541. display: block;
  542. margin: 20% auto;
  543. border: 1rem solid #fff;
  544. border-radius: 1rem;
  545. }
  546. .wechat p{
  547. color: #4162ff;
  548. text-align: center;
  549. }
  550. .month-day{
  551. border-top: 1px solid #ddd;
  552. border-left: 1px solid #ddd;
  553. overflow: hidden;
  554. }
  555. .month-day li{
  556. float: left;
  557. width: 10%;
  558. border-right: 1px solid #ddd;
  559. border-bottom: 1px solid #ddd;
  560. box-sizing: border-box;
  561. text-align: center;
  562. line-height: 2;
  563. }
  564. .month-day li.checked{
  565. color: #fff;
  566. background:#fcaf3b;
  567. }
  568. .month-day.month-time li{
  569. width: 20%;
  570. }
  571. .month-day.month-week li{
  572. float: none;
  573. display: table-cell;
  574. }