<view class="goods_item" wx:if="{{goods}}">
  <navigator url="/pages/details/details?goods_id={{goods.goods_id}}" hover-class="navigator-hover">
    <view class='goods_thumbnail'>
      <image class='img' mode='scaleToFill' src="{{goods.goods_image_url}}"></image>
      <view class='goods_desc one_line_hidden'>
        <text>{{goods.goods_jingle}}</text>
      </view>
      <view class="badge sq" wx:if="{{goods['goods_storage'] <= 0}}"><view>已经</view><view>售罄</view></view>
      <view class="badge qg" wx:elif="{{goods['act_type'] == 1}}"><view>抢购</view><view>特价</view></view>          
      <view class="badge new" wx:elif="{{goods['is_new'] && goods['act_type'] == 0}}"><view>熊猫</view><view>新品</view></view>
      <view class="badge tj" wx:elif="{{goods['act_type'] == 2}}"><view>限时</view><view>特价</view></view>
    </view>
    <view class='goods_box'>
      <view class='goods_name one_line_hidden'>{{goods.goods_mobile_name}}</view>
      <view class="goods_price col333">
        <view class="align_center" wx:if="{{goods['act_type'] == 0}}">
          <text class="f22">员工价</text>
          <text class="f22 t_bold colD45">￥</text><text class="f30 ft_bold colD45">{{goods.goods_lowest_price}}</text>
        </view>
        <view class="align_center" wx:if="{{goods['act_type'] == 2}}">
            <text class="f22 t_bold">￥</text><text class="f30 ft_bold">{{goods['goods_promotion_price']}}</text>
          </view>
        <view class="col666 line-through ml20 tm_price">天猫价￥{{goods.goods_price}}</view>
      </view>
    </view>
  </navigator>
</view>