【首页banner卡屏修复】 -刘绍文 -2020/5/19
@ -107,7 +107,8 @@
"pages/addTopic/addTopic",
"pages/topicDetail/topicDetail",
"pages/replyOrRemark/replyOrRemark",
"pages/changeToIssue/changeToIssue"
"pages/changeToIssue/changeToIssue",
"pages/myTopic/myTopic"
]
}
],
@ -1,8 +1,8 @@
Component({
data: {
currentIndex: 0,
autoplay:true,
bannerInterval:3000
autoplay:false,
bannerInterval:0
},
properties: {
bannerList: {
@ -15,14 +15,15 @@ Component({
pageLifetimes: {
show:function(){
console.log("show")
this.setData({
autoPlay:true,
})
hide:function(){
autoPlay:false,