fix: 调整小程序权限配置与页面滚动配置

1. 更新剪贴板权限名称为userClipboardWrite并新增clipboard到隐私信息列表
2. 兼容微信小程序移除scrollEnabled,改用disableScroll保持滚动行为一致
This commit is contained in:
2026-07-11 13:51:46 +08:00
parent 117cbccbd7
commit bec47d1860
2 changed files with 17 additions and 10 deletions

View File

@@ -71,7 +71,7 @@
"scope.userLocation" : {
"desc" : "为了更好地为您提供服务"
},
"scope.userClipboard" : {
"scope.userClipboardWrite" : {
"desc" : "为了方便您复制信息"
},
"scope.camera" : {
@@ -81,7 +81,7 @@
"desc" : "用于从相册选择和保存头像"
}
},
"requiredPrivateInfos" : [ "chooseLocation", "getLocation", "chooseAddress" ],
"requiredPrivateInfos" : [ "chooseLocation", "getLocation", "chooseAddress", "clipboard" ],
"__usePrivacyCheck__" : true,
"optimization" : {
"subPackages" : true

View File

@@ -1886,14 +1886,21 @@
},
//******************会员充值(4)******************
{
"path": "recharge/list",
"style": {
// #ifdef APP-PLUS
"navigationStyle": "custom",
// #endif
"scrollEnabled": true// 禁止页面滚动
}
},
"path": "recharge/list",
"style": {
// 微信小程序不允许 scrollEnabled 字段(uniapp 私有扩展),
// 不写任何滚动字段即代表"允许页面滚动"(默认行为),与原 scrollEnabled: true 一致。
// #ifdef MP-WEIXIN
"disableScroll": false,
// #endif
// #ifndef MP-WEIXIN
"scrollEnabled": true, // 禁止页面滚动
// #endif
// #ifdef APP-PLUS
"navigationStyle": "custom"
// #endif
}
},
{
"path": "recharge/order_list",
"style": {