优化订单页面

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 }">
{{ typeText }}
</text>
<text class="text">{{ order.username }}-{{ order.cate }}</text>
<text class="text">{{ order.cate }}</text>
</view>
<view class="more">
<text class="text">详情</text>

View File

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

View File

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