wushaodong 2 жил өмнө
parent
commit
eb2ff25635

+ 2 - 1
jscore/pages/Desktop/Home.js

@@ -352,7 +352,8 @@ class DesktopHome extends Component {
 
 const styles = StyleSheet.create({
     container: {
-        flex: 1
+        flex: 1,
+        backgroundColor:'#fff'
     },
     button: {
         borderRadius: 5,

+ 1 - 1
jscore/pages/Desktop/Set.js

@@ -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}