Authored by 石坚

camel个人中心

... ... @@ -91,7 +91,7 @@ const getUserReturn = (uid, page) => {
} : false;
data.list.forEach(item => {
item.orderGoods = item.goods;
item.order_goods = item.goods;
item.createTime = item.order_create_time;
item.hidePrice = true;
item.showStatus = true;
... ... @@ -101,9 +101,9 @@ const getUserReturn = (uid, page) => {
});
item.type = typeIndex[item.refund_type];
item.orderGoods.forEach(good => {
item.order_goods.forEach(good => {
let cnAlphabet = good.cn_alphabet ? good.cn_alphabet : '';
good.hidePrice = true;
good.goodUrl = helpers.urlFormat(`/product/pro_${good.product_id}_${good.goods_id}/${cnAlphabet}.html`); // eslint-disable-line
});
... ...
... ... @@ -44,7 +44,7 @@
{{/ promotion_formulas }}
<p class="payment-amount">
<span class="tip">实付金额:</span>
<span class="amount">¥{{promotion_amount}}</span>
<span class="amount">¥{{payment_amount}}</span>
</p>
{{#if showPaid}}
<p class="paid">
... ...