lex-xin 10 月之前
父节点
当前提交
4a5fc9d083
共有 2 个文件被更改,包括 6 次插入5 次删除
  1. 1 1
      src/helpers/utils.ts
  2. 5 4
      src/views/courseware-play/component/musicScore.module.less

+ 1 - 1
src/helpers/utils.ts

@@ -67,7 +67,7 @@ export const browser = () => {
       /(?:iPad|PlayBook)/.test(u) ||
       (isAndroid && !/(?:Mobile)/.test(u)) ||
       (isFireFox && /(?:Tablet)/.test(u)) ||
-      isIpadFun(),
+      isIpadFun() || navigator?.userAgent?.includes("UAWEIVRD-W09") ,
     iPad: u.indexOf('iPad') > -1, //是否iPad
     webApp: u.indexOf('Safari') == -1, //是否web应该程序,没有头部与底部
     weixin: u.indexOf('MicroMessenger') > -1, //是否微信 (2015-01-22新增)

+ 5 - 4
src/views/courseware-play/component/musicScore.module.less

@@ -39,12 +39,13 @@
 .startBtn {
   position: absolute;
   left: 4.6%;
-  bottom: 1.93333rem;
+  // bottom: 1.93333rem;
+  bottom: 18%;
   z-index: 11;
 
-  &:active {
-    opacity: .8;
-  }
+  // &:active {
+  //   opacity: .8;
+  // }
 }
 
 .loading {