|
|
@ -77,11 +77,9 @@ const getMemberOrderData = async () => {
|
|
|
|
isFinish.value = true
|
|
|
|
isFinish.value = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
|
|
onMounted(() => {
|
|
|
|
getSettingInfo()
|
|
|
|
getSettingInfo()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
// const handleTimeup = async (item: Object) => {
|
|
|
|
// const handleTimeup = async (item: Object) => {
|
|
|
|
// const order = orderList.value.find((v) => v.id === item.id)
|
|
|
|
// const order = orderList.value.find((v) => v.id === item.id)
|
|
|
|
// order!.unAccept = true
|
|
|
|
// order!.unAccept = true
|
|
|
@ -220,7 +218,7 @@ const getLocationInfo = () => {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -273,22 +271,28 @@ const getAuthorizeInfo = () => {
|
|
|
|
<view class="button" v-else @tap="onOrderPay(item)">结算</view>
|
|
|
|
<view class="button" v-else @tap="onOrderPay(item)">结算</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<navigator
|
|
|
|
<navigator
|
|
|
|
class="order"
|
|
|
|
class="card"
|
|
|
|
:url="`/pages/orderDetail/orderDetail?orderId=${item.id}&orderState=${props.orderState}`"
|
|
|
|
:url="`/pages/orderDetail/orderDetail?orderId=${item.id}&orderState=${props.orderState}`"
|
|
|
|
hover-class="none"
|
|
|
|
hover-class="none"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<view class="meta">
|
|
|
|
<view class="meta">
|
|
|
|
<view class="loction">
|
|
|
|
<view class="meta-item">
|
|
|
|
<image class="img" src="/static/images/loction_home.png" mode="aspectFit" />
|
|
|
|
<view class="icon">
|
|
|
|
|
|
|
|
<uni-icons type="location" color="#3775F6" size="20"></uni-icons>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<view class="text ellipsis">{{ item.recycleAddress }}</view>
|
|
|
|
<view class="text ellipsis">{{ item.recycleAddress }}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="time ellipsis">
|
|
|
|
<view class="meta-item">
|
|
|
|
<image class="img" src="/static/images/time_home.png" mode="aspectFit" />
|
|
|
|
<view class="icon">
|
|
|
|
<view class="text">{{ item.appointmentTime }}</view>
|
|
|
|
<uni-icons type="calendar" color="#3775F6" size="20"></uni-icons>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="text ellipsis">{{ item.appointmentTime }}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="people ellipsis">
|
|
|
|
<view class="meta-item">
|
|
|
|
<image class="img" src="/static/images/iphone_home.png" mode="aspectFit" />
|
|
|
|
<view class="icon">
|
|
|
|
<view class="text">{{ item.clientName }} <text class="iphone">{{ item.clientMobile }}</text></view>
|
|
|
|
<uni-icons type="phone" color="#3775F6" size="20"></uni-icons>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="text phone">{{ item.clientName }} <text class="iphone">{{ item.clientMobile }}</text></view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
</navigator>
|
|
|
@ -379,7 +383,7 @@ const getAuthorizeInfo = () => {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.order {
|
|
|
|
.card {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
padding: 10rpx;
|
|
|
|
padding: 10rpx;
|
|
|
|
|
|
|
|
|
|
|
@ -389,12 +393,11 @@ const getAuthorizeInfo = () => {
|
|
|
|
flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
.loction {
|
|
|
|
.meta-item {
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
margin: 10rpx 0;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
.img {
|
|
|
|
|
|
|
|
width: 40rpx;
|
|
|
|
width: 40rpx;
|
|
|
|
height: 40rpx;
|
|
|
|
height: 40rpx;
|
|
|
|
margin-right: 20rpx;
|
|
|
|
margin-right: 20rpx;
|
|
|
@ -403,44 +406,9 @@ const getAuthorizeInfo = () => {
|
|
|
|
font-size: 28rpx;
|
|
|
|
font-size: 28rpx;
|
|
|
|
color: #3D3D3D;
|
|
|
|
color: #3D3D3D;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.iphone {
|
|
|
|
|
|
|
|
color: #3775f6;
|
|
|
|
.time {
|
|
|
|
margin-left: 10rpx;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
margin: 20rpx 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.img {
|
|
|
|
|
|
|
|
width: 40rpx;
|
|
|
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.text {
|
|
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
|
|
color: #3d3d3d;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.people {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.img {
|
|
|
|
|
|
|
|
width: 36rpx;
|
|
|
|
|
|
|
|
height: 36rpx;
|
|
|
|
|
|
|
|
margin-right: 26rpx;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.text {
|
|
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
|
|
color: #3d3d3d;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.iphone {
|
|
|
|
|
|
|
|
color: #3775f6;
|
|
|
|
|
|
|
|
margin-left: 10rpx;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -482,7 +450,6 @@ const getAuthorizeInfo = () => {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.loading-text {
|
|
|
|
.loading-text {
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 28rpx;
|
|
|
|
font-size: 28rpx;
|
|
|
@ -490,5 +457,4 @@ const getAuthorizeInfo = () => {
|
|
|
|
padding: 20rpx 0;
|
|
|
|
padding: 20rpx 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>import type { debug } from 'console'
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|