gift-shop.wxml
1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<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>