...
|
...
|
@@ -134,8 +134,7 @@ export default class ActivityCell extends React.Component { |
|
|
let title = data.title;
|
|
|
let promotionName = data.promotionName;
|
|
|
let isShow = data.isShow;
|
|
|
let productPoolId = data.productPoolId;
|
|
|
let sort = data.sort;
|
|
|
let id = data.id;
|
|
|
let price = promotionName&&promotionName.length>2?promotionName.substring(0,promotionName.length-2):''
|
|
|
let priceString = promotionName&&promotionName.length>2?promotionName.substring(promotionName.length-2,promotionName.length):''
|
|
|
|
...
|
...
|
@@ -145,7 +144,8 @@ export default class ActivityCell extends React.Component { |
|
|
activeOpacity={1}
|
|
|
style={{width: backgroundWidth, height: backgroundHeight}}
|
|
|
onPress={() => {
|
|
|
this.props.onPressProduct && this.props.onPressProduct();
|
|
|
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.outletactivity","params":{"activity_id":"${id}"}}`;
|
|
|
this.props.onPressProduct && this.props.onPressProduct(url);
|
|
|
}}
|
|
|
>
|
|
|
<YH_Image
|
...
|
...
|
|