Commit ba093a59 by liwk

commit

1 parent ec78ed04
......@@ -9,6 +9,8 @@ export default {
}
},
mounted() {
let { tabIndex } = this.getQuery()
if (tabIndex) this.tabIndex = tabIndex
if (this.$route.meta.isTab) this.init()
},
......
......@@ -4,6 +4,7 @@
<tab
:list="['秒杀活动','直播活动']"
@change="change"
:index="tabIndex"
sticky
></tab>
<template v-if="flag">
......@@ -94,12 +95,11 @@ export default {
}
},
mounted () {
},
activated () {
console.log('活动')
},
deactivated () {
console.log('离开活动页')
},
methods: {
getList_0 (pageNum) {
......
......@@ -4,6 +4,7 @@
<tab
:list="['新车精品礼券','商城优惠券']"
@change="change"
:index="tabIndex"
sticky
></tab>
<template v-if="flag">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!