Explorar el Código

【大屏】【优化】【大屏的排名显示隐藏】

tags/jenkins-front-end-screenad-329-^0
caserKing hace 5 años
padre
commit
58d9636893
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. +5
    -2
      App.js

+ 5
- 2
App.js Ver fichero

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


Cargando…
Cancelar
Guardar