Authored by 于良

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

@@ -145,19 +145,19 @@ export default class MineListHeader extends React.Component { @@ -145,19 +145,19 @@ export default class MineListHeader extends React.Component {
145 } = this.props; 145 } = this.props;
146 146
147 let oHigh = 0; 147 let oHigh = 0;
148 - if (this.props.certificationInfo && this.props.certificationInfo.isBindedOrRelated === 'N') { 148 + if (profile.uid != '0' && this.props.certificationInfo && this.props.certificationInfo.isBindedOrRelated === 'N') {
149 oHigh = oHigh + subRowHeight; 149 oHigh = oHigh + subRowHeight;
150 } 150 }
151 if (this.props.announcement && this.props.announcement.open === 'Y') { 151 if (this.props.announcement && this.props.announcement.open === 'Y') {
152 oHigh = oHigh + subRowHeight; 152 oHigh = oHigh + subRowHeight;
153 } 153 }
154 - if ((this.props.certificationInfo.isBindedOrRelated === 'N') || (this.props.announcement && this.props.announcement.open === 'Y')) { 154 + if ((profile.uid != '0' && this.props.certificationInfo.isBindedOrRelated === 'N') || (this.props.announcement && this.props.announcement.open === 'Y')) {
155 oHigh = oHigh + 10; 155 oHigh = oHigh + 10;
156 } 156 }
157 - if (this.props.globalOrderData && this.props.globalOrderData.hasOrder === 'Y') {  
158 - oHigh = oHigh + rowheight; 157 + if (profile.uid != '0' && this.props.globalOrderData && this.props.globalOrderData.hasOrder === 'Y') {
  158 + oHigh = oHigh + rowheight + 11;
159 } 159 }
160 - if (this.props.memberBill && this.props.memberBill.bill.open === 'Y') { 160 + if (profile.uid != '0' && this.props.memberBill && this.props.memberBill.bill.open === 'Y') {
161 oHigh = oHigh + rowheight; 161 oHigh = oHigh + rowheight;
162 } 162 }
163 163
@@ -371,7 +371,7 @@ export default class MineListHeader extends React.Component { @@ -371,7 +371,7 @@ export default class MineListHeader extends React.Component {
371 duration={announcement.time} 371 duration={announcement.time}
372 onPressAnnounceItem={(url, i) => this.props.onPressItem('mineAnnounce',url)}/> : null 372 onPressAnnounceItem={(url, i) => this.props.onPressItem('mineAnnounce',url)}/> : null
373 } 373 }
374 - {((certificationInfo.isBindedOrRelated === 'N') || (announcement && announcement.open === 'Y')) ? 374 + {(profile.uid != '0' && (certificationInfo.isBindedOrRelated === 'N') || (announcement && announcement.open === 'Y')) ?
375 <View style={{ 375 <View style={{
376 width: width, 376 width: width,
377 height: 10, 377 height: 10,
@@ -460,7 +460,7 @@ export default class MineListHeader extends React.Component { @@ -460,7 +460,7 @@ export default class MineListHeader extends React.Component {
460 height: 10, 460 height: 10,
461 backgroundColor: '#f0f0f0', 461 backgroundColor: '#f0f0f0',
462 }}/> 462 }}/>
463 - {(globalOrderData && globalOrderData.hasOrder === 'Y') ? 463 + {(profile.uid != '0' && globalOrderData && globalOrderData.hasOrder === 'Y') ?
464 <TouchableOpacity onPress={() => this.props.onPressItem('mineGlobalOrder','')}> 464 <TouchableOpacity onPress={() => this.props.onPressItem('mineGlobalOrder','')}>
465 <View style={styles.row}> 465 <View style={styles.row}>
466 <Image style={styles.row_icon} source={require('../../image/mine_globalpurchase_icon.png')}/> 466 <Image style={styles.row_icon} source={require('../../image/mine_globalpurchase_icon.png')}/>
@@ -597,7 +597,7 @@ export default class MineListHeader extends React.Component { @@ -597,7 +597,7 @@ export default class MineListHeader extends React.Component {
597 </View> 597 </View>
598 </TouchableOpacity> 598 </TouchableOpacity>
599 599
600 - {(memberBill && memberBill.bill && memberBill.bill.open === 'Y') ? 600 + {(profile.uid != '0' && memberBill && memberBill.bill && memberBill.bill.open === 'Y') ?
601 <TouchableOpacity onPress={() => this.props.onPressItem('mineMemberInfo',memberBill.bill.userinfo)}> 601 <TouchableOpacity onPress={() => this.props.onPressItem('mineMemberInfo',memberBill.bill.userinfo)}>
602 <View style={{ 602 <View style={{
603 width: width-50, 603 width: width-50,
@@ -694,7 +694,7 @@ let subRowHeight = Math.ceil(35 * DEVICE_WIDTH_RATIO);//雍ヲ蜿キ螳牙 騾夂衍螻ら @@ -694,7 +694,7 @@ let subRowHeight = Math.ceil(35 * DEVICE_WIDTH_RATIO);//雍ヲ蜿キ螳牙 騾夂衍螻ら
694 694
695 let rowheight = 45;//wo的订单类似的高度,我的逛也用这个高度 695 let rowheight = 45;//wo的订单类似的高度,我的逛也用这个高度
696 let orderContainerHeight = 55; 696 let orderContainerHeight = 55;
697 -let topHeight = 175 + rowheight + orderContainerHeight + 10 + rowheight + orderContainerHeight + 1 + 10 + rowheight * 3 + 100; 697 +let topHeight = 175 + rowheight + orderContainerHeight + 10 + rowheight + orderContainerHeight + 1 + 10 + rowheight * 3 + 91;
698 698
699 let styles = StyleSheet.create({ 699 let styles = StyleSheet.create({
700 container: { 700 container: {