...
|
...
|
@@ -7,6 +7,7 @@ import GroupProductCell from './GroupProductCell'; |
|
|
import GroupDetailHeader from './GroupDetailHeader';
|
|
|
import YH_Image from '../../common/components/YH_Image';
|
|
|
import {getSlicedUrl} from '../../classify/utils/Utils';
|
|
|
const {YH_CommonHelper} = NativeModules;
|
|
|
|
|
|
export default class GroupPurchaseDetail extends Component {
|
|
|
constructor(props) {
|
...
|
...
|
@@ -58,8 +59,9 @@ export default class GroupPurchaseDetail extends Component { |
|
|
return(
|
|
|
<View style={{width:width, height:70*DEVICE_WIDTH_RATIO+8, backgroundColor:'#f0f0f0'}}>
|
|
|
<View style={{width:width, height:70*DEVICE_WIDTH_RATIO}}>
|
|
|
<TouchableOpacity activeOpacity={1} onPress={() => {
|
|
|
<TouchableOpacity yh_exposureData={resourceData.yh_exposureData} activeOpacity={1} onPress={() => {
|
|
|
this.props.didTouchBanner && this.props.didTouchBanner(url);
|
|
|
YH_CommonHelper.logEvent('YB_GROUP_DEATIL_BANNER_C', resourceData.yh_exposureData);
|
|
|
}}>
|
|
|
<YH_Image style={{width: '100%', height: '100%'}} url={src}></YH_Image>
|
|
|
</TouchableOpacity>
|
...
|
...
|
@@ -107,6 +109,7 @@ export default class GroupPurchaseDetail extends Component { |
|
|
ref={(c) => {
|
|
|
this.listView = c;
|
|
|
}}
|
|
|
yh_viewVisible = {true}
|
|
|
enableEmptySections={true}
|
|
|
dataSource={this.dataSource.cloneWithRowsAndSections(dataSource)}
|
|
|
renderRow={this._renderRow}
|
...
|
...
|
|