From ebee9bfece7b731e31d520a51f45be33b1c7d1a3 Mon Sep 17 00:00:00 2001
From: dzc <2388224167@qq.com>
Date: Thu, 28 May 2026 16:26:15 +0800
Subject: [PATCH] 11
---
.env | 8 ++--
src/pages/merchant/components/coupon-card.vue | 44 +++++++++++++------
2 files changed, 35 insertions(+), 17 deletions(-)
diff --git a/.env b/.env
index 90b11a9..09f6da3 100644
--- a/.env
+++ b/.env
@@ -24,17 +24,17 @@ VITE_OAUTH2_APP_CLIENT='mini:mini'
# VITE_ZZD_CORP_ID=
# --------------------------- 开发环境 api地址 ----------------------------------
-VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api # 域名线上
+# VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api # 域名线上
#VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上
# VITE_APP_DEV_SERVICE = https://dzc-test-1.fy.takin.cc # 邓-本地
-# VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # 邓-本地
+VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # 邓-本地
# VITE_APP_DEV_SERVICE = http://123.157.250.162:8089/api # 测试线上
# --------------------------- 开发环境 图片访问基础地址 ---------------------------
-VITE_IMAGE_DEV_PATH = https://stgl.pj.gov.cn/api # 域名线上
+# VITE_IMAGE_DEV_PATH = https://stgl.pj.gov.cn/api # 域名线上
#VITE_IMAGE_DEV_PATH = http://59.202.170.152:81/api # 信创线上
#VITE_IMAGE_DEV_PATH = https://dzc-test-1.fy.takin.cc # 邓-本地
-# VITE_IMAGE_DEV_PATH = http://127.0.0.1:9999
+VITE_IMAGE_DEV_PATH = http://127.0.0.1:9999
# VITE_IMAGE_DEV_PATH = http://123.157.250.162:8089/api # 测试线上
# --------------------------- 生产环境 api地址 ----------------------------------
diff --git a/src/pages/merchant/components/coupon-card.vue b/src/pages/merchant/components/coupon-card.vue
index 27051f8..b1817bd 100644
--- a/src/pages/merchant/components/coupon-card.vue
+++ b/src/pages/merchant/components/coupon-card.vue
@@ -1,8 +1,8 @@
@@ -72,14 +86,18 @@ const doUse = () => {
-
- 核销码
- 去使用
+
+
+ 核销码
+ 去使用
+
+ 未到期
+ 已过期
已使用
已过期
-
+
使用
@@ -212,7 +230,7 @@ const doUse = () => {
/* 右侧按钮区 */
.coupon-right {
- width: 140rpx;
+ width: 160rpx;
display: flex;
align-items: center;
justify-content: center;
@@ -224,7 +242,7 @@ const doUse = () => {
.action-btn {
background: #0094ff;
color: #fff;
- font-size: 26rpx;
+ font-size: 22rpx;
padding: 10rpx 24rpx;
border-radius: 30rpx;
font-weight: 500;