barscreen copy.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <link rel="shortcut icon" href="https://www.baidu.com/favicon.ico" type="image/x-icon">
  7. </script>
  8. <title>条屏</title>
  9. </head>
  10. <body>
  11. <div id="bar-scren">
  12. <div class="bar"></div>
  13. <div class="line"></div>
  14. <div class="screen">
  15. <div class="screen-info">
  16. <div class="info-num"></div>
  17. <div class="info-textbox">
  18. <!-- <div class="info-text"></div> -->
  19. <div class="intextbox">
  20. <div class="info-text"></div>
  21. <!-- <div class="info-text1"></div> -->
  22. </div>
  23. </div>
  24. <!-- <div class="info-line"></div> -->
  25. <div class="info-type">
  26. <img class="img" id="myImage" src="">
  27. </div>
  28. <div class="info-typetext"></div>
  29. </div>
  30. <div class="screen-ing">正在办理:<span class="screen-inginfo"></span></div>
  31. <div class="screen-ings">当前等待:<span class="screen-loadinginfo"></span> </div>
  32. </div>
  33. </div>
  34. </body>
  35. <script type="text/javascript">
  36. var url = window.location.search.slice(1).split("&");
  37. // 条屏编号设定
  38. var tpname = url[0].slice(url[0].lastIndexOf("=") + 1);
  39. var sljgdm = url[1].slice(url[1].lastIndexOf("=") + 1);
  40. // var bsfwtdm = url[2].slice(url[2].lastIndexOf("=") + 1);
  41. // var bsfwtdm = "1706226277373812738";
  42. // 判断是否可用ws
  43. function WebSocketTest() {
  44. if ("WebSocket" in window) {
  45. console.log("您的浏览器支持 WebSocket!");
  46. // ws参数
  47. var msg = {
  48. userType: "ET条屏",
  49. machineName: tpname,
  50. sljgdm: sljgdm,
  51. }
  52. var wsUrl = "wss://pdjh.shizhi.tv/websocket/gw/{" + JSON.stringify(msg) + "}"
  53. var connection = null
  54. // 心跳倒计时
  55. var heartTimer = null
  56. // 重连倒计时
  57. var reConnectTimer = null
  58. function connectWS() {
  59. connection = new WebSocket(wsUrl);
  60. // ws 连接成功
  61. connection.onopen = wsOpen;
  62. function wsOpen(event) {
  63. heart()
  64. }
  65. connection.onclose = wsClose;
  66. function wsClose() {
  67. reConnect()
  68. console.log("%c" + "连接关闭,正在重连...", "color:" + "#fe4c40")
  69. }
  70. // 接收消息
  71. connection.onmessage = wsMessage;
  72. function wsMessage(event) {
  73. var response = JSON.parse(event.data);
  74. console.log(response);
  75. switch (response.code) {
  76. default:
  77. return
  78. // 初始化
  79. case "ettpInit":
  80. // 修改标题
  81. document.querySelector(".bar").innerHTML = response.tpxxVO.dttsy;
  82. // 修改业务类型
  83. document.querySelector(".info-num").innerHTML = response.tpxxVO.ckhm;
  84. // 修改业务标题
  85. document.querySelector(".info-text").innerHTML = response.tpxxVO.slyw.join(' ');
  86. if (response.tpxxVO.slyw.join(' ').length > 5) {
  87. // scroll();
  88. document.querySelector(".info-text").innerHTML = '<div>' + element.slyw.join(' ').slice(0, 5) + '</div><div>' + element.slyw.join(' ').slice(5) + '</div>'
  89. document.querySelector(".info-textbox").style.cssText = 'height:600px;white-space: wrap';
  90. document.querySelector(".info-text").style.cssText = 'height:600px;white-space: wrap;line-height:150px; font-size: 120px;text-align: center; margin-top: -20px;';
  91. }
  92. // document.querySelector(".info-text1").innerHTML = element.slyw.join(' ');
  93. // 修改图标以及颜色
  94. var img = document.getElementById("myImage");
  95. img.src = response.tpxxVO.ckzt == '空闲' ? './image/frees.png' : response.tpxxVO.ckzt === '暂停服务' ? './image/wites.png' : './image/xlb.png';
  96. // document.querySelector('.info-typetext').style.color = response.tpxxVO.ckzt === '空闲' ? '#00FFFF' : response.tpxxVO.ckzt === '暂停服务' ? '#FFF700' : '#ff0000';
  97. document.querySelector('.info-typetext').style.color = response.tpxxVO.ckzt === '空闲' ? '#00FFFF' : response.tpxxVO.ckzt === '暂停服务' ? '#FFF700' : '#00FFFF';
  98. // 修改号码
  99. document.querySelector(".info-typetext").innerHTML = response.tpxxVO.ckzt === '空闲' ? "空闲中" : response.tpxxVO.ckzt;
  100. // 修改正在办理
  101. document.querySelector(".screen-inginfo").innerHTML = response.tpxxVO.ckzt != '空闲' && response.tpxxVO.ckzt != '暂停服务' ? response.tpxxVO.ckzt : "暂无";
  102. // document.querySelector(".screen-inginfo").style.color = response.tpxxVO.ckzt != '空闲' && response.tpxxVO.ckzt != '暂停服务' ? "#00FFFF" : "#ffffff";
  103. // 修改等待人数
  104. document.querySelector(".screen-loadinginfo").innerHTML = response.tpxxVO.ckzt != '暂停服务' && response.tpxxVO.ddrs != '0' ? response.tpxxVO.ddrs + '人' : "暂无";
  105. break;
  106. //取号完成
  107. case "qhwc":
  108. for (var i = 0; i < response.tpList.length; i++) {
  109. if (response.tpList[i].tpbh == tpname) {
  110. var list = response.tpList[i].tpxxVO;
  111. console.log(list);
  112. // 修改标题
  113. document.querySelector(".bar").innerHTML = list.dttsy;
  114. // 修改业务类型
  115. document.querySelector(".info-num").innerHTML = list.ckhm;
  116. // 修改业务标题
  117. document.querySelector(".info-text").innerHTML = list.slyw.join(' ');
  118. // document.querySelector(".info-text1").innerHTML = element.slyw.join(' ');
  119. // 修改图标以及颜色
  120. var img = document.getElementById("myImage");
  121. img.src = list.ckzt == '空闲' ? './image/frees.png' : list.ckzt === '暂停服务' ? './image/wites.png' : './image/xlb.png';
  122. // document.querySelector('.info-typetext').style.color = list.ckzt === '空闲' ? '#00FFFF' : list.ckzt === '暂停服务' ? '#FFF700' : '#FF0000';
  123. document.querySelector('.info-typetext').style.color = list.ckzt === '空闲' ? '#00FFFF' : list.ckzt === '暂停服务' ? '#FFF700' : '#00FFFF';
  124. // 修改号码
  125. document.querySelector(".info-typetext").innerHTML = list.ckzt === '空闲' ? "空闲中" : list.ckzt;
  126. // 修改正在办理
  127. document.querySelector(".screen-inginfo").innerHTML = list.ckzt != '空闲' && list.ckzt != '暂停服务' ? list.ckzt : "暂无";
  128. // document.querySelector(".screen-inginfo").style.color = list.ckzt != '空闲' && list.ckzt != '暂停服务' ? "#00FFFF" : "#ffffff";
  129. // 修改等待人数
  130. // 修改等待人数
  131. document.querySelector(".screen-loadinginfo").innerHTML = list.ckzt != '暂停服务' && list.ddrs != '0' ? list.ddrs + '人' : "暂无";
  132. break;
  133. }
  134. }
  135. break;
  136. // 综合完成
  137. case "zhwc":
  138. for (var i = 0; i < response.tpList.length; i++) {
  139. if (response.tpList[i].tpbh == tpname) {
  140. var list = response.tpList[i].tpxxVO;
  141. // 修改标题
  142. document.querySelector(".bar").innerHTML = list.dttsy;
  143. // 修改业务类型
  144. document.querySelector(".info-num").innerHTML = list.ckhm;
  145. // 修改业务标题
  146. document.querySelector(".info-text").innerHTML = list.slyw.join(' ');
  147. // document.querySelector(".info-text1").innerHTML = element.slyw.join(' ');
  148. // 修改图标以及颜色
  149. var img = document.getElementById("myImage");
  150. img.src = list.ckzt == '空闲' ? './image/frees.png' : list.ckzt === '暂停服务' ? './image/wites.png' : './image/xlb.png';
  151. // document.querySelector('.info-typetext').style.color = list.ckzt === '空闲' ? '#00FFFF' : list.ckzt === '暂停服务' ? '#FFF700' : '#FF0000';
  152. document.querySelector('.info-typetext').style.color = list.ckzt === '空闲' ? '#00FFFF' : list.ckzt === '暂停服务' ? '#FFF700' : '#00FFFF';
  153. // 修改号码
  154. document.querySelector(".info-typetext").innerHTML = list.ckzt === '空闲' ? "空闲中" : list.ckzt;
  155. // 修改正在办理
  156. document.querySelector(".screen-inginfo").innerHTML = list.ckzt != '空闲' && list.ckzt != '暂停服务' ? list.ckzt : "暂无";
  157. // document.querySelector(".screen-inginfo").style.color = list.ckzt != '空闲' && list.ckzt != '暂停服务' ? "#00FFFF" : "#ffffff";
  158. // 修改等待人数
  159. document.querySelector(".screen-loadinginfo").innerHTML = list.ckzt != '暂停服务' && list.ddrs != '0' ? list.ddrs + '人' : "暂无";
  160. break;
  161. }
  162. }
  163. break;
  164. // 叫号完成
  165. case "jhwc":
  166. for (var i = 0; i < response.tpList.length; i++) {
  167. if (response.tpList[i].tpbh == tpname) {
  168. var list = response.tpList[i].tpxxVO;
  169. // 修改标题
  170. document.querySelector(".bar").innerHTML = list.dttsy;
  171. // 修改业务类型
  172. document.querySelector(".info-num").innerHTML = list.ckhm;
  173. // 修改业务标题
  174. document.querySelector(".info-text").innerHTML = list.slyw.join(' ');
  175. // document.querySelector(".info-text1").innerHTML = element.slyw.join(' ');
  176. // 修改图标以及颜色
  177. var img = document.getElementById("myImage");
  178. img.src = list.ckzt == '空闲' ? './image/frees.png' : list.ckzt === '暂停服务' ? './image/wites.png' : './image/xlb.png';
  179. // document.querySelector('.info-typetext').style.color = list.ckzt === '空闲' ? '#00FFFF' : list.ckzt === '暂停服务' ? '#FFF700' : '#FF0000';
  180. document.querySelector('.info-typetext').style.color = list.ckzt === '空闲' ? '#00FFFF' : list.ckzt === '暂停服务' ? '#FFF700' : '#00FFFF';
  181. // 修改号码
  182. document.querySelector(".info-typetext").innerHTML = list.ckzt === '空闲' ? "空闲中" : list.ckzt;
  183. // 修改正在办理
  184. document.querySelector(".screen-inginfo").innerHTML = list.ckzt != '空闲' && list.ckzt != '暂停服务' ? list.ckzt : "暂无";
  185. // document.querySelector(".screen-inginfo").style.color = list.ckzt != '空闲' && list.ckzt != '暂停服务' ? "#00FFFF" : "#ffffff";
  186. // 修改等待人数
  187. document.querySelector(".screen-loadinginfo").innerHTML = list.ckzt != '暂停服务' && list.ddrs != '0' ? list.ddrs + '人' : "暂无";
  188. break;
  189. }
  190. }
  191. break;
  192. // 心跳
  193. case "heart":
  194. clearTimeout(reConnectTimer)
  195. heartTimer = setTimeout(function () {
  196. heart()
  197. }, 10 * 1000);
  198. break;
  199. }
  200. }
  201. }
  202. // 心跳
  203. function heart() {
  204. clearTimeout(heartTimer)
  205. if (connection != null) {
  206. var heartText = {
  207. code: "heart",
  208. text: "这只是一个心跳"
  209. }
  210. connection.send(JSON.stringify(heartText));
  211. }
  212. reConnectTimer = setTimeout(function () {
  213. reConnect()
  214. }, 30 * 1000);
  215. }
  216. // 重连
  217. function reConnect() {
  218. clearTimeout(reConnectTimer)
  219. if (connection) {
  220. connection.close()
  221. connection = null
  222. }
  223. connection = null
  224. reConnectTimer = setTimeout(function () {
  225. connectWS()
  226. }, 3 * 1000);
  227. }
  228. connectWS()
  229. }
  230. else {
  231. // 浏览器不支持 WebSocket
  232. console.log("您的浏览器不支持 WebSocket!");
  233. // 初始化接口
  234. //1、创建xhr的对象
  235. var xhr = new XMLHttpRequest();
  236. //2、调用open函数('请求类型','url')
  237. // xhr.open('post', 'http://1.82.219.239:8092/machine/init/old/ettp');
  238. xhr.open('post', 'https://pdjh.shizhi.tv/machine/init/old/ettp');
  239. //3、设置 Content-Type属性(固定写法)
  240. xhr.setRequestHeader("Content-type", "application/json;charset=UTF-8");//可以发送json格式字符串
  241. //4、调用send函数
  242. var data = JSON.stringify({
  243. machineName: tpname,
  244. sljgdm: sljgdm,
  245. userType: "ET条屏"
  246. });
  247. xhr.send(data);
  248. //5、监听事件
  249. xhr.onreadystatechange = function () {
  250. if (xhr.readyState == 4 && xhr.status === 200) {
  251. var beginarr = xhr.status == 200 ? JSON.parse(xhr.responseText) : '{}';
  252. var element = beginarr.tpxxVO;
  253. // 修改标题
  254. document.querySelector(".bar").innerHTML = element.dttsy;
  255. // 修改业务类型
  256. document.querySelector(".info-num").innerHTML = element.ckhm;
  257. // 修改业务标题
  258. document.querySelector(".info-text").innerHTML = element.slyw.join(' ');
  259. if (element.slyw.join(' ').length > 5) {
  260. document.querySelector(".info-text").innerHTML = '<div>' + element.slyw.join(' ').slice(0, 5) + '</div><div>' + element.slyw.join(' ').slice(5) + '</div>'
  261. document.querySelector(".info-textbox").style.cssText = 'height:600px;white-space: wrap';
  262. document.querySelector(".info-text").style.cssText = 'height:600px;white-space: wrap;line-height:150px; font-size: 120px;text-align: center; margin-top: -20px;';
  263. // scroll();
  264. }
  265. // document.querySelector(".info-text1").innerHTML = element.slyw.join(' ');
  266. // 修改图标以及颜色
  267. var img = document.getElementById("myImage");
  268. img.src = element.ckzt == '空闲' ? './image/frees.png' : element.ckzt === '暂停服务' ? './image/wites.png' : './image/xlb.png';
  269. // document.querySelector('.info-typetext').style.color = element.ckzt === '空闲' ? '#00FFFF' : element.ckzt === '暂停服务' ? '#FFF700' : '#FF0000';
  270. document.querySelector('.info-typetext').style.color = element.ckzt === '空闲' ? '#00FFFF' : element.ckzt === '暂停服务' ? '#FFF700' : '#00FFFF';
  271. // 修改号码
  272. document.querySelector(".info-typetext").innerHTML = element.ckzt === '空闲' ? "空闲中" : element.ckzt;
  273. // 修改正在办理
  274. document.querySelector(".screen-inginfo").innerHTML = element.ckzt != '空闲' && element.ckzt != '暂停服务' ? element.ckzt : "暂无";
  275. // document.querySelector(".screen-inginfo").style.color = element.ckzt != '空闲' && element.ckzt != '暂停服务' ? "#00FFFF" : "#ffffff";
  276. // 修改等待人数
  277. document.querySelector(".screen-loadinginfo").innerHTML = element.ckzt != '暂停服务' && element.ddrs != '0' ? element.ddrs + '人' : "暂无";
  278. } else {
  279. // console.log(1111);
  280. // console.log('失败了');
  281. }
  282. }
  283. //轮询获取数据
  284. setTimeout(function () {
  285. lxtv()
  286. }, 800);
  287. function lxtv() {
  288. var pd = {};
  289. var xhr1 = new XMLHttpRequest();
  290. // xhr1.open('get', ' http://1.82.219.239:8092/machine/init/old/split/getRedis?machineName=' + tpname);// 请求的地址,即要给那里发送请求
  291. xhr1.open('get', 'https://pdjh.shizhi.tv/machine/init/old/split/getRedis?machineName=' + tpname);// 请求的地址,即要给那里发送请求
  292. xhr1.send();
  293. xhr1.onreadystatechange = function () {
  294. if (xhr1.readyState == 4 && xhr1.status === 200) {
  295. console.log(xhr1.status);
  296. var screenarr = {};
  297. screenarr = xhr1.status == 200 ? JSON.parse(xhr1.responseText) : '{}';
  298. var arr = null;
  299. arr = screenarr.code == '0' ? screenarr.msg : null;
  300. if (arr != null) {
  301. var list = JSON.parse(arr).tpxxVO;
  302. // 修改标题
  303. if (list.dttsy != document.querySelector(".bar").innerHTML) {
  304. document.querySelector(".bar").innerHTML = list.dttsy;
  305. }
  306. if (list.ckhm != document.querySelector(".info-num").innerHTML) {
  307. document.querySelector(".info-num").innerHTML = list.ckhm;
  308. }
  309. if (list.ckhm != document.querySelector(".info-num").innerHTML) {
  310. // 修改业务类型
  311. document.querySelector(".info-num").innerHTML = list.ckhm;
  312. }
  313. if (list.slyw.join(' ') != document.querySelector(".info-text").innerHTML) {
  314. console.log(12345);
  315. // 修改业务标题
  316. document.querySelector(".info-text").innerHTML = list.slyw.join(' ');
  317. if (list.slyw.join(' ').length > 5) {
  318. // scroll();
  319. document.querySelector(".info-text").innerHTML = '<div>' + list.slyw.join(' ').slice(0, 5) + '</div><div>' + list.slyw.join(' ').slice(5) + '</div>'
  320. document.querySelector(".info-textbox").style.cssText = 'height:600px;white-space: wrap';
  321. document.querySelector(".info-text").style.cssText = 'height:600px;white-space: wrap;line-height:150px; font-size: 120px;text-align: center; margin-top: -20px;';
  322. }
  323. }
  324. var img = document.getElementById("myImage");
  325. img.src = list.ckzt === '空闲' ? './image/frees.png' : list.ckzt === '暂停服务' ? './image/wites.png' : './image/xlb.png';
  326. // document.querySelector('.info-typetext').style.color = list.ckzt === '空闲' ? '#00FFFF' : list.ckzt === '暂停服务' ? '#FFF700' : '#FF0000';
  327. document.querySelector('.info-typetext').style.color = list.ckzt === '空闲' ? '#00FFFF' : list.ckzt === '暂停服务' ? '#FFF700' : '#00FFFF';
  328. // 修改号码
  329. document.querySelector(".info-typetext").innerHTML = list.ckzt === '空闲' ? "空闲中" : list.ckzt;
  330. // 修改正在办理
  331. document.querySelector(".screen-inginfo").innerHTML = list.ckzt != '空闲' && list.ckzt != '暂停服务' ? list.ckzt : "暂无";
  332. // document.querySelector(".screen-inginfo").style.color = list.ckzt != '空闲' && list.ckzt != '暂停服务' ? "#00FFFF" : "#ffffff";
  333. // 修改等待人数
  334. document.querySelector(".screen-loadinginfo").innerHTML =
  335. list.ckzt != '暂停服务' && list.ddrs != '0' ? list.ddrs + '人' : "暂无";
  336. }
  337. setTimeout(function () {
  338. lxtv()
  339. }, 800);
  340. } else {
  341. // console.log('失败了');
  342. }
  343. };
  344. }
  345. }
  346. }
  347. WebSocketTest();
  348. // 文字滚动效果
  349. var tab = document.querySelector(".info-textbox");
  350. var oFig = document.querySelector(".intextbox");
  351. var tab1 = document.querySelector(".info-text");
  352. // var tab2 = document.querySelector(".info-text1");
  353. // function scroll() {
  354. // var now = 0;
  355. // setInterval(
  356. // function () {
  357. // now = now + 10;
  358. // oFig.style.marginLeft = '-' + now + "px";
  359. // if (now >= tab1.scrollWidth) {
  360. // now = 0;
  361. // }
  362. // }
  363. // , 100);
  364. // }
  365. // scroll()
  366. </script>
  367. <script>
  368. // var container = document.getElementById("bar-scren");
  369. // function setSize() {
  370. // var width = window.innerWidth || document.documentElement.clientWidth;
  371. // var height = window.innerHeight || document.documentElement.clientHeight;
  372. // // container.style.width = width + 'px';
  373. // // container.style.height = height + 'px';
  374. // document.getElementsByTagName('html')[0].style.fontSize = (width / 1920) + 'px';
  375. // }
  376. // window.addEventListener('resize', setSize);
  377. // setSize();
  378. </script>
  379. <style>
  380. /* =================专门用来写一些清除样式的代码==== */
  381. /* 清除所有标签自带的内外间距 */
  382. * {
  383. padding: 0;
  384. margin: 0;
  385. }
  386. /* 清除标签自带的下划线 */
  387. a,
  388. u {
  389. text-decoration: none;
  390. }
  391. /* 清除有序和无序列表自带的符号 */
  392. ol,
  393. ul {
  394. list-style: none;
  395. }
  396. /* 让倾斜标签不倾斜 */
  397. i,
  398. em {
  399. font-style: normal;
  400. }
  401. /* 让加粗标签不加粗 */
  402. b,
  403. strong {
  404. font-weight: normal;
  405. }
  406. /* 让文章标题标签字号和加粗都回归到正常 */
  407. h1,
  408. h2,
  409. h3,
  410. h4,
  411. h5,
  412. h6 {
  413. font-size: 16rem;
  414. font-weight: normal;
  415. }
  416. /* 清除自带的边框线 */
  417. input {
  418. border: none;
  419. }
  420. html {
  421. overflow: hidden;
  422. }
  423. body {
  424. box-sizing: border-box;
  425. margin: 0;
  426. padding: 0;
  427. ;
  428. overflow: hidden;
  429. }
  430. #bar-scren {
  431. width: 1920px;
  432. height: 1080px;
  433. }
  434. .bar {
  435. width: 100%;
  436. height: 100px;
  437. background-image: url(./image/bar.png);
  438. /* background-color: #4285f7; */
  439. /* background: linear-gradient(107deg, #4c74f7 9%, #3896f8 93%); */
  440. font-size: 70px;
  441. font-family: PingFang SC, PingFang SC-Medium;
  442. font-weight: 500;
  443. text-align: center;
  444. padding: 20px 0;
  445. color: #ffffff;
  446. display: flex;
  447. justify-content: center;
  448. line-height: 100px;
  449. align-items: center;
  450. }
  451. .line {
  452. width: 100%;
  453. height: 1%;
  454. background: #00FFFF;
  455. }
  456. .screen {
  457. width: 100%;
  458. height: 89.2%;
  459. background-image: url(./image/bg.png);
  460. /* background-color: #4ca3fe; */
  461. /* background: linear-gradient(180deg, #4c74f7, #4ca3fe); */
  462. position: relative;
  463. }
  464. .screen-info {
  465. /* display: flex;
  466. justify-content: flex-start;
  467. align-items: center; */
  468. position: relative;
  469. padding: 3% 0;
  470. }
  471. .info-num {
  472. position: absolute;
  473. left: 20px;
  474. width: 250px;
  475. height: 250px;
  476. background: #ff0000;
  477. border-radius: 50%;
  478. font-size: 150px;
  479. font-family: DIN, DIN-Regular;
  480. top: 80px;
  481. font-weight: 500;
  482. color: #ffffff;
  483. text-align: center;
  484. line-height: 250px;
  485. /* display: flex;
  486. justify-content: center;
  487. align-items: center;
  488. margin: 0 30rem 0 69rem; */
  489. }
  490. .info-textbox {
  491. width: 750px;
  492. height: 300px;
  493. overflow: hidden;
  494. white-space: nowrap;
  495. position: absolute;
  496. left: 290px;
  497. /* font-size: 218rem; */
  498. /* background-color: #ff0909; */
  499. }
  500. /*
  501. .intextbox {
  502. width: fit-content;
  503. margin-left: 0;
  504. display: flex;
  505. justify-content: flex-start;
  506. white-space: nowrap;
  507. } */
  508. .info-text {
  509. height: 300px;
  510. line-height: 300px;
  511. font-size: 150px;
  512. font-family: PingFang SC, PingFang SC-Regular;
  513. font-weight: 400;
  514. color: #ffffff;
  515. white-space: nowrap;
  516. float: left;
  517. }
  518. .info-text1 {
  519. height: 300px;
  520. line-height: 300px;
  521. font-size: 150px;
  522. font-family: PingFang SC, PingFang SC-Regular;
  523. font-weight: 400;
  524. color: #ffffff;
  525. white-space: nowrap;
  526. float: left;
  527. }
  528. /* 中线 */
  529. .info-line {
  530. width: 10px;
  531. height: 350px;
  532. background: #ffffff;
  533. position: absolute;
  534. left: 1065px;
  535. }
  536. .info-type {
  537. font-family: Alibaba PuHuiTi, Alibaba PuHuiTi-Medium;
  538. font-weight: 500;
  539. color: #ff0909;
  540. position: absolute;
  541. left: 1120px;
  542. /* left:1666px; */
  543. }
  544. .img {
  545. margin-top: 65px;
  546. }
  547. .info-typetext {
  548. width: 610px;
  549. height: 300px;
  550. /* background-color: #ff0909; */
  551. font-size: 150px;
  552. font-weight: 400;
  553. text-align: center;
  554. color: #fff700;
  555. margin-left: 20px;
  556. position: absolute;
  557. left: 1270px;
  558. line-height: 300px;
  559. }
  560. .screen-ing {
  561. width: 1370px;
  562. height: 170px;
  563. font-size: 130px;
  564. font-family: Alibaba PuHuiTi, Alibaba PuHuiTi-Regular;
  565. font-weight: 400;
  566. color: #ffffff;
  567. position: absolute;
  568. left: 480px;
  569. top: 480px;
  570. }
  571. .screen-ings {
  572. width: 1300px;
  573. height: 170px;
  574. font-size: 130px;
  575. font-family: Alibaba PuHuiTi, Alibaba PuHuiTi-Regular;
  576. font-weight: 400;
  577. color: #ffffff;
  578. position: absolute;
  579. left: 480px;
  580. top: 730px;
  581. }
  582. </style>
  583. </html>