<template name=“collect_template”>
<view class=“collect_box”>
<view class=“radioa_box”>
<radio-group bindchange=“collectChage” >
<radio checked="{{checked}}" bindtap=“radiocollectTap” >
<text>{{collectRadio_text}}</text>
</radio>
</radio-group>
</view>
<view class=“collect_grad”>
<text>{{grad}}分</text>
</view>
<view class=“collect_xin”>
<image src="{{imga}}" bindtap=“collectimgTap” wx:if="{{ida}}"></image>
<image src="{{imgb}}" bindtap=“collectimgTaps” wx:if="{{idb}}"></image>
<text hidden="{{hidden}}">已收藏</text>
</view>
</view>
</template>
<view wx:for="{{list}}" wx:key=“items”>
<template is=“collect_template” data="{{…item}}"></template>
</view>