From 394b03a99451ca5b91fc6819ff5802c71bf8a618 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Fri, 12 Sep 2025 10:07:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A7=9F=E8=B5=81=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=B7=B3=E8=BD=AC=E5=88=B0=E7=AD=BE=E8=AE=A2=E5=90=88?= =?UTF-8?q?=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/dev.js | 2 +- pages.json | 2 +- .../InstallationAgreement.vue | 2 +- pages/lease/lease.vue | 78 +++++++++++-------- 4 files changed, 47 insertions(+), 37 deletions(-) diff --git a/config/dev.js b/config/dev.js index 23fba98..c4a8f3c 100644 --- a/config/dev.js +++ b/config/dev.js @@ -2,7 +2,7 @@ export const DEV_CONFIG = { // 临时token,用于开发测试 TEMP_TOKEN: - 'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjViMTMzOTU5LWRkOGYtNDUwZS1hNDNmLTQyNTZmNzljNjU4YyJ9.vEal-nq4biYni9F3YhBr6pt6mEepOYFQzlSeERQ-Ft_YejklpzmjhvIF9nO3PkjS7F5ns4unIUt8Ov0JEWnY2Q', + 'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjAxYzAwNGY4LTY0NWItNGI5OS04NGY1LTVhOTlhMzkyNDc4YyJ9.vT8doYVLUY4faLPTD3QTTURumMeMEPkutA4RHkbDokRGQanM1hMnF01AHhP1fmqD1sfeOb-i_UCMqt0dXeKi_g', // 是否使用临时token USE_TEMP_TOKEN: true, diff --git a/pages.json b/pages.json index 08e1266..dc95976 100644 --- a/pages.json +++ b/pages.json @@ -132,7 +132,7 @@ { "path": "pages/signature/signature", "style": { - "navigationBarTitleText": "签名" + "navigationBarTitleText": "请横屏签名" } } ], diff --git a/pages/InstallationAgreement/InstallationAgreement.vue b/pages/InstallationAgreement/InstallationAgreement.vue index 2271591..ae6cc28 100644 --- a/pages/InstallationAgreement/InstallationAgreement.vue +++ b/pages/InstallationAgreement/InstallationAgreement.vue @@ -46,7 +46,7 @@ diff --git a/pages/lease/lease.vue b/pages/lease/lease.vue index 8c24253..287e827 100644 --- a/pages/lease/lease.vue +++ b/pages/lease/lease.vue @@ -100,11 +100,11 @@ - + - 我已阅读并同意 - 《安装协议》 + + 去签署《安装协议》 @@ -140,36 +140,36 @@ - - - - 安装协议 - + + + + + - - - 本协议由出租方与承租方共同订立,双方就灶台设备租赁安装事宜达成如下约定: ​​第一条 - 设备交付​​ - 出租方应于约定日期将灶台设备运送至指定安装位置,并负责专业安装调试,确保设备正常运行。 - ​​第二条 安装标准​​ - 安装过程需符合安全规范,燃气接口必须密封完好,电路连接符合国家标准,排烟管道畅通无阻。 - ​​第三条 使用培训​​ - 出租方需提供设备操作培训,指导承租方正确使用及日常维护方法,确保使用安全。 ​​第四条 - 维护责任​​ - 租赁期内正常使用出现的故障,由出租方负责免费维修。人为损坏需承租方承担维修费用。 - ​​第五条 安全承诺​​ - 承租方应按照操作规程使用设备,定期检查安全隐患。如发现异常应立即停用并通知出租方。 - ​​第六条 协议终止​​ 租赁期满后,出租方负责设备拆卸回收。如需续租应提前15日重新签订协议。 - 本协议一式两份,双方各执一份,自签字之日起生效。 出租方签字:__________ - 承租方签字:__________ 日期:年月日 - - + + + + + + + + + + + + + + + + + + - - - - - + + + + + @@ -198,11 +198,14 @@ export default { }, }, onShow() { - if (!this.hasAgreed) { - ;(this.$refs.popup.open(), (this.hasAgreed = true)) - } + // if (!this.hasAgreed) { + // uni.navigateTo({ + // url: '/pages/InstallationAgreement/InstallationAgreement', + // }) + // } }, onLoad() { + this.goToInstallationProtocol() uni.authorize({ scope: 'scope.userLocation', success: function () { @@ -238,6 +241,13 @@ export default { } }, methods: { + goToInstallationProtocol() { + if (!this.hasAgreed) { + uni.navigateTo({ + url: '/pages/InstallationAgreement/InstallationAgreement', + }) + } + }, close() { this.$refs.popup.close() },