Browse Source

bugfix:修复bug

leo 1 year ago
parent
commit
5669581bea

+ 2 - 1
components/lottie/index.vue

@@ -17,8 +17,9 @@ export default {
       this.data?.default.assets.forEach((item) => {
         item.u = '';
         if (item.w && item.h) {
+          if(!item.ww) item.ww = item.p
           if(item.p.includes('assets/lottie/images')) return 
-          item.p = require(`@/assets/lottie/images/${item.p}`);
+          item.p = require(`@/assets/lottie/images/${item.ww}`);
         }
       });
       this.defaultOptions = {

+ 4 - 6
pages/claimCloudPhone/components/bargainingAssistance.vue

@@ -933,12 +933,6 @@ export default {
   }
   height: 100%;
   position: relative;
-  /deep/ .van-overlay {
-    z-index: 0 !important;
-  }
-  /deep/ .van-dialog {
-    z-index: 0 !important;
-  }
   .inviter-tips,
   .invitee-tips {
     font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
@@ -1686,4 +1680,8 @@ export default {
 .mb-24 {
   margin-bottom: 24px !important;
 }
+
+.mask{
+  z-index: 4000;
+}
 </style>

+ 0 - 8
pages/claimCloudPhone/components/layout.vue

@@ -92,12 +92,8 @@ export default {
 .layout {
   height: 100%;
   display: flex;
-  position: relative;
-  z-index: 0;
   flex-direction: column;
   .layout-container {
-    position: relative;
-    z-index: -1;
     flex: 1;
     overflow-y: auto;
   }
@@ -113,9 +109,5 @@ export default {
     color: #0a132b !important;
     line-height: 24px !important;
   }
-
-  .van-nav-bar {
-    z-index: 0;
-  }
 }
 </style>

+ 1 - 0
pages/claimCloudPhone/secondReward.vue

@@ -90,6 +90,7 @@ export default {
           applicationName: this.imgName,
         })
         .then((res) => {});
+      localStorage.removeItem('activityPurchaseVisible');
       this.$router.push('/claimCloudPhone/purchase');
     },
   },