From 67ce5d4931dc8b20a4ef64956a2313a52a5ff4f0 Mon Sep 17 00:00:00 2001 From: caserKing Date: Mon, 16 Sep 2019 23:30:54 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A4=A7=E5=B1=8F=E3=80=91=E3=80=90?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E3=80=91=E3=80=90=E5=95=86=E6=88=B7=E6=8E=92?= =?UTF-8?q?=E8=A1=8C=E5=AD=97=E5=8F=B7=E8=B0=83=E6=95=B49=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.js | 54 +++++++++++++++++++++++++----------------------------- 1 file changed, 25 insertions(+), 29 deletions(-) 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: {