liyongli 1 년 전
부모
커밋
441fdf2225
2개의 변경된 파일28개의 추가작업 그리고 11개의 파일을 삭제
  1. 13 2
      src/view/allMedia/imageProcessing/detail.vue
  2. 15 9
      src/view/allMedia/videoProcessing/detail.vue

+ 13 - 2
src/view/allMedia/imageProcessing/detail.vue

@@ -3,7 +3,12 @@
     <header_local />
     <div class="main">
       <el-row class="head">
-        <el-col :span="12"> 图片审核 </el-col>
+        <el-col :span="12">
+          <el-icon size="18" @click="router.go(-1)" style="cursor: pointer;">
+            <ArrowLeft />
+          </el-icon>
+          图片审核
+        </el-col>
       </el-row>
       <br />
       <el-row class="body">
@@ -51,7 +56,11 @@
                 :key="index"
               >
                 <div class="err_item_label">
-                  {{ `${index + 1}、 类型:${p.labelDesc},错误内容:${p.subTypeDesc}` }}
+                  {{
+                    `${index + 1}、 类型:${p.labelDesc},错误内容:${
+                      p.subTypeDesc
+                    }`
+                  }}
                 </div>
               </div>
             </el-tab-pane>
@@ -66,6 +75,8 @@
 import header_local from '../components/header.vue';
 // import { storeImg, historyImg } from '@/api/processing';
 import { ref, onMounted } from 'vue';
+import { useRouter } from 'vue-router';
+const router = useRouter();
 // import config from '../../../config/index';
 const status = {
   REJECT: 'danger',

+ 15 - 9
src/view/allMedia/videoProcessing/detail.vue

@@ -3,7 +3,12 @@
     <header_local />
     <div class="main">
       <el-row class="head">
-        <el-col :span="12"> 图片审核 </el-col>
+        <el-col :span="12">
+          <el-icon size="18" @click="router.go(-1)" style="cursor: pointer;">
+            <ArrowLeft />
+          </el-icon>
+          视频审核
+        </el-col>
       </el-row>
       <br />
       <el-row class="body">
@@ -14,7 +19,7 @@
         >
           <div v-text="detail.title" style="margin-bottom: 1em"></div>
           <div class="video_content">
-              <!--  -->
+            <!--  -->
             <video
               autoplay
               controls
@@ -88,7 +93,9 @@
 <script setup>
 import header_local from '../components/header.vue';
 // import { storeImg, historyImg } from '@/api/processing';
-import { ref, onMounted } from 'vue';
+import { ref } from 'vue';
+import { useRouter } from 'vue-router';
+const router = useRouter();
 // import config from '../../../config/index';
 const status = {
   REJECT: 'danger',
@@ -114,11 +121,10 @@ detail?.reviewResult?.results?.map(v => {
   detail_data.value.total += v.items ? v.items.length : 0;
 });
 
-
 function timeupdate(p) {
-//   console.log(p.target.duration);
-//   console.log(p.target.currentTime);
-//   console.log((p.target.currentTime / p.target.duration).toFixed(4) * 100);
+  //   console.log(p.target.duration);
+  //   console.log(p.target.currentTime);
+  //   console.log((p.target.currentTime / p.target.duration).toFixed(4) * 100);
 }
 
 function changeTime(T) {
@@ -182,7 +188,7 @@ function play(p, i) {
   height: 4px;
 }
 .video_content {
-    position: relative;
-    margin-bottom: 3em;
+  position: relative;
+  margin-bottom: 3em;
 }
 </style>