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",
"configurations" : [
{
"app-plus" :
{
"launchtype" : "remote"
},
"default" :
{
"launchtype" : "local"
},
"h5" :
{
"launchtype" : "local"
},
"mp-weixin" :
{
"launchtype" : "local"
},
"provider" : "aliyun",
"type" : "uniCloud"
"app-plus" : {
"launchtype" : "remote"
},
"default" : {
"launchtype" : "local"
},
"h5" : {
"launchtype" : "local"
},
"mp-weixin" : {
"launchtype" : "local"
},
"provider" : "aliyun",
"type" : "uniCloud"
},
{
"playground" : "custom",
"playground" : "standard",
"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",
"package" : "com.xiaofa.shopAdmin",
"description" : "",
@ -30,6 +30,9 @@
"distribute" : {
/* android */
"android" : {
"targetSdkVersion" : 30,
"minSdkVersion" : 21,
"compileSdkVersion" : 30,
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
@ -68,8 +71,8 @@
"unipush" : {
"version" : "2",
"offline" : false,
"appid": "rQxaGAKl7t83KlTubAaKC3",
"appkey": "QSElTn6ttq5nmrIZtFhCT"
"appid" : "rQxaGAKl7t83KlTubAaKC3",
"appkey" : "QSElTn6ttq5nmrIZtFhCT"
}
}
},
@ -106,8 +109,12 @@
}
},
"splashscreen" : {
"androidStyle" : "default"
"androidStyle" : "default",
"useOriginalMsgbox" : true
}
},
"uniStatistics" : {
"enable" : true
}
},
/* */
@ -155,9 +162,11 @@
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
"enable" : false,
"version" : "2"
},
"vueVersion" : "2"
"vueVersion" : "2",
"fallbackLocale" : "zh-Hans"
}
/* 5+App */

View File

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