Commit d6a2e11a authored by liwei's avatar liwei

liwei

parent f9d6b564
......@@ -37,7 +37,6 @@
<span class="line"></span>
</div>
</div>
<transition name="fade">
<van-swipe
:loop="false"
:show-indicators="false"
......@@ -47,7 +46,13 @@
@change="swipeChange"
>
<van-swipe-item @click="swipeItemClick">
<scroll :style="{maxHeight: height +'px'}" v-if="starNum!=0&&tabIndex==1" ref="scrollItem" :data="starList" :bounce="false">
<scroll
:style="{maxHeight: height +'px'}"
v-if="starNum!=0&&tabIndex==1"
ref="scrollItem"
:data="starList"
:bounce="false"
>
<div class="container">
<div class="stageBox" v-if="starInfo.code!=2001">
<div
......@@ -186,7 +191,6 @@
</scroll>
</van-swipe-item>
</van-swipe>
</transition>
</div>
</template>
......@@ -227,8 +231,8 @@ export default {
},
components: {},
methods: {
swipeItemClick(e){
console.log('swipeItemClick',e);
swipeItemClick(e) {
console.log("swipeItemClick", e);
this.isClick = true;
},
swipeChange(index) {
......@@ -242,7 +246,7 @@ export default {
});
},
goAddr(e) {
if(this.isClick){
if (this.isClick) {
if (this.addressObj) {
this.$router.push({
name: "activityAddr"
......@@ -254,9 +258,9 @@ export default {
}
}
},
goDetail(index,e) {
console.log('goDetail',e);
if(this.isClick){
goDetail(index, e) {
console.log("goDetail", e);
if (this.isClick) {
let obj = {};
obj.index = index;
if (index == 1) {
......@@ -383,12 +387,6 @@ export default {
<style scoped lang="less">
@import "../../util/public";
.fade-enter-active, .fade-leave-active {
transition: opacity .5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
opacity: 0;
}
.star-activity-page {
border-top: 1px solid transparent;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment