![](https://img-blog.csdnimg.cn/9b4565d4a21b4e19957c28a2df38ce25.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
UniApp
UniApp
LinMin_Rik
用一段代码拯救世界
展开
-
uniapp小程序提示用户打开系统定位并授权
【代码】uniapp小程序提示用户打开系统定位并授权。原创 2024-06-26 15:03:58 · 424 阅读 · 0 评论 -
uniApp微信小程序唤出授权头像昵称(微信授权登录)弹窗,及服务端用户信息解密注意事项
头像昵称弹窗弹出条件:button授权按钮 + uni.getUserProfile API请求1.H5部分<button open-type="getUserInfo" v-on:tap="wxLogin">微信一键登录</button>2.JS部分wxLogin(){ // 获取用户信息 uni.getUserProfile({ desc: '获取你的昵称、头像、地区及性别', success: res => { console.log(re.原创 2022-03-23 17:39:41 · 11138 阅读 · 2 评论