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.
173 lines
9.7 KiB
173 lines
9.7 KiB
<!--pages/user/resourcesOrder/index.wxml--> |
|
<view class="order-page"> |
|
<view class="tabs-box acea-row row-between"> |
|
<view class="tab {{tabActive == 1 ? 'tab-a' : ''}}" data-i="1" bindtap="tabClick">沟通中</view> |
|
<view class="tab {{tabActive == 2 ? 'tab-a' : ''}}" data-i="2" bindtap="tabClick">进行中</view> |
|
<view class="tab {{tabActive == 3 ? 'tab-a' : ''}}" data-i="3" bindtap="tabClick">已结束</view> |
|
</view> |
|
<view class="list"> |
|
<view class="no-list" wx:if="{{list.length == 0}}"> |
|
<image src="../../../images/no-needs.png"></image> |
|
<view>暂无订单</view> |
|
<view class="to-btn" bindtap="toDemandHall">去需求广场</view> |
|
</view> |
|
<view wx:if="{{list.length > 0 }}" class="item" wx:for="{{list}}" wx:key="index"> |
|
<view class="number acea-row row-between row-middle"> |
|
<text wx:if="{{tabActive == 1}}"></text> |
|
<text wx:else>项目编号 {{item.projectCode}}</text> |
|
<view class="status" wx:if="{{item.projectState != 5}}">{{tabActive == 1 ? '沟通中' : tabActive == 2 ? '进行中' : '已结束'}}</view> |
|
<view class="status" wx:else>平台介入中</view> |
|
</view> |
|
<view class="info-box acea-row" > |
|
<image src="{{item.resourceInfo.logo}}" wx:if="{{tabActive == 1}}"></image> |
|
<image src="{{item.projectResource.logo}}" wx:else></image> |
|
<view class="info"> |
|
<view class="i-title line1">{{item.resourceInfo.name || item.projectResource.name}}</view> |
|
<view class="tag-item" wx:if="{{tabActive != 1}}">定金尾款</view> |
|
<view class="i-desc" wx:if="{{tabActive == 1}}">{{item.resourceInfo.content}}</view> |
|
<view class="projectinfo-box"> |
|
<view class="acea-row row-middle" wx:if="{{tabActive != 1}}"> |
|
<view class="p-label">项目名称:</view> |
|
<view>{{item.projectName}}</view> |
|
</view> |
|
<view class="acea-row row-middle line1" wx:if="{{tabActive != 1}}"> |
|
<view class="p-label">合作方:</view> |
|
<view>{{item.partner}}</view> |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="concat-list-box" wx:if="{{ tabActive == 1 }}"> |
|
<view class="open-btn acea-row row-middle" bindtap="openClick" data-idx="{{index}}"> |
|
<text>{{!item.open ? '展开' : '收起'}}</text> |
|
<image class="arrow-down {{!item.open ? '' : 'arrow-up'}}" src="../../../images/arrow-d.png"></image> |
|
</view> |
|
<view class="concat-list {{item.open ? 'list-open' : ''}}"> |
|
<view class="concat-item acea-row row-middle row-between" wx:for="{{item.partnerInfos}}" wx:for-item="c" wx:key="index" bindtap="toApplyDetail" data-item="{{item}}"> |
|
<image src="{{c.logo}}" class="logo"></image> |
|
<view class="name-box acea-row"> |
|
<view class="name acea-row row-middle"> |
|
<view class="company-name line1">{{c.name}}</view> |
|
<!-- <text class="concat-status">未沟通</text> --> |
|
</view> |
|
<view class="desc line1">{{c.content}}</view> |
|
</view> |
|
<image src="../../../images/home/call.png" class="call" catchtap="call" data-item="{{c}}"></image> |
|
<view class="create-btn" wx:if="{{c.comminuteState == 1 && c.haveRight == 1}}" catchtap="createProject" data-item="{{item}}" data-id="{{c.communicateId}}">立项</view> |
|
<view class="create-btn default" wx:if="{{c.comminuteState == 2}}" data-item="{{item}}" data-id="{{c.communicateId}}">等待立项</view> |
|
<view class="create-btn default" wx:if="{{c.comminuteState == 3}}" data-item="{{item}}" data-id="{{c.communicateId}}">已立项</view> |
|
<view class="create-btn default" wx:if="{{c.comminuteState == 4}}" data-item="{{item}}" data-id="{{c.communicateId}}">项目流标</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="progress-box" wx:if="{{ tabActive != 1 }}"> |
|
<view class="progress-item acea-row row-between row-middle" wx:for="{{item.stageResultsDtoList}}" wx:for-item="progress" wx:key="index"> |
|
<view class="acea-row row-middle"> |
|
<image src="../../../images/home/progress.png"></image> |
|
<text>{{progress.name}} ¥{{progress.money}}</text> |
|
</view> |
|
<view class="progress-status" wx:if="{{progress.state == 0 }}">未开始</view> |
|
<view class="progress-status" wx:if="{{progress.state == 1 }}">申请开启</view> |
|
<view class="progress-status" wx:if="{{progress.state == 2 }}">进行中</view> |
|
<view class="progress-status colorO" wx:if="{{progress.state == 3 }}">已结束</view> |
|
</view> |
|
<!-- <view class="progress-item acea-row row-between row-middle"> |
|
<view class="acea-row row-middle"> |
|
<image src="../../../images/home/progress.png"></image> |
|
<text>阶段2 定金</text> |
|
</view> |
|
<view class="progress-status">已结束</view> |
|
</view> |
|
<view class="progress-item acea-row row-between row-middle"> |
|
<view class="acea-row row-middle"> |
|
<image src="../../../images/home/progress.png"></image> |
|
<text>阶段3 尾款</text> |
|
</view> |
|
<view class="progress-status colorO">已结束</view> |
|
</view> --> |
|
</view> |
|
<view class="btn-box acea-row row-between row-bottom" wx:if="{{ tabActive != 1 }}"> |
|
<view class="start-time" wx:if="{{ tabActive == 2 }}">{{item.examineTime}}项目开启</view> |
|
<view class="" wx:if="{{ tabActive == 3 }}">项目已圆满结束</view> |
|
<view class="btns acea-row"> |
|
<view class="btn-item" wx:if="{{ tabActive == 2 && item.showBtn}}" bindtap="openNextProgress" data-item="{{item}}">开启下阶段</view> |
|
<view class="btn-item" wx:if="{{ tabActive == 2 }}" bindtap="toPlatform" data-item="{{item}}">平台介入</view> |
|
<view class="btn-item default" wx:if="{{ tabActive == 2 }}">申请交付</view> |
|
</view> |
|
</view> |
|
</view> |
|
<!-- <view class="item"> |
|
<view class="number acea-row row-between row-middle"> |
|
<text>项目编号 17262626272727</text> |
|
<view class="status">{{tabActive == 1 ? '沟通中' : tabActive == 2 ? '进行中' : '已结束'}}</view> |
|
</view> |
|
<view class="info-box acea-row row-middle" > |
|
<image src="../../../images/home/company-img.png"></image> |
|
<view class="info"> |
|
<view class="i-title line1">教育类学校官网网站建设</view> |
|
<view class="tag-item">定金尾款</view> |
|
<view class="i-desc" wx:if="{{tabActive == 1}}">针对中小学教育机构、课外培训辅导机构,提供官网升级优化和专业的网站建设定制化服务。</view> |
|
<view class="projectinfo-box"> |
|
<view class="acea-row row-middle" wx:if="{{tabActive != 1}}"> |
|
<view class="p-label">项目名称:</view> |
|
<view>武汉大学武汉大学网建设</view> |
|
</view> |
|
<view class="acea-row row-middle line1" wx:if="{{tabActive != 1}}"> |
|
<view class="p-label">合作方:</view> |
|
<view>武汉楚象科技有限公司</view> |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="concat-list-box" wx:if="{{ tabActive == 1 }}"> |
|
<view class="open-btn" bindtap="openClick">展开/收起</view> |
|
<view class="concat-list {{open ? 'list-open' : ''}}"> |
|
<view class="concat-item acea-row row-middle row-between" wx:for="{{7}}" wx:key="index" bindtap="toApplyDetail"> |
|
<image src="../../../images/user/header.png" class="logo"></image> |
|
<view class="name-box acea-row"> |
|
<view class="name acea-row row-middle"> |
|
<view class="company-name line1">武汉出牛科技科技有限公有限公司</view> |
|
<text class="concat-status">未沟通</text> |
|
</view> |
|
<view class="desc line1">您好,我对您发布的信息很感兴的信息很感兴趣</view> |
|
</view> |
|
<image src="../../../images/home/call.png" class="call"></image> |
|
<view class="create-btn">立项</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="progress-box" wx:if="{{ tabActive != 1 }}"> |
|
<view class="progress-item acea-row row-between row-middle"> |
|
<view class="acea-row row-middle"> |
|
<image src="../../../images/home/progress.png"></image> |
|
<text>阶段1 定金</text> |
|
</view> |
|
<view class="progress-status">已结束</view> |
|
</view> |
|
<view class="progress-item acea-row row-between row-middle"> |
|
<view class="acea-row row-middle"> |
|
<image src="../../../images/home/progress.png"></image> |
|
<text>阶段2 定金</text> |
|
</view> |
|
<view class="progress-status">已结束</view> |
|
</view> |
|
<view class="progress-item acea-row row-between row-middle"> |
|
<view class="acea-row row-middle"> |
|
<image src="../../../images/home/progress.png"></image> |
|
<text>阶段3 尾款</text> |
|
</view> |
|
<view class="progress-status colorO">已结束</view> |
|
</view> |
|
</view> |
|
<view class="btn-box acea-row row-between row-bottom" wx:if="{{ tabActive != 1 }}"> |
|
<view class="start-time" wx:if="{{ tabActive == 2 }}">2021/08/31项目开启</view> |
|
<view class="" wx:if="{{ tabActive == 3 }}">项目已圆满结束</view> |
|
<view class="btns acea-row"> |
|
<view class="btn-item" wx:if="{{ tabActive == 2 }}">开启下阶段</view> |
|
<view class="btn-item default" wx:if="{{ tabActive == 2 }}">申请交付</view> |
|
<view class="btn-item" wx:if="{{ tabActive == 3 }}">合作反馈</view> |
|
</view> |
|
</view> |
|
</view> --> |
|
</view> |
|
</view>
|
|
|