From bbbbad5d8983770fcd38adb0982bb8ae344dfa16 Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Fri, 15 Aug 2025 17:51:15 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E4=BA=8C=E7=BB=B4=E7=A0=81?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/QRCodeModal.vue | 213 +++++++++++++++++++++++++++++++++++++
pages/basePage/test.vue | 53 ++++++++-
2 files changed, 264 insertions(+), 2 deletions(-)
create mode 100644 components/QRCodeModal.vue
diff --git a/components/QRCodeModal.vue b/components/QRCodeModal.vue
new file mode 100644
index 0000000..742263b
--- /dev/null
+++ b/components/QRCodeModal.vue
@@ -0,0 +1,213 @@
+
+
+
+
+
+ ×
+
+
+
+
+
+
+ {{ title }}
+
+
+
+
+
+
+
+
+
+ 票号:
+ {{ ticketNumber }}
+
+
+
+
+ 此二维码可直接检票
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/basePage/test.vue b/pages/basePage/test.vue
index fad7210..12b1d99 100644
--- a/pages/basePage/test.vue
+++ b/pages/basePage/test.vue
@@ -9,14 +9,29 @@
size="300rpx"
>
+
+
+
+
+
+
+
+
@@ -47,8 +78,10 @@ export default {
background: #f5f0e7;
min-height: 100vh;
display: flex;
+ flex-direction: column;
align-items: center;
justify-content: center;
+ padding: 40rpx;
}
.qrcode-container {
@@ -56,5 +89,21 @@ export default {
background: white;
border-radius: 20rpx;
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1);
+ margin-bottom: 60rpx;
+}
+
+.button-container {
+ width: 100%;
+ display: flex;
+ justify-content: center;
+}
+
+.test-btn {
+ background: #48893B;
+ color: white;
+ border: none;
+ border-radius: 10rpx;
+ padding: 20rpx 40rpx;
+ font-size: 28rpx;
}