<view class="container" wx:for="{{commentsList}}" wx:key="id" wx:for-index="fatherindex" >
    <view class="photo">
        <image class="head-img" src="{{item.avatar}}" >
            
        </image>
        
    </view>
    <view class="comments">
        <view class="product padding5">
            <view class="product-name fw400">{{item.productName}}</view>
            <view class="assess-date f13 .color-gray fw300">{{item.commentTime}}</view>
        </view>
        <view class="stars padding5" >
            <mp-icon icon="star" color="#E15F3D" size="18" type="{{item.productScore>0?'filled':'outline'}}"></mp-icon>
            <mp-icon icon="star" color="#E15F3D" size="18" type="{{item.productScore>1?'filled':'outline'}}"></mp-icon>
            <mp-icon icon="star" color="#E15F3D" size="18" type="{{item.productScore>2?'filled':'outline'}}"></mp-icon>
            <mp-icon icon="star" color="#E15F3D" size="18" type="{{item.productScore>3?'filled':'outline'}}"></mp-icon>
            <mp-icon icon="star" color="#E15F3D" size="18" type="{{item.productScore>4?'filled':'outline'}}"></mp-icon>
        </view>
        <view class="comment-content padding5">
            <view class=" fw300 padding5">{{item.content}}</view>
            <view class="imgs">
                <view class="comment-img " hidden="{{item.imgs.length<1}}" wx:for-index="index" wx:for="{{item.imgs}}" wx:key="imgurl">
                        <image class="comm-img" src="{{item}}"  data-index="{{index}}"  data-active="{{fatherindex}}"  bindtap = "previewImg">
                            
                        </image>
                </view>
            </view>
        </view>
    </view>
</view>

{{id}}