From e4233b5c4e123c4b79a38d0a9b0c8b60631e1683 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 30 七月 2024 10:40:24 +0800
Subject: [PATCH] update
---
pages/order/order.vue | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/pages/order/order.vue b/pages/order/order.vue
index 33e9d8c..cc58a38 100644
--- a/pages/order/order.vue
+++ b/pages/order/order.vue
@@ -12,7 +12,7 @@
{name: '待发货', value: 'SEND'},
{name: '待收货', value: 'RECEIVE'},
{name: '待评价', value: 'EVALUATE'},
- {name: '售后', value: 'COMPLETED'},
+ {name: '已完成', value: 'COMPLETED'},
{name: '已退款', value: 'REFUND'},
]
};
@@ -34,8 +34,9 @@
methods: {
toDetail(item) {
// 订单详情页面
+ console.log(' toDetail item',item)
uni.navigateTo({
- url: 'pages/order/order-detail?id=' + item.id
+ url: '/pages/order/order-detail?id=' + item.id
})
},
},
@@ -48,7 +49,7 @@
<view class="flex">
<image class="image img100"
src="https://hmy-flower.oss-cn-shanghai.aliyuncs.com/67/67acf980f310460a97d305c6ffc7e811位图@2x (1).png"></image>
- <view>消费订单:¥<span>{{ '0' }}</span> 总消费:¥<span>{{ '0' }}</span></view>
+ <view>消费订单:¥<span class="m-r-10">{{ '0' }}</span> 总消费:¥<span>{{ '0' }}</span></view>
</view>
</view>
<view class="status-list m-t-12 flex flex-wrap-normal">
@@ -113,6 +114,8 @@
.order-item {
margin-bottom: 20rpx;
padding: 28rpx;
+ background-color: #fff;
+ border-radius: 8rpx;
.title {
font-weight: 600;
@@ -153,8 +156,8 @@
line-height: 40rpx;
margin: 0 auto;
//min-width: ;
- padding-left: 20rpx;
- padding-right: 20rpx;
+ // padding-left: 10rpx;
+ // padding-right: 10rpx;
width: fit-content;
min-width: 120rpx;
text-align: center;
@@ -164,7 +167,7 @@
font-weight: 600;
font-size: 32rpx;
color: #20613D;
- line-height: 44rpx;
+ // line-height: 44rpx;
}
.status-each:first-child {
--
Gitblit v1.9.3