From 91aad660e6ce32ec1ccf6de4c538d737eb27f498 Mon Sep 17 00:00:00 2001
From: linxi <957440651@qq.com>
Date: Thu, 30 Apr 2026 18:19:23 +0800
Subject: [PATCH] =?UTF-8?q?Feat=EF=BC=9A=E6=8A=BD=E5=A5=962.0=EF=BC=88?=
=?UTF-8?q?=E7=BB=86=E8=8A=82=E8=B0=83=E6=95=B4=EF=BC=8C=E6=9F=A5=E6=BC=8F?=
=?UTF-8?q?=E8=A1=A5=E7=BC=BA=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/lottery.js | 12 ++++
pages/order/MyOrder/index.vue | 14 +++++
pages/order/OrderDetails/index.vue | 44 +++++--------
pages/shop/GoodsCon/index.vue | 1 +
pkg-video/views/county-lottery.vue | 33 +++++++---
pkg-video/views/county-my-tickets.vue | 4 +-
pkg-video/views/county-winners.vue | 91 ++++++++++++++++++---------
7 files changed, 130 insertions(+), 69 deletions(-)
diff --git a/api/lottery.js b/api/lottery.js
index 834be88..3064ea8 100644
--- a/api/lottery.js
+++ b/api/lottery.js
@@ -49,6 +49,18 @@ export function getActivityWinRecord(activityId) {
return request.get('/draw/activityWinRecord', { activityId })
}
+/**
+ * 获取最新中奖名单
+ * @param activityId 抽奖活动ID(可选)
+ */
+export function getDrawLatestWinners(activityId) {
+ const params = {}
+ if (activityId !== undefined && activityId !== null && activityId !== '') {
+ params.activityId = activityId
+ }
+ return request.get('/draw/latestWinners', params)
+}
+
/**
* 历史抽奖活动列表
* 用于在中奖名单页面切换历史抽奖活动
diff --git a/pages/order/MyOrder/index.vue b/pages/order/MyOrder/index.vue
index ca308c4..b610b6f 100644
--- a/pages/order/MyOrder/index.vue
+++ b/pages/order/MyOrder/index.vue
@@ -375,6 +375,7 @@
联系客服
@@ -1055,6 +1056,19 @@ export default {
force2Decimal(v) {
return this.$force2Decimal(v)
},
+ callMerPhone(order) {
+ const phone = String((order && order.merPhone) || '').trim()
+ if (!phone) {
+ uni.showToast({
+ title: '暂无电话',
+ icon: 'none'
+ })
+ return
+ }
+ uni.makePhoneCall({
+ phoneNumber: phone
+ })
+ },
goRoom(order) {
console.log(order);
if (order.experienceOrderInfo) {
diff --git a/pages/order/OrderDetails/index.vue b/pages/order/OrderDetails/index.vue
index 0b7b088..c72f3a8 100644
--- a/pages/order/OrderDetails/index.vue
+++ b/pages/order/OrderDetails/index.vue
@@ -489,7 +489,7 @@
- 联系客服
+ 联系客服
联系商家
催发货
修改地址
@@ -559,7 +559,7 @@
- 联系客服
+ 联系客服
删除订单
-
+
第
{{ periodLabel }}
@@ -74,10 +74,10 @@
-