feat&fix: 屏蔽课程推荐内容 优化苹果全屏展示

This commit is contained in:
2025-09-15 15:10:38 +08:00
parent 1ba911802e
commit 340b6fe45f
2 changed files with 5 additions and 4 deletions

View File

@@ -282,11 +282,11 @@ export default {
fullScreen() { fullScreen() {
const u = navigator.userAgent, app = navigator.appVersion; const u = navigator.userAgent, app = navigator.appVersion;
const isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端 const isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
if (isIOS) { // if (isIOS) {
document.querySelector("#xvideoPlayer").webkitEnterFullscreen() // document.querySelector("#xvideoPlayer").webkitEnterFullscreen()
// return // return
// this.$refs["videoPlayer"].webkitEnterFullscreen() // this.$refs["videoPlayer"].webkitEnterFullscreen()
} // }
var _this = this var _this = this
if (this.fullScreenFlag) { if (this.fullScreenFlag) {
//this.videoContext.exitFullScreen(); //this.videoContext.exitFullScreen();

View File

@@ -417,7 +417,8 @@
</view> </view>
<!--推荐课程--> <!--推荐课程-->
<view v-if="tabIndex==1 && !catalogShow" style="padding: 30upx;background-color: #fff;"> <!-- todo 李部长不想要课程推荐了 pingcode SZX-1234 有答案 https://jnje20220816013721757.pingcode.com/pjm/workitems/Y-oEzn-w-->
<view v-if="tabIndex==1 && !catalogShow && false" style="padding: 30upx;background-color: #fff;">
<view style="color: #333333; font-size: 32upx;font-weight: 600;padding-bottom: 20upx;">课程推荐</view> <view style="color: #333333; font-size: 32upx;font-weight: 600;padding-bottom: 20upx;">课程推荐</view>
<course-list :items="recommendCourses"></course-list> <course-list :items="recommendCourses"></course-list>
</view> </view>