+
{{ t('signature.tips.prePayment') }}
+
{
{{ item.title }}
+
Date: Fri, 14 Mar 2025 10:07:39 +0800
Subject: [PATCH 2/6] 1231
---
app/pages/collectCode/signature/protocol/index.vue | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/app/pages/collectCode/signature/protocol/index.vue b/app/pages/collectCode/signature/protocol/index.vue
index 857d6e2..653d781 100644
--- a/app/pages/collectCode/signature/protocol/index.vue
+++ b/app/pages/collectCode/signature/protocol/index.vue
@@ -4,14 +4,14 @@ import { contractView, signOffline } from "~/api/goods/index.js"
import { codeAuthStore } from "~/stores-collect-code/auth/index.js"
import { useI18n } from "vue-i18n"
import { fddInfo } from "@/api-collect-code/goods/index.js"
-
+import { showLoadingToast } from 'vant';
definePageMeta({
i18n: 'signature.protocol.title'
})
const { t } = useI18n()
const { formData, number, qrData } = codeAuthStore()
-const activeNames = ref([])
+const activeNames = ref('')
const router = useRouter()
const pmblUrl = ref('')
@@ -74,6 +74,11 @@ const handleCollapseChange = (name) => {
* - 其他用户: 走非大陆签署流程
*/
const confirm = async () => {
+const toast= showLoadingToast({
+ message: '加载中...',
+ forbidClick: true,
+});
+
try {
const fddResponse = await fddInfo({ phone: formData.value.phone })
@@ -100,6 +105,8 @@ const confirm = async () => {
}
} catch (error) {
console.error('签署确认失败:', error)
+ }finally{
+ toast1.close();
}
}
From 3b60502ae32ed4ef43b8bb6646b071df1ec6c794 Mon Sep 17 00:00:00 2001
From: xingyy <64720302+Concur-max@users.noreply.github.com>
Date: Fri, 14 Mar 2025 10:08:45 +0800
Subject: [PATCH 3/6] 12
---
app/pages/collectCode/signature/protocol/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/pages/collectCode/signature/protocol/index.vue b/app/pages/collectCode/signature/protocol/index.vue
index 653d781..277398b 100644
--- a/app/pages/collectCode/signature/protocol/index.vue
+++ b/app/pages/collectCode/signature/protocol/index.vue
@@ -106,7 +106,7 @@ const toast= showLoadingToast({
} catch (error) {
console.error('签署确认失败:', error)
}finally{
- toast1.close();
+ toast.close();
}
}
From 9402c8b7194e18e7cf7be32840619204a3dbf34b Mon Sep 17 00:00:00 2001
From: xingyy <64720302+Concur-max@users.noreply.github.com>
Date: Fri, 14 Mar 2025 10:57:50 +0800
Subject: [PATCH 4/6] =?UTF-8?q?refactor(app):=20=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=92=8C=E6=80=A7=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在 puzzleComponent 中添加 watch 监听 loading 状态,以重置验证状态
- 修改 personal-Info 页面中路由跳转方式
- 在 nuxt.config.js 中添加 imagemin 插件,优化图片压缩
- 更新 package.json,添加 vite-plugin-imagemin 依赖
---
app/components/puzzleComponent/index.vue | 18 +-
.../signature/personal-Info/index.vue | 2 +-
nuxt.config.js | 44 +-
package.json | 3 +-
pnpm-lock.yaml | 2161 ++++++++++++++++-
5 files changed, 2200 insertions(+), 28 deletions(-)
diff --git a/app/components/puzzleComponent/index.vue b/app/components/puzzleComponent/index.vue
index b636f63..c031771 100644
--- a/app/components/puzzleComponent/index.vue
+++ b/app/components/puzzleComponent/index.vue
@@ -1,7 +1,7 @@