jwyu пре 3 година
родитељ
комит
724a2c9266
2 измењених фајлова са 26 додато и 0 уклоњено
  1. 14 0
      src/views/hzyb/activity/reportDetail.vue
  2. 12 0
      src/views/hzyb/activity/reportWeekDetail.vue

+ 14 - 0
src/views/hzyb/activity/reportDetail.vue

@@ -99,6 +99,10 @@ onMounted(()=>{
             ImagePreview({
                 images: imgArray,
                 startPosition: imgArray.indexOf(curImageSrc)||0,
+                overlayStyle:{
+                    background: 'rgba(0, 0, 0, 0.9)'
+                },
+                teleport:'.report-detail'
             });
 	    }
     })
@@ -161,7 +165,17 @@ const goDetail=(e)=>{
     </div>
 </template>
 
+<style lang="scss">
+.report-detail{
+    .van-popup{
+        background: rgba(0, 0, 0, 0.9) !important;
+    }
+}
+</style>
+
+
 <style lang="scss" scoped>
+
 .flex{
     display: flex;
 }

+ 12 - 0
src/views/hzyb/activity/reportWeekDetail.vue

@@ -60,6 +60,10 @@ onMounted(() => {
             ImagePreview({
                 images: imgArray,
                 startPosition: imgArray.indexOf(curImageSrc)||0,
+                overlayStyle:{
+                    background: 'rgba(0, 0, 0, 0.9)'
+                },
+                teleport:'.report-detail'
             });
         }
     })
@@ -157,6 +161,14 @@ onBeforeRouteUpdate(to => {
     </div>
 </template>
 
+<style lang="scss">
+.report-detail{
+    .van-popup{
+        background: rgba(0, 0, 0, 0.9) !important;
+    }
+}
+</style>
+
 <style lang="scss" scoped>
 .flex {
     display: flex;