mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-11 03:46:47 +08:00
feat&fix: 屏蔽课程推荐内容 优化苹果全屏展示
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user