<!-- packageH/stock/_module_components/goods_item/goods_item.wxml -->
<view class="goods-item">
  <view class="goods-item-mask" data-id="{{ data.id }}"></view>
  <image src="{{ data.thumb }}" class="goods-cover" mode="aspectFill" />
  <view class="goods-info">
    <view class="goods-title">{{ data.title }}</view>
    <view class="goods-sku" style="visibility:{{ data.option_title?'visible':'hidden' }}">
      规格：{{ data.option_title }}
    </view>
    <view class="goods-info-footer">
      <!-- <view class="goods-amount">
        <text>￥</text>
        {{ data.buying_price!=undefined?data.buying_price:data.price }}
      </view> -->
      <text class="goods-stock">库存：{{ data.stock }}</text>
    </view>
  </view>
</view>