更改视图设计,React本机

问题描述

enter image description here

如何将视图中的时间排序为“行”方向,但每行仅应包含2次,例如: *隆迪:14:00 17:00

                   08:00  13:00

* Mercredi:14:00 17:00,

                 08:00  18:00

               

这是我的代码

<View style={{ flex: 1,margin: 5,marginLeft:100 }}>
  {
  lng.heure.length > 0 ?
  lng.heure.map((time,key) => <Text key={key} style={{ margin: 5 }}>
                                           {time}
                                </Text>)
                                    :
                                    <Text></Text>
                                }

                              </View>

我只是映射了数组的所有{times}。 我真的很感谢您的帮助。谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)