|
@@ -162,6 +162,14 @@ export const ClassroomLayout = ({ children, role }: ClassroomLayoutProps) => {
|
|
|
>
|
|
>
|
|
|
<CameraIcon className="w-4 h-4" />
|
|
<CameraIcon className="w-4 h-4" />
|
|
|
</Button>
|
|
</Button>
|
|
|
|
|
+
|
|
|
|
|
+ {/* 闭门标识显示 - 移到视频区域顶部 */}
|
|
|
|
|
+ {isPrivateClass && (
|
|
|
|
|
+ <div className="absolute top-4 left-4 z-20 flex items-center px-3 py-1 bg-purple-100 text-purple-800 rounded-full shadow-md" title="闭门会议(仅限学员进入)">
|
|
|
|
|
+ <LockClosedIcon className="w-4 h-4 mr-1" />
|
|
|
|
|
+ <span className="text-xs font-medium">闭门会议</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ )}
|
|
|
</div>
|
|
</div>
|
|
|
)}
|
|
)}
|
|
|
|
|
|
|
@@ -233,13 +241,6 @@ export const ClassroomLayout = ({ children, role }: ClassroomLayoutProps) => {
|
|
|
</Button>
|
|
</Button>
|
|
|
)}
|
|
)}
|
|
|
|
|
|
|
|
- {/* 闭门标识显示 */}
|
|
|
|
|
- {isPrivateClass && (
|
|
|
|
|
- <div className="flex items-center p-2 bg-purple-100 text-purple-800 rounded-full" title="闭门会议(仅限学员进入)">
|
|
|
|
|
- <LockClosedIcon className="w-4 h-4 mr-1" />
|
|
|
|
|
- <span className="text-xs font-medium">闭门</span>
|
|
|
|
|
- </div>
|
|
|
|
|
- )}
|
|
|
|
|
|
|
|
|
|
{/* 横屏按钮 - 仅在移动设备上显示 */}
|
|
{/* 横屏按钮 - 仅在移动设备上显示 */}
|
|
|
{isMobileDevice() && (
|
|
{isMobileDevice() && (
|