jwyu 2 年之前
父节点
当前提交
c2350e5392

+ 1 - 0
src/layouts/Index.vue

@@ -42,6 +42,7 @@ function goBack(){
                 <div 
                     class="back-home-box"
                     @click="goBack"
+                    v-if="!$route.meta.noBack"
                 >返回上级</div>
             </div>
             <van-popover v-model:show="showUserInfo" placement="bottom-end">

+ 3 - 2
src/router/index.js

@@ -5,6 +5,7 @@
  * meta:{
  * noHead:true pad端没有顶部头部
  * hasBackTop:true 有回到顶部
+ * noBack:true pad端没有返回上一家
  * }
  */
 import { createRouter, createWebHistory } from "vue-router";
@@ -42,13 +43,13 @@ const routes = [
 						path: "/tabbar/home",
 						name: "Home",
 						component: () => import("@/views/tabbar/Home.vue"),
-						meta: { title: "移动ETA" },
+						meta: { title: "移动ETA",noBack:true },
 					},
 					{
 						path: "/tabbar/user",
 						name: "User",
 						component: () => import("@/views/tabbar/User.vue"),
-						meta: { title: "移动ETA" },
+						meta: { title: "移动ETA",noBack:true },
 					},
 				],
 			},

+ 1 - 1
src/views/report/PreviewDetail.vue

@@ -86,7 +86,7 @@ async function goEdit(){
                         <span>{{item.Title}}</span>
                     </div>
                     <!-- 音频 -->
-                    <AudioBox :url="item.VideoUrl" v-if="item.VideoUrl"/>
+                    <!-- <AudioBox :url="item.VideoUrl" v-if="item.VideoUrl"/> -->
                     <div class="report-html-wrap" v-html="item.Content"></div>
                 </li>
             </ul>

+ 1 - 0
src/views/report/components/reportInsert/MyETAChart.vue

@@ -103,6 +103,7 @@ watch(
     <van-popup
         v-model:show="showClassify"
         position="bottom"
+        teleport="body"
         :style="{ height: '100%' }"
     >
         <div class="select-classify-wrap">

+ 3 - 1
src/views/reportEn/List.vue

@@ -469,9 +469,11 @@ function handleGoEmailLog(e){
     </div>
 
     <!-- 报告item操作 -->
-    <van-action-sheet 
+    <van-action-sheet
+        teleport="body"
         v-model:show="showReportItemOpt"
         cancel-text="取消"
+        close-on-click-action
     >
         <div class="report-item-action-box" v-if="activeItem">
             <!-- <div class="title">{{activeItem.Title}}</div> -->