From a34aac415a4230d8a4fb2c0e1692ce48da876ed5 Mon Sep 17 00:00:00 2001 From: caserKing Date: Mon, 16 Sep 2019 22:18:25 +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=B47=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/App.js b/App.js index 0c9026b..ccb2994 100644 --- a/App.js +++ b/App.js @@ -498,10 +498,10 @@ renderRankDom() { //每一条 rank rankItemDom(item,index) { // let fontSizeNum = 30/(PixelRatio.get()); - let fontSizeNum = 16; + let fontSizeNum = 22; let curStyleObj = { width: fontSizeNum, - height: fontSizeNum + height: fontSizeNum, } return ( @@ -515,6 +515,7 @@ rankItemDom(item,index) { score={item.starNum} allowsHalfStars={true} accurateHalfStars={true} + starStyle={curStyleObj} emptyStarImage={} filledStarImage={} scoreTextStyle={{color:'#fff'}} @@ -527,6 +528,7 @@ rankItemDom(item,index) { score={item.starNum} allowsHalfStars={true} accurateHalfStars={true} + starStyle={curStyleObj} emptyStarImage={} filledStarImage={} scoreTextStyle={{color:'#fff'}} @@ -1453,7 +1455,7 @@ MyPage = CodePush(codePushOptions)(MyPage); height: 220/PixelRatio.get(), marginLeft: 10/PixelRatio.get(), position: 'absolute', - top: 34/PixelRatio.get(), + top: 17/PixelRatio.get(), right: 20/PixelRatio.get(), },