Authored by 王海元

会员礼包UI调整 --review by 孙凯

@@ -71,7 +71,7 @@ export default class AssociatorGift extends Component { @@ -71,7 +71,7 @@ export default class AssociatorGift extends Component {
71 <View style={styles.titleView}> 71 <View style={styles.titleView}>
72 <View style={styles.titleLine}/> 72 <View style={styles.titleLine}/>
73 <View style={styles.ViewForTextStyle}> 73 <View style={styles.ViewForTextStyle}>
74 - <Text style={styles.textStyle}>猜你喜欢</Text> 74 + <Text style={styles.textStyle}>你可能喜欢</Text>
75 </View> 75 </View>
76 </View> 76 </View>
77 <View style={styles.titleBottomLine}/> 77 <View style={styles.titleBottomLine}/>
@@ -197,10 +197,11 @@ let styles = StyleSheet.create({ @@ -197,10 +197,11 @@ let styles = StyleSheet.create({
197 }, 197 },
198 textStyle: { 198 textStyle: {
199 fontSize: 16, 199 fontSize: 16,
  200 + fontWeight: 'bold',
200 }, 201 },
201 titleBottomLine: { 202 titleBottomLine: {
202 width: width, 203 width: width,
203 - height: 1, 204 + height: 0.5,
204 backgroundColor: '#e0e0e0' 205 backgroundColor: '#e0e0e0'
205 }, 206 },
206 contentContainer: { 207 contentContainer: {
@@ -98,12 +98,11 @@ class AssociatorGiftContainer extends Component { @@ -98,12 +98,11 @@ class AssociatorGiftContainer extends Component {
98 _onPressProduct(product, rowId = 0){ 98 _onPressProduct(product, rowId = 0){
99 let productSkn = product && product.get('product_skn', 0); 99 let productSkn = product && product.get('product_skn', 0);
100 let is_global = product && product.get('is_global', 'N'); 100 let is_global = product && product.get('is_global', 'N');
101 - let product_id = product && product.get('product_id', 0);  
102 let rec_id = product && product.get('rec_id', ''); 101 let rec_id = product && product.get('rec_id', '');
103 102
104 let params = { 103 let params = {
105 REC_POSE: 100028, //会员中心礼包页面 104 REC_POSE: 100028, //会员中心礼包页面
106 - PRD_ID: product_id, 105 + PRD_ID: productSkn,
107 PRD_NUM: parseInt(rowId)+1, 106 PRD_NUM: parseInt(rowId)+1,
108 ACTION_ID: 1, 107 ACTION_ID: 1,
109 REC_ID: rec_id, 108 REC_ID: rec_id,
@@ -279,12 +279,12 @@ export function reportFavoriteData(payload) { @@ -279,12 +279,12 @@ export function reportFavoriteData(payload) {
279 let productIDS = ''; 279 let productIDS = '';
280 if (productList.length > 0) { 280 if (productList.length > 0) {
281 let product = productList[0]; 281 let product = productList[0];
282 - let product_id = product.product_id ? product.product_id : ''; 282 + let product_id = product.product_skn ? product.product_skn : '';
283 productIDS = productIDS + product_id; 283 productIDS = productIDS + product_id;
284 } 284 }
285 for (var i = 1; i < productList.length; i++) { 285 for (var i = 1; i < productList.length; i++) {
286 let product = productList[i]; 286 let product = productList[i];
287 - let product_id = product.product_id ? product.product_id : ''; 287 + let product_id = product.product_skn ? product.product_skn : '';
288 productIDS = productIDS + ',' + product_id; 288 productIDS = productIDS + ',' + product_id;
289 } 289 }
290 let param = { 290 let param = {