ckt的看板部分
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

317 lines
5.8 KiB

4 years ago
  1. body
  2. { font-size: 20px;
  3. -webkit-text-size-adjust: none;
  4. max-width: 100%;
  5. overflow-x: hidden;
  6. vertical-align: top;
  7. font-family: Arial,Helvetica,sans-serif;
  8. background-color: #000f2d;
  9. }
  10. *{margin: 0px; padding: 0px;}
  11. ul,li{list-style: none;}
  12. .main
  13. {
  14. width: 100vw;
  15. height: 100vh;
  16. background: url(./images/home_bg.jpg) no-repeat center center;
  17. background-size: cover;
  18. }
  19. .home_header
  20. {
  21. height: 10vh;
  22. width: 100%;
  23. position: relative;
  24. }
  25. .header_left
  26. {
  27. font-size: 1.6vw;
  28. color: #a6d6ff;
  29. display: block;
  30. float: left;
  31. line-height: 10vh;
  32. font-weight: normal;
  33. padding-left: 4vw;
  34. position: relative;
  35. }
  36. .icon_warehouse
  37. {
  38. background: url(./images/icon_warehouse.png) no-repeat center center;
  39. background-size: contain;
  40. width: 2vw;
  41. height: 9.5vh;
  42. display: inline-block;
  43. position: absolute;
  44. left: 1vw;
  45. top: 0px;
  46. }
  47. .home_header h1
  48. {
  49. color: #fff;
  50. font-size: 3vw;
  51. width: 100%;
  52. height: 10vh;
  53. line-height: 10vh;
  54. display: flex;
  55. position: absolute;
  56. align-content: center;
  57. left: 0px;
  58. top: 0px;
  59. justify-content:center;
  60. }
  61. .home_header h1 span
  62. {
  63. display: block;
  64. }
  65. .home_header h1 img
  66. {
  67. width: 4vw;
  68. height: auto;vertical-align: middle;margin-top: -0.8vw;
  69. }
  70. .header_right
  71. {
  72. font-size: 1.6vw;
  73. color: #a6d6ff;
  74. display:block;
  75. float: right;line-height: 10vh;
  76. font-weight: normal;
  77. padding-right: 30px;
  78. }
  79. .home_mainbody
  80. {
  81. max-height: 90vh;
  82. width: 100vw;
  83. overflow: hidden;
  84. box-sizing: border-box;
  85. display: flex;
  86. }
  87. .home_mainbody_left
  88. {
  89. width: 58vw;
  90. /* overflow: hidden; */
  91. /* padding: 0 0.5vw; */
  92. margin-left:1vw;
  93. height: 89vh;
  94. box-sizing: border-box;
  95. border: 3px solid #17d4ee;
  96. border-radius: 10px;
  97. background-color: rgba(6,22,45,0.5);
  98. box-shadow: 0px 0px 20px rgba(0,0,0,1)
  99. }
  100. .home_mainbody_right
  101. {
  102. width: 38vw;overflow: hidden;
  103. margin-left:1vw;
  104. margin-right:1vw;
  105. height: 89vh;
  106. box-sizing: border-box;
  107. border: 3px solid #ddd;
  108. border-radius: 10px;
  109. background-color:#fff;
  110. box-shadow: 0px 0px 20px rgba(0,0,0,1)
  111. }
  112. .tab_content
  113. {
  114. clear: both;
  115. overflow: scroll;
  116. height: 80vh;
  117. }
  118. .tab_header
  119. {
  120. height: 6vh;
  121. background: url(./images/bg_line.png) no-repeat center bottom;
  122. background-size: contain;
  123. }
  124. .tab_header span
  125. {
  126. color: #a6d6ff;
  127. position: relative;
  128. font-size: 1.4vw;
  129. height: 6vh;
  130. display: flex;
  131. align-content: center;
  132. align-items: center;
  133. justify-content: center;
  134. white-space:nowrap;/* 禁止换行 */
  135. overflow: hidden;/*溢出隐藏*/
  136. text-overflow: ellipsis;/*超出省略号表示*/
  137. }
  138. .tab_content li
  139. {
  140. background: url(./images/bg_line.png) no-repeat center bottom;
  141. background-size: contain;
  142. color: #fff;
  143. position: relative;
  144. height: 8vh;
  145. }
  146. .tab_content .li_active:after
  147. {
  148. content: "";
  149. display: block;
  150. position: absolute;
  151. left: 0.5vw;
  152. right: 0.5vw;
  153. top: 0;
  154. height: 8vh;
  155. background-color: #ffcf4b;
  156. border-radius: 10px;
  157. z-index: 0;
  158. box-sizing: border-box;
  159. border: 2px solid #fff;
  160. /* box-shadow: 0px 0px 10px rgba(255,249,101,1); */
  161. animation: showdowcss 0.6s infinite alternate;
  162. }
  163. @keyframes showdowcss{
  164. 0%{
  165. box-shadow: 0px 0px 10px rgba(235,255,0,0);
  166. }
  167. 100%
  168. {
  169. box-shadow: 0px 0px 10px rgba(235,255,0,1);
  170. }
  171. }
  172. .tab_content li span
  173. {
  174. font-size: 1.4vw;
  175. position: relative;
  176. z-index: 10;
  177. display: flex;
  178. align-content: center;
  179. align-items: center;
  180. justify-content: center;
  181. height: 8vh;
  182. /* line-height:5.5vw; */
  183. white-space:nowrap;/* 禁止换行 */
  184. overflow: hidden;/*溢出隐藏*/
  185. text-overflow: ellipsis;/*超出省略号表示*/
  186. }
  187. .tab_content .li_active
  188. {
  189. color: #000 !important;
  190. background:none !important;
  191. }
  192. .tab_content .li_active span
  193. {
  194. font-size: 1.5vw !important;
  195. }
  196. .home_mainbody_left span
  197. {
  198. float: left;
  199. font-weight: normal;
  200. text-align: center;
  201. box-sizing: border-box;
  202. }
  203. .home_mainbody_left .sp1
  204. {
  205. width: 22%;
  206. }
  207. .home_mainbody_left .sp2
  208. {
  209. width: 22%;
  210. }
  211. .home_mainbody_left .sp3
  212. {
  213. width: 14%;
  214. }
  215. .home_mainbody_left .sp4
  216. {
  217. width: 21%;
  218. }
  219. .home_mainbody_left .sp5
  220. {
  221. width: 21%;
  222. }
  223. /* 百度地图相关 */
  224. .BMapLib_sendToPhone {
  225. display: none;
  226. }
  227. /*====工具借还=====*/
  228. .home_mainbody_tool
  229. {
  230. margin-right: 1vw;
  231. width: 98vw;
  232. margin-left:1vw;
  233. height: 89vh;
  234. box-sizing: border-box;
  235. border: 3px solid #17d4ee;
  236. border-radius: 10px;
  237. background-color: rgba(6,22,45,0.5);
  238. box-shadow: 0px 0px 20px rgba(0,0,0,1)
  239. }
  240. .home_mainbody_tool span
  241. {
  242. float: left;
  243. font-weight: normal;
  244. box-sizing: border-box;
  245. text-align: center;
  246. }
  247. .home_mainbody_tool span:nth-child(1)
  248. {
  249. width: 12%; text-align: center;
  250. }
  251. .home_mainbody_tool span:nth-child(2)
  252. {
  253. width: 12%; text-align: center;
  254. }
  255. .home_mainbody_tool span:nth-child(3)
  256. {
  257. width: 25%;
  258. text-align: left;
  259. white-space:nowrap;/* 禁止换行 */
  260. overflow: hidden;/*溢出隐藏*/
  261. text-overflow: ellipsis;/*超出省略号表示*/
  262. }
  263. .home_mainbody_tool span:nth-child(4)
  264. {
  265. width: 13%; text-align: center;
  266. }
  267. .home_mainbody_tool span:nth-child(5)
  268. {
  269. width: 14%; text-align: center;
  270. }
  271. .home_mainbody_tool span:nth-child(6)
  272. {
  273. width:10%; text-align: center;
  274. }
  275. .home_mainbody_tool span:nth-child(7)
  276. {
  277. width:14%; text-align: center;
  278. }
  279. .tab_tool li
  280. {
  281. background: url(./images/bg_line.png) no-repeat center bottom;
  282. background-size: contain;
  283. color: #fff;
  284. position: relative;
  285. /* height: 8vh; */
  286. padding-top: 1vh;
  287. padding-bottom: 1vh;
  288. overflow: hidden;
  289. }
  290. .toolimg
  291. {
  292. width: 8vh;
  293. border-radius: 5px;
  294. }
  295. .tab_tool li span
  296. {
  297. font-size: 1.4vw;
  298. height: 8vh;
  299. line-height:8vh;
  300. }