index.wxml
1.39 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
<!--pages/crowdfunding/components/progress/index.wxml-->
<view class="progress_box">
<view class="title">活动进度</view>
<!-- 活动进度 开始 -->
<view class="progress_bar">
<!-- 提示 开始 -->
<view class="bar_tips" style="{{progress>89?('left:89%'):(progress<11?10:'left:' + progress + '%')}}">
<view class="tip_icon">
<glsx-image src="crowdfunding/flash.png" mode="widthFix" custom-class="img"></glsx-image>
</view>
<view class="number">{{ progress?count:0}}%</view>
<view class="arrow {{count>91?'right':''}}"></view>
</view>
<!-- 提示 end -->
<!-- 进度条 开始 -->
<view class="progress">
<view class="line" style="{{'width:' + progress + '%'}}">
<view class="stripe"></view>
</view>
</view>
<!-- 进度条 end -->
<!-- 底部说明 开始 -->
<view class="cell_list">
<view class="cell">
<text>最低折扣</text>
<text class="c_orange">需{{groupInfo.fictitiousLadderQuantity||0}}人</text>
</view>
<view class="cell">
<text>已经参与</text>
<text class="c_orange">{{ groupInfo.groupQuantity || 0 }}人</text>
</view>
<view class="cell">
<text class="c_orange">众筹</text>
<text class="c_orange">成功</text>
</view>
</view>
<!-- 底部说明 end -->
</view>
<!-- 活动进度 end -->
</view>