From b25c366a5baec4ac700b83dff2a09b9b09308446 Mon Sep 17 00:00:00 2001 From: jinhhanhan <1683105490@qq.com> Date: Wed, 8 Apr 2026 11:37:29 +0800 Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9A=E5=A2=9E=E5=8A=A0=E4=BA=86?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E7=94=A8=E6=88=B7=E9=9A=90=E7=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .local.config.js | 12 +- manifest.json | 2 +- pages/index/index.vue | 237 +++++++++++++++++++++++++++++---- pages/index/public/js/index.js | 191 +++++++++++++++----------- 4 files changed, 335 insertions(+), 107 deletions(-) diff --git a/.local.config.js b/.local.config.js index cdc5e52..2510dc4 100644 --- a/.local.config.js +++ b/.local.config.js @@ -41,7 +41,15 @@ const localDevConfig = ({ 'local-2': { // 测试平台 uniacid: 2, domain: 'http://localhost:8050/', - }, -})['1']; // 选择要使用的环境配置 + }, + '47': { // 修改弹窗 + uniacid: 47, + domain: 'https://5g.aigc-quickapp.com/', + }, + '2075': { // + uniacid: 2075, + domain: 'https://xcx.aigc-quickapp.com/', + }, +})['47']; // 选择要使用的环境配置 export default localDevConfig; \ No newline at end of file diff --git a/manifest.json b/manifest.json index 6a72520..a5bbfa1 100644 --- a/manifest.json +++ b/manifest.json @@ -104,7 +104,7 @@ }, "router" : { "mode" : "history", - "base" : "/hwappx/common/" + "base" : "/hwappx/47/" }, "title" : "", "devServer" : { diff --git a/pages/index/index.vue b/pages/index/index.vue index 13f0583..579a43b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -17,10 +17,6 @@ }} - - @@ -101,7 +79,7 @@ - + @@ -136,8 +114,27 @@ + - + + + + + 用户隐私保护提示 + + 感谢您使用本应用,在使用前您应当阅读并同意 + 《隐私条款》 + 《用户服务协议》 + ,当点击同意并继续时,即表示您已理解并同意该条款内容,该条款将对您产生法律约束力;如您不同意,将无法继续使用相关功能。 + + + 不同意 + 同意并继续 + + + + + @@ -146,14 +143,132 @@ @@ -199,6 +314,74 @@ export default { .small-bot-close i { font-size: 60rpx; } + +/* 新增:隐私弹窗样式 */ +.privacy-modal-mask { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.6); // 半透明背景 + z-index: 9999; // 确保层级最高 + display: flex; + justify-content: center; + align-items: center; +} + +.privacy-modal-container { + width: 80%; + background-color: #ffffff; + border-radius: 12rpx; + padding: 40rpx 30rpx; + text-align: center; +} + +.modal-header { + font-size: 36rpx; + font-weight: bold; + color: #333; + margin-bottom: 20rpx; +} + +.modal-body { + font-size: 28rpx; + color: #666; + line-height: 1.6; + text-align: left; + margin-bottom: 30rpx; +} + +.link { + color: #007aff; // 蓝色链接 + margin: 0 4rpx; +} + +.modal-footer { + display: flex; + justify-content: space-between; + padding: 0 20rpx; +} + +.btn { + flex: 1; + height: 80rpx; + line-height: 80rpx; + border-radius: 40rpx; + font-size: 30rpx; + text-align: center; + margin: 0 15rpx; +} + +.btn-disagree { + background-color: #f5f5f5; + color: #333; +} + +.btn-agree { + background-color: #07c160; // 微信绿 + color: #fff; +}