feat: 移动端沉浸式 Shorts 与播放器/下载徽章体验优化
- 移动端移除底部导航,Shorts 视频改为圆角卡片并适配 iOS 裁剪 - 播放进度条全局贴到视频最底,移动端精简控件(仅播放/全屏) - 右侧互动栏下移,首页进入播放页增加模糊封面过渡 - 关于页下载入口改为标准 App Store / Google Play 徽章 - 新增自动连播下一集与自动播放被拦截时的开启声音提示
This commit is contained in:
1 parent
6fd936ac97
commit
2d1f754a46
11 files changed
+267
-54
No files matched your search
@@ -0,0 +1,16 @@
|
||||
// Author: fruit.com.cn
|
||||
// 记录用户点击卡片的封面与位置,用于进入播放页时的放大过渡
|
||||
let pending = null;
|
||||
|
||||
export function setHeroTransition(data) {
|
||||
pending = data;
|
||||
}
|
||||
|
||||
export function getHeroTransition() {
|
||||
const data = pending;
|
||||
if (!data) return null;
|
||||
window.setTimeout(() => {
|
||||
if (pending === data) pending = null;
|
||||
}, 1200);
|
||||
return data;
|
||||
}
|
||||
Reference in new issue
Block a user