2023年了这问题还没解决吗...微信自己的那个切换头像的都返回的是正常高清的图片....怎么这个专门选择头像的接口反而这么糊呢- -
open-type=chooseavatar获取的头像非常模糊?通过微信提供的填写头像能力拿到的微信头像十分模糊,之前是通过改路径后缀拿到高清图,现在返回的都是临时路径,现在业务需要高清图,请问有没有方法拿到清晰的图片呢?
2023-05-14little snitch实测也会影响,要在网络中删除little snitch,我下了个5.2.2版本好像没问题...5.2.1可能有问题[图片]
Mac 微信无法收发图片和文件Mac微信在我的电脑升级Big Sur系统后无法收发图片与文件。尝试过的方法有重新安装,重启App,重启电脑等均无法解决。网络没有任何问题,同时电脑的存储空间足够 [图片][图片]
2021-08-16有哪位大哥能给看下吗...这是啥原因造成的吗?难道微信这个api自己在底层做了节流?
createIntersectionObserver 滑动过快有时候有时候无法监听到元素<template> <view class="container"> <view class="page-body"> <view class="page-section message"> <view>当前滚动方向 -> {{ dir === 'top' ? '向上' : dir === 'bottom' ? '向下' : dir === 'nav' ? '顶' : '底' }}</view> <view>当前激活的item -> {{ notic }}</view> </view> <scroll-view :display-multiple-items="subItem1.length" scroll-x="true" :scroll-into-view="notic" class="sc" scroll-with-animation> <view v-for="item in subItem1" :id="`item-${item}`" :key="item" :current-item-id="`item-${item}`" @click="useClick(`item-${item}`)" class="sc-item" :class="{ active: `item-${item}` === notic }"> {{item}}</view> </scroll-view> <view class="page-section"> <scroll-view enhanced @scroll="scroller" class="scroll-view" scroll-y @scrolltolower="add" @scrolltoupper="reset" :scroll-into-view="navId"> <view :data-next-id="`item-${item+1 > subItem.length ? item : item+1}`" v-for="item in subItem" :class="item === 3 && 'small'" class="ball" :id="`item-${item}`" :key="item" :data-id="item"> {{item}}</view> </scroll-view> </view> </view> </view> </template> <script> export default { data: () => ({ appear: false, subItem: [], subItem1: [], dir: 'nav', notic: 'item-1', navId: 'item-1', cachTop: 0, onClick: false }), created() { /// 设置当前数量 const idx = 10 for (let i = 0; i < idx; i++) { this.subItem.push(i + 1) this.subItem1.push(i + 1) } }, onLoad() { this.observe() }, onUnload() {}, methods: { desc() { if (this._observer) this._observer.disconnect() }, observe() { this._observer = wx.createIntersectionObserver(this, { observeAll: true }) this._observer .relativeTo('.scroll-view') .observe('.ball', (res) => { if (!this.onClick) { let _id = this.notic if (this.dir === 'top') { /// 关注谁出现 if (res.intersectionRatio > 0) { _id = res.id } } if (this.dir === 'bottom') { /// 关注谁消失,然后下一个进入 if (res.intersectionRatio === 0) { _id = res.dataset.nextId } } this.setNavId(_id) } else { this.navId = this.notic } }) }, setNavId(id) { console.log(id) this.notic = id }, scroller(e) { this.$nextTick(() => { const top = e.detail.scrollTop if (top > this.cacheTop) { this.dir = 'bottom' } else { this.dir = 'top' } this.cacheTop = top /// 结束的时候把全局的干掉 this.onClick = false }) }, reset() { this.cacheTop = 0 this.dir = 'nav' }, useClick(item) { this.onClick = true this._observer && this._observer.disconnect() this._observer = null this.$nextTick(() => { this.notic = item this.observe() }) }, add(e) { // if(this.isLoad) return // this.subItem = [] // this.$nextTick(() => { // this.subItem.push(...[1,2,3, 4,5,6]) // this.isLoad = true // this.desc() // this.$nextTick(() => { // this.observe() // }) // }) } } } </script> <style> .scroll-view { height: 1000rpx; background: #fff; border: 1px solid #ccc; box-sizing: border-box; } .scroll-area { height: 1300rpx; display: flex; flex-direction: column; align-items: center; transition: .5s; } .notice { margin-top: 150rpx; } .ball { width: 400rpx; height: 400rpx; background: #1AAD19; font-size: 100rpx; border-radius: 50%; color: red; text-align: center; line-height: 400rpx; } /* .ball.small { width: 400rpx; height: 100rpx; line-height: 100rpx; } */ .message { width: 100%; } .message text { font-size: 40rpx; font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif; } .sc { display: flex; height: 200rpx; overflow-y: scroll; } .sc-item { padding: 10px; border: 1px solid #ccc; margin: 10px; display: inline-block; } .sc-item.active { color: #fff; border: #1AAD19; background: #1AAD19; } </style> 代码是用uni-app写的很简单。下面的是效果,快速拖动的时候,有可能有时候会漏掉一些监听。。这代码提交怎么成这样了。。。见了鬼 [图片]
2021-04-20感觉这个需求很常见啊。。就是主页的pages里面的tabbar跳转分包的页面。是原生不支持吗?老哥找到好的解决办法了吗?
tabbar组件怎么跳转分包?tabbar组件(非自定义),如何跳转到分包页面?
2021-04-11