优化蓝牙扫描动画看起来更平滑,安卓修改隐私和协议的链接

This commit is contained in:
liub
2026-02-09 16:07:03 +08:00
parent 8f211750b0
commit 63214ded3b
2 changed files with 31 additions and 31 deletions

View File

@ -2,7 +2,7 @@
"version" : "1", "version" : "1",
"prompt" : "template", "prompt" : "template",
"title" : "服务协议和隐私政策", "title" : "服务协议和隐私政策",
"message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://dmsapp.skf.com.cn/HummerService/Resource/Template/1765175615670.html\">《服务协议》</a>和<a href=\"https://dmsapp.skf.com.cn/HummerService/Resource/Template/1765176086420.html\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", "message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://cnxhyc.com/jquan/2026/02/09/80806c4209c74bd0a223415683ec300d.html\">《服务协议》</a>和<a href=\"https://cnxhyc.com/jquan/2026/02/09/4a4d05227c1242d1a505b98586704c39.html\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept" : "同意并接受", "buttonAccept" : "同意并接受",
"buttonRefuse" : "暂不同意", "buttonRefuse" : "暂不同意",
"hrefLoader" : "system", "hrefLoader" : "system",

View File

@ -481,7 +481,10 @@
} }
plus.android.requestPermissions( plus.android.requestPermissions(
['android.permission.BLUETOOTH','android.permission.BLUETOOTH_ADMIN','android.permission.ACCESS_FINE_LOCATION','android.permission.ACCESS_COARSE_LOCATION'], ['android.permission.BLUETOOTH', 'android.permission.BLUETOOTH_ADMIN',
'android.permission.ACCESS_FINE_LOCATION',
'android.permission.ACCESS_COARSE_LOCATION'
],
(result) => { (result) => {
if (result.granted && result.granted.length > 0) { if (result.granted && result.granted.length > 0) {
console.log('定位权限已授予'); console.log('定位权限已授予');
@ -533,7 +536,9 @@
return; return;
} }
} }
showLoading(these,{text:'正在刷新'}) showLoading(these, {
text: '正在刷新'
})
let time = null; let time = null;
let startSearch = () => { let startSearch = () => {
@ -905,11 +910,11 @@
position: absolute; position: absolute;
border-radius: 50%; border-radius: 50%;
background-color: #bbe60033; background-color: #bbe60033;
animation: expand 4s infinite ease-out;
display: inline-block; display: inline-block;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
border: 1rpx solid #bbe6003d; border: 1rpx solid #bbe6003d;
animation: expand 5s infinite ease-in-out; animation: expand 4s infinite ease-in-out;
} }
.circle:nth-child(2) { .circle:nth-child(2) {
@ -924,20 +929,15 @@
0% { 0% {
width: 0; width: 0;
height: 0; height: 0;
opacity: 0.8; opacity: 0.9;
} }
80% {
width: 18.75rem;
height: 18.75rem;
opacity: 0.2;
}
100% { 100% {
width: 18rem;
width: 0.5rem; height: 18rem;
height: 0.5rem; opacity: 0;
opacity: 0.5;
} }
} }