wx.createSelectorQuery,放在渲染页面后执行还是查不到节点啊
var query = wx.createSelectorQuery();
query.selectAll(’.temp_ad_item’).boundingClientRect();
query.exec(function (res) {})
<view class=“temp_ad item_cell_box”>
<image class=‘temp_ad_l’ src="/images/ad.png" ></image>
<view class=‘temp_ad_r item_cell_flex’>
<view animation="{{animation}}" class=“temp_ad_in”>
<view class=“temp_ad_item” wx:for="{{ad}}">
{{item.title}}
</view>
</view>
</view>
</view>