你图片发的是url link,客户端复制出来的是Short Link,没有时间限制,是永久链接
在小程序客户端的复制出的shortlink是否受30分钟限制,是否是永久的?[图片]
2022-09-02 把 padding: 10px;注释了
input value 设置初始值后,不居中focus 后才正常 wxml: [图片] css: [图片] 预览: [图片]
2022-09-02这个改不了
分享时可以自定义左上角logo和小程序名称吗?onShareAppMessage(Object object)使用这个组件分享小程序给好友时,左上角的小程序logo和名称支持更改吗? 不通单位想自定义本单位的logo和名称。 [图片]
2022-09-02黑椒牛肉月饼🥮YYDS
话题讨论 | 微信支付请你吃月饼~马上就到中秋节了,大家都吃上月饼了吗?还没吃上的赶紧往下看! [图片] 中秋节是中国民间的传统节日,自古便有祭月、赏月、吃月饼、看花灯、赏桂花、饮桂花酒等民俗,其中“吃月饼”发展至今已经成为了中国各地的必备习俗了。月饼的口味那更加是琳琅满目、数不胜数了,五仁月饼、莲蓉月饼、豆沙月饼、云腿月饼、鲜花月饼.......不论是甜是咸,总有一款适合你;就像微信支付一样,不论是线上支付还是线下支付,总有一种方案适合你~ [图片] 从最初只是祭拜月神的供品,到现在每家每户过中秋的团圆美食,月饼承载了太多的记忆与情感。 [图片] 那么,你最喜欢吃的是哪一种月饼呢?欢迎在评论区告诉我们,我们将会在评论区内随机抽取1位幸运鹅送出鹅厂今年的中秋礼盒一份,里面有咸有甜喔~ 当然,咱们也要干点“正事儿”,也非常欢迎各位在评论留言内提出你对微信支付文档、API的意见、建议或需求,点赞数最高的2位幸运鹅同样也可以获得中秋礼盒一份。 活动1:评论区随机抽取1位留言用户 活动2:对官方提出意见、建议或需求最高点赞数的2位留言用户 活动截止于9月15日23:59分,大家都快来参与吧~ [图片] 附上鹅厂2022年中秋礼盒介绍推文:这是腾讯今年的中秋月饼(内含火腿) 看完让你写得了代码,搓得了月饼(狗头.jpg) 最后,祝大家的日子红红火火、圆圆满满、中秋快乐! [图片] 以下是本次活动的获奖名单: 小康、涛涛🧎🏻、北望沣渭 请各位获奖者尽快联系微信支付社区运营-Tasting认领奖品喔~
2022-09-02登录小程序后台不配置客服试试,mp.weixin.qq.com
如何关闭小程序客服功能?[图片]
2022-09-02现在使用头像昵称填写能力 https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/userProfile.html
大佬指点一下萌新 怎么获取微信昵称头像吧?<template> <view> <view> <view> <view class='header'> <image src='../../static/image/wx_login.png'></image> </view> <view class='content'> <view>申请获取以下权限</view> <text>获得你的公开信息(昵称,头像、地区等)</text> </view> <!-- <button class='bottom' type='primary' open-type="getUserInfo" withCredentials="true" lang="zh_CN" @getuserinfo="getUserInfo"> 授权登录 </button> --> <button class='bottom' type='primary' withCredentials="true" lang="zh_CN" @click="getUserInfo"> 授权登录 </button> <button class='bottom' type='primary' open-type="getUserInfo" withCredentials="true" lang="zh_CN" @click="quxiao"> 暂不登录 </button> </view> </view> </view> </template> <script> import { } from 'vuex'; export default { // computed: { // ...mapState(['userInfo']) // }, data() { return { } }, onLoad() { // 获取用户信息 var _self = this; _self.$uniApi.checkPhone(""); this.get_wx_code(); }, methods: { get_wx_code(){ uni.login({ provider: 'weixin', success: (res) => { this.code = res.code; } }) }, getUserInfo() { const that = this; uni.getUserProfile({ // provider: 'weixin', desc:'仅用于展示用户头像与昵称', success: function(infoRes) { if (infoRes.errMsg == "getUserProfile:ok") { console.log(infoRes); uni.request({ url: 'https://xxx.com/App/Zm/oneRegister', header: { 'content-type': 'application/x-www-form-urlencoded', }, method: 'POST', data: { uuid: that.code, avatarUrl: infoRes.userInfo.avatarUrl, nickName: infoRes.userInfo.nickName }, success: (ret) => { console.log(JSON.stringify(ret.data)); if (ret.statusCode !== 200) { console.log('请求失败', ret); return; } if (ret.data.code == 1) { // 取数据并赋值 uni.setStorageSync('user_id', ret.data .msg.id); uni.setStorageSync('username', ret.data .msg.username); uni.setStorageSync('userimg', ret.data .msg.userimg); uni.setStorageSync('jifen', ret.data .msg.jifen); uni.setStorageSync('viptime', ret.data .msg.viptime); uni.setStorageSync('buy', ret.data.msg .buy); uni.setStorageSync('collect', ret.data .msg.collect); // 关闭动画 uni.hideLoading(); // 跳转到首页 uni.reLaunch({ url: '../index/index' }); } else { // 关闭动画 // 气泡提示 uni.showToast({ title: ret.data.msg, icon: 'none', duration: 2000 }); } } }); } else { uni.showToast({ title: '系统异常,请联系管理员!' }) } }, fail: () => { uni.showToast({ title: '获取用户信息失败', icon: 'none' }); } }); }, quxiao() { uni.reLaunch({ url: '../index/index' }); } }, } </script> <style> .header { margin: 90rpx 0 90rpx 50rpx; border-bottom: 1px solid #ccc; text-align: center; width: 650rpx; height: 300rpx; line-height: 450rpx; } .header image { width: 200rpx; height: 200rpx; } .content { margin-left: 50rpx; margin-bottom: 90rpx; } .content text { display: block; color: #9d9d9d; margin-top: 40rpx; } .bottom { border-radius: 80rpx; margin: 70rpx 50rpx; font-size: 35rpx; } </style>
2022-09-02小程序跳小程序没有要求
A小程序跳到B小程序,对A小程序的资质有要求吗?比如A小程序是做健康科普的 没有药品许可证,B小程序有药品许可证。我在A小程序做个跳转链接 跳到B小程序。 这样对A小程序有影响嘛?或者对A小程序的资质有要求吗?
2022-09-01后台设置允许搜索了么
小程序发布一年了,还是搜索不到?APPID:wxc219e0efae9c9e82 [图片][图片]
2022-09-01思路没有问题,怎么获取的呢
怎么确定分享的卡片被用户点击了?【问题已解决】 解决方案: 之前不知道为什么一直调试不成功,可能时云服务环境的问题,下午又调了下成功了。问题中的代码和思路是可行的。 感谢大家的建议和帮助! ---------------------------------------------------------------------- 【原问题】 类似邀请助力之类的功能。例如微信读书的每日挑战,和分享领书的功能。 我目前的思路是,希望转发出去后携带分享者的id,这样从卡片点击进来后将分享者的id传到后台,就可以了。 但现在问题是,使用 onShareAppMessage 方法自定义的 path,后面的 url 参数在打开页面后无法获取。(代码如下) 请问是哪里除了问题,或者应该怎么实现该功能呢? onShareAppMessage(parm: any) { return { title: 'title', path: `/pages/index/redirect?sharer=${app.globalData.openId}`, imageUrl: `/assets/share${Math.floor(Math.random() * 2)}.jpg` } },
2022-09-01工具里面的性能测试不是有建议么[图片]
体验评分(Audits)中性能检测 有没有可以检测出性能问题的demo代码片段分享吗https://developers.weixin.qq.com/miniprogram/dev/framework/audits/performance.html 怎么检测出这些性能指标 [图片]
2022-09-01