<view>
    <view class="match-wrap">
        <view class="goods-match">
            <navigator class="item" hoverClass="hover" url="/pages/goodsDetails/goodsDetails?id={{item.id}}" wx:for="{{list}}" wx:key="index">
                <view class="hd">
                    <view class="image-box  __100">
                        <image lazyLoad="true" src="{{item.image}}"></image>
                    </view>
                    <view class="issaled" wx:if="{{item.stock==0}}">
                        <image src="/img/issaled.png"></image>
                    </view>
                </view>
                <view class="bd">
                    <view class="{{isdistance?'isdistance bd_name':'bd_name'}} ">{{item.name}}</view>
                    <view class="bd_shop" wx:if="{{isdistance}}">
                        <view>{{item.companyname}}</view>
                        <view>{{item.distance}}km</view>
                    </view>
                    <view class="_btm">
                        <view class="_btm_lt">
                            <view class="bd_price">
                                <view class="now-price __normal">
                                    <view class="symbol">¥</view>
                                    <view class="buck">{{item.price_buck}}.</view>
                                    <view class="cent">{{item.price_cent}}</view>
                                    <view></view>
                                </view>
                                <view class="old" wx:if="{{item.marketprice}}">¥{{item.marketprice}}</view>
                            </view>
                        </view>
                        <view class="_btm_rt">
                            <view class="bd_btn" wx:if="{{item.stock>0}}">立即抢购</view>
                            <view class="bd_btn issele" wx:if="{{item.stock==0}}">已售罄</view>
                        </view>
                    </view>
                </view>
            </navigator>
        </view>
    </view>
</view>
