|
|
@@ -497,8 +497,7 @@ renderRankDom() { |
|
|
|
} |
|
|
|
//每一条 rank |
|
|
|
rankItemDom(item,index) { |
|
|
|
let fontSizeNum = 40/(PixelRatio.get()); |
|
|
|
// let fontSizeNum = 28;{item.merchantName} |
|
|
|
let fontSizeNum = 44/(PixelRatio.get()); |
|
|
|
let curStyleObj = { |
|
|
|
width: fontSizeNum, |
|
|
|
height: fontSizeNum, |
|
|
@@ -507,11 +506,11 @@ rankItemDom(item,index) { |
|
|
|
<View style={styles.rankItemBox} key={index}> |
|
|
|
<Image style={styles.RankLogo} resizeMode="stretch" source={{uri:item.logoUrl}}></Image> |
|
|
|
<View style={styles.rankContent}> |
|
|
|
<Text style={styles.merchantText} numberOfLines={1} ellipsizeMode="tail">法大师傅大师傅士大法大师傅大师傅士大夫法大师傅大师傅士大夫法大师傅大师傅士大夫法大师傅大师傅士大夫法大师傅大师傅士大夫法大师傅大师傅士大夫法大师傅大师傅士大夫法大师傅大师傅士大夫法大师傅大师傅士大夫法大师傅大师傅士大夫法大师傅大师傅士大夫法大师傅大师傅士大夫夫</Text> |
|
|
|
<Text style={styles.merchantText} numberOfLines={1} ellipsizeMode="tail">{item.merchantName}</Text> |
|
|
|
<View style={styles.rankRunBox}> |
|
|
|
<View style={styles.rankRun}> |
|
|
|
<Text style={styles.starTitle}>经营指数: {item.starNum} 分</Text> |
|
|
|
<View style={{height: 57,marginTop: 17/PixelRatio.get()}}> |
|
|
|
<View style={{height: fontSizeNum,flexDirection: 'row', alignItems: 'center',marginTop:20/PixelRatio.get()}}> |
|
|
|
<StarRatingBar |
|
|
|
score={item.starNum} |
|
|
|
allowsHalfStars={true} |
|
|
@@ -527,7 +526,7 @@ rankItemDom(item,index) { |
|
|
|
|
|
|
|
<View style={styles.rankRun}> |
|
|
|
<Text style={styles.starTitle}>人气指数: {item.starNum} 分</Text> |
|
|
|
<View style={{height: 57,marginTop: 17/PixelRatio.get()}}> |
|
|
|
<View style={{height: fontSizeNum,flexDirection: 'row', alignItems: 'center',marginTop:20/PixelRatio.get()}}> |
|
|
|
<StarRatingBar |
|
|
|
score={item.starNum} |
|
|
|
allowsHalfStars={true} |
|
|
|