修改 红人店铺 UI bug review hongmo
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -71,7 +71,7 @@ export default class DoubleImage extends React.Component { | @@ -71,7 +71,7 @@ export default class DoubleImage extends React.Component { | ||
71 | style={styles.thumbnail} | 71 | style={styles.thumbnail} |
72 | ></YH_Image> | 72 | ></YH_Image> |
73 | {linkType1=='1'?<View style={styles.titleView}> | 73 | {linkType1=='1'?<View style={styles.titleView}> |
74 | - <Text style={styles.title}>{name1}</Text> | 74 | + <Text style={styles.title} numberOfLines={1}>{name1}</Text> |
75 | <View style={styles.saleView}> | 75 | <View style={styles.saleView}> |
76 | <Text style={{marginTop: 2,marginLeft: 10,fontSize: 11,backgroundColor: 'transparent',color: saleAble1?'red':'white',}}>{price1}</Text> | 76 | <Text style={{marginTop: 2,marginLeft: 10,fontSize: 11,backgroundColor: 'transparent',color: saleAble1?'red':'white',}}>{price1}</Text> |
77 | {saleAble1?<Text style={styles.deleteSale}>{sale1}</Text>:null} | 77 | {saleAble1?<Text style={styles.deleteSale}>{sale1}</Text>:null} |
@@ -85,7 +85,7 @@ export default class DoubleImage extends React.Component { | @@ -85,7 +85,7 @@ export default class DoubleImage extends React.Component { | ||
85 | style={styles.thumbnail} | 85 | style={styles.thumbnail} |
86 | ></YH_Image> | 86 | ></YH_Image> |
87 | {linkType2=='1'?<View style={styles.titleView}> | 87 | {linkType2=='1'?<View style={styles.titleView}> |
88 | - <Text style={styles.title}>{name2}</Text> | 88 | + <Text style={styles.title} numberOfLines={1}>{name2}</Text> |
89 | <View style={styles.saleView}> | 89 | <View style={styles.saleView}> |
90 | <Text style={{marginTop: 2,marginLeft: 10,fontSize: 11,backgroundColor: 'transparent',color: saleAble2?'red':'white',}}>{price2}</Text> | 90 | <Text style={{marginTop: 2,marginLeft: 10,fontSize: 11,backgroundColor: 'transparent',color: saleAble2?'red':'white',}}>{price2}</Text> |
91 | {saleAble2?<Text style={styles.deleteSale}>{sale2}</Text>:null} | 91 | {saleAble2?<Text style={styles.deleteSale}>{sale2}</Text>:null} |
-
Please register or login to post a comment