| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <view class="bg" wx:if="{{show === 2}}">
- <view class="projects">
- <view class="projectbg">
- <view class="project" wx:key="{{index}}" wx:for="{{zhunongList}}" data-val="{{item.id}}" bindtap="toZhunong">
- <!--<image class="project-image" src="{{item.thumb_img}}"></image>-->
- <view class="project-describe">
- <view class="project-top">
- <view class="top-left">
- <image src="{{item.thumb_img}}" class="project-image" />
- </view>
- <view class="top-right">
- <view class="circle" wx:if="{{percent[index] <= 50.00 }}">
- <view class="circle_left" style="transform:rotate({{0}}deg)">
- <view class="clip_left"></view>
- </view>
- <view class="circle_right" style="transform:rotate({{percent[index] * 3.6 }}deg);background:#eee">
- <view class="clip_right"></view>
- </view>
- <view class="mask">
- <text>{{percent[index]}}</text>%
- </view>
- </view>
- <view class="circle" wx:if="{{percent[index] >= 100.00}}">
- <view class="circle_left" style="transform:rotate({{(100-50) * 3.6}}deg)">
- <view class="clip_left"></view>
- </view>
- <view class="circle_right" style="transform:rotate({{0}}deg);background:#ff7655">
- <view class="clip_right"></view>
- </view>
- <view class="mask">
- <text>{{percent[index]}}</text>%
- </view>
- </view>
- <view class="circle" wx:if="{{percent[index] > 50.00 && percent[index] < 100.00}}">
- <view class="circle_left" style="transform:rotate({{(percent[index]-50) * 3.6}}deg)">
- <view class="clip_left"></view>
- </view>
- <view class="circle_right" style="transform:rotate({{0}}deg);background:#ff7655">
- <view class="clip_right"></view>
- </view>
- <view class="mask">
- <text>{{percent[index]}}</text>%
- </view>
- </view>
- <view class="end">完成度</view>
- <view class="clean"></view>
- </view>
- <view class="clear"></view>
- </view>
- <view class="project-title1">{{item.title}}</view>
- <view class="project-count1" wx:if="{{item.state !== 2}}">
- <text wx:if="{{item.left_copies_min === item.left_copies_max}}">剩余份数 {{item.left_copies_min}}份</text>
- <text wx:if="{{item.left_copies_min !== item.left_copies_max && !item.left_copies_min}}">剩余份数 {{item.left_copies_max}}份</text>
- <text wx:if="{{item.left_copies_min !== item.left_copies_max && item.left_copies_min}}">剩余份数 {{item.left_copies_min}}~{{item.left_copies_max}}份</text>
- </view>
- <view class="project-count1" wx:if="{{item.state === 2}}">
- <text wx:if="{{item.min_funding === item.max_funding}}">共团购 {{item.current_funding / item.unit_price}}份</text>
- <text wx:if="{{item.min_funding !== item.max_funding}}">共团购 {{item.min_funding / item.unit_price}} ~ {{item.current_funding / item.unit_price}}份</text>
- </view>
- <view class="project-price1"><text style="color:#bbbbbb;padding-right:30rpx">单价</text><text style="font-size: 35rpx">{{item.min_project_way_price / 100}}</text> 元起</view>
- <view class="clean"></view>
- </view>
- <!--<view class="project-jindu">
- <view class="jindu">进度</view>
- <progress style="flex:5;" percent="{{percent[index]}}" stroke-width="10" activeColor="#fe7554"/>
- <view class="jindu-percent">{{percent[index]}}%</view>
- </view>-->
- <view class="project-jizhu" wx:if="{{item.state === 1}}">进行中</view>
- <view class="project-no" wx:if="{{item.state === 0}}">未开始</view>
- <view class="project-chenggong" wx:if="{{item.state === 2}}">已成功</view>
- <!--<view class="project-jieshu" wx:if="{{item.state === 3}}">{{item.state_cn}}</view>
- <view class="project-tuikuan" wx:if="{{item.state === 4}}">{{item.state_cn}}</view>-->
- <view class="clean"></view>
- </view>
- </view>
- </view>
- </view>
- <view class="bg-img" wx:if="{{show === 1}}"></view>
- <!--
- <text class="jindu">进度</text>
- <progress percent="{{percent[index]}}" stroke-width="10" activeColor="#fe7554"/>
- <text class="jindu-percent">{{percent[index]}}%</text>
- -->
|