diff --git a/src/components/StupWizard/index.module.scss b/src/components/StupWizard/index.module.scss index 34f82ff..2bf9ef3 100644 --- a/src/components/StupWizard/index.module.scss +++ b/src/components/StupWizard/index.module.scss @@ -100,7 +100,9 @@ } } - >div:nth-child(3) { + >div:nth-child(3) {} + + .beautyEffect { >span { color: white; } @@ -144,7 +146,7 @@ } } - >div:nth-child(4) { + .otherVideoSeeting { >div { margin-bottom: 20px; diff --git a/src/components/StupWizard/index.tsx b/src/components/StupWizard/index.tsx index fbeda6b..9d2ec6f 100644 --- a/src/components/StupWizard/index.tsx +++ b/src/components/StupWizard/index.tsx @@ -147,6 +147,7 @@ const VideoComponents = () => { list: [], item: null, }); + const [videoKey, setVideoKey] = useState('beautyEffect'); const [virtualBackgroundImg] = useState([ ImageUrl.virtualBackground1, ImageUrl.virtualBackground2, @@ -213,7 +214,7 @@ const VideoComponents = () => { if (setting.virtualBackground) { setVirtualBackground(setting.virtualBackground) } else { - setting.darkLightEnhancement = { + setting.virtualBackground = { isVirtualBackground: false, //是否打开虚拟背景 color: '0xFFFFFF', // 纯色 sourceIndex: '', // 背景图下标 @@ -338,6 +339,16 @@ const VideoComponents = () => {