<scroll-view class="product-info" scroll-y>
<view class="product-property" wx:for="{{selectedFood.foodProperty}}" wx:key="{{index}}">
<view class="product-property-item">{{index}}{{item.propertyName}}</view>
<view class="product-property-select {{propertyDefault == index ? 'active' : ''}}" wx:for="{{item.propertyItem}}" wx:key="{{index}}" data-property-id="{{index}}" catchtap="selectProperty">
{{item}}
</view>
</view>
</scroll-view>
我要通过propertyDefault这个数组选择到对应的属性,我要怎么做?