diff --git a/pages.json b/pages.json
index 9cda11e..9969a46 100644
--- a/pages.json
+++ b/pages.json
@@ -87,6 +87,13 @@
"navigationBarTitleText": "淘宝购物外卖订单列表",
"navigationStyle": "custom"
}
+ },
+ {
+ "path": "taobao/shopping-order-detail/shopping-order-detail",
+ "style": {
+ "navigationBarTitleText": "淘宝购物详情页",
+ "navigationStyle": "custom"
+ }
}
]
},
@@ -303,18 +310,16 @@
}
},
{
- "path" : "silkBanner/silkBanner",
- "style" :
- {
- "navigationBarTitleText" : "锦旗",
+ "path": "silkBanner/silkBanner",
+ "style": {
+ "navigationBarTitleText": "锦旗",
"navigationStyle": "custom"
}
},
{
- "path" : "certificate/index",
- "style" :
- {
- "navigationBarTitleText" : "证书",
+ "path": "certificate/index",
+ "style": {
+ "navigationBarTitleText": "证书",
"navigationStyle": "custom"
}
}
diff --git a/pages/shopping/jingdong/json/order.json b/pages/shopping/jingdong/json/order.json
index def4bfe..5c43cf5 100644
--- a/pages/shopping/jingdong/json/order.json
+++ b/pages/shopping/jingdong/json/order.json
@@ -961,7 +961,7 @@
{
"id": "70085b84-5e10-4ece-a971-9242e19b47de",
"shopType": "self",
- "shopName": "路易威登京东官方旗舰店",
+ "shopName": "路易威登官方旗舰店",
"status": "正在出库",
"trackingTitle": "仓库处理中",
"trackingDesc": "预计明天9:00-15:00送达",
diff --git a/pages/shopping/taobao/components/list-card/list-card.vue b/pages/shopping/taobao/components/list-card/list-card.vue
index b60f60e..2bedc34 100644
--- a/pages/shopping/taobao/components/list-card/list-card.vue
+++ b/pages/shopping/taobao/components/list-card/list-card.vue
@@ -1,6 +1,6 @@
-
+
-
- {{ tag }}
+
+ {{ goods.tags }}
@@ -83,7 +82,8 @@
:src="`/static/image/shopping/taobao/${item.isSignFor ? 'yiqianshou' : 'yunshuzhong'}.png`">
{{ item.isSignFor ? '已签收' : '运输中' }}
- {{ item.statusDesc }}
+ {{ item.statusDesc2 || item.statusDesc1 }}
+
@@ -129,7 +129,7 @@ const props = defineProps({
}
});
-const emit = defineEmits(['action', 'detail']);
+const emit = defineEmits(['action', 'detail', 'click-item']);
const instance = getCurrentInstance();
@@ -264,6 +264,10 @@ const getButtons = (status) => {
return map[status] || [];
};
+const clickItem = (item) => {
+ emit('click-item', item);
+}
+
const getTotalCount = (goodsList) => {
if (!goodsList || !goodsList.length) return 0;
return goodsList.reduce((sum, item) => sum + (Number(item.count) || 1), 0);
@@ -483,13 +487,16 @@ const goToDetail = (item) => {
align-items: center;
.title {
+ flex-shrink: 0;
color: #1A1A1A;
margin-left: 8rpx;
margin-right: 20rpx;
font-weight: 500;
+ white-space: nowrap;
}
.tip-icon {
+ flex-shrink: 0;
width: 30rpx;
height: 30rpx;
margin-right: 12rpx;
@@ -498,6 +505,9 @@ const goToDetail = (item) => {
.text {
font-size: 26rpx;
color: #7C8495;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
&.daifukuan {
diff --git a/pages/shopping/taobao/json/order.json b/pages/shopping/taobao/json/order.json
index ab8246c..30387e8 100644
--- a/pages/shopping/taobao/json/order.json
+++ b/pages/shopping/taobao/json/order.json
@@ -3,61 +3,877 @@
"shoppingType": [
{
"label": "待付款",
- "key": "daifukuan"
+ "key": "wait_pay"
},
{
"label": "待发货",
- "key": "daifahuo"
+ "key": "wait_send"
},
{
"label": "待收货",
- "key": "daishouhuo"
+ "key": "wait_recv"
},
{
"label": "退款/售后",
- "key": "tuikuanshouhou"
+ "key": "refunding"
},
{
"label": "评价",
- "key": "pingjia"
+ "key": "success"
},
{
"label": "已取消",
- "key": "yiquxiao"
+ "key": "closed"
}
],
//购物类型字段分类
"shoppingClassfiy": {
- "daifukuan": {
- "status": "待付款",
- "statusDesc": "卖家未发货",
- "shopName": "细条条",
- "shopType": "taobao", //淘宝-taobao,天猫-tianmao,百补-baiyibutie
- "totalPrice": "",
- "carriage": "0.00",
- "products": [
+ "wait_pay": {
+ "id": "",
+ "orderType": "shopping",
+ "shopName": "路易威登京东官方旗舰店",
+ "statusType": "wait_pay",
+ "shopType": "taobao",
+ "statusDesc": "",
+ "address": "上海市浦东新区汤臣一品",
+ "userName": "张三",
+ "phone": "13812345678",
+ "totalPrice": "23979.25",
+ "platformDiscount": "",
+ "storeDiscount": "",
+ "points": "",
+ "coupons": "",
+ "goodsList": [
{
- "image": "",
- "title": "",
- "desc": "",
- "service": "",
- "price": "",
- "count": "",
- "stuta": {
- "value": "买家已付款", //待付款-买家已付款,待发货-卖家已发货,待收货-交易完成,退款
- "key": "daifukuan",
- "desc": "申请退款"
- }
+ "image": "/static/image/shopping/jingdong/product/shopping/lv.png",
+ "title": "【官方正品】路易威登 经典老花手提包",
+ "specs": "经典老花;手提包",
+ "price": "23979.25",
+ "oriPrice": "23979.25",
+ "count": 1,
+ "tags": "七天无理由退换"
}
],
+ "orderId": "",
"orderInfo": [
{
- "label": "订单编号",
- "key": "orderNumber",
+ "label": "创建时间",
+ "key": "createTime",
"value": "",
+ "type": "time"
+ },
+ {
+ "label": "支付宝交易号",
+ "key": "alipayTransactionNum",
+ "value": "",
+ "type": "number"
+ },
+ {
+ "label": "天猫积分",
+ "key": "tianmaoIntegral",
+ "value": "获得19点积分",
+ "type": "text"
+ },
+ {
+ "label": "交易快照",
+ "key": "transactionSnapshot",
+ "value": "发生交易争执时,可作为判断依据",
+ "type": "text"
+ }
+ ],
+ "statusDesc1": "承诺48小时内发货",
+ "statusDesc2": "预计明天发货",
+ "payCountdown": "11:48:50"
+ },
+ "wait_send": {
+ "id": "",
+ "orderType": "shopping",
+ "shopType": "tianmao",
+ "shopName": "天猫超市-五粮液自营店",
+ "statusType": "wait_send",
+ "statusDesc": "预计明天送达",
+ "address": "上海市浦东新区汤臣一品",
+ "userName": "张三",
+ "phone": "13812345678",
+ "totalPrice": "",
+ "platformDiscount": "",
+ "storeDiscount": "",
+ "points": "",
+ "coupons": "",
+ "goodsList": [
+ {
+ "image": "/static/image/shopping/jingdong/product/shopping/wuliangye.png",
+ "title": "五粮液 普五 第八代 浓香型白酒 52度 500ml*2瓶",
+ "specs": "500ml*2礼盒装;浓香型",
+ "price": "",
+ "oriPrice": "",
+ "count": 1,
+ "tags": "正品保障 七天无理由退货"
+ }
+ ],
+ "orderId": "",
+ "orderInfo": [
+ {
+ "label": "付款时间",
+ "key": "paymentTime",
+ "value": "",
+ "type": "time"
+ },
+ {
+ "label": "创建时间",
+ "key": "createTime",
+ "value": "",
+ "type": "time"
+ },
+ {
+ "label": "支付宝交易号",
+ "key": "alipayTransactionNum",
+ "value": "",
+ "type": "number"
+ },
+ {
+ "label": "交易快照",
+ "key": "transactionSnapshot",
+ "value": "发生交易争执时,可作为判断依据",
+ "type": "text"
+ },
+ {
+ "label": "支付方式",
+ "key": "paymentMethod",
+ "value": "支付宝支付",
+ "type": "text"
+ }
+ ],
+ "statusDesc1": "承诺48小时内发货",
+ "statusDesc2": "预计明天发货"
+ },
+ "wait_recv": {
+ "id": "",
+ "orderType": "shopping",
+ "shopName": "Apple 官方旗舰店",
+ "statusType": "wait_recv",
+ "address": "上海市浦东新区汤臣一品",
+ "userName": "张三",
+ "phone": "13812345678",
+ "isSignFor": true,
+ "shopType": "taobao",
+ "goodsList": [
+ {
+ "image": "/static/image/shopping/jingdong/product/shopping/iphone.png",
+ "title": "Apple iPhone 17 Pro Max",
+ "specs": "Apple/苹果 iPhone 17 Pro Max 1TB 星宇橙色",
+ "price": "10999.00",
+ "oriPrice": "12999.00",
+ "count": 1,
+ "tags": "免费上门退换 七天无理由退货"
+ }
+ ],
+ "totalPrice": "10999.00",
+ "platformDiscount": "200.00",
+ "orderId": "2026031121001039760581201016",
+ "orderInfo": [
+ {
+ "label": "发货时间",
+ "key": "deliveryTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "付款时间",
+ "key": "paymentTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "创建时间",
+ "key": "createTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "支付宝交易号",
+ "key": "alipayTransactionNum",
+ "value": "2026031121001039760581201016",
+ "type": "number"
+ },
+ {
+ "label": "交易快照",
+ "key": "transactionSnapshot",
+ "value": "发生交易争执时,可作为判断依据",
+ "type": "text"
+ },
+ {
+ "label": "支付方式",
+ "key": "paymentMethod",
+ "value": "支付宝支付",
+ "type": "text"
+ }
+ ],
+ "statusDesc1": "已签收",
+ "statusDesc2": "【上海市】 您已在上海市浦东新区汤臣一品完成取件",
+ "confirmReceiptCountdown": "9天7小时"
+ },
+ "success": {
+ "id": "202605110005",
+ "orderType": "shopping",
+ "shopName": "三只松鼠旗舰店",
+ "statusType": "success",
+ "shopType": "taobao",
+ "address": "上海市浦东新区汤臣一品",
+ "userName": "张三",
+ "phone": "13812345678",
+ "goodsList": [
+ {
+ "image": "",
+ "title": "三只松鼠 坚果大礼包 每日坚果 送礼佳品 1498g",
+ "specs": "颜色分类: 坚果礼盒1498g",
+ "price": "128.00",
+ "oriPrice": "158.00",
+ "count": 2,
+ "tags": "正品保障"
+ }
+ ],
+ "totalPrice": "266.00",
+ "platformDiscount": "30.00",
+ "storeDiscount": "20.00",
+ "points": "10.00",
+ "coupons": "5.00",
+ "orderId": "2026031121001039760581201016",
+ "orderInfo": [
+ {
+ "label": "成交时间",
+ "key": "deliveryTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "发货时间",
+ "key": "deliveryTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "付款时间",
+ "key": "paymentTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "创建时间",
+ "key": "createTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "支付宝交易号",
+ "key": "alipayTransactionNum",
+ "value": "2026031121001039760581201016",
+ "type": "number"
+ },
+ {
+ "label": "交易快照",
+ "key": "transactionSnapshot",
+ "value": "发生交易争执时,可作为判断依据",
+ "type": "text"
+ },
+ {
+ "label": "收货信息",
+ "key": "shippingInfo",
+ "value": "",
+ "type": "address"
+ },
+ {
+ "label": "支付方式",
+ "key": "paymentMethod",
+ "value": "支付宝支付",
+ "type": "text"
+ }
+ ]
+ },
+ "closed": {
+ "id": "202605110006",
+ "orderType": "shopping",
+ "shopName": "Apple Store 官方旗舰店",
+ "statusType": "closed",
+ "shopType": "tianmao",
+ "address": "上海市浦东新区汤臣一品",
+ "userName": "张三",
+ "phone": "13812345678",
+ "goodsList": [
+ {
+ "image": "",
+ "title": "Apple iPhone 15 Pro (A3104) 256GB 原色钛金属 5G手机",
+ "specs": "颜色分类: 原色钛金属; 内存容量: 256GB",
+ "price": "8999.00",
+ "oriPrice": "9999.00",
+ "count": 1,
+ "tags": "正品保障"
+ }
+ ],
+ "totalPrice": "8999.00",
+ "platformDiscount": "1000.00",
+ "orderId": "2026031121001039760581201016",
+ "orderInfo": [
+ {
+ "label": "成交时间",
+ "key": "deliveryTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "创建时间",
+ "key": "createTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "支付宝交易号",
+ "key": "alipayTransactionNum",
+ "value": "2026031121001039760581201016",
+ "type": "number"
+ },
+ {
+ "label": "交易快照",
+ "key": "transactionSnapshot",
+ "value": "发生交易争执时,可作为判断依据",
+ "type": "text"
+ },
+ {
+ "label": "收货信息",
+ "key": "shippingInfo",
+ "value": "",
+ "type": "address"
+ }
+ ]
+ },
+ "refunding": {
+ "id": "202605110007",
+ "orderType": "shopping",
+ "shopName": "优衣库官方旗舰店",
+ "statusType": "refunding",
+ "statusDesc": "平台支持退款",
+ "shopType": "taobao",
+ "refundMoney": "199.00",
+ "goodsList": [
+ {
+ "image": "",
+ "title": "UNIQLO 优衣库 男装/女装 摇粒绒拉链运动开衫(长袖) 463351",
+ "specs": "颜色分类: 藏青色; 尺码: L",
+ "price": "199.00",
+ "count": 1,
+ "tags": "正品保障",
+ "refundStatus": "退款成功"
+ }
+ ],
+ "totalPrice": "199.00",
+ "orderId": "2026031121001039760581201016",
+ "orderInfo": [
+ {
+ "label": "退款原因",
+ "key": "refundReason",
+ "value": "不需要了",
+ "type": "text"
+ },
+ {
+ "label": "退款金额",
+ "key": "refunMoney",
+ "value": "199.00",
+ "type": "money"
+ },
+ {
+ "label": "退款完结",
+ "key": "refunTime",
+ "value": "2026-3-11 10:48",
+ "type": "date"
+ },
+ {
+ "label": "申请时间",
+ "key": "applyTime",
+ "value": "2026-3-11 10:48",
+ "type": "date"
+ },
+ {
+ "label": "退款编号",
+ "key": "refundId",
+ "value": "2026031121001039760581201016",
"type": "number"
}
]
}
- }
+ },
+ "defualtData": [
+ {
+ "id": "202605110001",
+ "orderType": "shopping",
+ "shopName": "路易威登京东官方旗舰店",
+ "statusType": "wait_pay",
+ "shopType": "taobao",
+ "statusDesc": "",
+ "address": "上海市浦东新区汤臣一品",
+ "userName": "张三",
+ "phone": "13812345678",
+ "totalPrice": "23979.25",
+ "platformDiscount": "150.00",
+ "storeDiscount": "200.00",
+ "points": "1.00",
+ "coupons": "1.00",
+ "goodsList": [
+ {
+ "image": "/static/image/shopping/jingdong/product/shopping/lv.png",
+ "title": "【官方正品】路易威登 经典老花手提包",
+ "specs": "经典老花;手提包",
+ "price": "23979.25",
+ "oriPrice": "23979.25",
+ "count": 1,
+ "tags": "七天无理由退换"
+ }
+ ],
+ "orderId": "2026031121001039760581201016",
+ "orderInfo": [
+ {
+ "label": "创建时间",
+ "key": "createTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "支付宝交易号",
+ "key": "alipayTransactionNum",
+ "value": "2026031121001039760581201016"
+ },
+ {
+ "label": "天猫积分",
+ "key": "tianmaoIntegral",
+ "value": "获得19点积分"
+ },
+ {
+ "label": "交易快照",
+ "key": "transactionSnapshot",
+ "value": "发生交易争执时,可作为判断依据"
+ }
+ ],
+ "statusDesc1": "承诺48小时内发货",
+ "statusDesc2": "预计明天发货",
+ "payCountdown": "11:48:50"
+ },
+ {
+ "id": "202605110002",
+ "orderType": "shopping",
+ "shopType": "tianmao",
+ "shopName": "天猫超市-五粮液自营店",
+ "statusType": "wait_send",
+ "statusDesc": "预计明天送达",
+ "address": "上海市浦东新区汤臣一品",
+ "userName": "张三",
+ "phone": "13812345678",
+ "totalPrice": "2198.00",
+ "platformDiscount": "50.00",
+ "storeDiscount": "50.00",
+ "points": "1.00",
+ "coupons": "1.00",
+ "goodsList": [
+ {
+ "image": "/static/image/shopping/jingdong/product/shopping/wuliangye.png",
+ "title": "五粮液 普五 第八代 浓香型白酒 52度 500ml*2瓶",
+ "specs": "500ml*2礼盒装;浓香型",
+ "price": "1099.00",
+ "count": 2,
+ "tags": "正品保障 七天无理由退货"
+ }
+ ],
+ "orderId": "2026031121001039760581201016",
+ "orderInfo": [
+ {
+ "label": "付款时间",
+ "key": "paymentTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "创建时间",
+ "key": "createTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "支付宝交易号",
+ "key": "alipayTransactionNum",
+ "value": "2026031121001039760581201016"
+ },
+ {
+ "label": "交易快照",
+ "key": "transactionSnapshot",
+ "value": "发生交易争执时,可作为判断依据"
+ },
+ {
+ "label": "支付方式",
+ "key": "paymentMethod",
+ "value": "支付宝支付"
+ }
+ ],
+ "statusDesc1": "承诺48小时内发货",
+ "statusDesc2": "预计明天发货"
+ },
+ {
+ "id": "202605110003",
+ "orderType": "shopping",
+ "shopName": "Apple 官方旗舰店",
+ "statusType": "wait_recv",
+ "address": "上海市浦东新区汤臣一品",
+ "userName": "张三",
+ "phone": "13812345678",
+ "isSignFor": true,
+ "shopType": "taobao",
+ "goodsList": [
+ {
+ "image": "/static/image/shopping/jingdong/product/shopping/iphone.png",
+ "title": "Apple iPhone 17 Pro Max",
+ "specs": "Apple/苹果 iPhone 17 Pro Max 1TB 星宇橙色",
+ "price": "10999.00",
+ "oriPrice": "12999.00",
+ "count": 1,
+ "tags": "免费上门退换 七天无理由退货"
+ }
+ ],
+ "totalPrice": "10999.00",
+ "platformDiscount": "200.00",
+ "orderId": "2026031121001039760581201016",
+ "orderInfo": [
+ {
+ "label": "发货时间",
+ "key": "deliveryTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "付款时间",
+ "key": "paymentTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "创建时间",
+ "key": "createTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "支付宝交易号",
+ "key": "alipayTransactionNum",
+ "value": "2026031121001039760581201016"
+ },
+ {
+ "label": "交易快照",
+ "key": "transactionSnapshot",
+ "value": "发生交易争执时,可作为判断依据"
+ },
+ {
+ "label": "支付方式",
+ "key": "paymentMethod",
+ "value": "支付宝支付"
+ }
+ ],
+ "statusDesc1": "已签收",
+ "statusDesc2": "【上海市】 您已在上海市浦东新区汤臣一品完成取件",
+ "confirmReceiptCountdown": "9天7小时"
+ },
+ {
+ "id": "202605110008",
+ "orderType": "shopping",
+ "shopName": "Apple 官方旗舰店",
+ "statusType": "wait_recv",
+ "address": "上海市浦东新区汤臣一品",
+ "userName": "张三",
+ "phone": "13812345678",
+ "isSignFor": false,
+ "shopType": "taobao",
+ "goodsList": [
+ {
+ "image": "/static/image/shopping/jingdong/product/shopping/iphone.png",
+ "title": "Apple iPhone 17 Pro Max",
+ "specs": "Apple/苹果 iPhone 17 Pro Max 1TB 星宇橙色",
+ "price": "10999.00",
+ "oriPrice": "12999.00",
+ "count": 1,
+ "tags": "免费上门退换 七天无理由退货"
+ }
+ ],
+ "totalPrice": "10999.00",
+ "platformDiscount": "200.00",
+ "orderId": "2026031121001039760581201016",
+ "orderInfo": [
+ {
+ "label": "发货时间",
+ "key": "deliveryTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "付款时间",
+ "key": "paymentTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "创建时间",
+ "key": "createTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "支付宝交易号",
+ "key": "alipayTransactionNum",
+ "value": "2026031121001039760581201016"
+ },
+ {
+ "label": "交易快照",
+ "key": "transactionSnapshot",
+ "value": "发生交易争执时,可作为判断依据"
+ },
+ {
+ "label": "支付方式",
+ "key": "paymentMethod",
+ "value": "支付宝支付"
+ }
+ ],
+ "statusDesc1": "预计明天送达",
+ "statusDesc2": "【上海市】 快件已发往 上海转运中心,下一站浦东新区"
+ },
+ {
+ "id": "202605110005",
+ "orderType": "shopping",
+ "shopName": "三只松鼠旗舰店",
+ "statusType": "success",
+ "shopType": "taobao",
+ "address": "上海市浦东新区汤臣一品",
+ "userName": "张三",
+ "phone": "13812345678",
+ "goodsList": [
+ {
+ "image": "",
+ "title": "三只松鼠 坚果大礼包 每日坚果 送礼佳品 1498g",
+ "specs": "颜色分类: 坚果礼盒1498g",
+ "price": "128.00",
+ "oriPrice": "158.00",
+ "count": 2,
+ "tags": "正品保障"
+ }
+ ],
+ "totalPrice": "266.00",
+ "platformDiscount": "30.00",
+ "storeDiscount": "20.00",
+ "points": "10.00",
+ "coupons": "5.00",
+ "orderId": "2026031121001039760581201016",
+ "orderInfo": [
+ {
+ "label": "成交时间",
+ "key": "deliveryTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "发货时间",
+ "key": "deliveryTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "付款时间",
+ "key": "paymentTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "创建时间",
+ "key": "createTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "支付宝交易号",
+ "key": "alipayTransactionNum",
+ "value": "2026031121001039760581201016"
+ },
+ {
+ "label": "交易快照",
+ "key": "transactionSnapshot",
+ "value": "发生交易争执时,可作为判断依据"
+ },
+ {
+ "label": "收货信息",
+ "key": "shippingInfo",
+ "value": ""
+ },
+ {
+ "label": "支付方式",
+ "key": "paymentMethod",
+ "value": "支付宝支付"
+ }
+ ]
+ },
+ {
+ "id": "202605110006",
+ "orderType": "shopping",
+ "shopName": "Apple Store 官方旗舰店",
+ "statusType": "closed",
+ "shopType": "tianmao",
+ "address": "上海市浦东新区汤臣一品",
+ "userName": "张三",
+ "phone": "13812345678",
+ "goodsList": [
+ {
+ "image": "",
+ "title": "Apple iPhone 15 Pro (A3104) 256GB 原色钛金属 5G手机",
+ "specs": "颜色分类: 原色钛金属; 内存容量: 256GB",
+ "price": "8999.00",
+ "oriPrice": "9999.00",
+ "count": 1,
+ "tags": "正品保障"
+ }
+ ],
+ "totalPrice": "8999.00",
+ "platformDiscount": "1000.00",
+ "orderId": "2026031121001039760581201016",
+ "orderInfo": [
+ {
+ "label": "成交时间",
+ "key": "deliveryTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "创建时间",
+ "key": "createTime",
+ "value": "2026-03-11 09:48:05",
+ "type": "time"
+ },
+ {
+ "label": "支付宝交易号",
+ "key": "alipayTransactionNum",
+ "value": "2026031121001039760581201016"
+ },
+ {
+ "label": "交易快照",
+ "key": "transactionSnapshot",
+ "value": "发生交易争执时,可作为判断依据"
+ },
+ {
+ "label": "收货信息",
+ "key": "shippingInfo",
+ "value": ""
+ }
+ ]
+ },
+ {
+ "id": "202605110007",
+ "orderType": "shopping",
+ "shopName": "优衣库官方旗舰店",
+ "statusType": "refunding",
+ "statusDesc": "平台支持退款",
+ "shopType": "taobao",
+ "refundMoney": "199.00",
+ "goodsList": [
+ {
+ "image": "",
+ "title": "UNIQLO 优衣库 男装/女装 摇粒绒拉链运动开衫(长袖) 463351",
+ "specs": "颜色分类: 藏青色; 尺码: L",
+ "price": "199.00",
+ "count": 1,
+ "tags": "正品保障",
+ "refundStatus": "退款成功"
+ }
+ ],
+ "totalPrice": "199.00",
+ "orderId": "2026031121001039760581201016",
+ "orderInfo": [
+ {
+ "label": "退款原因",
+ "key": "refundReason",
+ "value": "不需要了",
+ "type": "text"
+ },
+ {
+ "label": "退款金额",
+ "key": "refunMoney",
+ "value": "199.00",
+ "type": "money"
+ },
+ {
+ "label": "退款完结",
+ "key": "refunTime",
+ "value": "2026-3-11 10:48",
+ "type": "date"
+ },
+ {
+ "label": "申请时间",
+ "key": "applyTime",
+ "value": "2026-3-11 10:48",
+ "type": "date"
+ },
+ {
+ "label": "退款编号",
+ "key": "refundId",
+ "value": "2026031121001039760581201016"
+ }
+ ]
+ },
+ // {
+ // "id": "202605110008",
+ // "orderType": "waimai",
+ // "shopName": "美团外卖-麦当劳",
+ // "statusType": "success",
+ // "statusDesc": "订单已完成",
+ // "shopType": "taobao",
+ // "goodsList": [
+ // {
+ // "image": "",
+ // "title": "麦辣鸡腿堡套餐",
+ // "specs": "默认",
+ // "price": "32.00",
+ // "count": 1,
+ // "tags": "正品保障"
+ // }
+ // ],
+ // "totalPrice": "32.00"
+ // },
+ // {
+ // "id": "202605110009",
+ // "orderType": "waimai",
+ // "shopName": "饿了么-星巴克",
+ // "statusType": "wait_send",
+ // "statusDesc": "商家准备中",
+ // "shopType": "taobao",
+ // "goodsList": [
+ // {
+ // "image": "",
+ // "title": "拿铁咖啡",
+ // "specs": "大杯 / 热",
+ // "price": "28.00",
+ // "count": 1,
+ // "tags": "正品保障"
+ // }
+ // ],
+ // "totalPrice": "28.00"
+ // },
+ // {
+ // "id": "202605110010",
+ // "orderType": "waimai",
+ // "shopName": "淘鲜达-盒马鲜生",
+ // "statusType": "success",
+ // "statusDesc": "订单已完成",
+ // "shopType": "taobao",
+ // "goodsList": [
+ // {
+ // "image": "",
+ // "title": "进口智利车厘子 500g",
+ // "specs": "JJ级",
+ // "price": "59.00",
+ // "count": 1,
+ // "tags": "一小时送达"
+ // }
+ // ],
+ // "totalPrice": "59.00"
+ // }
+ ]
}
\ No newline at end of file
diff --git a/pages/shopping/taobao/list-index.vue b/pages/shopping/taobao/list-index.vue
index ab74eaf..f33976e 100644
--- a/pages/shopping/taobao/list-index.vue
+++ b/pages/shopping/taobao/list-index.vue
@@ -12,7 +12,7 @@
-
+
@@ -75,7 +75,7 @@
-
+
@@ -95,190 +95,32 @@ import { ref, computed, onMounted, getCurrentInstance } from 'vue';
import { onShow } from '@dcloudio/uni-app';
import { util } from '@/utils/common.js';
import listCard from './components/list-card/list-card.vue';
+import { defualtData } from './json/order.json'
-const mockList = ref([
+const mockList = ref(defualtData);
+
+//导航栏菜单按钮
+const buttonGroup = [
{
- orderType: "shopping",
- shopName: '淘宝心选官方旗舰店',
- statusType: 'wait_pay',
- shopType: 'taobao',
- statusDesc: '',
- goodsList: [
- {
- image: '',
- title: '【官方正品】全棉时代纯棉柔巾洗脸巾抽纸加厚擦脸巾100抽*6包',
- specs: '颜色分类: 100抽*6包',
- price: '69.00',
- count: 1,
- tags: ['七天无理由退换']
- }
- ],
- totalPrice: '69.00'
+ name: "新增购物订单",
+ click: () => {
+ uni.navigateTo({
+ url: '/pages/shopping/taobao/add-order/add-order'
+ });
+ }
+ }, {
+ name: "新增闪购订单",
+ click: () => {
+ uni.showToast({
+ title: '开发中,敬请期待',
+ icon: 'none'
+ });
+ // uni.navigateTo({
+ // url: '/pages/shopping/jingdong/add-waimai/add-waimai'
+ // });
+ }
},
- {
- orderType: "shopping",
- shopName: '小米官方旗舰店',
- statusType: 'wait_send',
- statusDesc: '预计明天送达',
- shopType: 'taobao',
- goodsList: [
- {
- image: '',
- title: 'Xiaomi/小米 14 徕卡光学镜头 骁龙8Gen3 澎湃OS 小米手机',
- specs: '颜色分类: 黑色; 内存容量: 16GB+512GB',
- price: '4599.00',
- count: 1,
- tags: ['正品保障', '顺丰包邮']
- }
- ],
- totalPrice: '4599.00'
- },
- {
- orderType: "shopping",
- shopName: 'NIKE官方旗舰店',
- statusType: 'wait_recv',
- statusDesc: '您已在重庆九龙坡区哈哈哈完成取件,...',
- isSignFor: true,
- shopType: 'taobao',
- goodsList: [
- {
- image: '',
- title: 'Nike耐克官方AIR FORCE 1 07空军一号男鞋板鞋运动鞋CW2288',
- specs: '颜色分类: 纯白; 尺码: 42.5',
- price: '749.00',
- count: 1,
- tags: ['假一赔四']
- }
- ],
- totalPrice: '749.00'
- },
- {
- orderType: "shopping",
- shopName: 'NIKE官方旗舰店',
- statusType: 'wait_recv',
- isSignFor: false,
- statusDesc: "平台支持退货",
- shopType: 'taobao',
- goodsList: [
- {
- image: '',
- title: 'Nike耐克官方AIR FORCE 1 07空军一号男鞋板鞋运动鞋CW2288',
- specs: '颜色分类: 纯白; 尺码: 42.5',
- price: '749.00',
- count: 1,
- tags: ['假一赔四']
- }
- ],
- totalPrice: '749.00'
- },
- {
- orderType: "shopping",
- shopName: '三只松鼠旗舰店',
- statusType: 'success',
- shopType: 'taobao',
- goodsList: [
- {
- image: '',
- title: '三只松鼠 坚果大礼包 每日坚果 送礼佳品 1498g',
- specs: '颜色分类: 坚果礼盒1498g',
- price: '128.00',
- count: 2,
- tags: ['过敏包退']
- }
- ],
- totalPrice: '256.00'
- },
- {
- orderType: "shopping",
- shopName: 'Apple Store 官方旗舰店',
- statusType: 'closed',
- shopType: 'tianmao',
- goodsList: [
- {
- image: '',
- title: 'Apple iPhone 15 Pro (A3104) 256GB 原色钛金属 5G手机',
- specs: '颜色分类: 原色钛金属; 内存容量: 256GB',
- price: '8999.00',
- count: 1,
- tags: []
- }
- ],
- totalPrice: '8999.00'
- },
- {
- orderType: "shopping",
- shopName: '优衣库官方旗舰店',
- statusType: 'refunding',
- statusDesc: '平台支持退款',
- shopType: 'taobao',
- goodsList: [
- {
- image: '',
- title: 'UNIQLO 优衣库 男装/女装 摇粒绒拉链运动开衫(长袖) 463351',
- specs: '颜色分类: 藏青色; 尺码: L',
- price: '199.00',
- count: 1,
- tags: ['极速退款'],
- refundStatus: '退款成功'
- }
- ],
- totalPrice: '199.00'
- },
- {
- orderType: "waimai",
- shopName: '美团外卖-麦当劳',
- statusType: 'success',
- statusDesc: '订单已完成',
- shopType: 'taobao',
- goodsList: [
- {
- image: '',
- title: '麦辣鸡腿堡套餐',
- specs: '默认',
- price: '32.00',
- count: 1,
- tags: []
- }
- ],
- totalPrice: '32.00'
- },
- {
- orderType: "waimai",
- shopName: '饿了么-星巴克',
- statusType: 'wait_send',
- statusDesc: '商家准备中',
- shopType: 'taobao',
- goodsList: [
- {
- image: '',
- title: '拿铁咖啡',
- specs: '大杯 / 热',
- price: '28.00',
- count: 1,
- tags: []
- }
- ],
- totalPrice: '28.00'
- },
- {
- orderType: "waimai",
- shopName: '淘鲜达-盒马鲜生',
- statusType: 'success',
- statusDesc: '订单已完成',
- shopType: 'taobao',
- goodsList: [
- {
- image: '',
- title: '进口智利车厘子 500g',
- specs: 'JJ级',
- price: '59.00',
- count: 1,
- tags: ['一小时送达']
- }
- ],
- totalPrice: '59.00'
- }
-]);
+]
const displayList = computed(() => {
let list = mockList.value;
@@ -383,6 +225,10 @@ const switchFilter = (index) => {
}
};
+const goDetail = (item) => {
+ util.goPage(`/pages/shopping/taobao/shopping-order-detail/shopping-order-detail?id=${item.id}`)
+}
+
diff --git a/pages/shopping/taobao/shopping-order-detail/shopping-order-detail.vue b/pages/shopping/taobao/shopping-order-detail/shopping-order-detail.vue
new file mode 100644
index 0000000..bcdbbd3
--- /dev/null
+++ b/pages/shopping/taobao/shopping-order-detail/shopping-order-detail.vue
@@ -0,0 +1,1207 @@
+
+
+
+
+
+
+
+
+
+ 商家处理
+
+
+
+
+ 寄回商品
+
+
+ 3退款结束
+
+
+ {{ titleList[order.statusType] }}
+
+ 还剩{{ order.confirmReceiptCountdown }}自动确认
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ order.statusType == 'wait_recv' && !order.isSignFor ? '运输中' : '已签收' }}
+ {{ order.statusDesc2 }}
+
+
+
+
+ {{ order.userName }}
+ 86-{{ order.phone }}
+ {{ order.address }}
+
+
+
+
+
+ {{ order.address }}
+ {{ order.userName }} 86-{{ order.phone }}
+
+
+
+
+
+ 修改
+
+
+
+
+
+ {{ order.statusDesc1
+ }}
+
+ |
+ {{ order.statusDesc2 }}
+
+
+
+
+
+
+
+
+
+
+ {{ order.shopName }}
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+ ¥{{
+ Number(item.price).toFixed(2).split('.')[0] }}.{{
+ Number(item.price).toFixed(2).split('.')[1] }}
+
+
+
+
+ {{ item.specs }}
+
+
+
+ ¥{{
+ item.oriPrice }}
+
+
+
+ {{ item.tags }}
+
+
+ x{{ item?.count }}
+
+
+
+
+
+ {{
+ btn.name
+ }}
+
+
+
+
+ 商品总价
+ 共{{ getGoodsTotalCount(order.goodsList) }}件
+
+
+ ¥
+ {{ getGoodsTotalPrice(order.goodsList).split('.')[0] }}.
+ {{ getGoodsTotalPrice(order.goodsList).split('.')[1] }}
+
+
+
+
+
+
+
+ 店铺优惠
+ 超级立减
+
+ -¥{{ order.platformDiscount }}
+
+
+
+
+
+ 平台优惠
+
+ -¥{{ order.storeDiscount }}
+
+
+
+ 实付款 共减¥{{
+ (Number(order.storeDiscount || 0) + Number(order.platformDiscount || 0)).toFixed(2)
+ }}
+
+ ¥
+ {{ Number(order.totalPrice).toFixed(2).split('.')[0] }}.
+ {{ Number(order.totalPrice).toFixed(2).split('.')[1] }}
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+ {{
+ order.userName + ' ' +
+ "86-" + order.phone + ',' +
+ order.address
+ }}
+ {{ item.value }}
+
+
+
+
+
+ 订单信息
+
+
+ {{ order.orderId }}
+ |
+ 复制
+
+
+
+
+
+
+
+ 退款成功
+ 平台支持您的退款申请。
+
+
+
+
+ 退回支付宝小荷包
+
+ ¥
+ {{ Number(order.refundMoney).toFixed(2).split('.')[0] }}.
+ {{ Number(order.refundMoney).toFixed(2).split('.')[1] }}
+
+
+
+
+
+ 运费保障
+ 您已享受全额保障5.56元
+
+
+
+
+
+
+
+
+ {{ goods.title }}
+ {{ goods.specs }}
+
+
+ {{ goods.tags }}
+
+
+
+
+ 协商历史
+ 查看
+
+
+ {{ item.label }}
+ {{ item.value }} ·复制
+
+
+ {{ isFoldRefundOrderInfoCard ? '查看全部售后信息' : '收起售后信息' }}
+
+
+
+
+
+
+ 您是否遇到以下问题?
+ 查看更多
+
+
+
+ 卖家什么时候退款
+ 没有退款入口怎么办
+ 运费险理赔
+ 运费谁承担
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ icon.name }}
+
+
+
+ {{ btn.name }}
+
+
+
+
+
+ 共{{ getGoodsTotalCount(order.goodsList) }}件
+ 合计:
+ ¥{{ Number(order.totalPrice).toFixed(2) }}
+
+ 共减¥{{ Number(
+ Number(order.platformDiscount || 0) + Number(order.storeDiscount || 0)).toFixed(2) }}
+
+
+
+ 继续付款
+ 剩余{{ order.payCountdown }}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/static/image/shopping/taobao/detail/back.png b/static/image/shopping/taobao/detail/back.png
new file mode 100644
index 0000000..7a97a31
Binary files /dev/null and b/static/image/shopping/taobao/detail/back.png differ
diff --git a/static/image/shopping/taobao/detail/dianpuyouhui.png b/static/image/shopping/taobao/detail/dianpuyouhui.png
new file mode 100644
index 0000000..2ade543
Binary files /dev/null and b/static/image/shopping/taobao/detail/dianpuyouhui.png differ
diff --git a/static/image/shopping/taobao/detail/eye.png b/static/image/shopping/taobao/detail/eye.png
new file mode 100644
index 0000000..4cccd91
Binary files /dev/null and b/static/image/shopping/taobao/detail/eye.png differ
diff --git a/static/image/shopping/taobao/detail/gengduo.png b/static/image/shopping/taobao/detail/gengduo.png
new file mode 100644
index 0000000..f76f08f
Binary files /dev/null and b/static/image/shopping/taobao/detail/gengduo.png differ
diff --git a/static/image/shopping/taobao/detail/haomabaohuzhong.png b/static/image/shopping/taobao/detail/haomabaohuzhong.png
new file mode 100644
index 0000000..eae2354
Binary files /dev/null and b/static/image/shopping/taobao/detail/haomabaohuzhong.png differ
diff --git a/static/image/shopping/taobao/detail/kefu.png b/static/image/shopping/taobao/detail/kefu.png
new file mode 100644
index 0000000..5a1f736
Binary files /dev/null and b/static/image/shopping/taobao/detail/kefu.png differ
diff --git a/static/image/shopping/taobao/detail/location.png b/static/image/shopping/taobao/detail/location.png
new file mode 100644
index 0000000..3eda458
Binary files /dev/null and b/static/image/shopping/taobao/detail/location.png differ
diff --git a/static/image/shopping/taobao/detail/more.png b/static/image/shopping/taobao/detail/more.png
new file mode 100644
index 0000000..7017fd3
Binary files /dev/null and b/static/image/shopping/taobao/detail/more.png differ
diff --git a/static/image/shopping/taobao/detail/pingtaiyouhui.png b/static/image/shopping/taobao/detail/pingtaiyouhui.png
new file mode 100644
index 0000000..b0d058e
Binary files /dev/null and b/static/image/shopping/taobao/detail/pingtaiyouhui.png differ
diff --git a/static/image/shopping/taobao/detail/quxiao.png b/static/image/shopping/taobao/detail/quxiao.png
new file mode 100644
index 0000000..fb85c92
Binary files /dev/null and b/static/image/shopping/taobao/detail/quxiao.png differ
diff --git a/static/image/shopping/taobao/detail/refund-back.png b/static/image/shopping/taobao/detail/refund-back.png
new file mode 100644
index 0000000..1dde2c3
Binary files /dev/null and b/static/image/shopping/taobao/detail/refund-back.png differ
diff --git a/static/image/shopping/taobao/detail/refund/finish.png b/static/image/shopping/taobao/detail/refund/finish.png
new file mode 100644
index 0000000..1c41241
Binary files /dev/null and b/static/image/shopping/taobao/detail/refund/finish.png differ
diff --git a/static/image/shopping/taobao/detail/refund/kefu.png b/static/image/shopping/taobao/detail/refund/kefu.png
new file mode 100644
index 0000000..4a50e31
Binary files /dev/null and b/static/image/shopping/taobao/detail/refund/kefu.png differ
diff --git a/static/image/shopping/taobao/detail/refund/next.png b/static/image/shopping/taobao/detail/refund/next.png
new file mode 100644
index 0000000..b416b9c
Binary files /dev/null and b/static/image/shopping/taobao/detail/refund/next.png differ
diff --git a/static/image/shopping/taobao/detail/refund/yunfeibaozhang.png b/static/image/shopping/taobao/detail/refund/yunfeibaozhang.png
new file mode 100644
index 0000000..d831c20
Binary files /dev/null and b/static/image/shopping/taobao/detail/refund/yunfeibaozhang.png differ
diff --git a/static/image/shopping/taobao/detail/shandian.png b/static/image/shopping/taobao/detail/shandian.png
new file mode 100644
index 0000000..5c71ab5
Binary files /dev/null and b/static/image/shopping/taobao/detail/shandian.png differ
diff --git a/static/image/shopping/taobao/detail/tousu.png b/static/image/shopping/taobao/detail/tousu.png
new file mode 100644
index 0000000..51c4292
Binary files /dev/null and b/static/image/shopping/taobao/detail/tousu.png differ
diff --git a/static/image/shopping/taobao/detail/yiqianshou.png b/static/image/shopping/taobao/detail/yiqianshou.png
new file mode 100644
index 0000000..5e4f248
Binary files /dev/null and b/static/image/shopping/taobao/detail/yiqianshou.png differ
diff --git a/static/image/shopping/taobao/detail/yunshuzhong.png b/static/image/shopping/taobao/detail/yunshuzhong.png
new file mode 100644
index 0000000..2488528
Binary files /dev/null and b/static/image/shopping/taobao/detail/yunshuzhong.png differ