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.9 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-needs.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="item-top acea-row row-between"><view class="top-l"><view class="n-title">{{item.title}}</view><view class="tags-box acea-row"><view class="tag-item">公司起名</view><view class="tag-item colG">LOGO</view></view></view><view class="top-r"><block wx:if="{{tabActive==1}}"><view class="status">发布中</view></block><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><block wx:if="{{tabActive==4}}"><view class="status">项目已圆满结束</view></block><block wx:if="{{tabActive==1}}"><view class="time">{{"展示至"+item.resourceEndTime}}</view></block></view></view><view class="fz28">需求预算:<text class="colR">{{item.capital}}</text></view><view class="desc">{{item.detailedDescription}}</view><view class="btn-box acea-row row-between row-middle"><view class="time">{{item.resourceStartTime+"申请"}}</view><view class="btns acea-row row-middle"><block wx:if="{{tabActive==1}}"><view class="btn" data-item="{{item}}" data-event-opts="{{[['tap',[['xiajiaClick',['$event']]]]]}}" bindtap="__e">{{(item.status==1?'下架':'上架')+"需求"}}</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></view></view></view></block></block></view></view>