|  | @@ -112,15 +112,25 @@
 | 
											
												
													
														|  |        width="940px"
 |  |        width="940px"
 | 
											
												
													
														|  |        append-to-body
 |  |        append-to-body
 | 
											
												
													
														|  |        :visible.sync="workVisible"
 |  |        :visible.sync="workVisible"
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      >
 |  |      >
 | 
											
												
													
														|  |        <!-- activeUrl -->
 |  |        <!-- activeUrl -->
 | 
											
												
													
														|  | -      <div class="sliderWrap" v-if="workVisible">
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <div class="sliderWrap">
 | 
											
												
													
														|  |          <div class="swiperWrap">
 |  |          <div class="swiperWrap">
 | 
											
												
													
														|  | -          <swiper ref="mySwiper" :options="swiperOptions" v-if="activeRow">
 |  | 
 | 
											
												
													
														|  | 
 |  | +          <swiper
 | 
											
												
													
														|  | 
 |  | +          v-if="activeRow"
 | 
											
												
													
														|  | 
 |  | +            ref="mySwiper"
 | 
											
												
													
														|  | 
 |  | +            :options="swiperOptions"
 | 
											
												
													
														|  | 
 |  | +            :auto-update="true"
 | 
											
												
													
														|  | 
 |  | +            :auto-destroy="false"
 | 
											
												
													
														|  | 
 |  | +            :delete-instance-on-destroy="true"
 | 
											
												
													
														|  | 
 |  | +            :cleanup-styles-on-destroy="true"
 | 
											
												
													
														|  | 
 |  | +          >
 | 
											
												
													
														|  |              <swiper-slide
 |  |              <swiper-slide
 | 
											
												
													
														|  |                v-for="(item, index) in activeRow.urlList"
 |  |                v-for="(item, index) in activeRow.urlList"
 | 
											
												
													
														|  |                :key="index"
 |  |                :key="index"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  | 
 |  | +              <!-- v-if="activeIndex == index" -->
 | 
											
												
													
														|  |                <div class="videoWrap">
 |  |                <div class="videoWrap">
 | 
											
												
													
														|  |                  <video
 |  |                  <video
 | 
											
												
													
														|  |                    style="width: 480px"
 |  |                    style="width: 480px"
 | 
											
										
											
												
													
														|  | @@ -200,8 +210,6 @@
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  <script>
 |  |  <script>
 | 
											
												
													
														|  |  import { Swiper, SwiperSlide, directive } from "vue-awesome-swiper";
 |  |  import { Swiper, SwiperSlide, directive } from "vue-awesome-swiper";
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -// import style (>= Swiper 6.x)
 |  | 
 | 
											
												
													
														|  |  import "swiper/swiper-bundle.css";
 |  |  import "swiper/swiper-bundle.css";
 | 
											
												
													
														|  |  import pagination from "@/components/Pagination/index";
 |  |  import pagination from "@/components/Pagination/index";
 | 
											
												
													
														|  |  import {
 |  |  import {
 | 
											
										
											
												
													
														|  | @@ -241,8 +249,11 @@ export default {
 | 
											
												
													
														|  |        content: null,
 |  |        content: null,
 | 
											
												
													
														|  |        title: null,
 |  |        title: null,
 | 
											
												
													
														|  |        activeRow: null,
 |  |        activeRow: null,
 | 
											
												
													
														|  | 
 |  | +      activeIndex: 0,
 | 
											
												
													
														|  |        swiperOptions: {
 |  |        swiperOptions: {
 | 
											
												
													
														|  |          // autoHeight: true,
 |  |          // autoHeight: true,
 | 
											
												
													
														|  | 
 |  | +        observer: true, //修改swiper自己或子元素时,自动初始化swiper
 | 
											
												
													
														|  | 
 |  | +        observeParents: true, //修改swiper的父元素时,自动初始化swiper
 | 
											
												
													
														|  |          speed: 300,
 |  |          speed: 300,
 | 
											
												
													
														|  |          loop: true,
 |  |          loop: true,
 | 
											
												
													
														|  |          pagination: ".swiper-pagination",
 |  |          pagination: ".swiper-pagination",
 | 
											
										
											
												
													
														|  | @@ -251,8 +262,8 @@ export default {
 | 
											
												
													
														|  |            prevEl: ".swiper-button-prev",
 |  |            prevEl: ".swiper-button-prev",
 | 
											
												
													
														|  |          },
 |  |          },
 | 
											
												
													
														|  |          on: {
 |  |          on: {
 | 
											
												
													
														|  | -          slideChange: () => {
 |  | 
 | 
											
												
													
														|  | -            console.log(this.activeRow);
 |  | 
 | 
											
												
													
														|  | 
 |  | +          slideChange: (val) => {
 | 
											
												
													
														|  | 
 |  | +            // this.activeIndex = val.realIndex;
 | 
											
												
													
														|  |            },
 |  |            },
 | 
											
												
													
														|  |          },
 |  |          },
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -333,6 +344,7 @@ export default {
 | 
											
												
													
														|  |        }).then((res) => {
 |  |        }).then((res) => {
 | 
											
												
													
														|  |          if (res.code == 200) {
 |  |          if (res.code == 200) {
 | 
											
												
													
														|  |            this.activeCommit = res.data.rows;
 |  |            this.activeCommit = res.data.rows;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |            this.workVisible = true;
 |  |            this.workVisible = true;
 | 
											
												
													
														|  |            // item.up = false
 |  |            // item.up = false
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
										
											
												
													
														|  | @@ -342,12 +354,15 @@ export default {
 | 
											
												
													
														|  |        this.activeUrl = "";
 |  |        this.activeUrl = "";
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      prev(val) {
 |  |      prev(val) {
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -      this.swiper.slidePrev();
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.$nextTick(() => {
 | 
											
												
													
														|  | 
 |  | +        this.swiper.slidePrev();
 | 
											
												
													
														|  | 
 |  | +      });
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      next(val) {
 |  |      next(val) {
 | 
											
												
													
														|  | -      console.log(val)
 |  | 
 | 
											
												
													
														|  | -      this.swiper.slideNext();
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.$nextTick(() => {
 | 
											
												
													
														|  | 
 |  | +        console.log(this.swiper.slideNext());
 | 
											
												
													
														|  | 
 |  | +        this.swiper.slideNext();
 | 
											
												
													
														|  | 
 |  | +      });
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      lookReplied(row) {
 |  |      lookReplied(row) {
 | 
											
												
													
														|  |        // repliedVisible
 |  |        // repliedVisible
 | 
											
										
											
												
													
														|  | @@ -385,17 +400,16 @@ export default {
 | 
											
												
													
														|  |    flex-direction: row;
 |  |    flex-direction: row;
 | 
											
												
													
														|  |    height: 100%;
 |  |    height: 100%;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  | -.videoWrap{
 |  | 
 | 
											
												
													
														|  | -  min-height:640px;
 |  | 
 | 
											
												
													
														|  | 
 |  | +.videoWrap {
 | 
											
												
													
														|  | 
 |  | +  min-height: 640px;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -  //  background-color: #efefef;
 |  | 
 | 
											
												
													
														|  | -   align-items: center;
 |  | 
 | 
											
												
													
														|  | -   display: flex;
 |  | 
 | 
											
												
													
														|  | -   flex-direction: row;
 |  | 
 | 
											
												
													
														|  | 
 |  | +  background-color: #efefef;
 | 
											
												
													
														|  | 
 |  | +  align-items: center;
 | 
											
												
													
														|  | 
 |  | +  display: flex;
 | 
											
												
													
														|  | 
 |  | +  flex-direction: row;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  .swiper-wrapper {
 |  |  .swiper-wrapper {
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  .sliderWrap {
 |  |  .sliderWrap {
 | 
											
												
													
														|  |    width: 100%;
 |  |    width: 100%;
 |