Authored by 王海元

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

... ... @@ -71,7 +71,7 @@ export default class AssociatorGift extends Component {
<View style={styles.titleView}>
<View style={styles.titleLine}/>
<View style={styles.ViewForTextStyle}>
<Text style={styles.textStyle}>猜你喜欢</Text>
<Text style={styles.textStyle}>你可能喜欢</Text>
</View>
</View>
<View style={styles.titleBottomLine}/>
... ... @@ -197,10 +197,11 @@ let styles = StyleSheet.create({
},
textStyle: {
fontSize: 16,
fontWeight: 'bold',
},
titleBottomLine: {
width: width,
height: 1,
height: 0.5,
backgroundColor: '#e0e0e0'
},
contentContainer: {
... ...
... ... @@ -98,12 +98,11 @@ class AssociatorGiftContainer extends Component {
_onPressProduct(product, rowId = 0){
let productSkn = product && product.get('product_skn', 0);
let is_global = product && product.get('is_global', 'N');
let product_id = product && product.get('product_id', 0);
let rec_id = product && product.get('rec_id', '');
let params = {
REC_POSE: 100028, //会员中心礼包页面
PRD_ID: product_id,
PRD_ID: productSkn,
PRD_NUM: parseInt(rowId)+1,
ACTION_ID: 1,
REC_ID: rec_id,
... ...
... ... @@ -279,12 +279,12 @@ export function reportFavoriteData(payload) {
let productIDS = '';
if (productList.length > 0) {
let product = productList[0];
let product_id = product.product_id ? product.product_id : '';
let product_id = product.product_skn ? product.product_skn : '';
productIDS = productIDS + product_id;
}
for (var i = 1; i < productList.length; i++) {
let product = productList[i];
let product_id = product.product_id ? product.product_id : '';
let product_id = product.product_skn ? product.product_skn : '';
productIDS = productIDS + ',' + product_id;
}
let param = {
... ...