|
|
@@ -26,14 +26,14 @@ |
|
|
|
<view class="order-line" v-for="(item,index) in state.orderShowInfo" :key="index"> |
|
|
|
<order-info-item :label="item.label" :value="item.value"></order-info-item> |
|
|
|
</view> |
|
|
|
<view class="order-line" v-for="(item,index) in state.orderHideInfo" :key="index"> |
|
|
|
<!-- <view class="order-line" v-for="(item,index) in state.orderHideInfo" :key="index"> |
|
|
|
<order-info-item :label="item.label" :value="item.value"></order-info-item> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<view class="show-or-noshow as-layout-horizontal as-gravity-center" @click="state.isShow = !state.isShow"> |
|
|
|
<!-- <view class="show-or-noshow as-layout-horizontal as-gravity-center" @click="state.isShow = !state.isShow"> |
|
|
|
<text>{{state.isShow?"收起部分订单信息":"查看全部订单信息"}}</text> |
|
|
|
<image class="arror" :src="`${$imgUrl}common/arror-${state.isShow? 'right' : 'down'}.png`"></image> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
@@ -84,6 +84,18 @@ |
|
|
|
label: '订单状态:', |
|
|
|
value: '' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建时间:', |
|
|
|
value: '' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物流单号:', |
|
|
|
value: '' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物流公司:', |
|
|
|
value: '' |
|
|
|
}, |
|
|
|
], |
|
|
|
//隐藏部分订单信息 |
|
|
|
orderHideInfo: [{ |
|
|
@@ -147,9 +159,9 @@ |
|
|
|
state.orderShowInfo[4].value = getCarTypeName(state.orderInfo["type"]) |
|
|
|
state.orderShowInfo[5].value = getOrderStatusName(state.orderInfo['orderStep']) |
|
|
|
|
|
|
|
state.orderHideInfo[0].value = getOrderTime(state.orderInfo['insertTime']) |
|
|
|
state.orderHideInfo[1].value = state.orderInfo['trackingNumber'] |
|
|
|
state.orderHideInfo[2].value = state.orderInfo['courierCompany'] |
|
|
|
state.orderShowInfo[6].value = getOrderTime(state.orderInfo['insertTime']) |
|
|
|
state.orderShowInfo[7].value = state.orderInfo['trackingNumber'] |
|
|
|
state.orderShowInfo[8].value = state.orderInfo['courierCompany'] |
|
|
|
}) |
|
|
|
</script> |
|
|
|
|
|
|
@@ -217,10 +229,10 @@ |
|
|
|
padding: 28rpx 30rpx 0; |
|
|
|
} |
|
|
|
|
|
|
|
.order-box { |
|
|
|
height: 380rpx; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
// .order-box { |
|
|
|
// height: 380rpx; |
|
|
|
// overflow: hidden; |
|
|
|
// } |
|
|
|
|
|
|
|
.show { |
|
|
|
height: auto; |