gift-shop.wxml 2.09 KB
<view class="page">
  <view class="app__bgc bgc"></view>
  <view class="app__bg bg"></view>
  <view class="app__content main">
    <view class="top">
      <div class="top-wrap">
        <view class="search">
          <input class="ipt" placeholder="输入关键字搜索" />
          <image class="icon" mode="aspectFit" src="../../image/icon/icon-search.png" />
        </view>
        <view class="filter">
          积分排序
          <view wx:if="{{1>0}}" class="icon-wrap">
            <image class="icon up" src="../../image/icon/icon-filter-up-on.png" mode="widthFix" />
            <image class="icon down" src="../../image/icon/icon-filter-down.png" mode="widthFix" />
          </view>
          <view wx:else class="icon-wrap">
            <image class="icon up" src="../../image/icon/icon-filter-up.png" mode="widthFix" />
            <image class="icon down" src="../../image/icon/icon-filter-down-on.png" mode="widthFix" />
          </view>
        </view>
      </div>
    </view>
    <view class="top-space"></view>
    <view class="content">
      <view class="product">
        <view class="product-item" wx:for="{{productList}}" wx:key="{{index}}">
          <view class="image-wrap">
            <!-- <image  /> -->
          </view>
          <view class="cont">
            <view class="name">某东购物卡200元</view>
            <view class="desc">可在xx超市使用,可够买xxx可在xx超市使用,可够买xxx可在xx超市使用,可够买xxx</view>
            <view class="integral">消耗积分:3000分</view>
            <view bindtap="onShowGiftDetailHandler" data-data="{{item}}" class="btn">查看</view>
          </view>
        </view>
      </view>
    </view>
  </view>
</view>
<van-popup show="{{ authorizeVisible }}">
  <authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<van-popup show="{{ orderSubmitSuccessTipsCompVisible }}">
  <order-submit-success-tips-comp bind:evtcomp="evtcomp" inner-title="积分不足" inner-text="使用推广、签到功能\n可获取更多积分!" inner-button="我知道了"></order-submit-success-tips-comp>
</van-popup>