You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
2.8 KiB

<view class="manage-page"><view class="tabs-box acea-row row-between"><view class="{{['tab '+(tabActive==1?'tab-a':'')]}}" data-i="1" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">发布中</view><view class="{{['tab '+(tabActive==2?'tab-a':'')]}}" data-i="2" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">审核中</view><view class="{{['tab '+(tabActive==3?'tab-a':'')]}}" data-i="3" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">草稿箱</view><view class="{{['tab '+(tabActive==4?'tab-a':'')]}}" data-i="4" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">已结束</view></view><view class="list"><block wx:if="{{list.length==0}}"><view class="no-list"><image src="https://download.cyjyyjy.com/no-order.png"></image><view>暂无资源</view><view data-event-opts="{{[['tap',[['toRelease',['$event']]]]]}}" class="to-btn" bindtap="__e">去发布吧</view></view></block><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{list.length>0}}"><view class="list-item"><view class="number acea-row row-between row-middle"><text></text><block wx:if="{{tabActive==2}}"><view class="status">等待审核</view></block><block wx:if="{{tabActive==3}}"><view class="status">{{item.resourceAuditState==0?'未编辑完成':'审核未通过:'+item.reason}}</view></block></view><view class="info-box acea-row row-middle"><image src="{{item.resourceImgs[0]}}"></image><view class="info"><view class="i-title">{{item.title}}</view><view class="i-desc line2">{{item.detailedDescription}}</view></view></view><block wx:if="{{tabActive==1||tabActive==4}}"><view class="colO">{{"项目合作数量("+item.finishProjects+")"}}</view></block><view class="btn-box acea-row row-between row-middle"><view class="btn-box-l"><view>{{"成交金额 "+item.totalMoney+"元"}}</view><block wx:if="{{tabActive==2||tabActive==3}}"><view class="time">{{item.createTime+"申请"}}</view></block></view><view class="btns acea-row"><block wx:if="{{tabActive==1}}"><view class="btn" data-item="{{item}}" data-event-opts="{{[['tap',[['xiajiaClick',['$event']]]]]}}" bindtap="__e">下架资源</view></block><block wx:if="{{tabActive==2}}"><view class="btn" data-id="{{item.id}}" data-event-opts="{{[['tap',[['withdrawClick',['$event']]]]]}}" bindtap="__e">撤回审核</view></block><block wx:if="{{tabActive==3}}"><view class="btn" data-id="{{item.id}}" data-event-opts="{{[['tap',[['editClick',['$event']]]]]}}" bindtap="__e">编辑发布</view></block><block wx:if="{{tabActive==3}}"><view class="btn default" data-id="{{item.id}}" data-event-opts="{{[['tap',[['delClick',['$event']]]]]}}" bindtap="__e">删除项目</view></block><block wx:if="{{tabActive==4}}"><view class="text" data-id="{{item.id}}">项目已圆满结束</view></block></view></view></view></block></block></view></view>