会议监控部分样式

This commit is contained in:
yj 2024-08-21 17:41:14 +08:00
parent 65712e46c1
commit c4c280606d
4 changed files with 53 additions and 6 deletions

View File

@ -266,7 +266,7 @@ app.on('ready', () => {
const newWindow = new BrowserWindow({ const newWindow = new BrowserWindow({
width: 1200, width: 1200,
height: 800, height: 800,
maxWidth: 1200, minWidth: 1200,
minHeight: 800, minHeight: 800,
webPreferences: { webPreferences: {
contextIsolation: false, contextIsolation: false,

View File

@ -368,6 +368,31 @@ const Meeting: React.FC = () => {
} }
}) })
break; break;
// 申请发言哦
case '申请发言哦':
api.open({
message: '',
description: <div>
<span style={{ fontSize: '16px' }}></span>
<div style={{ display: 'flex', justifyContent: 'flex-end' }}>
<Button
type="primary"
className='m-ant-btn'
onClick={() => { }}
></Button>
<Button
type="primary"
onClick={() => { }}
style={{ backgroundColor: '#EC3C3C', marginLeft: '14px' }}
></Button>
</div>
</div>,
duration: 3,
placement: 'bottomRight',
showProgress: true,
pauseOnHover: false,
});
break;
} }
}) })
return () => { return () => {
@ -767,9 +792,9 @@ const Meeting: React.FC = () => {
setFooterList(footerListTemplate) setFooterList(footerListTemplate)
break; break;
case '会议监控': case '会议监控':
// window.electron.oepnWindow({ window.electron.oepnWindow({
// url: location.origin + '/#/userVideo' url: location.origin + '/#/userVideo'
// }) })
break; break;
} }
} }

View File

@ -1,5 +1,22 @@
.userVideo { .userVideo {
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: #1F2022; background-color: rgb(7, 9, 11);
padding: 20px;
box-sizing: border-box;
.userVideoTitle {
text-align: center;
color: white;
font-size: 20px;
position: relative;
>span {
cursor: pointer;
position: absolute;
right: 20px;
top: 50%;
transform: translate(0, -50%);
}
}
} }

View File

@ -1,5 +1,7 @@
import styles from '@/page/UserVideo/index.module.scss' import styles from '@/page/UserVideo/index.module.scss'
import ImageUrl from '@/utils/package/ImageUrl';
import { CloseOutlined } from '@ant-design/icons';
import { useEffect } from "react"; import { useEffect } from "react";
const UserVideo: React.FC = () => { const UserVideo: React.FC = () => {
@ -9,7 +11,10 @@ const UserVideo: React.FC = () => {
return ( return (
<> <>
<div className={styles.userVideo}> <div className={styles.userVideo}>
<div className={styles.userVideoTitle}>
<CloseOutlined className='drag'/>
</div>
</div> </div>
</> </>
) )