Showing
2 changed files
with
17 additions
and
6 deletions
| @@ -96,6 +96,7 @@ export default class Home extends Component { | @@ -96,6 +96,7 @@ export default class Home extends Component { | ||
| 96 | style={{ width: 72, height: 18 }} | 96 | style={{ width: 72, height: 18 }} |
| 97 | /> | 97 | /> |
| 98 | <Text style={styles.midText}>平安保险2017版</Text> | 98 | <Text style={styles.midText}>平安保险2017版</Text> |
| 99 | + <Image source={require("../../assets/Mine/rightArrow_gray.png")} style={styles.midArrow}/> | ||
| 99 | </TouchableOpacity> | 100 | </TouchableOpacity> |
| 100 | <View style={styles.textContainer}> | 101 | <View style={styles.textContainer}> |
| 101 | <Text style={styles.minText}>保险头条</Text> | 102 | <Text style={styles.minText}>保险头条</Text> |
| @@ -135,6 +136,12 @@ const styles = StyleSheet.create({ | @@ -135,6 +136,12 @@ const styles = StyleSheet.create({ | ||
| 135 | // fontFamily: PingFang-SC-Medium, | 136 | // fontFamily: PingFang-SC-Medium, |
| 136 | color: "#202020" | 137 | color: "#202020" |
| 137 | }, | 138 | }, |
| 139 | + midArrow: { | ||
| 140 | + width: 14, | ||
| 141 | + height: 14, | ||
| 142 | + position: "absolute", | ||
| 143 | + right: 15, | ||
| 144 | + }, | ||
| 138 | textContainer: { | 145 | textContainer: { |
| 139 | backgroundColor: "#fff", | 146 | backgroundColor: "#fff", |
| 140 | marginTop: 10, | 147 | marginTop: 10, |
| @@ -80,6 +80,8 @@ export default class Details extends Component { | @@ -80,6 +80,8 @@ export default class Details extends Component { | ||
| 80 | ); | 80 | ); |
| 81 | })} | 81 | })} |
| 82 | </View> | 82 | </View> |
| 83 | + | ||
| 84 | + </ScrollView> | ||
| 83 | {/* 回复框 */} | 85 | {/* 回复框 */} |
| 84 | <View style={styles.sendMsgContaier}> | 86 | <View style={styles.sendMsgContaier}> |
| 85 | <TextInput | 87 | <TextInput |
| @@ -97,7 +99,6 @@ export default class Details extends Component { | @@ -97,7 +99,6 @@ export default class Details extends Component { | ||
| 97 | <Text style={styles.sendButton}>发送</Text> | 99 | <Text style={styles.sendButton}>发送</Text> |
| 98 | </TouchableOpacity> | 100 | </TouchableOpacity> |
| 99 | </View> | 101 | </View> |
| 100 | - </ScrollView> | ||
| 101 | </View> | 102 | </View> |
| 102 | ); | 103 | ); |
| 103 | } | 104 | } |
| @@ -131,6 +132,7 @@ const styles = StyleSheet.create({ | @@ -131,6 +132,7 @@ const styles = StyleSheet.create({ | ||
| 131 | }, | 132 | }, |
| 132 | scrollViewContainer: { | 133 | scrollViewContainer: { |
| 133 | // height: 300, | 134 | // height: 300, |
| 135 | + flex: 1, | ||
| 134 | marginBottom: 64, | 136 | marginBottom: 64, |
| 135 | }, | 137 | }, |
| 136 | titleText: { | 138 | titleText: { |
| @@ -270,11 +272,10 @@ const styles = StyleSheet.create({ | @@ -270,11 +272,10 @@ const styles = StyleSheet.create({ | ||
| 270 | alignItems: "center", | 272 | alignItems: "center", |
| 271 | paddingLeft: 15, | 273 | paddingLeft: 15, |
| 272 | paddingRight: 15, | 274 | paddingRight: 15, |
| 273 | - // height: 48 | 275 | + // height: 48, |
| 274 | - // position: "absolute", | 276 | + position: "absolute", |
| 275 | - // bottom: 60, | 277 | + bottom: 60, |
| 276 | - // right: 0, | 278 | + backgroundColor: "white", |
| 277 | - // backgroundColor: "white", | ||
| 278 | }, | 279 | }, |
| 279 | msgInput: { | 280 | msgInput: { |
| 280 | flex: 7, | 281 | flex: 7, |
| @@ -282,6 +283,9 @@ const styles = StyleSheet.create({ | @@ -282,6 +283,9 @@ const styles = StyleSheet.create({ | ||
| 282 | // color: "#999999", | 283 | // color: "#999999", |
| 283 | }, | 284 | }, |
| 284 | sendButton: { | 285 | sendButton: { |
| 286 | + // borderColor: "#ccc", | ||
| 287 | + borderStyle: "solid", | ||
| 288 | + borderLeftWidth: 0.5, | ||
| 285 | flex: 3, | 289 | flex: 3, |
| 286 | fontSize: 15, | 290 | fontSize: 15, |
| 287 | color: "#1B9341", | 291 | color: "#1B9341", |
-
Please register or login to post a comment