更新记录
1.0.1(2025-09-10)
发版
1.0.0(2025-09-10)
发布
平台兼容性
uni-app
Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
---|---|---|---|---|---|---|---|---|
√ | √ | - | - | - | - | × | 12 | - |
微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 快应用-华为 | 快应用-联盟 |
---|---|---|---|---|---|---|---|---|---|---|
× | × | × | × | × | × | - | × | × | × | × |
uni-app x
Chrome | Safari | Android | iOS | 鸿蒙 | 微信小程序 |
---|---|---|---|---|---|
- | - | × | 12 | - | × |
ll-appscore
uni-app x 应用内打开AppStore评分 、打开AppStore评价app
使用介绍
跳转到AppStore评分,有两种方法: 方式1、应用内评分功能,调用系统方法评分。无须跳转,应用内系统弹框,方便快速 方式2、app内跳转AppStore进行评分和写评论
使用示例:
<template>
<view>
<button type="primary" @click="tapInApp" style="margin-bottom: 10px;">
应用内打开AppStore评分
</button>
<button type="primary" @click="tapOutApp">
跳转到AppStore,进行评分/评价
</button>
</view>
</template>
<script>
const app = getApp();
import {openInAppScore,openOutAppScore} from "@/uni_modules/ll-appscore"
export default {
data() {
return {
};
},
methods: {
//在应用内
tapInApp() {
openInAppScore({
success: (res) => {
console.log('成功', res)
},
fail: (res) => {
console.log('失败', res)
}
})
},
//跳转AppStore
tapOutApp() {
openOutAppScore({
appid:'6749250091',
success: (res) => {
console.log('成功', res)
},
fail: (res) => {
console.log('失败', res)
}
})
},
},
};
</script>