我试图创建一个左侧有时间的日视图,以及人物的顶部标题.目前我可以得到左边或顶部标题,但不是两个.
你如何获得2个粘性标题?
我的渲染看起来像这样:
<ScrollView style={{height: 600}}>
<ScrollView horizontal={true}>
<View style={styles.column}>
<View style={{ flex: 1, flexDirection: 'row', width}}>
{header}
</View>
<View style={styles.row}>
<View style={[styles.container, { width, marginLeft: 40 }]}>
{this.generateRows()}
</View>
</View>
</View>
</ScrollView>
<View style={{backgroundColor: 'white', position: 'absolute', top: 0, bottom: 0, left: 0, }}>
<View style={{ flex: 1, flexDirection: 'row'}}>
<View style={styles.row}>
<Text></Text>
</View>
</View>
<View style={{height: 1000, width: 40 }}>
{this.generateRowLabels()}
</View>
</View>
</ScrollView>
Run Code Online (Sandbox Code Playgroud) 我正在使用 Node.js 并希望删除我的域的浏览器的所有 cookie。什么是最好的方法来做到这一点?只需将它们设置为过期,还是有其他技巧?