@@ -3,7 +3,6 @@ import {StyleSheet, View} from 'react-native';
33import Layout , { Container } from '../../Layout' ;
44import { Tabs , Icon , IconsName } from '@uiw/react-native' ;
55import { ComProps } from '../../routes' ;
6- import { Text } from 'react-native-svg' ;
76
87const { Header, Body, Card, Footer} = Layout ;
98
@@ -51,7 +50,7 @@ export default class Index extends Component<IndexProps, IndexState> {
5150 iconColor :
5251 this . state . flag === '喜欢' ? this . state . color1 : undefined ,
5352 titleColor :
54- this . state . flag === '喜欢' ? this . state . color1 : undefined , ,
53+ this . state . flag === '喜欢' ? this . state . color1 : undefined ,
5554 } }
5655 border = { this . state . flag === '喜欢' }
5756 onPress = { this . onPress1 }
@@ -60,7 +59,7 @@ export default class Index extends Component<IndexProps, IndexState> {
6059 title = { '关注' }
6160 style = { {
6261 titleColor :
63- this . state . flag === '关注' ? this . state . color1 : undefined , ,
62+ this . state . flag === '关注' ? this . state . color1 : undefined ,
6463 } }
6564 icon = {
6665 < Icon
@@ -81,7 +80,7 @@ export default class Index extends Component<IndexProps, IndexState> {
8180 iconColor :
8281 this . state . flag === '信息' ? this . state . color1 : undefined ,
8382 titleColor :
84- this . state . flag === '信息' ? this . state . color1 : undefined , ,
83+ this . state . flag === '信息' ? this . state . color1 : undefined ,
8584 } }
8685 border = { this . state . flag === '信息' }
8786 onPress = { this . onPress1 }
@@ -99,7 +98,7 @@ export default class Index extends Component<IndexProps, IndexState> {
9998 titleColor :
10099 this . state . flag1 === '喜欢' ? this . state . color1 : undefined ,
101100 borderColor :
102- this . state . flag1 === '喜欢' ? this . state . color1 : undefined , ,
101+ this . state . flag1 === '喜欢' ? this . state . color1 : undefined ,
103102 } }
104103 />
105104 < Tabs . Item
@@ -110,7 +109,7 @@ export default class Index extends Component<IndexProps, IndexState> {
110109 titleColor :
111110 this . state . flag1 === '关注' ? this . state . color1 : undefined ,
112111 borderColor :
113- this . state . flag1 === '关注' ? this . state . color1 : undefined , ,
112+ this . state . flag1 === '关注' ? this . state . color1 : undefined ,
114113 } }
115114 />
116115 < Tabs . Item
@@ -121,7 +120,7 @@ export default class Index extends Component<IndexProps, IndexState> {
121120 titleColor :
122121 this . state . flag1 === '信息' ? this . state . color1 : undefined ,
123122 borderColor :
124- this . state . flag1 === '信息' ? this . state . color1 : undefined , ,
123+ this . state . flag1 === '信息' ? this . state . color1 : undefined ,
125124 } }
126125 />
127126 < Tabs . Item
@@ -132,7 +131,7 @@ export default class Index extends Component<IndexProps, IndexState> {
132131 titleColor :
133132 this . state . flag1 === '我的' ? this . state . color1 : undefined ,
134133 borderColor :
135- this . state . flag1 === '我的' ? this . state . color1 : undefined , ,
134+ this . state . flag1 === '我的' ? this . state . color1 : undefined ,
136135 } }
137136 />
138137 < Tabs . Item
@@ -143,7 +142,7 @@ export default class Index extends Component<IndexProps, IndexState> {
143142 titleColor :
144143 this . state . flag1 === '偏好' ? this . state . color1 : undefined ,
145144 borderColor :
146- this . state . flag1 === '偏好' ? this . state . color1 : undefined , ,
145+ this . state . flag1 === '偏好' ? this . state . color1 : undefined ,
147146 } }
148147 />
149148 </ Tabs >
0 commit comments