feat: 修改背景音乐英文命名;启动页自定义隐私协议去除;接入官方原生隐私政策;

This commit is contained in:
mixtan 2025-08-07 09:16:50 +08:00
parent 018f84a808
commit d268c6a294
11 changed files with 87 additions and 39 deletions

View File

@ -4,27 +4,23 @@
"version" : "0.0", "version" : "0.0",
"configurations" : [ "configurations" : [
{ {
"app-plus" : "app-plus" : {
{
"launchtype" : "remote" "launchtype" : "remote"
}, },
"default" : "default" : {
{
"launchtype" : "local" "launchtype" : "local"
}, },
"h5" : "h5" : {
{
"launchtype" : "local" "launchtype" : "local"
}, },
"mp-weixin" : "mp-weixin" : {
{
"launchtype" : "local" "launchtype" : "local"
}, },
"provider" : "aliyun", "provider" : "aliyun",
"type" : "uniCloud" "type" : "uniCloud"
}, },
{ {
"playground" : "custom", "playground" : "standard",
"type" : "uni-app:app-android" "type" : "uni-app:app-android"
}, },
{ {

View File

@ -0,0 +1,38 @@
{
"version" : "1.0.0",
"prompt" : "template",
"title" : "服务协议和隐私政策",
"message" : "请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://www.gpxscs.cn/businessAgreementPrivacy\">《服务协议》</a>和<a href=\"https://www.gpxscs.cn/businessAgreementPrivacy\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept" : "同意并接受",
"buttonRefuse" : "暂不同意",
"hrefLoader" : "system",
"backToExit" : "false",
"second" : {
"title" : "确认提示",
"message" : "进入应用前,你需先同意<a href=\"https://www.gpxscs.cn/businessAgreementPrivacy\">《服务协议》</a>和<a href=\"https://www.gpxscs.cn/businessAgreementPrivacy\">《隐私政策》</a>,否则将退出应用。",
"buttonAccept" : "同意并继续",
"buttonRefuse" : "退出应用"
},
"disagreeMode" : {
"support" : false,
"loadNativePlugins" : false,
"visitorEntry" : false,
"showAlways" : false
},
"styles" : {
"backgroundColor" : "#ffffff",
"borderRadius" : "5px",
"title" : {
"color" : "#000000"
},
"buttonAccept" : {
"color" : "#fe411b"
},
"buttonRefuse" : {
"color" : "#666666"
},
"buttonVisitor" : {
"color" : "#222222"
}
}
}

View File

@ -1,5 +1,5 @@
{ {
"name" : "小发同城商家版", "name" : "小发同城",
"appid" : "__UNI__95F809F", "appid" : "__UNI__95F809F",
"package" : "com.xiaofa.shopAdmin", "package" : "com.xiaofa.shopAdmin",
"description" : "", "description" : "",
@ -30,6 +30,9 @@
"distribute" : { "distribute" : {
/* android */ /* android */
"android" : { "android" : {
"targetSdkVersion" : 30,
"minSdkVersion" : 21,
"compileSdkVersion" : 30,
"permissions" : [ "permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
@ -68,8 +71,8 @@
"unipush" : { "unipush" : {
"version" : "2", "version" : "2",
"offline" : false, "offline" : false,
"appid": "rQxaGAKl7t83KlTubAaKC3", "appid" : "rQxaGAKl7t83KlTubAaKC3",
"appkey": "QSElTn6ttq5nmrIZtFhCT" "appkey" : "QSElTn6ttq5nmrIZtFhCT"
} }
} }
}, },
@ -106,8 +109,12 @@
} }
}, },
"splashscreen" : { "splashscreen" : {
"androidStyle" : "default" "androidStyle" : "default",
"useOriginalMsgbox" : true
} }
},
"uniStatistics" : {
"enable" : true
} }
}, },
/* */ /* */
@ -155,9 +162,11 @@
"usingComponents" : true "usingComponents" : true
}, },
"uniStatistics" : { "uniStatistics" : {
"enable" : false "enable" : false,
"version" : "2"
}, },
"vueVersion" : "2" "vueVersion" : "2",
"fallbackLocale" : "zh-Hans"
} }
/* 5+App */ /* 5+App */

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="container"> <view class="container">
<u-popup :show="show" @close="close" @open="open" mode="center"> <!-- <u-popup :show="show" @close="close" @open="open" mode="center">
<view class="popup"> <view class="popup">
<view class="popup_header">欢迎使用小发同城</view> <view class="popup_header">欢迎使用小发同城</view>
<scroll-view <scroll-view
@ -30,7 +30,7 @@
</u-button> </u-button>
</view> </view>
</view> </view>
</u-popup> </u-popup> -->
</view> </view>
</template> </template>
@ -48,18 +48,23 @@ export default {
}; };
}, },
mounted() { mounted() {
this.getProtoco(); // this.getProtoco();
try { // try {
const val = uni.getStorageSync("isNeedAgreementDialog"); // const val = uni.getStorageSync("isNeedAgreementDialog");
if (val === "" || val === false) { // if (val === "" || val === false) {
this.show = true; // this.show = true;
} else { // } else {
// this.checkAppUpdate();
// uni.redirectTo({
// url: "/pages/index/index",
// });
// }
// } catch (e) {}
this.checkAppUpdate(); this.checkAppUpdate();
uni.redirectTo({ uni.redirectTo({
url: "/pages/index/index", url: "/pages/index/index",
}); });
}
} catch (e) {}
}, },
methods: { methods: {
async getProtoco() { async getProtoco() {