Commit 6623c3c6 by zeven

二维码弹窗屏幕适配

parent 7e934006
...@@ -65,10 +65,10 @@ class TipsModal extends Component { ...@@ -65,10 +65,10 @@ class TipsModal extends Component {
{qrCode && ( {qrCode && (
<View style={styles.qrcode}> <View style={styles.qrcode}>
<QRCode <QRCode
logoSize={50} logoSize={scaleSize(80)}
// logoBackgroundColor="#fc4000" // logoBackgroundColor="#fc4000"
logo={require('../assets/logo2.png')} logo={require('../assets/logo2.png')}
size={250} size={scaleSize(360)}
value={qrCode} value={qrCode}
/> />
</View> </View>
...@@ -125,8 +125,8 @@ const styles = { ...@@ -125,8 +125,8 @@ const styles = {
borderTopRightRadius: 20, borderTopRightRadius: 20,
}, },
qrcode: { qrcode: {
marginTop: 110, marginTop: scaleSize(150),
marginBottom: 10, marginBottom: scaleSize(10),
}, },
image: { image: {
width: scaleSize(60), width: scaleSize(60),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment