This commit is contained in:
‘937886381’
2024-09-14 13:18:13 +08:00
parent f9dde6e159
commit a8b5e57f38
14 changed files with 145 additions and 81 deletions

View File

@@ -1,7 +1,7 @@
/*
* @Author: zhp
* @Date: 2024-08-29 09:46:11
* @LastEditTime: 2024-09-13 16:27:51
* @LastEditTime: 2024-09-14 09:20:36
* @LastEditors: zhp
* @Description:
*/
@@ -19,9 +19,7 @@ function BlueRect(props) {
const [isVisible, setIsVisible] = useState(false);
const [chartData, setChartData] = useState(null);
const updateVisibilityState = (newVisibilityState) => {
console.log(newVisibilityState)
setIsVisible(!newVisibilityState);
console.log(`Parent's isVisible updated to: ${newVisibilityState}`);
// 在这里可以根据isVisible的变化执行其他逻辑
};
// const parentRef = useRef(null);

View File

@@ -1,6 +1,6 @@
.bottomBarItem {
background: url(../../../assets/pointsBack.png) no-repeat;
background-size: 100% 100%;
width: 551px;
width: 761px;
height: 335px;
}