ReactNative-样式 By Dear宅学长 发表于 2015-11-24 文章目录 1. 声明2. 使用 声明123456789var styles = StyleSheet.create({ base: { width:38, height:38, }, background:{ backgroundColor:"# 222222", },}) 使用123<Text style={styles.base} /><View style={styles.background} /><View style={[styles.base,style.background]} /> //可以接受多个style属性