<!--nova-tourism/pages/collect/good-list/index.wxml-->
<view class="nav" style="height:calc( {{nav_px+'px'}} + 20rpx );">
  <view style="position: absolute;top: {{statusBarHeight+5+'px'}};width: 100vw;display: flex;justify-content: start;">
    <view class="shop" bind:tap="goback">
      <van-icon name="arrow-left" size="50rpx" />
      <view>{{store_id?'店铺商品':'云上风物'}}</view>
    </view>
    <view class="search" style="width:calc( 100vw - {{customWidth +'px'}} - 240rpx );margin-left: 10rpx;">
      <van-icon name="search" size="30rpx" />
      <input placeholder="关键字搜索" bindinput="searchInput" model:value="{{value}}" />
    </view>
  </view>
</view>
<view style="height:calc( {{nav_px+'px'}});"></view>

<view class="wang-cardbox">
  <block wx:for="{{goodList}}" wx:key="index">
    <view class="wang-card" data-url="/nova-tourism/pages/collect/collect-detail/index?gid={{item.objectId}}" bindtap="tourl">
      <image src="{{item.image||'https://img95.699pic.com/photo/60072/5330.jpg_wh860.jpg'}}" mode="aspectFill"></image>
      <view class="wang-catex">{{item.name}}</view>
      <view class="wang-numbox">
        <view class="wang-num">
          <view class="wang-num1">￥</view>
          <view class="wang-num2">{{item.price||0}}</view>
        </view>
        <view class="wang-submit">购买</view>
      </view>
    </view>
  </block>
</view>

<van-empty wx:if="{{goodList.length<=0}}" description="商品为空" />