|
|
|
@ -1,11 +1,17 @@ |
|
|
|
<template> |
|
|
|
<view class="my-offer"> |
|
|
|
<uni-nav-bar left-icon="back" @clickLeft="back" statusBar fixed title="我的报价"></uni-nav-bar> |
|
|
|
<view> |
|
|
|
<uni-nav-bar left-icon="back" @clickLeft="back" statusBar fixed title=""> |
|
|
|
<view class="my-offer-title">我的报价</view> |
|
|
|
<view slot="left"></view> |
|
|
|
<view slot="right"></view> |
|
|
|
</uni-nav-bar> |
|
|
|
</view> |
|
|
|
<scroll-list style="touch-action: none" ref="orderRef" :option="orderOption" @load="orderUp" @refresh="orderDown"> |
|
|
|
<view v-for="(items,index) in orderData" :key="index" @click="myPriceInfo(items)"> |
|
|
|
<view class="list-border list-title-line"> |
|
|
|
<text class="list-title">广州民族印刷有限公司</text> |
|
|
|
<text class="list-title-Subtitle">{{ items.orderStatus }}</text> |
|
|
|
<text class="list-title-Subtitle">{{controlItems[items.orderStatus -1] }}</text> |
|
|
|
</view> |
|
|
|
<view class="list-border list-info-line" v-for="(item, index) in items.orderItemList" :key="index"> |
|
|
|
<view class="list-info" :class="index===items.orderItemList.length?'list-border':''"> |
|
|
|
@ -57,7 +63,7 @@ export default { |
|
|
|
}, |
|
|
|
orderData: [], |
|
|
|
controlCurrent:0, |
|
|
|
controlItems: ['全部', '待确认', '待发货', '已完成'], |
|
|
|
controlItems: ['待付款', '待发货', '待收货', '已完成','已关闭'], |
|
|
|
orderOption: { |
|
|
|
size: 10, |
|
|
|
auto: true, |
|
|
|
@ -73,10 +79,9 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
filters:{ |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
// queryOrderData(value) { |
|
|
|
// console.log('value', value) |
|
|
|
// }, |
|
|
|
orderParams: { |
|
|
|
handler(val) { |
|
|
|
this.getTradingQurty() |
|
|
|
@ -159,6 +164,15 @@ export default { |
|
|
|
padding-left: 48rpx; |
|
|
|
background: #FFFFFF; |
|
|
|
} |
|
|
|
.my-offer-title { |
|
|
|
width: 100%; |
|
|
|
font-family: PingFangSC-Medium; |
|
|
|
font-size: 36rpx; |
|
|
|
color: #000000; |
|
|
|
letter-spacing: 0; |
|
|
|
text-align: center; |
|
|
|
font-weight: 500; |
|
|
|
} |
|
|
|
.list-title { |
|
|
|
font-family: PingFangSC-Semibold; |
|
|
|
font-size: 30rpx; |
|
|
|
|