Authored by aozhe.zhu

拼图UI修改 review by 戴强

... ... @@ -149,9 +149,8 @@ export default class GroupDetailHeader extends React.Component {
buttonText = '查看更多拼团活动';
tipTitlecolor = '#000000';
}else {
tipTitle = '拼团失败';
buttonText = '查看更多拼团活动';
tipTitlecolor = '#000000';
tipTitle = '';
buttonText = '去参团';
}
return (
... ...
... ... @@ -107,7 +107,7 @@ export default class SnapshootShare extends React.Component {
<Image source={{uri: qrCode}} resizeMode={'contain'} style={styles.qr} />
<View style={styles.bottomDetail}>
<View style={styles.titleV}>
<Text style={styles.titleText}>{shareCodeInfo.title}</Text>
<Text style={styles.titleText} numberOfLines={1}>有货友拼团,潮人专属福利团</Text>
</View>
<Text style={styles.tipDetailText}>长按图片识别小程序参团</Text>
</View>
... ... @@ -277,11 +277,11 @@ let styles = StyleSheet.create({
marginLeft: 27*DEVICE_WIDTH_RATIO,
},
titleText: {
fontSize: 16,
fontSize: 13,
color: '#444444',
},
tipDetailText: {
fontSize: 12,
fontSize: 11,
color: '#B0B0B0',
marginTop: 12*DEVICE_WIDTH_RATIO,
marginLeft: 27*DEVICE_WIDTH_RATIO,
... ...
... ... @@ -107,7 +107,7 @@ export default class SnapshootShare extends React.Component {
<Image source={{uri: qrCode}} resizeMode={'contain'} style={styles.qr} />
<View style={styles.bottomDetail}>
<View style={styles.titleV}>
<Text style={styles.titleText}>{shareCodeInfo.title}</Text>
<Text style={styles.titleText}>有货友拼团,潮人专属福利团</Text>
</View>
<Text style={styles.tipDetailText}>长按图片识别小程序参团</Text>
</View>
... ... @@ -277,11 +277,11 @@ let styles = StyleSheet.create({
marginLeft: 27*DEVICE_WIDTH_RATIO,
},
titleText: {
fontSize: 16,
fontSize: 13,
color: '#444444',
},
tipDetailText: {
fontSize: 12,
fontSize: 11,
color: '#B0B0B0',
marginTop: 12*DEVICE_WIDTH_RATIO,
marginLeft: 27*DEVICE_WIDTH_RATIO,
... ...
... ... @@ -135,8 +135,8 @@ export default class SnapshootShare extends React.Component {
<Image source={{uri: qrCode}} resizeMode={'contain'} style={styles.qr} />
<View style={styles.bottomDetail}>
<View style={styles.titleV}>
<Text style={styles.titleText}>{nickName}</Text>
<Text style={styles.titleText}>邀请你参团</Text>
<Text style={[styles.titleText, styles.titleWidth]} numberOfLines={1}>{nickName}</Text>
<Text style={styles.titleText}>邀请你拼潮货</Text>
</View>
<Text style={styles.tipDetailText}>长按图片识别小程序参团</Text>
</View>
... ... @@ -309,6 +309,9 @@ let styles = StyleSheet.create({
fontSize: 16,
color: '#444444',
},
titleWidth: {
maxWidth: 80,
},
tipDetailText: {
fontSize: 12,
color: '#B0B0B0',
... ...
... ... @@ -148,7 +148,8 @@ class GroupPurchaseContainer extends Component {
} = this.props.groupPurchase;
let {
host
host,
unionType,
} = this.props.app;
let param = {
... ... @@ -159,9 +160,10 @@ class GroupPurchaseContainer extends Component {
return (
<View style={styles.container}>
<ShareViewModal show={showShareView} showShareView={this.showShareView} shareMiniApp={this.shareMiniApp} showSnapshootShare={this.showSnapshootShare}/>
<ShareViewModal show={showShareView} unionType={unionType} showShareView={this.showShareView} shareMiniApp={this.shareMiniApp} showSnapshootShare={this.showSnapshootShare}/>
<ListSnapshootShare
show={showSnapshootShare}
unionType={unionType}
shareCodeInfo={shareCodeInfo}
showSnapshootShare={this.showSnapshootShare}
shareSnapshootAction={this.shareSnapshootAction}
... ...