- createSelectorQuery单个查询返回正常,多个查询返回空数组?
<view class="test"></view> <view class="testclass"></view> <view class="testclass"></view> <view class="testclass"></view> wx.createSelectorQuery().selectAll('.test').fields({ id: true, rect: true, size: true }, function (res) { console.log(res)//有返回1个 }).exec() wx.createSelectorQuery().selectAll('.testclass').fields({ id: true, rect: true, size: true }, function (res) { console.log(res)//有返回3个 }).exec() wx.createSelectorQuery().selectAll('.test.testclass').fields({ id: true, rect: true, size: true }, function (res) { console.log(res)//返回空数组 }).exec() 单独查询class=test,单独查询class=testclass,都可以正常返回,一起查询就返回空数组,文档中是可以指定多个class的 https://developers.weixin.qq.com/miniprogram/dev/api/wxml/SelectorQuery.selectAll.html selector 语法selector类似于 CSS 的选择器,但仅支持下列语法。 ID选择器:#the-idclass选择器(可以连续指定多个):.a-class.another-class子元素选择器:.the-parent > .the-child后代选择器:.the-ancestor .the-descendant跨自定义组件的后代选择器:.the-ancestor >>> .the-descendant多选择器的并集:#a-node, .some-other-nodes
06-06 - hidden属性有bug还是本身的逻辑就是这样?
<view hidden={{true}}> test </view> 可以隐藏 <view hidden={{true}}> <view> test </view></view> 不能隐藏 hidden属性必须要到最细粒度的view吗,如果外面有个view不能把整个view隐藏吗
06-05 - 小程序下单接口返回验签失败?
java SDK版本:0.2.16 接口:jsapiServiceExtension.prepayWithRequestPayment 返回:Validate response failed,the WechatPay signature is incorrect. Request-ID[08FFD7EEBF0610A2061894CDC05520E7A40B28918001-0] 相同的方式调用另外一个商户号没问题,这个商户号不行
04-13 - 微信支付从平台证书切换成微信支付公钥卡这里怎么处理?
由于很多接口文档里面使用的是平台证书 ,我们新项目使用了平台证书,然后要切换成支付公钥。 文档需要更新了。 有2个问题想咨询下: 1、新项目(在测试中,没上线)是否可以一键切换,不需要走灰度? 2、没有应答使用公钥场景,灰度卡这里了怎么处理? [图片]
03-25 - openBusinessView确认收货组件,投诉页面无法关闭,只能退出微信?
步骤: 1、拉起确认收货组件,点击交易投诉,跳转到2 2、选择投诉类型,跳转到3 页面3点击左上角的 x 无法关闭,只能退出微信 微信:8.0.56 手机:ios 17.5.1 [图片]
03-13 - 开发工具console日志可以增加一个时间列吗?
[图片] 前面增加一个时间列
03-10 - 小程序b2b支付文档写错了吗?
# uri,切记不可带参数,即去掉"?"及后面的部分 # 如果是基础库的wx.requestCommonPayment,uri固定为requestCommonPayment uri = '/retail/B2b/getorder' uri = '/retail/B2b/getorder' 是否要改成 uri = 'requestCommonPayment' https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/order_center/order_center.html
03-09 - 确认收货组件openBusinessView体验差,怎么优化?
一般售货小程序有一个订单列表页面,从支付到发货到收货 在确认收货状态下,用户点击确认收货后会调起确认收货组件,用户点击确认收货后,会通过App.onShow回调,这个时候后台会更改订单状态到已完成。 但是小程序页面订单列表的状态还是待收货,导致用户已经确认收货了,但是看到的列表还是待收货状态,应该在什么时候刷新列表,或者怎么交互? [图片]
02-10 - 订单发货管理bug?
支付成功,调用“发货信息录入接口”报支付单不存在,小程序后台也查询不到 [图片][图片][图片]
01-21 - 订单管理已退款的订单怎么发货?
[图片]
01-10