个人案例
豆子碎片
收集了很多经典的库和代码片段,是编程开发必备工具
编程开发必备工具扫码体验
豆子工具
内含IP查询、图片格式转换、音频格式转换等工具
实用小工具扫码体验
现在可以了吗?
微信网页授权?微信网页授权MP.rxt文件可以访问到,保存时仍提示请将文件MP.rxt上传至指向的web服务器(或虚拟主机) 的目录
2024-01-05你自己生成二维码不可以吗?
getUnlimitedQRCode接口获取到不限制的小程序码内容无法解析吗?小程序二维码的使用场景是,既可以用在微信扫描二维码后跳转小程序对应页面,也可以用在其他App应用扫描后,拿到二维码内容,再进入相关功能,这里二维码内容作为一个唯一key,那么就能根据二维码内容进行到对应页面。 但当前使用的二维码是createwxaqrcode生成的有数量限制的,现在数量即将超过最大10万个了,所以寻求其他方案。 然后使用有数量限制的接口createwxaqrcode生成的二维码是能够正常解析出内容,且内容是https://mp.weixin.qq.com开头的地址。 然后想通过getUnlimitedQRCode接口获取到不限制的小程序码,但现在遇到的问题后端通过Zxing库无法解析这种二维码内容,App端能解析出来也是一算数字,比如12312312321,怀疑是不正确的。而且我们不直接使用微信接口生成的小程序二维码,而是只需要二维码的地址,然后拿着地址生成其他样式的二维码。 所以问题是,能实现正常解析出无数量限制接口生成的二维码内容中的地址吗?
2024-01-05可以在后台过滤域名,只有白名单内的域名可以访问wasm
如何在wasm中获取当前小程序的访问域名?我想实现域名白名单防止wasm被盗走或者有其他方案杜绝被盗走
2024-01-05你可以同时获取 openid 和 uionid,然后进行比对不知是否可行?
official-account 组件 用户关注后 通过有没有unionid来隐藏该组件不可行?1 公众号和小程序为统一主体 2 公众号 、 小程序已经绑定了微信开放平台 3 未关注过公众号的用户也能获取到一个unionid ,因为小程序小程序已经绑定了微信开放平台,感觉在小程序内 无法通过unionid来判断是否关注过公众号 请教各位如何 来隐藏official-account 组件?
2023-09-06 <view class="verses"> <view class="verse"> <text>chuang</text><text>qian</text><text>ming</text><text>yue</text><text>guang</text><text>yue</text><text>guang</text> </view> <view class="verse"> <text>窗</text><text>前</text><text>明</text><text>月</text><text>光</text><text>月</text><text>光</text> </view> <view class="verse"> <text>chuang</text><text>qian</text><text>ming</text><text>yue</text><text>guang</text> </view> <view class="verse"> <text>窗</text><text>前</text><text>明</text><text>月</text><text>光</text> </view> </view>
有没有更好的方法,处理拼音和汉字上下对齐的排版?目前的排版如下: .verses { display: flex; flex-direction: column; white-space: pre-wrap; text-align: justify; word-break: break-all; } .verse { display: flex; flex-direction: row; align-items: center; justify-content: space-evenly; } .verse text { padding: 0 10rpx; } [图片]
2023-06-02我也有这样的需求,我试试
如何处理二维数组?数据呈现是这样的,怎么在页面上点击Stewardess,就能打印它,我获取的都是其中数组 [图片] <block wx:for="{{DataList}}" wx:key="index" wx:for-index="myIndex"> <view class="aa"> <view class="bb">{{item.date}}</view> <block wx:for="{{item.data}}" wx:key="index2" wx:for-item="data" wx:for-index="mySubIndex"> <view wx:for="{{data}}" wx:key="index3" wx:for-item="itm"> <text class="cc" bindtap="transfer" data-index="{{myIndex}}" data-subindex="{{mySubIndex}}">{{itm}}</text> <!-- <text class="cc" bindtap="transfer" data-index="{{myIndex}}" data-subindex="{{mySubIndex}}">{{data}}</text> --> </view> </block> </view> </block> // 这是数据 DataList=[{"date":"2023-05-26","data":[["dust","gang","mechanic"],["refuge","stewardess"]], //transfer函数获取指定单词 transfer(event) { const index = event.currentTarget.dataset.index; const subIndex = event.currentTarget.dataset.subindex; const element = this.data.DataList[index].data[subIndex]; console.log(event.currentTarget.dataset) console.log(element); //["refuge","stewardess"] 我想得到是stewardess }
2023-06-02检查一下url,是不是没有使用https
域名已经是https,uploadfile域名也加入了,但是还是报如下错误,这是什么情况?Bad RequestYour browser sent a request that this server could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port. Instead use the HTTPS scheme to access this URL, please.
2022-04-10我的帖子也丢失了,为什么
你好,为啥我的公众号突然一篇文章都搜不到了,全标题也不行,麻烦处理一下哦?公众号名称:渣叔捷报笛声说体育 原始ID:gh_dfde32e3476d
2022-04-05