donateDetail.wxml 7.0 KB

1
  1. <view class="detail data-v-d256f752"><view class="top data-v-d256f752"><image src="{{proInfo.img}}" mode class="data-v-d256f752"></image><view class="title clamp data-v-d256f752">{{proInfo.title}}</view><view class="tip data-v-d256f752"><view class="data-v-d256f752"></view>基本信息</view><view class="base-info data-v-d256f752"><view class="item data-v-d256f752"><text class="data-v-d256f752">捐赠进度</text><text class="status data-v-d256f752">{{proInfo.project_progress*100+"%"}}</text></view><view class="item data-v-d256f752"><text class="data-v-d256f752">创立时间</text>{{''+$root.f0+''}}</view><view class="item data-v-d256f752"><text class="data-v-d256f752">开始时间</text>{{''+$root.f1+''}}</view><view class="item data-v-d256f752"><text class="data-v-d256f752">结束时间</text>{{''+$root.f2+''}}</view></view><block wx:if="{{newItem}}"><view class="dynamic flex data-v-d256f752"><view class="left data-v-d256f752">实时动态</view><view class="right flex data-v-d256f752"><view class="data-v-d256f752">{{"捐赠时间:"+$root.f3}}</view><view class="data-v-d256f752">捐赠人:<text class="data-v-d256f752">{{$root.f4}}</text></view><view class="clamp data-v-d256f752" style="width:500rpx;">{{"捐赠数量:"+$root.f5}}</view></view></view></block></view><view class="content data-v-d256f752"><view class="content-nav flex data-v-d256f752"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navClick',[index]]]]]}}" class="{{['nav-item','data-v-d256f752',(currentIndex===index)?'active':'']}}" bindtap="__e">{{item}}</view></block></view></view><block wx:if="{{currentIndex===0}}"><view class="data-v-d256f752"><view data-ref="swiperItemOne" class="item-detail data-v-d256f752 vue-ref"><view class="tip data-v-d256f752"><view class="data-v-d256f752"></view>捐赠介绍</view><view class="item-content data-v-d256f752"><rich-text nodes="{{proInfo.info}}"></rich-text></view><view class="tip data-v-d256f752"><view class="data-v-d256f752"></view>项目需求</view><view class="item-needs data-v-d256f752"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__"><view class="need-item data-v-d256f752"><view class="data-v-d256f752">{{''+item.f6+':'}}<text class="data-v-d256f752">{{item.$orig.project_donation_num}}</text>顶</view><view class="data-v-d256f752">最低需求捐赠数:<text class="data-v-d256f752">{{item.$orig.project_donation_num}}</text>顶</view></view></block></view></view></view></block><block wx:else><view class="feedback data-v-d256f752"><view class="feedback-nav data-v-d256f752"><view data-event-opts="{{[['tap',[['lookmore',[0]]]]]}}" class="{{['nav-item','data-v-d256f752',(navCurrentIndex===0)?'action':'']}}" bindtap="__e">全部</view><view data-event-opts="{{[['tap',[['lookmore',[1]]]]]}}" class="{{['nav-item','data-v-d256f752',(navCurrentIndex===1)?'action':'']}}" bindtap="__e">已成功</view><view data-event-opts="{{[['tap',[['lookmore',[2]]]]]}}" class="{{['nav-item','nav-item-err','data-v-d256f752',(navCurrentIndex===2)?'action':'']}}" bindtap="__e">已失败</view></view><view class="feedback-content data-v-d256f752"><block wx:if="{{navCurrentIndex===0&&proInfo.status===2}}"><view class="overall data-v-d256f752"><view class="title data-v-d256f752">项目整体反馈</view><view class="content data-v-d256f752">{{proInfo.feedback}}</view></view></block><block wx:if="{{backList.length===0}}"><view class="without data-v-d256f752">暂无捐赠</view></block><block wx:if="{{navCurrentIndex===0}}"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view class="feedback-item data-v-d256f752"><view class="item-top data-v-d256f752"><image src="../../static/img/002.png" mode class="data-v-d256f752"></image><view class="item-name-time data-v-d256f752"><view class="item-name data-v-d256f752">荆州捐赠</view><view class="item-time data-v-d256f752">{{item.f7}}</view></view></view><view class="item-content data-v-d256f752"><text class="data-v-d256f752">{{item.$orig.name}}</text>{{''+item.f8+", "+item.$orig.message+''}}</view></view></block></block><block wx:if="{{navCurrentIndex===1}}"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="__i2__" wx:key="id"><block wx:if="{{item.$orig.order_status!==-1}}"><view class="feedback-item data-v-d256f752"><view class="item-top data-v-d256f752"><image src="../../static/img/002.png" mode class="data-v-d256f752"></image><view class="item-name-time data-v-d256f752"><view class="item-name data-v-d256f752">荆州捐赠</view><view class="item-time data-v-d256f752">{{item.f9}}</view></view></view><view class="item-content data-v-d256f752"><text class="data-v-d256f752">{{item.$orig.name}}</text>{{''+item.f10+", "+item.$orig.message+''}}</view></view></block></block></block><block wx:if="{{navCurrentIndex===2}}"><block wx:for="{{$root.l3}}" wx:for-item="item" wx:for-index="__i3__" wx:key="id"><block wx:if="{{item.$orig.order_status===-1}}"><view class="feedback-item data-v-d256f752"><view class="item-top data-v-d256f752"><image src="../../static/img/002.png" mode class="data-v-d256f752"></image><view class="item-name-time data-v-d256f752"><view class="item-name data-v-d256f752">荆州捐赠</view><view class="item-time data-v-d256f752">{{item.f11}}</view></view></view><view class="item-content data-v-d256f752"><text class="data-v-d256f752">{{item.$orig.name}}</text>{{''+item.$orig.message+''}}</view></view></block></block></block></view></view></block><view class="jg data-v-d256f752" style="height:99rpx;"></view><view class="btn-wrapper flex data-v-d256f752"><view data-event-opts="{{[['tap',[['navTo',['/pages/donate/progress?id='+proInfo.id]]]]]}}" class="btn1 btn data-v-d256f752" bindtap="__e">实时进展</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="btn2 btn data-v-d256f752" bindtap="__e">我要捐款</view></view><uni-popup vue-id="43bc878f-1" type="center" data-ref="popup" class="data-v-d256f752 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="type-box data-v-d256f752"><image class="bg data-v-d256f752" src="../../static/img/sele.png" mode></image><view class="box-title data-v-d256f752">捐款类型</view><view class="box-tip data-v-d256f752">请选择您的捐赠身份类型</view><view data-event-opts="{{[['tap',[['chooseType',[0]]]]]}}" class="box-btn data-v-d256f752" bindtap="__e"><image src="../../static/icon/jz1.png" mode class="data-v-d256f752"></image><view class="btn-title data-v-d256f752">个人捐赠</view><view class="{{['qq','data-v-d256f752',(jxType===0)?'action':'']}}"><view class="yx data-v-d256f752"></view></view></view><view data-event-opts="{{[['tap',[['chooseType',[1]]]]]}}" class="box-btn data-v-d256f752" bindtap="__e"><image src="../../static/icon/jz2.png" mode class="data-v-d256f752"></image><view class="data-v-d256f752">企业(团队)捐赠</view><view class="{{['qq','data-v-d256f752',(jxType===1)?'action':'']}}"><view class="yx data-v-d256f752"></view></view></view><view data-event-opts="{{[['tap',[['qr']]]]}}" class="qr data-v-d256f752" bindtap="__e">确认</view></view></uni-popup></view>