瀏覽代碼

图详情分享进去取消上一张下一张

jwyu 3 年之前
父節點
當前提交
e6f60ea560
共有 3 個文件被更改,包括 4 次插入2 次删除
  1. 2 0
      src/views/hzyb/chart/Detail.vue
  2. 1 1
      src/views/hzyb/report/ChapterDetail.vue
  3. 1 1
      src/views/hzyb/report/Detail.vue

+ 2 - 0
src/views/hzyb/chart/Detail.vue

@@ -925,6 +925,7 @@ const code_scene=computed(()=>{
         searchVal:decodeURIComponent(route.query.searchVal)||'',
         MyChartId:route.query.MyChartId||'',
         MyChartClassifyId:route.query.MyChartClassifyId||'',
+        from:'share'
     }
     return JSON.stringify(obj)
 })
@@ -1004,6 +1005,7 @@ const posterParams=computed(()=>{
 
         <!-- 上一张下一张图切换 -->
         <div 
+            v-if="$route.query.from!='share'"
             class="change-page-wrap" 
             :style="{left:pageBoxPosition.left+'px',top:pageBoxPosition.top+'px'}"
             @touchmove.stop="pageTouchmove"

+ 1 - 1
src/views/hzyb/report/ChapterDetail.vue

@@ -89,7 +89,7 @@
 
     <!-- 分享海报 -->
     <SharePoster
-      :style="{bottom:'100px'}" 
+      :style="{bottom:'125px'}" 
       :shareData="{
         type:'report_detail',
         code_scene:code_scene,

+ 1 - 1
src/views/hzyb/report/Detail.vue

@@ -82,7 +82,7 @@
 
             <!-- 分享海报 -->
             <SharePoster 
-                :style="{bottom:'100px'}" 
+                :style="{bottom:'125px'}" 
                 :shareData="{
                     type:'report_detail',
                     code_scene:code_scene,