黄琪勇 1 年之前
父节点
当前提交
459280b692

+ 1 - 1
src/tenant/music/courseList/index.module.less

@@ -322,7 +322,7 @@
 }
 .finch {
   width: 150px;
-  margin: 80px auto 0;
+  margin: 140px auto 0;
 }
 
 .finchLoad {

+ 19 - 19
src/tenant/music/coursewarePlay/index.tsx

@@ -268,7 +268,7 @@ export default defineComponent({
           }
         })
         //检测是否录屏
-        handleLimitScreenRecord()
+        // handleLimitScreenRecord()
         setTimeout(() => {
           data.animationState = 'end'
         }, 500)
@@ -435,27 +435,27 @@ export default defineComponent({
       // getCourseSchedule();
       window.addEventListener('message', iframeHandle)
       // 禁止录屏 ios
-      listenerMessage('setVideoPlayer', result => {
-        if (result?.content?.status == 'pause') {
-          handleLimitScreenRecord()
-        }
-      })
-      // 禁止录屏 安卓
-      postMessage({
-        api: 'limitScreenRecord',
-        content: {
-          type: 1
-        }
-      })
+      // listenerMessage('setVideoPlayer', result => {
+      //   if (result?.content?.status == 'pause') {
+      //     handleLimitScreenRecord()
+      //   }
+      // })
+      // // 禁止录屏 安卓
+      // postMessage({
+      //   api: 'limitScreenRecord',
+      //   content: {
+      //     type: 1
+      //   }
+      // })
     })
     onBeforeUnmount(() => {
       // 取消 禁止录屏
-      postMessage({
-        api: 'limitScreenRecord',
-        content: {
-          type: 0
-        }
-      })
+      // postMessage({
+      //   api: 'limitScreenRecord',
+      //   content: {
+      //     type: 0
+      //   }
+      // })
     })
     const playRef = ref()
     // 返回

+ 1 - 1
src/tenant/music/music-detail/new-index.module.less

@@ -364,7 +364,7 @@
 
   .finch {
     width: 150px;
-    margin: 80px auto 0;
+    margin: 150px auto 0;
   }
 
   .finchLoad {

+ 29 - 27
src/tenant/music/search/index.module.less

@@ -17,7 +17,7 @@ body {
       box-shadow: 10px 10px 10px var(--box-shadow-color);
     }
 
-    >div {
+    > div {
       background-color: var(--base-bg);
     }
 
@@ -36,7 +36,6 @@ body {
         padding-right: 0;
       }
 
-
       .van-dropdown-menu__bar {
         background-color: transparent;
         box-shadow: none;
@@ -44,11 +43,12 @@ body {
       }
 
       .van-dropdown-menu__title {
-        padding-left: 0
+        padding-left: 0;
       }
 
       .van-dropdown-menu__title:after {
-        border-color: transparent transparent rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);
+        border-color: transparent transparent rgba(0, 0, 0, 0.4)
+          rgba(0, 0, 0, 0.4);
       }
 
       .van-dropdown-item__content {
@@ -56,12 +56,12 @@ body {
       }
 
       .van-dropdown-menu__title--active::after {
-        border-color: transparent transparent #FE2451 #FE2451;
+        border-color: transparent transparent #fe2451 #fe2451;
       }
     }
 
     .titleActive {
-      color: #FE2451;
+      color: #fe2451;
     }
   }
 
@@ -73,7 +73,6 @@ body {
     }
   }
 
-
   .keywordTitle {
     display: flex;
     align-items: center;
@@ -131,7 +130,7 @@ body {
         justify-content: center;
         background-color: #fff;
         font-size: 12px;
-        color: #93959F;
+        color: #93959f;
       }
     }
   }
@@ -141,7 +140,6 @@ body {
     font-size: 14px;
 
     :global {
-
       .van-list__loading,
       .van-list__finished-text,
       .van-list__error-text {
@@ -155,7 +153,6 @@ body {
   }
 }
 
-
 .sticky {
   :global {
     .van-sticky {
@@ -176,10 +173,9 @@ body {
       }
 
       .van-field__clear {
-        color: #C1BDC1 !important;
+        color: #c1bdc1 !important;
       }
     }
-
   }
 }
 
@@ -216,7 +212,11 @@ body {
     .van-tabs__line {
       width: 24px;
       height: 4px;
-      background: linear-gradient(90deg, #FF3C81 0%, rgba(255, 118, 166, 0.5) 100%) !important;
+      background: linear-gradient(
+        90deg,
+        #ff3c81 0%,
+        rgba(255, 118, 166, 0.5) 100%
+      ) !important;
       border-radius: 36px 36px 0px 0px;
       bottom: 22px;
     }
@@ -235,14 +235,13 @@ body {
 
 .alubmGroupSearch {
   :global {
-    .van-list>div {
+    .van-list > div {
       margin-top: 8px;
     }
   }
 }
 
 .hotMusic {
-
   padding-bottom: 20px;
 
   .swipeItem .swipeChild {
@@ -258,7 +257,6 @@ body {
     margin-left: 14px;
   }
 
-
   .swipeItem {
     border-radius: 10px;
     overflow: hidden;
@@ -285,7 +283,7 @@ body {
 
   .swipe {
     font-size: 14px;
-    color: #6A6C77;
+    color: #6a6c77;
     line-height: 20px;
     max-width: 80%;
     white-space: nowrap;
@@ -299,7 +297,7 @@ body {
       font-family: PingFangSC-Medium, PingFang SC;
       font-weight: 600;
 
-      color: #8A8C95;
+      color: #8a8c95;
       // margin-right: 20px;
       width: 21px;
     }
@@ -309,11 +307,11 @@ body {
       width: 16px;
       line-height: 16px;
       text-align: center;
-      background: #FE2451;
+      background: #fe2451;
       border-radius: 4px;
       font-size: 12px;
       font-weight: 500;
-      color: #FFFFFF;
+      color: #ffffff;
       vertical-align: middle;
       margin-left: 4px;
       transform: scale(0.9);
@@ -323,13 +321,12 @@ body {
       color: #131415;
 
       .num {
-        color: #FE2451;
+        color: #fe2451;
       }
     }
   }
 }
 
-
 // 搜索结果样式
 .searchResult {
   position: fixed;
@@ -340,9 +337,9 @@ body {
   overflow: hidden;
   bottom: 0;
   padding-top: var(--header-height);
-  background: url('../../images/bg-image-search.png') no-repeat top center #f8f8f8;
+  background: url('../../images/bg-image-search.png') no-repeat top center
+    #f8f8f8;
   background-size: 100% 214px;
-
 }
 
 .searchGroups {
@@ -367,7 +364,7 @@ body {
     }
 
     span span {
-      color: #FE2451;
+      color: #fe2451;
     }
   }
 
@@ -376,6 +373,11 @@ body {
     height: 16px;
     margin-right: 10px;
   }
+  :global {
+    .col-result-container {
+      margin-top: 40px;
+    }
+  }
 }
 
 .searchAlbum {
@@ -384,8 +386,8 @@ body {
   :global {
     .van-list {
       padding: 0 13px;
-      background: #FFFFFF;
+      background: #ffffff;
       border-radius: 16px;
     }
   }
-}
+}

+ 1 - 1
src/tenant/music/train-tool/index.module.less

@@ -290,7 +290,7 @@
   z-index: 12;
   background-color: #fff;
   border-radius: 16px;
-  min-height: 40vh; //calc(100vh - 210px - var(--header-height));
+  min-height: 50vh; //calc(100vh - 210px - var(--header-height));
 
   --van-cell-background-color: transparent;
   --van-cell-font-size: 16px;