fix: 数字人移动端展示
This commit is contained in:
parent
aa939691f8
commit
a5ee31a8d0
@ -8,6 +8,7 @@ import UserTag from '../UserTag';
|
||||
import { RootState } from '@/store';
|
||||
import style from './index.module.less';
|
||||
import { useScene } from '@/lib/useCommon';
|
||||
import { isMobile } from '@/utils/utils';
|
||||
|
||||
export const LocalFullID = 'local-full-player';
|
||||
export const RemoteFullID = 'remote-full-player';
|
||||
@ -29,7 +30,7 @@ function FullScreenCard() {
|
||||
style={{ background: 'unset' }}
|
||||
>
|
||||
<div id={RemoteFullID} style={{ width: '60%', height: '100%' }} />
|
||||
<UserTag name="AI" className={style.tag} />
|
||||
{!isMobile() ? <UserTag name="AI" className={style.tag} /> : null}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
||||
@ -28,7 +28,7 @@ function Room() {
|
||||
{isShowSubtitle && !isMobile() ? (
|
||||
<UserTag name={scene} className={style.subTitleUserTag} />
|
||||
) : null}
|
||||
{(isFullScreen || isAvatarScene) && !isMobile() ? (
|
||||
{isAvatarScene || (isFullScreen && !isMobile()) ? (
|
||||
<FullScreenCard />
|
||||
) : isMobile() && isShowSubtitle ? null : (
|
||||
<AiAvatarCard
|
||||
|
||||
Loading…
Reference in New Issue
Block a user