shaogen1995 2 년 전
부모
커밋
7b5bffacd4
3개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      houtai/src/components/AsyncSpinLoding/index.tsx
  2. 1 1
      houtai/src/components/NotFound/index.tsx
  3. 3 1
      houtai/src/pages/A1Hot/index.tsx

+ 1 - 1
houtai/src/components/AsyncSpinLoding/index.tsx

@@ -6,7 +6,7 @@ import { useSelector } from "react-redux";
 import { RootState } from "@/store";
 
 function AsyncSpinLoding() {
-  // 从仓库中获取查看图片的信息
+  // 从仓库中获取发送请求--加载状态--请求成功--关闭加载
   const asyncLoding = useSelector(
     (state: RootState) => state.loginStore.asyncLoding
   );

+ 1 - 1
houtai/src/components/NotFound/index.tsx

@@ -8,7 +8,7 @@ export default function NotFound() {
     timeRef.current = window.setTimeout(() => {
       const dom: any = document.querySelector(".noFindPage");
       dom.style.opacity = 1;
-    }, 200);
+    }, 300);
     return () => {
       clearTimeout(timeRef.current);
     };

+ 3 - 1
houtai/src/pages/A1Hot/index.tsx

@@ -186,6 +186,7 @@ function Hot() {
       allNum4 += v.pcs;
     });
     setAllNum4(allNum4);
+
     // 左边饼图配置文件
     const data4Obj = {
       legend: { left: "center", bottom: 20 },
@@ -221,9 +222,10 @@ function Hot() {
         });
       }
     }
+
     // 右边饼图配置文件
     const data7Obj = {
-      legend: { left: "center", bottom: 5 },
+      legend: { left: "center", top: 280 },
       series: { center: ["50%", "35%"], radius: ["40%", "60%"] },
     };
     echartsFu2("#echarts7", data7, data7Obj);