소스 검색

fix: 大屏导航时间开发

周玉环 19 시간 전
부모
커밋
3004cb6435

+ 1 - 1
xinkeaboard-admin/src/pages/statistics/bigscreen/components/HeadContent.js

@@ -6,7 +6,7 @@ import styles from "../styles/header_content.less";
 class HeaderContent extends React.Component {
   componentDidMount() {
     this.updateTime();
-    this.timeInterval = setInterval(this.updateTime, 1000);
+    // this.timeInterval = setInterval(this.updateTime, 1000);
     // this.props.dispatch({ type: 'header/fetchWeather' });
   }
 

+ 2 - 1
xinkeaboard-admin/src/pages/statistics/bigscreen/styles/overview.less

@@ -44,9 +44,10 @@
       .item_value {
         position: absolute;
         top: 0;
-        font-family: YouSheBiaoTiHei;
         font-weight: 400;
         font-size: 64px;
+          font-family: 'Rajdhani', 'Orbitron', 'DIN Condensed', sans-serif;
+
         color: #ffffff;
       }