bill 6 ay önce
ebeveyn
işleme
86b218e1d9

+ 1 - 1
src/layout/model-list/sign.vue

@@ -25,7 +25,7 @@
           }"
         />
         <ui-icon
-          v-if="custom.modelsChangeStore"
+          v-if="custom.modelsChangeStore && !search"
           type="del"
           ctrl
           @click="$emit('delete')"

+ 10 - 8
src/views/guide/guide/edit-paths.vue

@@ -1,12 +1,6 @@
 <template>
   <div class="video" ref="videoRef">
     <div class="overflow">
-      <ui-icon
-        ctrl
-        :type="isScenePlayIng ? 'pause' : 'preview'"
-        :disabled="!paths.length"
-        @click="play"
-      />
       <ui-button
         type="primary"
         @click="addPath"
@@ -23,6 +17,13 @@
         <div class="length">
           <span>视频时长</span>{{ paths.reduce((t, c) => t + c.time, 0).toFixed(1) }}s
         </div>
+        <ui-icon
+          ctrl
+          :type="isScenePlayIng ? 'a-pause' : 'a-play'"
+          :disabled="!paths.length"
+          @click="play"
+          style="font-size: 16px"
+        />
         <div>
           <attachAnimation :current="current" :paths="paths" />
           <div
@@ -37,11 +38,11 @@
       </div>
       <!-- <attachAnimation :current="current" :paths="paths" /> -->
 
-      <div class="photo-list" ref="listVm">
+      <div class="photo-list" ref="listVm" :class="{ disabled: isScenePlayIng }">
         <template v-for="(path, i) in paths" :key="path.id">
           <div
             class="photo"
-            :class="{ active: current === path, disabled: isScenePlayIng }"
+            :class="{ active: current === path }"
             @click="changeCurrent(path)"
           >
             <ui-icon
@@ -313,6 +314,7 @@ onUnmounted(() => {
     padding: 10px 20px;
     display: flex;
     justify-content: space-between;
+    align-items: center;
 
     .length span {
       margin-right: 10px;