<ion-view view-title="瞄喵">
    <ion-content>
        <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">
                    <div style="float:left;">
                        <img style="width: 45px; height: 45px;border-radius: 100%;" ng-src="{{user.avatar | avator }}" />
                    </div>
                    <div style="float:left; margin: 15px 0 0 10px">
                        {{user.nickname}}
                    </div>
                </div>
                <div class="item item-thumbnail-left reply-content">
                    <div style="float:left; height: 60px; width: 60px">
                        <img ng-src="{{dream.imgs[0].pic}}" />
                    </div>
                    <div style="float:left; width: 50%; margin-left: 10px; margin-right: 10px; height: 60px; overflow: hidden">
                        <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>
                <span style="font-size: 18px">{{100*dream.get_coin/dream.coin | Rouder}}%</span> &nbsp; <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> &nbsp; <span style="color: #C9C9C9; font-size: 16px">目前实现</span>
            </div>
            <p style="background: #F8F8F8; height: 1rem"></p>
        </div>
    </ion-content>
</ion-view>
