@@ -352,7 +352,8 @@ class DesktopHome extends Component {
const styles = StyleSheet.create({
container: {
- flex: 1
+ flex: 1,
+ backgroundColor:'#fff'
},
button: {
borderRadius: 5,
@@ -73,7 +73,7 @@ class SetPower extends Component {
render() {
return (
<Provider>
- <View style={{margin: 10}}>
+ <View style={{padding: 10, backgroundColor:'#fff'}}>
<Text style={styles.font14}>当前功率:{this.state.power}</Text>
<Slider
value={this.state.power}