fix errros

This commit is contained in:
lb 2023-11-01 14:06:07 +08:00
parent 3d34e5f685
commit 1bba79ae3a
6 changed files with 10 additions and 5 deletions

View File

@ -2,7 +2,7 @@
width: 625px; width: 625px;
// height: 305px; // height: 305px;
height: 300px; height: 300px;
background: url('../../assets/ItemBg.png') no-repeat; background: url('../../../assets/ItemBg.png') no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.leftBar__top__content { .leftBar__top__content {

View File

@ -1,5 +1,5 @@
import React, { useState, useContext, useEffect } from 'react'; import React, { useState, useContext, useEffect } from 'react';
import SocketContext from '../../../store/socket-data-provider'; import SocketContext from '../../../../../store/socket-data-provider';
import icon1 from '@/assets/CenterChart2icon1.svg'; import icon1 from '@/assets/CenterChart2icon1.svg';
import icon2 from '@/assets/CenterChart2icon2.svg'; import icon2 from '@/assets/CenterChart2icon2.svg';
import icon3 from '@/assets/CenterChart2icon3.svg'; import icon3 from '@/assets/CenterChart2icon3.svg';

View File

@ -6,7 +6,7 @@
margin-right: 16px; margin-right: 16px;
width: 200px; width: 200px;
padding: 8px; padding: 8px;
background: url(../../../assets/CenterChart2ItemBg.png); background: url(../../../../../assets/CenterChart2ItemBg.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;

View File

@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import NavMenu from '../公共组件/导航菜单'; import NavMenu from '../../../公共组件/导航菜单';
import Item2 from './RightTable'; import Item2 from './RightTable';
import Item1 from './LeftBoxes'; import Item1 from './LeftBoxes';

5
src/hooks/useSlider.js Normal file
View File

@ -0,0 +1,5 @@
import { useState } from 'react';
export function useSlider({}) {
return {};
}

View File

@ -5,7 +5,7 @@ import Head from '../components/公共组件/顶部公司名称';
import LeftBar from '../components/模块组件/总览/LeftSide'; import LeftBar from '../components/模块组件/总览/LeftSide';
import BottomBar from '../components/模块组件/总览/Bottom'; import BottomBar from '../components/模块组件/总览/Bottom';
import RightBar from '../components/模块组件/总览/RightSide'; import RightBar from '../components/模块组件/总览/RightSide';
import CenterTopData from '../components/CenterTopData'; import CenterTopData from '../components/模块组件/总览/CenterTop';
import Slider from '../components/Slider'; import Slider from '../components/Slider';
import { SocketContextProvider } from '../store/socket-data-provider'; import { SocketContextProvider } from '../store/socket-data-provider';