Authored by 于良

Merge branch '5.6.0' of http://git.yoho.cn/mobile/YH_RNComponent into 5.6.0

... ... @@ -27,22 +27,18 @@ export default class AddressCell extends Component {
console.log(this.props.data);
console.log(this.props.channel);
let lineSource = require('../../image/boy_xie.png');
switch (this.props.channel) {
case 1:
lineSource = require('../../image/boy_xie.png');
break;
case 2:
lineSource = require('../../image/girl_xie.png');
break;
case 3:
lineSource = require('../../image/kids_xie.png');
break;
case 4:
lineSource = require('../../image/lifestlye_xie.png');
break;
default:
console.log('lalalalalal');
console.log(this.props.channel);
if (this.props.channel == 1) {
lineSource = require('../../image/boy_xie.png');
} else if (this.props.channel == 2) {
lineSource = require('../../image/girl_xie.png');
} else if (this.props.channel == 3) {
lineSource = require('../../image/kids_xie.png');
} else if (this.props.channel == 4) {
lineSource = require('../../image/lifestlye_xie.png');
}
return (
<View style={[styles.container]}>
<View style={styles.topPart}>
... ...