使用Modal搭建分析的效果如下:
自定义的分析界面代码如下:
ShareAlertDialog.js
/**
* https://github.com/facebook/react-native...from 'react';
import {View, TouchableOpacity, Alert,StyleSheet, Dimensions, Modal, Text, Image} from 'react-native...top: height - 170,
left: 0,
width: width,
height: dialogH,
backgroundColor...: '#ffffff'
},
subView: {
width: width,
height: dialogH,
backgroundColor...},
image: {
width: 60,
height: 60,
marginBottom: 8
},
});
当点击某个按钮之后