|
|
@@ -307,12 +307,12 @@ codePushStatusDidChange(syncStatus) { |
|
|
|
this.showErrMsg(result.message+'\n'+this.state.macAddress); |
|
|
|
} else if (result.data.list) { |
|
|
|
//aaa |
|
|
|
result.data.list[0].type = 2; |
|
|
|
/* result.data.list[0].type = 2; |
|
|
|
result.data.list[1].type = 2; |
|
|
|
result.data.list[2].type = 2; |
|
|
|
result.data.list[3].type = 2; |
|
|
|
result.data.list[4].type = 2; |
|
|
|
result.data.list[5].type = 2; |
|
|
|
result.data.list[5].type = 2; */ |
|
|
|
console.log(result.data) |
|
|
|
//type==0的是券 1是? 2是广告大图 |
|
|
|
let curData = result.data.list; |
|
|
@@ -662,7 +662,7 @@ getAdView(){ |
|
|
|
activeSlideOffset={0} |
|
|
|
autoplay={true} |
|
|
|
loop={true} |
|
|
|
autoplayInterval={2500} |
|
|
|
autoplayInterval={3000} |
|
|
|
/> |
|
|
|
</View> |
|
|
|
|
|
|
@@ -696,7 +696,7 @@ getAdView(){ |
|
|
|
activeSlideOffset={0} |
|
|
|
autoplay={true} |
|
|
|
loop={true} |
|
|
|
autoplayInterval={2500} |
|
|
|
autoplayInterval={3000} |
|
|
|
/> |
|
|
|
) |
|
|
|
} |
|
|
|