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 line
5.6 KiB

3 years ago
<view class="order-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><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',[['toDemandHall',['$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="item"><view class="number acea-row row-between row-middle"><block wx:if="{{tabActive==1}}"><text></text></block><block wx:else><text>{{"项目编号 "+item.projectCode}}</text></block><block wx:if="{{item.projectState!=5}}"><view class="status">{{tabActive==1?'沟通中':tabActive==2?'进行中':'已结束'}}</view></block><block wx:else><view class="status">平台介入中</view></block></view><view class="info-box acea-row"><block wx:if="{{tabActive==1}}"><image src="{{item.resourceInfo.logo}}"></image></block><block wx:else><image src="{{item.projectResource.logo}}"></image></block><view class="info"><view class="i-title line1">{{item.resourceInfo.name||item.projectResource.name}}</view><block wx:if="{{tabActive!=1}}"><view class="tag-item">{{item.cooperationMode}}</view></block><block wx:if="{{tabActive==1}}"><view class="i-desc">{{item.resourceInfo.content}}</view></block><view class="projectinfo-box"><block wx:if="{{tabActive!=1}}"><view class="acea-row row-middle"><view class="p-label">项目名称:</view><view>{{item.projectName}}</view></view></block><block wx:if="{{tabActive!=1}}"><view class="acea-row row-middle line1"><view class="p-label">合作方:</view><view>{{item.partner}}</view></view></block></view></view></view><block wx:if="{{tabActive==1}}"><view class="concat-list-box"><view class="open-btn acea-row row-middle" data-idx="{{index}}" data-event-opts="{{[['tap',[['openClick',['$event']]]]]}}" bindtap="__e"><text>{{!item.open?'展开':'收起'}}</text><image class="{{['arrow-down '+(!item.open?'':'arrow-up')]}}" src="/static/images/arrow-d.png"></image></view><view class="{{['concat-list '+(item.open?'list-open':'')]}}"><block wx:for="{{item.partnerInfos}}" wx:for-item="c" wx:for-index="index2" wx:key="index2"><view class="concat-item acea-row-nowrap row-middle row-between" data-item="{{item}}" data-event-opts="{{[['tap',[['toApplyDetail',['$event']]]]]}}" bindtap="__e"><view class="acea-row row-middle"><image class="logo" src="{{c.logo}}"></image><view class="name-box acea-row"><view class="name acea-row row-middle line1"><view class="company-name">{{c.name}}</view><block wx:if="{{c.comminuteState==1}}"><text class="concat-status">等待立项</text></block><block wx:if="{{c.comminuteState==2}}"><text class="concat-status">等待对方确认</text></block><block wx:if="{{c.comminuteState==3}}"><text class="concat-status">已立项</text></block><block wx:if="{{c.comminuteState==4}}"><text class="concat-status">项目流标</text></block></view><view class="desc line1">{{c.content}}</view></view></view><image class="call" src="/static/images/home/call.png" data-item="{{c}}" data-event-opts="{{[['tap',[['call',['$event']]]]]}}" catchtap="__e"></image><block wx:if="{{c.haveRight==1}}"><view class="{{['create-btn '+(c.comminuteState!=1?'default':'')]}}" data-item="{{item}}" data-id="{{c.communicateId}}" data-comminutestate="{{c.comminuteState}}" data-event-opts="{{[['tap',[['createProject',['$event']]]]]}}" catchtap="__e">立项</view></block></view></block></view></view></block><block wx:if="{{tabActive!=1}}"><view class="progress-box"><block wx:for="{{item.stag