Authored by 张文文

有赚ui修改

@@ -86,7 +86,7 @@ export default class BankCard extends Component { @@ -86,7 +86,7 @@ export default class BankCard extends Component {
86 if (this.state.isShow) { 86 if (this.state.isShow) {
87 return ( 87 return (
88 <View> 88 <View>
89 - <Text style={[styles.wordText, {color: '#444444', marginTop: 24, marginLeft: 15, marginBottom: 10}]}>请添加持卡人本人的银行卡</Text> 89 + <Text style={[styles.tipTextText, {marginTop: 10, marginLeft: 15, marginBottom: 10}]}>请添加持卡人本人的银行卡</Text>
90 <View style={styles.inputView}> 90 <View style={styles.inputView}>
91 <Text style={[styles.wordText, {width: 76, color: '#444444'}]}>持卡人</Text> 91 <Text style={[styles.wordText, {width: 76, color: '#444444'}]}>持卡人</Text>
92 <TextInput 92 <TextInput
@@ -155,7 +155,7 @@ export default class BankCard extends Component { @@ -155,7 +155,7 @@ export default class BankCard extends Component {
155 underlineColorAndroid='transparent' 155 underlineColorAndroid='transparent'
156 onChangeText={(cardNo) => {this.setState({cardNo});}}/> 156 onChangeText={(cardNo) => {this.setState({cardNo});}}/>
157 </View> 157 </View>
158 - <Text style={[styles.wordText, {color: '#D0021B', marginTop: 16, marginLeft: 15, marginBottom: 10}]}>{checkMessage}</Text> 158 + <Text style={[styles.wordText, {color: '#D0021B', marginTop: 10, marginLeft: 15, marginBottom: 10}]}>{checkMessage}</Text>
159 <TouchableOpacity style={styles.submitBtn} activeOpacity={0.8} onPress={() => { 159 <TouchableOpacity style={styles.submitBtn} activeOpacity={0.8} onPress={() => {
160 this.checkInfo(); 160 this.checkInfo();
161 }}> 161 }}>
@@ -250,6 +250,12 @@ let styles = StyleSheet.create({ @@ -250,6 +250,12 @@ let styles = StyleSheet.create({
250 height: 0.5, 250 height: 0.5,
251 backgroundColor: '#e0e0e0' 251 backgroundColor: '#e0e0e0'
252 }, 252 },
  253 + tipTextText: {
  254 + fontFamily: 'PingFang-SC-Regular',
  255 + fontSize: 12,
  256 + color: '#B0B0B0',
  257 + letterSpacing: -0.19,
  258 + },
253 wordText: { 259 wordText: {
254 fontFamily: 'PingFang-SC-Regular', 260 fontFamily: 'PingFang-SC-Regular',
255 fontSize: 14, 261 fontSize: 14,
@@ -286,15 +292,15 @@ let styles = StyleSheet.create({ @@ -286,15 +292,15 @@ let styles = StyleSheet.create({
286 }, 292 },
287 inputView: { 293 inputView: {
288 width: width, 294 width: width,
289 - height: 44, 295 + height: 50,
290 paddingLeft: 15, 296 paddingLeft: 15,
291 flexDirection: 'row', 297 flexDirection: 'row',
292 backgroundColor: 'white', 298 backgroundColor: 'white',
293 alignItems: 'center', 299 alignItems: 'center',
294 }, 300 },
295 arrowImage: { 301 arrowImage: {
296 - width: 16,  
297 - height: 16, 302 + width: 11,
  303 + height: 11,
298 marginLeft: 2, 304 marginLeft: 2,
299 }, 305 },
300 markImage: { 306 markImage: {
@@ -306,7 +312,7 @@ let styles = StyleSheet.create({ @@ -306,7 +312,7 @@ let styles = StyleSheet.create({
306 width: width - 30, 312 width: width - 30,
307 marginLeft: 15, 313 marginLeft: 15,
308 marginRight: 15, 314 marginRight: 15,
309 - height: 50, 315 + height: 44,
310 borderRadius: 4, 316 borderRadius: 4,
311 alignItems: 'center', 317 alignItems: 'center',
312 justifyContent: 'center', 318 justifyContent: 'center',
@@ -43,7 +43,7 @@ export default class CheckSettleModal extends React.Component { @@ -43,7 +43,7 @@ export default class CheckSettleModal extends React.Component {
43 }}> 43 }}>
44 <Text style={{marginTop: 15}}> 44 <Text style={{marginTop: 15}}>
45 <Text style={styles.tipText}>结算收益时需按照国家规定预扣个税,点击查看</Text> 45 <Text style={styles.tipText}>结算收益时需按照国家规定预扣个税,点击查看</Text>
46 - <Text style={[styles.tipText, {color:'blue'}]}>《提现扣税规则说明》</Text> 46 + <Text style={[styles.tipText, {color:'#4a90e2'}]}>《提现扣税规则说明》</Text>
47 </Text> 47 </Text>
48 </TouchableOpacity> 48 </TouchableOpacity>
49 </View> 49 </View>
@@ -127,11 +127,15 @@ let styles = StyleSheet.create({ @@ -127,11 +127,15 @@ let styles = StyleSheet.create({
127 fontFamily: 'PingFang-SC-Medium', 127 fontFamily: 'PingFang-SC-Medium',
128 fontSize: 14, 128 fontSize: 14,
129 color: '#D0021B', 129 color: '#D0021B',
  130 + lineHeight: 23,
  131 + letterSpacing: -0.09,
130 }, 132 },
131 priceText: { 133 priceText: {
132 fontFamily: 'PingFang-SC-Regular', 134 fontFamily: 'PingFang-SC-Regular',
133 fontSize: 14, 135 fontSize: 14,
134 - color: '#444444', 136 + color: '#B0B0B0',
  137 + lineHeight: 23,
  138 + letterSpacing: -0.09,
135 }, 139 },
136 tipText: { 140 tipText: {
137 fontFamily: 'PingFang-SC-Regular', 141 fontFamily: 'PingFang-SC-Regular',
@@ -227,8 +227,8 @@ let styles = StyleSheet.create({ @@ -227,8 +227,8 @@ let styles = StyleSheet.create({
227 color: '#444444', 227 color: '#444444',
228 }, 228 },
229 arrowImage: { 229 arrowImage: {
230 - width: 16,  
231 - height: 16, 230 + width: 11,
  231 + height: 11,
232 marginLeft: 2, 232 marginLeft: 2,
233 }, 233 },
234 contentContainer: { 234 contentContainer: {
@@ -39,6 +39,7 @@ export default class NameAuthen extends Component { @@ -39,6 +39,7 @@ export default class NameAuthen extends Component {
39 39
40 renderHeader(title) { 40 renderHeader(title) {
41 return <View style={styles.headerDetailContainer}> 41 return <View style={styles.headerDetailContainer}>
  42 + <View style={{width: width, height: 0.5, backgroundColor: '#e0e0e0'}}/>
42 <Text style={styles.headerTitle} numberOfLines={1}>{title}</Text> 43 <Text style={styles.headerTitle} numberOfLines={1}>{title}</Text>
43 </View> 44 </View>
44 } 45 }
@@ -77,9 +78,9 @@ export default class NameAuthen extends Component { @@ -77,9 +78,9 @@ export default class NameAuthen extends Component {
77 } 78 }
78 }}> 79 }}>
79 {hasImage ? 80 {hasImage ?
80 - <YH_Image resizeMode="contain" url={imageUrl} style={[styles.viewImage, {backgroundColor: 'transparent', borderWidth: 0,}]}/> 81 + <YH_Image resizeMode="contain" url={imageUrl} style={styles.leftViewImage}/>
81 : 82 :
82 - <Image style={styles.viewImage} resizeMode={'contain'} source={addImage}/> 83 + <Image resizeMode={'contain'} source={addImage} style={isBack ? styles.rightViewImage : styles.leftViewImage}/>
83 } 84 }
84 </TouchableOpacity> 85 </TouchableOpacity>
85 <TouchableOpacity hitSlop={{top: 3, left: 3, bottom: 3, right: 3}} activeOpacity={1.0} style={styles.addImageClose} 86 <TouchableOpacity hitSlop={{top: 3, left: 3, bottom: 3, right: 3}} activeOpacity={1.0} style={styles.addImageClose}
@@ -199,18 +200,19 @@ export default class NameAuthen extends Component { @@ -199,18 +200,19 @@ export default class NameAuthen extends Component {
199 {this.renderMeritCell('身份证信息需与提现银行卡信息匹配,否则无法正常提现成功。')} 200 {this.renderMeritCell('身份证信息需与提现银行卡信息匹配,否则无法正常提现成功。')}
200 201
201 {this.renderIDCardAddDetailCell()} 202 {this.renderIDCardAddDetailCell()}
202 - </ScrollView>  
203 203
204 - <TouchableOpacity style={[styles.submitButton, buttonDisabled ? styles.disabledButton : {}]}  
205 - disabled={buttonDisabled}  
206 - onPress={()=> {  
207 - if (this.state.backIDCardImageUri.length > 0 && this.state.frontIDCardImageUri.length > 0) {  
208 - this.props.bindIdentityCard && this.props.bindIdentityCard(this.state.frontIDCardImageUri, this.state.backIDCardImageUri); 204 + <TouchableOpacity style={[styles.submitButton, buttonDisabled ? styles.disabledButton : {}]}
  205 + disabled={buttonDisabled}
  206 + onPress={()=> {
  207 + if (this.state.backIDCardImageUri.length > 0 && this.state.frontIDCardImageUri.length > 0) {
  208 + this.props.bindIdentityCard && this.props.bindIdentityCard(this.state.frontIDCardImageUri, this.state.backIDCardImageUri);
209 209
210 - }  
211 - }}>  
212 - <Text style={styles.buttonText}>{'提交'}</Text>  
213 - </TouchableOpacity> 210 + }
  211 + }}>
  212 + <Text style={styles.buttonText}>{'提交'}</Text>
  213 + </TouchableOpacity>
  214 +
  215 + </ScrollView>
214 216
215 {isShowToast ? <Prompt 217 {isShowToast ? <Prompt
216 text={toastMessage} 218 text={toastMessage}
@@ -247,6 +249,7 @@ let styles = StyleSheet.create({ @@ -247,6 +249,7 @@ let styles = StyleSheet.create({
247 fontSize: 17, 249 fontSize: 17,
248 color: '#444444', 250 color: '#444444',
249 letterSpacing: 0, 251 letterSpacing: 0,
  252 + fontWeight: 'bold',
250 }, 253 },
251 meritCell: { 254 meritCell: {
252 marginTop: 10, 255 marginTop: 10,
@@ -300,8 +303,9 @@ let styles = StyleSheet.create({ @@ -300,8 +303,9 @@ let styles = StyleSheet.create({
300 submitButton: { 303 submitButton: {
301 marginLeft: 15, 304 marginLeft: 15,
302 marginRight: 15, 305 marginRight: 15,
303 - marginBottom: 33, 306 + marginTop: 44,
304 height: 44, 307 height: 44,
  308 + borderRadius: 4,
305 backgroundColor: '#002B47', 309 backgroundColor: '#002B47',
306 alignItems: 'center', 310 alignItems: 'center',
307 justifyContent: 'center', 311 justifyContent: 'center',
@@ -321,12 +325,20 @@ let styles = StyleSheet.create({ @@ -321,12 +325,20 @@ let styles = StyleSheet.create({
321 }, 325 },
322 renderIDCardAddCellImage: { 326 renderIDCardAddCellImage: {
323 width: (width-30)/2, 327 width: (width-30)/2,
324 - alignItems: 'center'  
325 }, 328 },
326 - viewImage: { 329 + leftViewImage: {
327 width: (width-50)/2, 330 width: (width-50)/2,
328 height: 101, 331 height: 101,
329 marginTop: 5, 332 marginTop: 5,
  333 + marginLeft: 0,
  334 + backgroundColor: 'transparent',
  335 + },
  336 + rightViewImage: {
  337 + width: (width-50)/2,
  338 + height: 101,
  339 + marginTop: 5,
  340 + marginLeft: 10,
  341 + backgroundColor: 'transparent'
330 }, 342 },
331 addImage: { 343 addImage: {
332 height: 30, 344 height: 30,
@@ -340,8 +352,9 @@ let styles = StyleSheet.create({ @@ -340,8 +352,9 @@ let styles = StyleSheet.create({
340 left: (width-50)/2-6, 352 left: (width-50)/2-6,
341 }, 353 },
342 renderIDCardSampleCellImage: { 354 renderIDCardSampleCellImage: {
343 - width: 80, 355 + width: (width-30)/2,
344 marginTop: 30, 356 marginTop: 30,
  357 + alignItems: 'center'
345 }, 358 },
346 cardImage: { 359 cardImage: {
347 width: 80, 360 width: 80,
@@ -30,6 +30,8 @@ export default class WithdrawalRecord extends Component { @@ -30,6 +30,8 @@ export default class WithdrawalRecord extends Component {
30 let uploadStatus = this.props.identityCardInfo.data; 30 let uploadStatus = this.props.identityCardInfo.data;
31 return (<View> 31 return (<View>
32 32
  33 + <View style={{width: width, height: 0.5, backgroundColor: '#e0e0e0'}}/>
  34 +
33 { uploadStatus ? 35 { uploadStatus ?
34 null 36 null
35 : 37 :
@@ -44,8 +46,8 @@ export default class WithdrawalRecord extends Component { @@ -44,8 +46,8 @@ export default class WithdrawalRecord extends Component {
44 } 46 }
45 47
46 <View style={styles.withdrawContainer}> 48 <View style={styles.withdrawContainer}>
47 - <Text style={styles.tipStyle}>{'每月20日结算上个月预估佣金并预扣个税'}</Text>  
48 - <TouchableOpacity style={{flexDirection: 'row', alignItems: 'center'}} onPress={()=> { 49 + <Text style={[styles.tipStyle, {marginTop: 15}]}>{'每月20日结算上个月预估佣金并预扣个税'}</Text>
  50 + <TouchableOpacity style={{flexDirection: 'row', alignItems: 'center', marginTop: 8}} onPress={()=> {
49 this.props.jumpWithActivityUrl && this.props.jumpWithActivityUrl(); 51 this.props.jumpWithActivityUrl && this.props.jumpWithActivityUrl();
50 }}> 52 }}>
51 <Text style={styles.tipStyle}>{'结算说明 '}</Text> 53 <Text style={styles.tipStyle}>{'结算说明 '}</Text>
@@ -65,7 +67,7 @@ export default class WithdrawalRecord extends Component { @@ -65,7 +67,7 @@ export default class WithdrawalRecord extends Component {
65 <Text style={styles.numberText}>处理编号:{rowData.get("settlementCode")}</Text> 67 <Text style={styles.numberText}>处理编号:{rowData.get("settlementCode")}</Text>
66 <Text style={styles.statusText}>{rowData.get("settlementStatus")}</Text> 68 <Text style={styles.statusText}>{rowData.get("settlementStatus")}</Text>
67 </View> 69 </View>
68 - <View style={{width: width, height: 0.5, backgroundColor: '#f0f0f0'}}></View> 70 + <View style={{width: width, height: 0.5, backgroundColor: '#e0e0e0'}}></View>
69 <View style={styles.detailView}> 71 <View style={styles.detailView}>
70 <Text> 72 <Text>
71 <Text style={styles.priceText}>税后总收益:</Text> 73 <Text style={styles.priceText}>税后总收益:</Text>
@@ -136,7 +138,7 @@ let styles = StyleSheet.create({ @@ -136,7 +138,7 @@ let styles = StyleSheet.create({
136 }, 138 },
137 detailView: { 139 detailView: {
138 width: width, 140 width: width,
139 - paddingTop: 9, 141 + paddingTop: 15,
140 paddingLeft: 15, 142 paddingLeft: 15,
141 paddingRight: 15, 143 paddingRight: 15,
142 paddingBottom: 20, 144 paddingBottom: 20,
@@ -168,12 +170,10 @@ let styles = StyleSheet.create({ @@ -168,12 +170,10 @@ let styles = StyleSheet.create({
168 }, 170 },
169 statusText: { 171 statusText: {
170 fontFamily: 'PingFang-SC-Regular', 172 fontFamily: 'PingFang-SC-Regular',
171 - fontSize: 12, 173 + fontSize: 14,
172 color: '#D0021B', 174 color: '#D0021B',
173 - letterSpacing: -0.29,  
174 }, 175 },
175 176
176 -  
177 uploadContainer: { 177 uploadContainer: {
178 width: width, 178 width: width,
179 backgroundColor: 'transparent', 179 backgroundColor: 'transparent',
@@ -195,7 +195,7 @@ let styles = StyleSheet.create({ @@ -195,7 +195,7 @@ let styles = StyleSheet.create({
195 width: 80, 195 width: 80,
196 height: 30, 196 height: 30,
197 marginTop: 10, 197 marginTop: 10,
198 - borderRadius: 5, 198 + borderRadius: 4,
199 backgroundColor: '#D0021B', 199 backgroundColor: '#D0021B',
200 alignItems: 'center', 200 alignItems: 'center',
201 justifyContent: 'center', 201 justifyContent: 'center',
@@ -220,6 +220,5 @@ let styles = StyleSheet.create({ @@ -220,6 +220,5 @@ let styles = StyleSheet.create({
220 color: '#B0B0B0', 220 color: '#B0B0B0',
221 backgroundColor: 'transparent', 221 backgroundColor: 'transparent',
222 textAlign: 'center', 222 textAlign: 'center',
223 - lineHeight: 40,  
224 }, 223 },
225 }); 224 });