瀏覽代碼

fix: #9102, #9089 bug修复

TIANYONG 1 年之前
父節點
當前提交
94e07d4877

+ 8 - 3
src/pages/detail/CheckDelayPopup/index.module.less

@@ -13,6 +13,10 @@
         top: -5%;
         left: -20%;
     }
+    .delayPadBg {
+        width: 160%;
+        left: -30%;
+    }
     .delayAdorn {
         position: absolute;
         left: 50%;
@@ -24,13 +28,13 @@
     .leftAdorn {
         position: fixed;
         left: 0;
-        bottom: 0;
+        bottom: -1px;
         width: 1.66rem;
     }
     .rightAdorn {
         position: fixed;
         right: 0;
-        bottom: 0;
+        bottom: -1px;
         width: 1.28rem;
     }
 }
@@ -449,4 +453,5 @@
         transform: scale(1);
         opacity: 1;
     }
-}
+}
+

+ 4 - 1
src/pages/detail/CheckDelayPopup/index.tsx

@@ -1,5 +1,6 @@
 import { PropType, defineComponent, onMounted, watch } from "vue";
 import { Vue3Lottie } from 'vue3-lottie'
+import { browser } from '/src/helpers/utils'
 import styles from "./index.module.less";
 import delay_bg from "./image/bg.json"
 import left_adorn from "./image/left_ adorn.json"
@@ -41,6 +42,8 @@ interface IDelayData {
 	earPhoneType: string;
 }
 
+const browserInfo = browser()
+
 /** 延迟检测组件 */
 export default defineComponent({
 	name: "CheckDelayPopup",
@@ -54,7 +57,7 @@ export default defineComponent({
 	setup(props, { emit }) {
 		return () => (
 			<div class={styles.delayContainer}>
-				<Vue3Lottie class={styles.delayBg} animationData={delay_bg}></Vue3Lottie>
+				<Vue3Lottie class={[styles.delayBg, browserInfo.iPad ? styles.delayPadBg : '']} animationData={delay_bg}></Vue3Lottie>
 				<Vue3Lottie class={styles.leftAdorn} animationData={left_adorn}></Vue3Lottie>
 				<Vue3Lottie class={styles.rightAdorn} animationData={right_adorn}></Vue3Lottie>
 				{/*返回按钮*/}

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

@@ -214,7 +214,7 @@ export default defineComponent({
 
           <div class={styles.centerButton}>
             <Transition name="finish">
-              {!startButtonShow.value && (
+              {!startButtonShow.value && modelType.value !== 'init' && (
                 <Button
                   class={[styles.button, styles.finish]}
                   onClick={() => {