xianshi.wxml
2.1 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
49
50
51
52
53
54
55
56
57
<view class="miaoshatime flexthree">
<view class='miaoname'>距离开始</view>
<view class='miaotime miaohour boxsizing'>{{day}}</view>
<view class="miaoname">天</view>
<!-- <view class="miaofen flexone miaohour">
<view class='miaotime boxsizing miaohour'>{{hou}}</view>
<view class='miaotime'>3</view>
</view> -->
<view class='miaotime miaohour boxsizing'>{{hou}}</view>
<view class="miaoname">:</view>
<!-- <view class="miaofen flexone miaohour">
<view class='miaotime boxsizing miaohour'>{{min}}</view>
<view class='miaotime boxsizing'>5</view>
</view> -->
<view class='miaotime miaohour boxsizing'>{{min}}</view>
<view class="miaoname">:</view>
<!-- <view class="miaofen flexone miaohour">
<view class='miaotime boxsizing miaohour'>{{sec}}</view>
<view class='miaotime boxsizing'>2</view>
</view> -->
<view class='miaotime miaohour boxsizing'>{{sec}}</view>
</view>
<view class="searchgood commnonpadding">
<view class="searchgooditem flextwo boxsizing" wx:for="{{xianshilist}}" wx:key="">
<view class="gooditemleft">
<image src="{{item.images[0]}}" mode=""></image>
</view>
<view class="gooditemright ">
<view class="goodsouname morehidden">{{item.name}}</view>
<view class="miaogood flextwo">
<view class="miaogoodleft">
<view class="saleprice">¥288</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}}" data-id="{{item.id}}" bindtap="{{item.sold==0?'':'look_more'}}">立即抢购</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>