| xqd
@@ -1,19 +1,59 @@
|
|
|
<ion-view view-title="我的梦想">
|
|
|
<ion-content>
|
|
|
- <div class="list">
|
|
|
- <div class="item reply-item" ng-repeat="dream in dreams" ng-click="toDetail(dream.id)">
|
|
|
+ <div ng-if="100*dream.get_coin/dream.coin!==0" class="list" ng-repeat="dream in dreams">
|
|
|
+ <div class="item reply-item" ng-click="toDetail(dream.id)">
|
|
|
+ <div class="item" style="height:70px; border-bottom: 1px solid #EFEFEF">
|
|
|
+ <img style="width: 45px; height: 45px;border-radius: 100%;" ng-src="{{user.avatar | avator }}" />
|
|
|
+ <span style="top: 10px;">{{user.nickname}}</span>
|
|
|
+ </div>
|
|
|
<div class="item item-thumbnail-left reply-content">
|
|
|
- <img ng-src="{{dream.pic}}" />
|
|
|
- <h2>{{dream.name}}</h2>
|
|
|
- <p>{{dream.about}}</p>
|
|
|
+ <div style="float:left;">
|
|
|
+ <img ng-src="{{dream.pic}}" />
|
|
|
+ </div>
|
|
|
+ <div style="float:left; width: 50%; margin-left: 10px; margin-right: 10px;">
|
|
|
+ <h2>{{dream.name}}</h2>
|
|
|
+ <p>{{dream.about}}</p>
|
|
|
+ </div>
|
|
|
+ <div style="float:right; width: 15%; text-align: right; color: #FF7C30; font-size: 16px">
|
|
|
+ 进行中
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="reply-bar">
|
|
|
<div style="width: {{100*dream.get_coin/dream.coin}}%;">
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="reply-sx"><span class="calm">{{100*dream.get_coin/dream.coin | Rouder}}%</span> <span style="font-size: 20px">目前实现</span></div>
|
|
|
+ <span style="font-size: 18px">{{100*dream.get_coin/dream.coin | Rouder}}%</span> <span style="color: #C9C9C9; font-size: 16px">目前实现</span>
|
|
|
</div>
|
|
|
-
|
|
|
+ <p style="background: #F8F8F8; height: 1rem"></p>
|
|
|
</div>
|
|
|
+ <div ng-if="100*dream.get_coin/dream.coin==100" class="list" ng-repeat="dream in dreams">
|
|
|
+ <div class="item reply-item" ng-click="toDetail(dream.id)">
|
|
|
+ <div class="item" style="height:70px; border-bottom: 1px solid #EFEFEF">
|
|
|
+ <img style="width: 45px; height: 45px;border-radius: 100%;" ng-src="{{user.avatar | avator }}" />
|
|
|
+ <span style="top: 10px;">{{user.nickname}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="item item-thumbnail-left reply-content">
|
|
|
+ <div style="float:left;">
|
|
|
+ <img ng-src="{{dream.pic}}" />
|
|
|
+ </div>
|
|
|
+ <div style="float:left; width: 50%; margin-left: 10px; margin-right: 10px;">
|
|
|
+ <h2>{{dream.name}}</h2>
|
|
|
+ <p>{{dream.about}}</p>
|
|
|
+ </div>
|
|
|
+ <div style="float:right; width: 15%; text-align: right; color: #00C3DA; font-size: 16px">
|
|
|
+ 已实现<br>
|
|
|
+ <p style="color: #DBDBDB; margin-top: 5px">已结束</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="reply-bar">
|
|
|
+ <div style="width: {{100*dream.get_coin/dream.coin}}%;">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <span style="font-size: 18px">{{100*dream.get_coin/dream.coin | Rouder}}%</span> <span style="color: #C9C9C9; font-size: 16px">目前实现</span>
|
|
|
+ </div>
|
|
|
+ <p style="background: #F8F8F8; height: 1rem"></p>
|
|
|
+ </div>
|
|
|
</ion-content>
|
|
|
</ion-view>
|