feat:更正ios上架要求

This commit is contained in:
2026-02-09 21:58:51 +08:00
parent 730f218165
commit e92dcc19db
4 changed files with 57 additions and 26 deletions
+3 -3
View File
@@ -70,9 +70,9 @@
}
},
"privacyDescription" : {
"NSPhotoLibraryUsageDescription" : "App 需要访问相册以便用户从本地选择商品图片,用于上传并展示在商品详情页",
"NSPhotoLibraryAddUsageDescription" : "App 需要访问相册以便用户从本地选择商品图片,用于上传并展示在商品详情页",
"NSCameraUsageDescription" : "App 需要访问相机以拍摄头像照片,用于上传并展示到详情页"
"NSPhotoLibraryUsageDescription" : "App需要您的同意才能访问相册,以便您选择本地图片上传头像或发布商品评价。例如:当您修改个人头像或发布带图评价时,需要从相册选择图片。",
"NSPhotoLibraryAddUsageDescription" : "App需要您的同意才能添加图片到相册,以便您保存商品海报或图片到本地。例如:当您点击保存商品分享海报时,需要写入相册权限。",
"NSCameraUsageDescription" : "App需要您的同意才能访问相机,以便您拍摄图片上传头像或发布商品评价。例如:当您修改个人头像或发布带图评价时,需要使用相机拍摄照片。"
}
},
/* SDK配置 */
+35 -12
View File
@@ -69,7 +69,7 @@
<up-checkbox name="isCheck" usedAlone v-model:checked="isPolicy" shape="circle" activeColor="#7934F6"
size="19" iconSize="18">
<template #label>
<text @click="aa">已阅读并同意</text>
<text>已阅读并同意</text>
<text class="policy_a_warp" @click="jumpUserAgreement">《服务协议》</text>
<text>、</text>
<text class="policy_a_warp" @click="jumpPrivacyAgreement">《隐私政策》</text>
@@ -185,9 +185,16 @@
const form = this.form;
const params = {};
if (!this.isPolicy) {
this.$refs.uToastRef.show({
type: "error",
message: "请阅读完相关协议以及政策,并且勾选同意选项",
uni.showModal({
title: '温馨提示',
content: '请您阅读并同意《服务协议》与《隐私政策》',
confirmText: "同意并登录",
success: (res) => {
if (res.confirm) {
this.isPolicy = true;
this.loginFun(val);
}
}
});
return;
}
@@ -311,11 +318,19 @@
// 检查是否同意协议
if (!this.isPolicy) {
this.$refs.uToastRef.show({
type: "error",
message: "请阅读完相关协议以及政策,并且勾选同意选项",
uni.showModal({
title: '温馨提示',
content: '请您阅读并同意《服务协议》与《隐私政策》',
confirmText: "同意并登录",
success: (res) => {
if (res.confirm) {
this.isPolicy = true;
this.wechatOneLogin();
} else {
this.loading = false;
}
}
});
this.loading = false;
return;
}
@@ -388,11 +403,19 @@
// 检查是否同意协议
if (!this.isPolicy) {
this.$refs.uToastRef.show({
type: "error",
message: "请阅读完相关协议以及政策,并且勾选同意选项",
uni.showModal({
title: '温馨提示',
content: '请您阅读并同意《服务协议》与《隐私政策》',
confirmText: "同意并登录",
success: (res) => {
if (res.confirm) {
this.isPolicy = true;
this.alipayOneLogin();
} else {
this.loading = false;
}
}
});
this.loading = false;
return;
}
@@ -23,10 +23,10 @@
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后,我们所希望的就是为我们的用户带来最好的体验。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;APP安装及运行所需权限列表及用途<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1: INTERNET:允许应用访问网络,用于与服务器进行数据交互,确保应用内容的更新及核心业务功能的正常运行。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2: CAMERA:相机权限。用于在您使用扫码、拍摄照片上传头像或反馈建议等功能时获取影像信息。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2: CAMERA:相机权限。用于在您使用扫码、拍摄照片上传头像或反馈建议等功能时获取影像信息。例如:当您点击“更换头像”时,我们需要调用相机拍摄新照片;当您发布商品评价时,您可以使用相机拍摄商品实物图上传。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3: READ_PHONE_STATE:读取电话状态。用于获取设备唯一标识符,以保障账号安全、进行反作弊校验及统计分析。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4: ACCESS_NETWORK_STATE / ACCESS_WIFI_STATE:获取网络状态/Wi-Fi状态。用于检测当前网络环境,提示流量消耗或进行网络连接优化。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5: WRITE_EXTERNAL_STORAGE / READ_EXTERNAL_STORAGE:读写外部存储。用于缓存应用数据、保存图片至本地或读取上传所需的图片/文件。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5: WRITE_EXTERNAL_STORAGE / READ_EXTERNAL_STORAGE / 相册权限:读写外部存储及相册。用于缓存应用数据、保存图片至本地或读取上传所需的图片/文件。例如:当您发布评价或更换头像时,需要访问相册选择图片;当您分享商品海报时,需要将海报保存到您的手机相册。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6: VIBRATE:允许手机震动。用于在接收到重要通知或特定交互时提供震动反馈。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7: WAKE_LOCK:唤醒锁定。用于在执行重要后台任务(如文件下载、数据同步)时防止手机进入休眠状态。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;哪些信息会被收集以及我们如何使用这些信息?<br />
+17 -9
View File
@@ -20,7 +20,7 @@
</view> -->
</view>
<!-- 搜索 -->
<view style="width: 200rpx" @click="jumpSearch">
<view style="width: 200rpx" @click="jumpSearch" class="jump-search">
<up-search
shape="square"
bgColor="#EEEEEEFF"
@@ -254,12 +254,13 @@ export default {
<style lang="scss" scoped>
.sort_warp {
padding: 130rpx 0rpx 0rpx;
height: calc(100vh - 270rpx); // 130 上边的导航栏,140下边的导航栏
padding-top:env(safe-area-inset-top) ;
height: calc(100vh - env(safe-area-inset-bottom) - 50rpx);
display: flex;
flex-direction: column;
overflow-y: auto;
&.iosplatformType {
.u-menu-wrap {
height: calc(100vh - 216rpx) !important;
}
.right-box {
padding-bottom: 100rpx !important;
}
@@ -270,13 +271,19 @@ export default {
display: flex;
justify-content: space-between;
padding: 0 30rpx;
height: 100rpx;
.sort_category_header {
display: flex;
align-items: center;
}
.jump-search{
display: flex;
}
.category_item {
width: 140rpx;
font-weight: bold;
font-size: 36rpx;
@@ -304,9 +311,10 @@ export default {
.u-menu-wrap {
flex: 1;
display: flex;
overflow: hidden;
margin-top: 20rpx;
height: calc(100vh - 216rpx - env(safe-area-inset-bottom));
// overflow: hidden;
// margin-top: 20rpx;
// height: calc(100vh - 216rpx - env(safe-area-inset-bottom));
padding-bottom:calc(100rpx + env(safe-area-inset-bottom));
}
.u-search-inner {