问题描述
我正在使用 PHP 和 laravel 创建一个加密货币网站
我想显示货币汇率和一个小图表(迷你图),就像export const Component: FC = ({}) => {
const popUpRender = () => {
return [
durations.map(duration => {
return (
<TouchableOpacity
key={duration}
onPress={() => {
console.log('clicked')
}}>
<Text>text</Text>
</TouchableOpacity>
)
}),]
}
return (
<View style={styles.container}>
<ScrollView style={[styles.popUp]}>{popUpRender()}</ScrollView>
</View>
)
}
const styles = StyleSheet.create({
container: {
flexDirection: 'row',zIndex: 11,},popUp: {
position: 'absolute',elevation: 5,zIndex: 100,width: '100%',height: 200,backgroundColor: 'white',})
主页一样:
coinmarketcap.com
问题是:这些图像是否已经作为文件存储在服务器上? 还是在加载时查询并以 img 标签显示在页面上?
无论如何,请大家指导我好吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)