求购价格展示修改 -- reviewed by huangyi
Showing
1 changed file
with
8 additions
and
2 deletions
@@ -12,8 +12,8 @@ | @@ -12,8 +12,8 @@ | ||
12 | <div class="item-info"> | 12 | <div class="item-info"> |
13 | <div> | 13 | <div> |
14 | <div v-if="$route.params.owner === 'buy'" class="price-status"> | 14 | <div v-if="$route.params.owner === 'buy'" class="price-status"> |
15 | - <span class="price">¥{{ order.realPrice }}</span> | ||
16 | - <span class="delivery-fee-tip" >{{order.bidType && (order.statuStr == '求购中' || order.statuStr == '待付定金') ? '' : '(含运费)'}}</span> | 15 | + <span class="price">¥{{specialBid ? goodsInfo.goodPrice : order.realPrice }}</span> |
16 | + <span class="delivery-fee-tip" >{{specialBid ? '' : '(含运费)'}}</span> | ||
17 | </div> | 17 | </div> |
18 | <div v-else class="price-status"> | 18 | <div v-else class="price-status"> |
19 | <span class="price">¥{{ goodsInfo.goodPrice }}</span> | 19 | <span class="price">¥{{ goodsInfo.goodPrice }}</span> |
@@ -56,6 +56,12 @@ export default { | @@ -56,6 +56,12 @@ export default { | ||
56 | params: { code: this.order.orderCode, owner } | 56 | params: { code: this.order.orderCode, owner } |
57 | }; | 57 | }; |
58 | }, | 58 | }, |
59 | + | ||
60 | + specialBid: { | ||
61 | + get() { | ||
62 | + return this.order.bidType && (this.order.statuStr === '求购中' || this.order.statuStr === '待付定金') | ||
63 | + } | ||
64 | + } | ||
59 | } | 65 | } |
60 | }; | 66 | }; |
61 | </script> | 67 | </script> |
-
Please register or login to post a comment