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.
 
 
 
 

111 lines
5.2 KiB

<!--pages/demandHall/createProject/index.wxml-->
<view class="createProject-page">
<view class="resource-info-box">
<view class="title">资源信息</view>
<view class="company-card-box acea-row-nowrap">
<image src="{{projectInfo.projectResource.logo}}" class="company-logo"></image>
<view class="info">
<view class="company-name line1">{{projectInfo.projectResource.name}}</view>
<view class="tags-box">
<view class="tag-item">网站建设</view>
</view>
<view class="slogan">{{projectInfo.projectResource.content}}</view>
</view>
</view>
</view>
<view class="project-name-box">
<view class="title">项目名称</view>
<view class="inp-box" wx:if="{{state == 1 || !state}}">
<input type="text" placeholder="请填写项目名称" value="{{projectName}}" bindinput="inpChange" data-t="n" />
</view>
<view wx:if="{{state == 3 || state == 2}}">{{projectName}}</view>
</view>
<view class="project-name-box">
<view class="title acea-row row-middle">项目编号 <view class="num">{{projectInfo.projectCode}}</view></view>
</view>
<view class="project-name-box">
<view class="title acea-row row-middle">
<text>合作模式</text>
<view class="mode-box acea-row">
<view class="mode-item {{modeActive == item.id ? 'mode-item-a' : ''}}" data-id="{{item.id}}" data-nums="{{item.stageNums}}" bindtap="modeClick" wx:for="{{modeList}}" wx:key="index">{{item.name}}</view>
</view>
</view>
<view class="mode-detail">
<view class="m-tit">合作规则-定金尾款模式</view>
<text>{{modeList[modeActive - 1].content}}</text>
</view>
</view>
<view class="project-name-box">
<view class="title acea-row row-middle">交付成果</view>
<view class="area-box" style="{{projectId ? 'background:#fff;border:4rpx solid #EEEEEE;' : ''}}">
<view class="p-title acea-row row-middle">
<view>总金额</view>
<input type="text" disabled="{{ state != 0 }}" value="{{totalMoney}}" bindinput="inpChange" data-t="t" />
<text>元</text>
</view>
<textarea placeholder="请描述交付成果" disabled="{{ state != 0 }}" class="area" value="{{resultContent}}" bindinput="inpChange" data-t="c"></textarea>
<view clsas="progress-box" wx:if="{{ modeActive > 1 }}">
<view class="progress-item" wx:for="{{ stageResultsDtoList }}" wx:for-item="mode" wx:key="index">
<view class="p-title acea-row row-middle">
<view>阶段{{index+1}}</view>
<input type="text" value="{{mode.money}}" disabled="{{ state != 0 }}" bindinput="changePrice" data-i="{{index}}" />
<text>元</text>
</view>
<input type="text" class="desc" placeholder="本阶段将提供。" disabled="{{ state != 0 }}" value="{{mode.content}}" bindinput="changeContent" data-i="{{index}}" />
</view>
</view>
</view>
</view>
<!-- <view class="project-name-box">
<view class="title acea-row row-middle">项目资金</view>
<view class="item acea-row row-between row-middle">
<view class="label">总金额</view>
<view class="item-r acea-row row-between row-middle">
<input type="text" placeholder="请输入总金额" />
<text>元</text>
</view>
</view>
<view class="item acea-row row-between row-middle">
<view class="label">定金</view>
<view class="item-r acea-row row-between row-middle">
<input type="text" placeholder="请输入总定金" />
<text>元</text>
</view>
</view>
<view class="item acea-row row-between row-middle">
<view class="label">尾款</view>
<view class="item-r acea-row row-between row-middle">
<input type="text" placeholder="请输入总尾款" />
<text>元</text>
</view>
</view>
</view> -->
<view class="project-name-box">
<view class="title acea-row row-middle">项目发起方(供方)</view>
<view class="fqifang-box">
<view class="f-name">{{projectInfo.projectProvider.name}}</view>
<view class="f-item acea-row row-middle">
<view class="f-item-label">银行账户</view>
<view>{{projectInfo.projectProvider.bankNum}}</view>
</view>
<view class="f-item acea-row row-middle">
<view class="f-item-label">开户信息</view>
<view>{{projectInfo.projectProvider.bankInfo}}</view>
</view>
</view>
</view>
<view class="project-name-box">
<view class="title acea-row row-middle">合作方</view>
<view class="hezuofang-box acea-row row-middle row-between">
<view class="header-box acea-row row-middle">
<image src="{{projectInfo.projectReceiver.photoPath}}"></image>
<view>{{projectInfo.projectReceiver.name}}</view>
</view>
<view class="call" bindtap="call" data-phone="{{projectInfo.projectReceiver.phone}}"><image src="../../../images/home/call.png"></image></view>
</view>
</view>
<view class="btn-box acea-row row-right" wx:if="{{state != 3}}">
<view class="submit-btn" bindtap="submit" wx:if="{{ state == 0 || state == 1}}">确认并发起</view>
<view class="submit-btn" bindtap="confirm" wx:if="{{ state == 2 }}">待确认</view>
</view>
</view>