...
|
...
|
@@ -44,12 +44,24 @@ export default class ShareViewModal extends React.Component { |
|
|
<Image source={unionType ? require('../images/unionShare_wx_icon.png') : require('../images/weixin.png')} style={styles.icon} />
|
|
|
<Text style={styles.text}>分享给好友</Text>
|
|
|
</TouchableOpacity>
|
|
|
<TouchableOpacity activeOpacity={0.5} style={styles.button2} onPress={() => {
|
|
|
<TouchableOpacity activeOpacity={0.5} style={styles.button1} onPress={() => {
|
|
|
this.props.showSnapshootShare && this.props.showSnapshootShare(true);
|
|
|
}}>
|
|
|
<Image source={unionType ? require('../images/unionShare_qr_icon.png') : require('../images/pengyou.png')} style={styles.icon} />
|
|
|
<Text style={styles.text}>微信快照</Text>
|
|
|
</TouchableOpacity>
|
|
|
<TouchableOpacity activeOpacity={0.5} style={styles.button1} onPress={() => {
|
|
|
this.props.shareQQApp && this.props.shareQQApp();
|
|
|
}}>
|
|
|
<Image source={unionType ? require('../images/unionShare_qr_icon.png') : require('../images/pengyou.png')} style={styles.icon} />
|
|
|
<Text style={styles.text}>QQ</Text>
|
|
|
</TouchableOpacity>
|
|
|
<TouchableOpacity activeOpacity={0.5} style={styles.button1} onPress={() => {
|
|
|
this.props.shareWeiBoApp && this.props.shareWeiBoApp();
|
|
|
}}>
|
|
|
<Image source={unionType ? require('../images/unionShare_qr_icon.png') : require('../images/pengyou.png')} style={styles.icon} />
|
|
|
<Text style={styles.text}>微博</Text>
|
|
|
</TouchableOpacity>
|
|
|
</View>
|
|
|
<View style={styles.line}/>
|
|
|
<TouchableOpacity activeOpacity={0.5} style={styles.cancel} onPress={() => {
|
...
|
...
|
@@ -93,17 +105,13 @@ let styles = StyleSheet.create({ |
|
|
width,
|
|
|
height: 115*DEVICE_WIDTH_RATIO,
|
|
|
alignItems: 'center',
|
|
|
justifyContent: 'center',
|
|
|
flexDirection: 'row',
|
|
|
},
|
|
|
button1: {
|
|
|
marginLeft: (width - 180*DEVICE_WIDTH_RATIO)/3,
|
|
|
width: 90*DEVICE_WIDTH_RATIO,
|
|
|
alignItems: 'center',
|
|
|
},
|
|
|
|
|
|
button2: {
|
|
|
marginLeft: (width - 180*DEVICE_WIDTH_RATIO)/3,
|
|
|
alignItems: 'center',
|
|
|
},
|
|
|
icon: {
|
|
|
width: 45*DEVICE_WIDTH_RATIO,
|
|
|
height: 45*DEVICE_WIDTH_RATIO,
|
...
|
...
|
|