SelectorQuery wx.createSelectorQuery()

    返回一个 SelectorQuery 对象实例。在自定义组件或包含自定义组件的页面中,应使用 来代替。

    示例代码