소스 검색

feat:ppt页面加载效果

lavinia 3 달 전
부모
커밋
91900b5ba2
2개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 5
      src/views/components/layerList/planDialog.vue
  2. 0 1
      src/views/components/tools/index.vue

+ 2 - 5
src/views/components/layerList/planDialog.vue

@@ -7,18 +7,15 @@
     <div class="plan-content">
       <el-tabs tab-position="left" style="height: 5.85rem" @tab-click="tabClick">
         <el-tab-pane :label="item.label" v-for="(item, index) in this.planList" :key="index">
-          <template v-loading="loading">
+          <div v-loading="loading">
             <el-carousel :ref="'mainCarousel' + index" :interval="5000" :autoplay="false" arrow="always" indicator-position="none">
               <el-carousel-item v-for="(image, i) in imageList" :key="i">
                 <div class="image-wrapper">
                   <el-image :src="image" :preview-src-list="imageList" fit="cover" class="main-image" />
-                  <!-- <div class="fullscreen-btn" @click="openFullscreen(index)">
-                  <img src="@/assets/image/smart-early-warning/fullScreen.png" alt="" />
-                </div> -->
                 </div>
               </el-carousel-item>
             </el-carousel>
-          </template>
+          </div>
         </el-tab-pane>
       </el-tabs>
     </div>

+ 0 - 1
src/views/components/tools/index.vue

@@ -39,7 +39,6 @@ export default {
   },
   mounted() {
     this.$globalEventBus.$on('loadMap', () => {
-      console.info('我加入')
       this.distanceMeasure = new mars3d.thing.Measure({
         label: {
           color: '#ffffff',