From 4762c76a642db471d5298e1890d74010f2cc70d6 Mon Sep 17 00:00:00 2001 From: caserKing Date: Mon, 16 Sep 2019 20:30:33 +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=B4=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.js | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/App.js b/App.js index 078a14b..4b7b545 100644 --- a/App.js +++ b/App.js @@ -502,27 +502,27 @@ rankItemDom(item) { {/* */} - {item.merchantName} + {item.merchantName} - 经营指数: {item.starNum} 分 + 经营指数: {item.starNum} 分 } - filledStarImage={} + emptyStarImage={} + filledStarImage={} scoreTextStyle={{color:'#fff'}} /> - 人气指数: {item.starNum} 分 + 人气指数: {item.starNum} 分 } - filledStarImage={} + emptyStarImage={} + filledStarImage={} scoreTextStyle={{color:'#fff'}} /> @@ -1446,6 +1446,22 @@ MyPage = CodePush(codePushOptions)(MyPage); height: 220/PixelRatio.get(), marginLeft: 10/PixelRatio.get(), + }, + + starImg: { + width: 30/PixelRatio.get(), + height: 30/PixelRatio.get(), + + }, + + starTitle: { + fontSize: 30/PixelRatio.get(), + }, + + merchantText: { + fontWeight : 'bold', + marginBottom:10/PixelRatio.get(), + marginTop:10/PixelRatio.get(), } });