xianshi.wxml
2.0 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
42
43
44
45
46
47
48
<!-- <view class="miaoshatime flexthree" wx:if="{{showtime==true}}">
<view class='miaoname'>距离开始</view>
<view class='miaotime miaohour boxsizing'>{{day}}</view>
<view class="miaoname">天</view>
<view class='miaotime miaohour boxsizing'>{{hou}}</view>
<view class="miaoname">:</view>
<view class='miaotime miaohour boxsizing'>{{min}}</view>
<view class="miaoname">:</view>
<view class='miaotime miaohour boxsizing'>{{sec}}</view>
</view> -->
<view class="empty" wx:if="{{xianshilist.length==0}}">暂无数据</view>
<view class="searchgood commnonpadding" wx:else>
<view class="searchgooditem flextwo boxsizing" wx:for="{{xianshilist}}" wx:key="" data-id="{{item.id}}" bindtap="{{item.sold==0?'':'look_more'}}">
<view class="gooditemleft">
<image src="{{item.images[0]}}" mode="widthFix"></image>
</view>
<view class="gooditemright " >
<view class="goodsouname morehidden">{{item.name}}</view>
<view class="miaogood flextwo">
<view class="miaogoodleft flexone" wx:if="{{item.price2!=null}}">
<view class="saleprice" >¥{{item.price2}}</view>
<view class=" oldprice">¥{{item.price}}</view>
<!-- <view class="yuansaleprice">¥{{}}</view> -->
</view>
<view class="miaogoodleft flexone" wx:else>
<view class="saleprice" >¥{{item.price}}</view>
<!-- <view class="yuansaleprice">¥{{}}</view> -->
</view>
<view class="buynow buyactive" wx:if="{{status==1}}">未开始</view>
<view class="buynow buyactive" wx:if="{{status==2}}">已结束</view>
<view class="buynow" wx:if="{{status==3&&item.sold!=0}}">立即抢购</view>
<view class="buynow" wx:if="{{status==3&&item.sold==0}}">已抢光</view>
</view>
<view class="miaojindu flextwo">
<view class="miaojinduleft">
<view class="miaojinnei" style="width:{{item.rob}}%"></view>
</view>
<view class="miaojinduright">已抢{{item.rob}}%</view>
</view>
</view>
</view>
</view>