08 2021 档案

安卓开启GPS,native.js
摘要:if(plus.os.name == "Android"){var context = plus.android.importClass("android.content.Context");var locationManager=plus.android.importClass("android. 阅读全文

posted @ 2021-08-26 16:14 Just丶随心 编辑

native.js,安卓判断APP是否在电池优化白名单
摘要:配置权限" <uses-permission android:name=\"android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS\"/>",// 白名单 var main = plus.android.runtimeMainActivity( 阅读全文

posted @ 2021-08-26 14:55 Just丶随心 编辑

flex上下左右居中
摘要:父元素CSS box-sizing: border-box; padding-left: 10px; padding-right: 10px; display: flex; align-items: center; -webkit-box-pack: justify; justify-content 阅读全文

posted @ 2021-08-19 15:27 Just丶随心 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示