<!-- 页面容器 -->
<scroll-view class="page-container" scroll-y>
  <!-- 顶部项目基础信息区 -->
  <view class="project-header">
    <!-- 项目名称 -->
    <view class="project-name">{{projectInfo.name}}</view>
    <!-- 项目核心信息行 -->
    <view class="base-info-row">
      <view class="base-info-item">
        <text class="info-label">项目地址：</text>
        <text class="info-value">{{projectInfo.address}}</text>
      </view>
      <view class="base-info-item">
        <text class="info-label">项目周期：</text>
        <text class="info-value">{{projectInfo.time}}</text>
      </view>
      <view class="base-info-item">
        <text class="info-label">签约电量：</text>
        <text class="info-value">600kWh</text>
      </view>
    </view>
  </view>

  <!-- 项目分成模块 -->
  <view class="module-card">
    <view class="module-title">项目成员</view>
    <view class="split-container">
      <view class="split-item" wx:for="{{projectInfo.splitList}}" wx:key="id">
        <view class="split-name">{{item.role}}</view>
        <view class="split-value">{{item.rate}}</view>
      </view>
    </view>
  </view>

  <!-- 项目主导方 -->
  <view class="module-card">
    <view class="module-title">项目负责方</view>
    <view class="party-info">
      <view class="party-item">
        <text class="info-label">企业名称：</text>
        <text class="info-value">{{projectInfo.leader.name}}</text>
      </view>
      <view class="party-item">
        <text class="info-label">联系人：</text>
        <text class="info-value">{{projectInfo.leader.contact}}</text>
      </view>
      <view class="party-item">
        <text class="info-label">联系方式：</text>
        <text class="info-value">{{projectInfo.leader.phone}}</text>
      </view>
      <view class="party-item">
        <text class="info-label">负责范围：</text>
        <text class="info-value">{{projectInfo.leader.scope}}</text>
      </view>
    </view>
  </view>
<!-- 合伙人信息 -->
<view class="module-card">
    <view class="module-title">合伙人信息</view>
    <view class="party-info">
      <view class="party-item">
        <text class="info-label">企业名称：</text>
        <text class="info-value">{{projectInfo.powerSupplier.name}}</text>
      </view>
      <view class="party-item">
            <text class="info-label">联系方式：</text>
            <text class="info-value">{{projectInfo.powerSupplier.phone}}</text>
          </view>
          <view class="party-item">
            <text class="info-label">出资比例：</text>
            <text class="info-value">{{projectInfo.powerSupplier.investRate}}</text>
          </view>
          <view class="party-item">
            <text class="info-label">负责内容：</text>
            <text class="info-value">{{projectInfo.powerSupplier.responsibility}}</text>
          </view>
    </view>
    
  </view>
  <!-- 供电方信息 -->
  <view class="module-card">
    <view class="module-title">供电方信息</view>
    <view class="partner-list">
      <view class="partner-item" wx:for="{{projectInfo.partners}}" wx:key="id">
        <view class="partner-name">{{item.name}}</view>
        <view class="partner-detail">
        
          <view class="party-item">
        <text class="info-label">供电类型：</text>
        <text class="info-value">{{item.type}}</text>
      </view>
      <view class="party-item">
        <text class="info-label">供电容量：</text>
        <text class="info-value">{{item.capacity}}</text>
      </view>
      <view class="party-item">
        <text class="info-label">合作期限：</text>
        <text class="info-value">{{item.term}}</text>
      </view>
        </view>
      </view>
    </view>
  </view>

  

  <!-- 用电方信息 -->
  <view class="module-card">
    <view class="module-title">用电方信息</view>
    <view class="party-info">
      <view class="party-item">
        <text class="info-label">企业名称：</text>
        <text class="info-value">{{projectInfo.powerConsumer.name}}</text>
      </view>
      <view class="party-item">
        <text class="info-label">用电规模：</text>
        <text class="info-value">{{projectInfo.powerConsumer.scale}}</text>
      </view>
      <view class="party-item">
        <text class="info-label">用电时段：</text>
        <text class="info-value">{{projectInfo.powerConsumer.timePeriod}}</text>
      </view>
      <view class="party-item">
        <text class="info-label">结算方式：</text>
        <text class="info-value">{{projectInfo.powerConsumer.settlement}}</text>
      </view>
    </view>
  </view>
</scroll-view>