|
|
@@ -342,8 +342,11 @@ codePushStatusDidChange(syncStatus) { |
|
|
|
//aaa |
|
|
|
this.setState({adType: num }) |
|
|
|
this.setState({ |
|
|
|
merchantRankList: merchantRankList |
|
|
|
merchantRankList: merchantRankList, |
|
|
|
hasRankList: merchantRankList.length > 0 ? true:false |
|
|
|
}) |
|
|
|
console.log(merchantRankList) |
|
|
|
console.log(this.state.hasRankList) |
|
|
|
//aaa |
|
|
|
if (this.state.adType == 1 && this.state.hasRankList) { |
|
|
|
let obj = { |
|
|
@@ -1557,7 +1560,7 @@ MyPage = CodePush(codePushOptions)(MyPage); |
|
|
|
}, |
|
|
|
//排名的列表样式 |
|
|
|
rankItemBox: { |
|
|
|
flex: 1, |
|
|
|
// flex: 1, |
|
|
|
flexDirection: 'row', |
|
|
|
alignItems: 'center', |
|
|
|
width: '92%', |
|
|
|