fix: 修改样式
This commit is contained in:
@@ -17,7 +17,7 @@ export default function Header() {
|
||||
const { user } = useGlobalStore();
|
||||
const Logo = (
|
||||
<Link href='/' className='-mt-2.5 flex items-center gap-2 font-bold'>
|
||||
<Image src={'image.png'} width={89} height={43} alt='logo' objectFit='cover' unoptimized />
|
||||
<Image src={'/image.png'} width={89} height={43} alt='logo' objectFit='cover' />
|
||||
</Link>
|
||||
);
|
||||
|
||||
|
||||
@@ -7,7 +7,14 @@ const FullScreenVideoBackground = ({}: {}) => {
|
||||
autoPlay
|
||||
muted
|
||||
loop
|
||||
controls={false}
|
||||
playsInline
|
||||
// webkit-playsinline // safrai 浏览器兼容
|
||||
x5-playsinline={'true'} // 微信、QQ 浏览器兼容
|
||||
x5-video-player-type='h5' // 同微信、QQ
|
||||
x-webkit-airplay='true'
|
||||
x5-video-player-fullscreen='true'
|
||||
x5-video-orientation='portraint'
|
||||
className='absolute inset-0 h-full w-full object-cover'
|
||||
style={{
|
||||
minWidth: '100%',
|
||||
|
||||
Reference in New Issue
Block a user