更新记录
1.0(2022-08-18)
下载此版本
微信全局检测
平台兼容性
uni-app
Vue2 |
Vue3 |
Chrome |
Safari |
app-vue |
app-nvue |
Android |
iOS |
鸿蒙 |
√ |
- |
- |
- |
- |
- |
- |
- |
- |
微信小程序 |
支付宝小程序 |
抖音小程序 |
百度小程序 |
快手小程序 |
京东小程序 |
鸿蒙元服务 |
QQ小程序 |
飞书小程序 |
快应用-华为 |
快应用-联盟 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
【2023-搜索页面-可能是最好用的插件】
d-search-log
<template>
<view class="">
<!-- 登录弹窗 -->
<uni-transition :show="loginShow" mode-class="fade">
<login v-on:getInfoson="getInfo"></login>
</uni-transition>
</view>
</template>
<script>
<!-- 在监测页面引用 login -->
import login from '@/components/weChatPupop/weChatPupop.vue'
export default {
components: {
login
},
data() {
return {
loginShow: false,
article_id:''
};
},
onLoad() {
},
onShow() {
// this.getInfo()
},
methods: {
onShareAppMessage() {
return {
title: articleInfo.title,
path: `/pages/index/articleInfo/articleInfo?article_id=${this.article_id}`,
imageUrl: articleInfo.cover.file_path,
}
},
// 分享到朋友圈
onShareTimeline() {
return {
title: articleInfo.title,
path: `/pages/index/articleInfo/articleInfo?article_id=${this.article_id}`,
imageUrl: articleInfo.cover.file_path,
}
},
shareWxOrPyq(e) {
console.log(e);
},
<!-- 获取子页面传递的值 -->
getInfo(result) {
console.log('articleInfo');
if(result == 1){
this.loginShow = true;
console.log('授权成功')
}
},
}
}
</script>
<style>
</style>