diff --git a/src/assets/css/style.css b/src/assets/css/style.css
index 4ffe379..afc2086 100644
--- a/src/assets/css/style.css
+++ b/src/assets/css/style.css
@@ -29,13 +29,26 @@ button.sandblasted-blurred:active {
opacity: 0.7;
}
html:root {
- --van-dialog-width: 90rem;
- --van-dialog-font-size: 5rem;
- --van-dialog-header-line-height: 150%;
- --van-dialog-message-font-size: 3.5rem;
- --van-dialog-message-line-height: 150%;
- --van-button-default-font-size: 4rem;
- --van-dialog-button-height: 9rem;
- --van-dialog-message-padding: 3rem 2.5rem;
+ --van-overlay-background: rgba(0, 0, 0, 0.4);
+ --van-dialog-width: 45rem;
+ --van-dialog-font-size: 2.83rem;
+ --van-dialog-header-font-weight: 600;
+ --van-dialog-header-line-height: 95%;
+ --van-text-color: #000;
+ --van-dialog-header-padding-top: 3rem;
+ --van-dialog-message-font-size: 2rem;
+ --van-dialog-message-line-height: 130%;
+ --van-dialog-has-title-message-text-color: #000;
+ --van-button-default-font-size: 2.8rem;
+ --van-dialog-button-height: 6.8rem;
+ --van-dialog-message-padding: 3.5rem;
--van-dialog-has-title-message-padding-top: 2.5rem;
+ --van-button-default-color: #1B73E7;
+ --van-dialog-confirm-button-text-color: #1B73E7;
+}
+.van-toast__text {
+ font-size: 4rem;
+ height: 5rem;
+ line-height: 5rem;
+ padding: 0 2rem;
}
diff --git a/src/assets/css/style.less b/src/assets/css/style.less
index c4ff8a9..516898c 100644
--- a/src/assets/css/style.less
+++ b/src/assets/css/style.less
@@ -23,6 +23,7 @@ button.sandblasted-blurred {
&::before {
backdrop-filter: blur(9.5rem);
}
+
&::after {
opacity: 0.1;
background: url('@/assets/images/customer_form_bg.png');
@@ -37,20 +38,28 @@ button.sandblasted-blurred {
// vant dialog
html:root {
- --van-dialog-width: 90rem;
- --van-dialog-font-size: 5rem;
- --van-dialog-header-line-height: 150%;
- --van-dialog-message-font-size: 3.5rem;
- --van-dialog-message-line-height: 150%;
- --van-button-default-font-size: 4rem;
- --van-dialog-button-height: 9rem;
- --van-dialog-message-padding: 3rem 2.5rem;
+ --van-overlay-background: rgba(0, 0, 0, 0.4);
+ --van-dialog-width: 45rem;
+ --van-dialog-font-size: 2.83rem;
+ --van-dialog-header-font-weight: 600;
+ --van-dialog-header-line-height: 95%;
+ --van-text-color: #000;
+ --van-dialog-header-padding-top: 3rem;
+ --van-dialog-message-font-size: 2rem;
+ --van-dialog-message-line-height: 130%;
+ --van-dialog-has-title-message-text-color: #000;
+ --van-button-default-font-size: 2.8rem;
+ --van-dialog-button-height: 6.8rem;
+ --van-dialog-message-padding: 3.5rem;
--van-dialog-has-title-message-padding-top: 2.5rem;
+ --van-button-default-color: #1B73E7;
+ --van-dialog-confirm-button-text-color: #1B73E7;
}
+
.van-toast__text {
- font-size: 4rem;
- height: 5rem;
- line-height: 5rem;
- padding: 0 2rem;
+ font-size: 4rem;
+ height: 5rem;
+ line-height: 5rem;
+ padding: 0 2rem;
}
\ No newline at end of file
diff --git a/src/components/FooterNavigation.vue b/src/components/FooterNavigation.vue
index 700ddfb..3a62bd3 100644
--- a/src/components/FooterNavigation.vue
+++ b/src/components/FooterNavigation.vue
@@ -18,8 +18,10 @@
}
const onHome = (nav) => {
showConfirmDialog({
- title: 'Tip',
- message: 'The current page has not been saved. Do you want to return to the home page?'
+ title: 'Return to Home Page?',
+ message: 'You have unsaved changes. Your progress will be lost.',
+ confirmButtonText: 'Yes',
+ cancelButtonText: 'Cancel',
})
.then(() => {
nav.path && router.push(nav.path)
diff --git a/src/router/index.ts b/src/router/index.ts
index 5954606..2ce18b0 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -107,7 +107,7 @@ const router = createRouter({
// creation
path: '/workshop/creation',
name: 'creation',
- component: () => import('../views/Workshop/creation.vue'),
+ component: () => import('../views/Workshop/creation/index.vue'),
},
{
// 完成创建
diff --git a/src/views/Workshop/creation.vue b/src/views/Workshop/creation.vue
deleted file mode 100644
index 2c6dc49..0000000
--- a/src/views/Workshop/creation.vue
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
-
+
-