index.wxml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!-- 幻灯片 -->
  2. <view wx:if="{{virtcard_top_banner}}">
  3. <image src="{{virtcard_top_banner}}" mode="widthFix" style="width:100%;"></image>
  4. </view>
  5. <!--搜索框begin-->
  6. <form bindsubmit="goResult" style="display: block;width: 100%;" wx:if="{{false}}">
  7. <view class='search-bar'>
  8. <view class='search-box'>
  9. <input class='ipt' placeholder="搜索商品" confirm-type="搜索" type="text" name="keyword"></input>
  10. <view class='search-icon'>
  11. <text class="iconfont icon-sousuo1"></text>
  12. </view>
  13. </view>
  14. <button class="search-btn" formType="submit" style="color:{{skin.color}}">搜索</button>
  15. </view>
  16. </form>
  17. <!--搜索框end-->
  18. <!-- 列表 -->
  19. <view class="list twoCol mt10 safebottom">
  20. <i-spu-col wx:for="{{rushList}}" wx:if="{{rushList.length&&virtualcard_layout==0}}" wx:key="actId" spuItem="{{item}}" skin="{{skin}}"></i-spu-col>
  21. <i-spu-row wx:for="{{rushList}}" wx:if="{{rushList.length&&virtualcard_layout==1}}" wx:key="actId" spuItem="{{item}}" skin="{{skin}}"></i-spu-row>
  22. <view class="none-rush-list" wx:if="{{showEmpty}}">
  23. <image class="img-block" src="../../images/icon-index-empty.png"></image>
  24. <view class="h1">暂时没有商品</view>
  25. </view>
  26. </view>
  27. <view class="fixed-btn" bindtap="goLink" data-link="/lionfish_comshop/moduleB/virtualcard/exchange">
  28. <image src="btn.png" style="width:80rpx;height:80rpx;"></image>
  29. </view>
  30. <i-new-auth needAuth="{{needAuth&&showAuthModal}}" bind:authSuccess="authSuccess" bind:cancel="authModal" needPosition="{{needPosition}}"></i-new-auth>