app适配细节优化

This commit is contained in:
gongfuxiang
2026-03-31 21:04:56 +08:00
parent d73d992a4d
commit ad67bad6f2
2 changed files with 8 additions and 4 deletions

10
App.vue
View File

@ -328,11 +328,15 @@
* 设置设备信息
*/
set_system_info() {
// #ifdef APP
if(!plus.runtime.isAgreePrivacy()) {
var system_info = uni.getSystemInfoSync();
uni.setStorageSync(this.data.cache_system_info_key, system_info);
return system_info;
return {};
}
// #endif
var system_info = uni.getSystemInfoSync();
uni.setStorageSync(this.data.cache_system_info_key, system_info);
return system_info;
},
/**

View File

@ -5,7 +5,7 @@
"message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://d1.shopxo.vip/?s=agreement/index/document/userregister/is_content/1.html\">《服务协议》</a>和<a href=\"https://d1.shopxo.vip/?s=agreement/index/document/userprivacy/is_content/1.html\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept" : "同意并接受",
"buttonRefuse" : "暂不同意",
"hrefLoader" : "system|default",
"hrefLoader" : "system",
"backToExit" : "false",
"second" : {
"title" : "确认提示",