diff --git a/App.js b/App.js index bb67128..b33a1ac 100644 --- a/App.js +++ b/App.js @@ -505,42 +505,44 @@ rankItemDom(item,index) { } return ( - {/* */} {item.merchantName} 经营指数: {item.starNum} 分 - } - filledStarImage={} - scoreTextStyle={{color:'#fff'}} - /> + + } + filledStarImage={} + scoreTextStyle={{color:'#fff'}} + /> + + 人气指数: {item.starNum} 分 - } - filledStarImage={} - scoreTextStyle={{color:'#fff'}} - /> + + } + filledStarImage={} + scoreTextStyle={{color:'#fff'}} + /> + - {/* */} - ) } @@ -1422,10 +1424,8 @@ MyPage = CodePush(codePushOptions)(MyPage); width: '92%', height: 260/PixelRatio.get(), backgroundColor: '#fff', - borderRadius: 26/PixelRatio.get(), + borderRadius: 18/PixelRatio.get(), marginTop: 20/PixelRatio.get(), - borderWidth: 1, - borderColor: 'green', }, rankContent: { @@ -1438,16 +1438,12 @@ MyPage = CodePush(codePushOptions)(MyPage); alignItems: 'center', width: '100%', height: 260/PixelRatio.get(), - borderWidth: 1, - borderColor: 'blue', }, RankLogo: { width: 220/PixelRatio.get(), height: 220/PixelRatio.get(), - marginLeft: 30/PixelRatio.get(), - borderWidth: 1, - borderColor: 'yellow', + marginLeft: 14/PixelRatio.get(), }, rankQrcodeImg: {