Commit c00c2580982ee60f8df451af7ac431851767db18
1 parent
7c039b6f9a
Exists in
master
规格样式修改
Showing
1 changed file
with
9 additions
and
9 deletions
Show diff stats
src/pages/myOrderPaying/myOrderPaying.vue
| ... | ... | @@ -69,15 +69,14 @@ |
| 69 | 69 | ></image> |
| 70 | 70 | <view class="order-info-head-r"> |
| 71 | 71 | <text class="p1">{{orderInfoListItem.p_name}}</text> |
| 72 | - <view | |
| 73 | - class="p2" | |
| 74 | - style="margin: 0;" | |
| 75 | - > | |
| 76 | - <!-- {{index}} --> | |
| 77 | - {{skuList[index] ? skuList[0].sku_name.replace('_', '/') : ''}} | |
| 78 | - <!-- {{skuList.length === 0 ? '' : skuList[0].sku_name.replace('_', '/')}} --> | |
| 79 | - <!-- <view class="arrow"></view> --> | |
| 80 | - </view> | |
| 72 | + <template v-if="orderInfoList.length === 1"> | |
| 73 | + <view | |
| 74 | + class="p2" | |
| 75 | + style="margin: 0;" | |
| 76 | + > | |
| 77 | + {{skuList[0] ? skuList[0].sku_name.replace('_', '/') : ''}} | |
| 78 | + </view> | |
| 79 | + </template> | |
| 81 | 80 | <view class="infoText-bottom"> |
| 82 | 81 | <view class="markPrice">¥{{Number(orderInfoListItem.nowPrice)/100}}</view> |
| 83 | 82 | <view class="buy-num">X {{orderInfoListItem.num}}</view> |
| ... | ... | @@ -167,6 +166,7 @@ export default { |
| 167 | 166 | lefttime: 0, |
| 168 | 167 | isPay: 0, |
| 169 | 168 | totalPrice: 0, |
| 169 | + index: 0, | |
| 170 | 170 | } |
| 171 | 171 | }, |
| 172 | 172 | async onLoad ({ payId, status, isPay }) { | ... | ... |