| | |
| | | <div slot="extra"> |
| | | <a-row class="more-info"> |
| | | <a-col :span="8"> |
| | | <head-info title="项目数" content="56" :center="false" :bordered="false"/> |
| | | <head-info |
| | | title="项目数" |
| | | content="56" |
| | | :center="false" |
| | | :bordered="false" |
| | | /> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <head-info title="团队排名" content="8/24" :center="false" :bordered="false"/> |
| | | <head-info |
| | | title="团队排名" |
| | | content="8/24" |
| | | :center="false" |
| | | :bordered="false" |
| | | /> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <head-info title="项目访问" content="2,223" :center="false" /> |
| | | <head-info |
| | | title="项目访问" |
| | | content="2,223" |
| | | :center="false" |
| | | /> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | | |
| | | <div> |
| | | <a-row :gutter="24"> |
| | | <a-col :xl="16" :lg="24" :md="24" :sm="24" :xs="24"> |
| | | <a-col |
| | | :xl="16" |
| | | :lg="24" |
| | | :md="24" |
| | | :sm="24" |
| | | :xs="24" |
| | | > |
| | | <a-card |
| | | class="project-list" |
| | | :loading="loading" |
| | | style="margin-bottom: 24px;" |
| | | :bordered="false" |
| | | title="进行中的项目" |
| | | :body-style="{ padding: 0 }"> |
| | | :body-style="{ padding: 0 }" |
| | | > |
| | | <a slot="extra">全部项目</a> |
| | | <div> |
| | | <a-card-grid class="project-card-grid" :key="i" v-for="(item, i) in projects"> |
| | | <a-card :bordered="false" :body-style="{ padding: 0 }"> |
| | | <a-card-grid |
| | | class="project-card-grid" |
| | | :key="i" |
| | | v-for="(item, i) in projects" |
| | | > |
| | | <a-card |
| | | :bordered="false" |
| | | :body-style="{ padding: 0 }" |
| | | > |
| | | <a-card-meta> |
| | | <div slot="title" class="card-title"> |
| | | <a-avatar size="small" :src="item.cover"/> |
| | | <div |
| | | slot="title" |
| | | class="card-title" |
| | | > |
| | | <a-avatar |
| | | size="small" |
| | | :src="item.cover" |
| | | /> |
| | | <a>{{ item.title }}</a> |
| | | </div> |
| | | <div slot="description" class="card-description"> |
| | | <div |
| | | slot="description" |
| | | class="card-description" |
| | | > |
| | | {{ item.description }} |
| | | </div> |
| | | </a-card-meta> |
| | |
| | | </div> |
| | | </a-card> |
| | | |
| | | <a-card :loading="loading" title="动态" :bordered="false"> |
| | | <a-card |
| | | :loading="loading" |
| | | title="动态" |
| | | :bordered="false" |
| | | > |
| | | <a-list> |
| | | <a-list-item :key="index" v-for="(item, index) in activities"> |
| | | <a-list-item |
| | | :key="index" |
| | | v-for="(item, index) in activities" |
| | | > |
| | | <a-list-item-meta> |
| | | <a-avatar slot="avatar" :src="item.user.avatar" /> |
| | | <a-avatar |
| | | slot="avatar" |
| | | :src="item.user.avatar" |
| | | /> |
| | | <div slot="title"> |
| | | <span>{{ item.user.nickname }}</span> |
| | | 在 <a href="#">{{ item.project.name }}</a> |
| | |
| | | :lg="24" |
| | | :md="24" |
| | | :sm="24" |
| | | :xs="24"> |
| | | <a-card title="快速开始 / 便捷导航" style="margin-bottom: 24px" :bordered="false" :body-style="{padding: 0}"> |
| | | :xs="24" |
| | | > |
| | | <a-card |
| | | title="快速开始 / 便捷导航" |
| | | style="margin-bottom: 24px" |
| | | :bordered="false" |
| | | :body-style="{padding: 0}" |
| | | > |
| | | <div class="item-group"> |
| | | <a>操作一</a> |
| | | <a>操作二</a> |
| | |
| | | <a>操作四</a> |
| | | <a>操作五</a> |
| | | <a>操作六</a> |
| | | <a-button size="small" type="primary" ghost icon="plus">添加</a-button> |
| | | <a-button |
| | | size="small" |
| | | type="primary" |
| | | ghost |
| | | icon="plus" |
| | | >添加</a-button> |
| | | </div> |
| | | </a-card> |
| | | <a-card title="XX 指数" style="margin-bottom: 24px" :loading="radarLoading" :bordered="false" :body-style="{ padding: 0 }"> |
| | | <a-card |
| | | title="XX 指数" |
| | | style="margin-bottom: 24px" |
| | | :loading="radarLoading" |
| | | :bordered="false" |
| | | :body-style="{ padding: 0 }" |
| | | > |
| | | <div style="min-height: 400px;"> |
| | | <!-- :scale="scale" :axis1Opts="axis1Opts" :axis2Opts="axis2Opts" --> |
| | | <radar :data="radarData" /> |
| | | </div> |
| | | </a-card> |
| | | <a-card :loading="loading" title="团队" :bordered="false"> |
| | | <a-card |
| | | :loading="loading" |
| | | title="团队" |
| | | :bordered="false" |
| | | > |
| | | <div class="members"> |
| | | <a-row> |
| | | <a-col :span="12" v-for="(item, index) in teams" :key="index"> |
| | | <a-col |
| | | :span="12" |
| | | v-for="(item, index) in teams" |
| | | :key="index" |
| | | > |
| | | <a> |
| | | <a-avatar size="small" :src="item.avatar" /> |
| | | <a-avatar |
| | | size="small" |
| | | :src="item.avatar" |
| | | /> |
| | | <span class="member">{{ item.name }}</span> |
| | | </a> |
| | | </a-col> |
| | |
| | | |
| | | <style lang="less" scoped> |
| | | .project-list { |
| | | |
| | | .card-title { |
| | | font-size: 0; |
| | | |
| | |
| | | height: 24px; |
| | | .member { |
| | | font-size: 14px; |
| | | color: rgba(0, 0, 0, .65); |
| | | color: rgba(0, 0, 0, 0.65); |
| | | line-height: 24px; |
| | | max-width: 100px; |
| | | vertical-align: top; |
| | |
| | | } |
| | | |
| | | .mobile { |
| | | |
| | | .project-list { |
| | | |
| | | .project-card-grid { |
| | | width: 100%; |
| | | } |
| | |
| | | display: none; |
| | | } |
| | | } |
| | | |
| | | </style> |