Ver código fonte

feat: 延迟检测修改

TIANYONG 1 ano atrás
pai
commit
ddb55987b8

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
src/pages/detail/CheckDelayPopup/image/left_ adorn.json


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
src/pages/detail/CheckDelayPopup/image/right_ adorn.json


+ 12 - 0
src/pages/detail/CheckDelayPopup/index.module.less

@@ -24,6 +24,18 @@
         pointer-events: none;
         width: 100%;
     }
+    .leftAdorn {
+        position: fixed;
+        left: 0;
+        bottom: 0;
+        width: 1.66rem;
+    }
+    .rightAdorn {
+        position: fixed;
+        right: 0;
+        bottom: 0;
+        width: 1.28rem;
+    }
 }
 
 .animationContainer {

+ 2 - 2
src/pages/detail/CheckDelayPopup/index.tsx

@@ -53,8 +53,8 @@ export default defineComponent({
 		return () => (
 			<div class={styles.delayContainer}>
 				<Vue3Lottie class={styles.delayBg} animationData={delay_bg}></Vue3Lottie>
-				<Vue3Lottie class={styles.delayAdorn} animationData={left_adorn}></Vue3Lottie>
-				<Vue3Lottie class={styles.delayAdorn} animationData={right_adorn}></Vue3Lottie>
+				<Vue3Lottie class={styles.leftAdorn} animationData={left_adorn}></Vue3Lottie>
+				<Vue3Lottie class={styles.rightAdorn} animationData={right_adorn}></Vue3Lottie>
 				{/*返回按钮*/}
 				{/* <img class={styles.delayBackBtn} src={icon_backBtn} onClick={() => emit("close")} /> */}
 				<Vue3Lottie class={styles.delayAdorn} animationData={step1} style={{ display: props.delayData.step <= 2 ? '' : 'none' }}></Vue3Lottie>

+ 1 - 0
src/subpages/colexiu/buttons/index.tsx

@@ -111,6 +111,7 @@ export const onChangeModelType = (type: IModelType) => {
     RuntimeUtils.changeSpeed(detailState.activeDetail?.originalSpeed, false)
     // 评测模式
     runtime.evaluatingStatus = true
+    modelType.value = type
   } else {
     const speeds = store.get('speeds') || {}
     const search = useOriginSearch()

+ 2 - 1
src/subpages/colexiu/popups/permission/index.tsx

@@ -37,7 +37,8 @@ export default defineComponent({
         ) : permissionPopup.active === 'demand' ? (
           <Demand />
         ) : permissionPopup.active === 'earphone' ? (
-          <Earphone />
+          // <Earphone />
+          null
         ) : permissionPopup.active === 'memberAndDemand' ? (
           <MemberAndDemand />
         ) : null}

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff