优化订单页面

This commit is contained in:
TOP糯米 2023-03-27 00:25:52 +08:00
parent 433a407029
commit 6bb207ff97
3 changed files with 6 additions and 10 deletions

View File

@ -5,7 +5,7 @@
<text class="type" :style="{ backgroundColor: typeTextBg }"> <text class="type" :style="{ backgroundColor: typeTextBg }">
{{ typeText }} {{ typeText }}
</text> </text>
<text class="text">{{ order.username }}-{{ order.cate }}</text> <text class="text">{{ order.cate }}</text>
</view> </view>
<view class="more"> <view class="more">
<text class="text">详情</text> <text class="text">详情</text>

View File

@ -58,8 +58,7 @@ export default {
listType: options.listType, listType: options.listType,
id: item.id, id: item.id,
orderId: item.order, orderId: item.order,
username: "用户名称", cate: item.cate_name,
cate: "待返数据",
content: item.desc, content: item.desc,
createTime: item.time, createTime: item.time,
serviceTime: item.times, serviceTime: item.times,
@ -74,8 +73,7 @@ export default {
listType: options.listType, listType: options.listType,
id: item.id, id: item.id,
orderId: item.order, orderId: item.order,
username: "用户名称", cate: "货运订单",
cate: "待返数据",
content: "", content: "",
createTime: item.times, createTime: item.times,
serviceTime: item.starttime, serviceTime: item.starttime,
@ -104,8 +102,7 @@ export default {
listType: options.listType, listType: options.listType,
id: response.data.id, id: response.data.id,
orderId: response.data.order, orderId: response.data.order,
username: "用户名称", cate: response.data.cate_name,
cate: "待返数据",
content: response.data.desc, content: response.data.desc,
createTime: response.data.time, createTime: response.data.time,
serviceTime: response.data.times, serviceTime: response.data.times,
@ -130,8 +127,7 @@ export default {
listType: options.listType, listType: options.listType,
id: response.data.id, id: response.data.id,
orderId: response.data.order, orderId: response.data.order,
username: "用户名称", cate: "货运订单",
cate: "待返数据",
createTime: response.data.times, createTime: response.data.times,
serviceTime: response.data.starttime, serviceTime: response.data.starttime,
pickupAddress: response.data.address, pickupAddress: response.data.address,

View File

@ -7,7 +7,7 @@
<text class="type" :style="{ backgroundColor: typeTextBg }"> <text class="type" :style="{ backgroundColor: typeTextBg }">
{{ typeText }} {{ typeText }}
</text> </text>
<text class="text">{{ order.username }}-{{ order.cate }}</text> <text class="text">{{ order.cate }}</text>
</view> </view>
<view class="state" :style="{ color: stateTextColor }"> <view class="state" :style="{ color: stateTextColor }">
{{ stateText }} {{ stateText }}