删除无用代码

master
mabo 2021-08-03 09:23:36 +08:00
parent 8d6ee03d88
commit 21a37db1da
2 changed files with 2 additions and 18 deletions

View File

@ -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 {

View File

@ -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 {