ss 4 meses atrás
pai
commit
216c75aa06

+ 2 - 1
application/api/controller/screen/Index.php

@@ -19,8 +19,9 @@ class Index extends Controller
         $token = input('token','','trim');
 
         $str = think_decrypt($token);
-       // $str = '29|3';
+        $str = '4|100';
         $data = $str?explode('|',$str):[];
+
         if(count($data) != 2){
             HelpHander::error('参数错误');
         }

+ 1 - 1
application/h5/controller/Headoffice.php

@@ -12,7 +12,7 @@ class Headoffice extends Controller
         $sys_info =Db::name('config')
             ->where('name','web_site_title')
             ->find();
-        $createTime = "2022-02-08"; // 系统运行开始日期
+        $createTime = "2024-06-08"; // 系统运行开始日期
         $day = floor((time() - strtotime($createTime))/86400);
 
         $this->assign('sys_info',$sys_info);

+ 8 - 2
application/h5/view/headoffice/index.html

@@ -11,10 +11,16 @@
     <title>{$sys_info['value']}&nbsp;&nbsp;</title>
 </head>
 <body>
+<!--<div class="nav-header">-->
+<!--    <div class="nav-left" id="clock"></div>-->
+<!--    <div class="nav-title">{$sys_info['value']}总公司大屏</div>-->
+<!--    <div class="nav-right">系统已正常运行{$day}天</div>-->
+<!--</div>-->
+
 <div class="nav-header">
-    <div class="nav-left" id="clock"></div>
+    <div class="nav-left"><img src="/static/head_office/imgs/logo.png" alt="">系统已正常运行{$day}天</div>
     <div class="nav-title">{$sys_info['value']}总公司大屏</div>
-    <div class="nav-right">系统已正常运行{$day}天</div>
+    <div class="nav-right" id="clock"></div>
 </div>
 
 <div class="main">

+ 7 - 1
public/static/head_office/head_office.css

@@ -28,7 +28,7 @@ body{
     width: 550px;
     height: 94px;
     display: inline-block;
-    padding-left: 90px;
+    padding-left: 80px;
     padding-top: 24px;
     font-size: 20px;
     font-family: Source Han Sans CN;
@@ -37,6 +37,12 @@ body{
     letter-spacing: 1px;
     float: left;
 }
+.nav-left img{
+    width: 136px;
+    height: 52px;
+    margin-right: 30px;
+    margin-top: -10px;
+}
 .nav-title{
     width: 820px;
     height: 100%;

BIN
public/static/head_office/imgs/logo.png