diff --git a/.env.development b/.env.development
index eef3f9b..f3ddbb6 100644
--- a/.env.development
+++ b/.env.development
@@ -1,2 +1,3 @@
# 开发环境
-VITE_API_BASE_URL=http://10.23.22.43:8099
+# VITE_API_BASE_URL=http://10.23.22.43:8099
+VITE_API_BASE_URL=https://robotclass.ngsk.tech:7001/backend/
diff --git a/src/assets/payCode.png b/src/assets/payCode.png
new file mode 100644
index 0000000..68d0eba
Binary files /dev/null and b/src/assets/payCode.png differ
diff --git a/src/assets/styles/main.css b/src/assets/styles/main.css
index 7f7095c..bb24b1f 100644
--- a/src/assets/styles/main.css
+++ b/src/assets/styles/main.css
@@ -377,7 +377,7 @@ html, body {
padding: 12px;
}
.pay-card {
- height: calc(100vh - 20px);
+ min-height: calc(100vh - 20px);
}
.custom-card {
padding: 24px 16px;
diff --git a/src/views/client/PaymentPage.vue b/src/views/client/PaymentPage.vue
index 94f7f71..4ab8c30 100644
--- a/src/views/client/PaymentPage.vue
+++ b/src/views/client/PaymentPage.vue
@@ -59,14 +59,14 @@
扫码支付
-
-
+
+ 支付时请备注姓名 + 手机号,以便我们快速确认您的报名
-
+
-
- 说明:课程收费二维码目前更新中,费用具体缴纳方式将在报名成功后于学员微信群中说明
+ 说明:报名缴费成功后,请持续关注官方培训微信群动态,谢谢!
@@ -118,7 +118,7 @@
import { ref, onMounted, computed } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import { ElMessage } from 'element-plus'
-
+import payCode from '@/assets/payCode.png'
const route = useRoute()
const router = useRouter()
const registrationData = ref(null)
@@ -271,7 +271,11 @@ onMounted(() => {
justify-content: center;
gap: 8px;
}
-
+.qrcode-desc{
+ font-size: 16px;
+ font-weight: bold;
+ margin-bottom: 22px;
+}
.qrcode-grid {
display: flex;
justify-content: center;
@@ -297,13 +301,15 @@ onMounted(() => {
}
.qrcode-placeholder {
- width: 160px;
- height: 160px;
+ /* width: 160px;
+ height: 160px; */
display: flex;
align-items: center;
justify-content: center;
}
-
+.qrcode-image{
+ width: 200px;
+}
.qrcode-svg {
width: 100%;
height: 100%;
@@ -409,18 +415,23 @@ onMounted(() => {
.qrcode-title {
font-size: 14px;
- margin-bottom: 16px;
+ margin-bottom: 5px;
+ }
+ .qrcode-desc{
+ font-size: 14px;
+ margin-bottom: 5px;
}
-
.qrcode-grid {
gap: 10px;
}
- .qrcode-placeholder {
+ /* .qrcode-placeholder {
width: 120px;
height: 120px;
+ } */
+ .qrcode-image{
+ width: 120px;
}
-
.qrcode-box {
padding: 12px;
}
diff --git a/vite.config.js b/vite.config.js
index 902bbd4..78815c7 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1,8 +1,14 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
+import path from 'path'
export default defineConfig({
plugins: [vue()],
+ resolve: {
+ alias: {
+ '@': path.resolve(__dirname, 'src')
+ }
+ },
server: {
host: '0.0.0.0',
port: 4000,