删除无用代码
This commit is contained in:
		
							parent
							
								
									8d6ee03d88
								
							
						
					
					
						commit
						21a37db1da
					
				@ -36,7 +36,6 @@
 | 
				
			|||||||
// 引入插件
 | 
					// 引入插件
 | 
				
			||||||
import { swiper, swiperSlide } from 'vue-awesome-swiper';
 | 
					import { swiper, swiperSlide } from 'vue-awesome-swiper';
 | 
				
			||||||
import 'swiper/dist/css/swiper.css';
 | 
					import 'swiper/dist/css/swiper.css';
 | 
				
			||||||
import {seckillByDay} from '@/api/promotion'
 | 
					 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  components: {
 | 
					  components: {
 | 
				
			||||||
    swiper,
 | 
					    swiper,
 | 
				
			||||||
@ -143,13 +142,6 @@ export default {
 | 
				
			|||||||
      }, 1000)
 | 
					      }, 1000)
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    getListByDay () { // 当天秒杀活动
 | 
					    getListByDay () { // 当天秒杀活动
 | 
				
			||||||
      // seckillByDay().then(res => {
 | 
					 | 
				
			||||||
      //   if (res.success) {
 | 
					 | 
				
			||||||
      //     this.list = res.result
 | 
					 | 
				
			||||||
      //     this.goodsList = this.list[0].seckillGoodsList
 | 
					 | 
				
			||||||
      //     this.countDown(this.currIndex)
 | 
					 | 
				
			||||||
      //   }
 | 
					 | 
				
			||||||
      // })
 | 
					 | 
				
			||||||
      // const list = [
 | 
					      // const list = [
 | 
				
			||||||
      //   {
 | 
					      //   {
 | 
				
			||||||
      //     timeLine: 18,
 | 
					      //     timeLine: 18,
 | 
				
			||||||
@ -313,7 +305,7 @@ export default {
 | 
				
			|||||||
  align-items: center;
 | 
					  align-items: center;
 | 
				
			||||||
  justify-content: center;
 | 
					  justify-content: center;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.swiper-button-prev:hover, .swiper-button-next:hover{
 | 
					.swiper-button-prev:hover, .swiper-button-next:hover {
 | 
				
			||||||
  background: #aaa;
 | 
					  background: #aaa;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.swiper-button-prev {
 | 
					.swiper-button-prev {
 | 
				
			||||||
 | 
				
			|||||||
@ -36,7 +36,6 @@
 | 
				
			|||||||
// 引入插件
 | 
					// 引入插件
 | 
				
			||||||
import { swiper, swiperSlide } from 'vue-awesome-swiper';
 | 
					import { swiper, swiperSlide } from 'vue-awesome-swiper';
 | 
				
			||||||
import 'swiper/dist/css/swiper.css';
 | 
					import 'swiper/dist/css/swiper.css';
 | 
				
			||||||
import {seckillByDay} from '@/api/promotion'
 | 
					 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  components: {
 | 
					  components: {
 | 
				
			||||||
    swiper,
 | 
					    swiper,
 | 
				
			||||||
@ -143,13 +142,6 @@ export default {
 | 
				
			|||||||
      }, 1000)
 | 
					      }, 1000)
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    getListByDay () { // 当天秒杀活动
 | 
					    getListByDay () { // 当天秒杀活动
 | 
				
			||||||
      // seckillByDay().then(res => {
 | 
					 | 
				
			||||||
      //   if (res.success) {
 | 
					 | 
				
			||||||
      //     this.list = res.result
 | 
					 | 
				
			||||||
      //     this.goodsList = this.list[0].seckillGoodsList
 | 
					 | 
				
			||||||
      //     this.countDown(this.currIndex)
 | 
					 | 
				
			||||||
      //   }
 | 
					 | 
				
			||||||
      // })
 | 
					 | 
				
			||||||
      // const list = [
 | 
					      // const list = [
 | 
				
			||||||
      //   {
 | 
					      //   {
 | 
				
			||||||
      //     timeLine: 18,
 | 
					      //     timeLine: 18,
 | 
				
			||||||
@ -313,7 +305,7 @@ export default {
 | 
				
			|||||||
  align-items: center;
 | 
					  align-items: center;
 | 
				
			||||||
  justify-content: center;
 | 
					  justify-content: center;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.swiper-button-prev:hover, .swiper-button-next:hover{
 | 
					.swiper-button-prev:hover, .swiper-button-next:hover {
 | 
				
			||||||
  background: #aaa;
 | 
					  background: #aaa;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.swiper-button-prev {
 | 
					.swiper-button-prev {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user