index.wxml 1.39 KB
<!--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>