<template>
    <div class="index">
        <!-- 头部 -->
        <!-- <div class="index-head">
            <div class="index-head-title">
                工作台
            </div>
            <el-row>
                <el-col  :xs="24" :sm="24" :md="14" :lg="12" :xl="12">
                    <div class="index-head-centent-left">
                        <el-avatar style="margin-right: 10px;" :size="56" :src="circleUrl"></el-avatar>
                        <div class="index-head-centent-left-text">
                            <p>早上好,admin,祝你新的一天工作愉快</p>
                            <p>今天小雨转阴天,21~27°,天凉,注意加衣</p>
                        </div>
                    </div>
                </el-col>
                <el-col  :xs="24" :sm="24" :md="10" :lg="12" :xl="12">
                    <div class="index-head-centent-right">
                        <div class="index-head-centent-right-list">
                            <div class="index-head-centent-right-list-icon">
                                <daiban style="color: #FD7F07; background: #FBEEE1;" class="index-head-centent-right-list-icon-is"  /> 代办事项
                            </div>
                            <div class="index-head-centent-right-list-text">
                                3 &nbsp;&nbsp;/&nbsp;&nbsp; 26
                            </div>
                        </div>
                        <div class="index-head-centent-right-list">
                            <div class="index-head-centent-right-list-icon">
                                <github style="color: #2294FC; background: #DDEDFD;" class="index-head-centent-right-list-icon-is"  /> 开源项目
                            </div>
                            <div class="index-head-centent-right-list-text">
                                7
                            </div>
                        </div>
                        <div class="index-head-centent-right-list">
                            <div class="index-head-centent-right-list-icon">
                                <daiban class="index-head-centent-right-list-icon-is"  /> 代办事项
                            </div>
                            <div class="index-head-centent-right-list-text">
                                3 &nbsp;&nbsp;/&nbsp;&nbsp; 26
                            </div>
                        </div>
                    </div>
                </el-col>
            </el-row>
        </div> -->
        <!-- 图标 -->
        <div class="index-centent">
            <el-row :gutter="20">
                <Cards colors='#FFA333' name='累积收费客户' :number='10' ionc='DealSvg'  />
                <Cards colors='#A155E8' name='本年新增收费客户' :number='120' ionc='DealSvg'  />
                <Cards colors='#6D91FF' name='本年新增标准版客户' :number='1405' ionc='DealSvg'  />
                <Cards colors='#A233A2' name='本年新增尊享版客户' :number='110' ionc='DealSvg'  />
                <Cards colors='#A155E8' name='本年新增专业版客户' :number='110' ionc='DealSvg'  />
                <Cards colors='#AED75B' name='本年新增其他客户' :number='123' ionc='DealSvg'  />

                <Cards colors='#A27B33' name='本年合同总金额' :number='1454' ionc='MoneySvg'  />
                <Cards colors='#8D8DD1' name='本年软件合同金额' :number='1657' ionc='MoneySvg'  />
                <Cards colors='#C14E4E' name='本年硬件合同金额' :number='112122' ionc='MoneySvg'  />
                <Cards colors='#A155E8' name='本年全部回款金额' :number='1454' ionc='MoneySvg'  />
                <Cards colors='#AED75B' name='本年软件回款金额' :number='1657' ionc='MoneySvg'  />
                <Cards colors='#FFA333' name='本年硬件回款金额' :number='112122' ionc='MoneySvg'  />

                <Cards colors='#A233A2' name='3个月到期客户' :number='1454' ionc='DealSvg'  />
                <Cards colors='#AED75B' name='1个月到期客户' :number='1657' ionc='DealSvg'  />
                <Cards colors='#8D8DD1' name='本年已续费客户' :number='112122' ionc='DealSvg'  />
                <Cards colors='#A27B33' name='本年续费回款金额' :number='1454' ionc='MoneySvg'  />
                <Cards colors='#8D8DD1' name='本年待实施客户' :number='1657' ionc='DealSvg'  />
                <Cards colors='#C14E4E' name='本年待对接客户' :number='112122' ionc='DealSvg'  />


                <!-- <el-col :xs="24" :sm="24" :md="24" :lg="16" :xl="16">
                    
                    <div class="grid-content">
                        <div class="index-centent-title">
                            <div class="index-centent-title-left">
                                <sort class="index-centent-title-left-icon" />
                                我的项目
                            </div>
                            <div class="index-centent-title-right">
                                全部项目
                            </div>
                        </div>
                        <div class="index-centent-box">
                            <Project />
                        </div>
                    </div>
                    
                    <div class="grid-content">
                        <div class="index-centent-title">
                            <div class="index-centent-title-left">
                                <dynamic class="index-centent-title-left-icontwo" />
                                动态
                            </div>
                            <div class="index-centent-title-right">
                                全部动态
                            </div>
                        </div>
                        <div class="index-centent-box">
                            <DynamicBox />
                        </div>
                    </div>
                </el-col>
                <el-col :xs="24" :sm="24" :md="24" :lg="8" :xl="8">
                    <div class="grid-content">
                        <div class="index-centent-title">
                            <div class="index-centent-title-left">
                                <operating class="index-centent-title-left-iconthree" />
                                快捷操作
                            </div>
                            <div class="index-centent-title-right">
                               
                            </div>
                        </div>
                         <div class="index-centent-box">
                            <Fast />
                        </div>
                    </div>
                    <div class="grid-content">
                        <div class="index-centent-title">
                            <div class="index-centent-title-left">
                                <group class="index-centent-title-left-iconfour" />
                                部门成员 (6)
                            </div>
                            <div class="index-centent-title-right">
                               
                            </div>
                        </div>
                         <div class="index-centent-box">
                            <Colleague />
                        </div>
                    </div>
                </el-col> -->
            </el-row>
            <el-row :gutter="20">
              <el-col :span="24">
                <maps/>
              </el-col>
            </el-row>
        </div>
    </div>
</template>

<script>
import Cards from '../../components/analyze/cards'
import daiban from '@/assets/icon/daiban.svg'
import github from '@/assets/icon/github.svg'
import sort from '@/assets/icon/sort.svg'
import dynamic from '@/assets/icon/dynamic.svg'
import operating from '@/assets/icon/operating.svg'
import group from '@/assets/icon/group.svg'
import Project from '@/components/Index/project' // 项目
import DynamicBox from '@/components/Index/dynamicBox' //动态
import Fast from '../../components/Index/fast' //快捷操作
import Colleague from '../../components/Index/colleague'
import maps from '../../components/Index/maps'
export default {
    data(){
        return {
            circleUrl: 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png'
        }
    },
    components:{
      Cards,
      maps,
        daiban,
        github,
        sort,
        dynamic,
        operating,
        group,
        Project,
        DynamicBox,
        Fast,
        Colleague,
        
    }
}
</script>

<style scoped>
.index{
    width: 100%;
    min-height: 100%;
}
.index-head{
    width: 100%;
    /* height: 133px; */
    padding: 16px 32px 0 32px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .7);
    border-bottom: 1px solid #dcdfe6;
}
.index-head-title{
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
    color: #292929;
    margin-bottom: 16px;
}
.index-head-centent-left{
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.index-head-centent-left-text{
    height: 56px;
}
.index-head-centent-left-text p:nth-child(1){
    margin-bottom: 7px;
    font-size: 20px;
    color: #292929;
    letter-spacing:0.1em;

}
.index-head-centent-left-text p:nth-child(2){
    font-size: 12px;
    color: #999999;
    letter-spacing:0.1em;
}
.index-head-centent-right{
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.index-head-centent-right-list{
    height: 56px;
    cursor: pointer;
    margin-left: 20px;
}
.index-head-centent-right-list-icon{
    font-size: 14px;
    display: flex;
    margin-bottom: 5px;
    color: #808695;
}
.index-head-centent-right-list-icon-is{
    width: 14px;
    height: 14px;
    fill: currentColor;
    margin-right: 5px;
    padding: 5px;
    border-radius: 12px;
}

.index-head-centent-right-list-text{
    height: 28px;
    line-height: 28px;
    font-weight: bold;
    text-align: right;
    font-size: 20px;
}
.index-centent{
    width: 100%;
    min-height: 100%;
    padding: 25px;
    box-sizing: border-box;
   

}


.el-col {
    border-radius: 4px;
}
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
    background: #ffffff;
    width: 100%;
    margin-bottom: 25px;
  }
.index-centent-title{
    width: 100%;
    height: 52px;
    border-bottom: 1px solid #dcdfe6;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 15px;
    box-sizing: border-box;
    justify-content:space-between;
    font-size: 14px;
}
.index-centent-title-left{
    display: flex;
    justify-content: flex-start;
    font-size: 14px;
    /* border-radius: 11px;
    overflow: hidden; */
}
.index-centent-title-left-icon{
    width: 12px;
    height: 12px;
    font-size: 12px;
    color: #1890FF;
    padding: 5px;
    background: #E6F3FE;
    /* border-radius: 11px; */
    fill: currentColor;
    margin-right: 10px;
}
.index-centent-title-left-icontwo{
    width: 12px;
    height: 12px;
    font-size: 12px;
    color: #F371FA;
    padding: 5px;
    background: #FDF4FD;
    /* border-radius: 11px; */
    fill: currentColor;
    margin-right: 10px;
}
.index-centent-title-left-iconthree{
    width: 12px;
    height: 12px;
    font-size: 12px;
    color: #FC1D1D;
    padding: 5px;
    background: #FDF4FD;
    /* border-radius: 11px; */
    fill: currentColor;
    margin-right: 10px;
}
.index-centent-title-left-iconfour{
    width: 12px;
    height: 12px;
    font-size: 12px;
    color: #18B2FA;
    padding: 5px;
    background: #FDF4FD;
    /* border-radius: 11px; */
    fill: currentColor;
    margin-right: 10px;
}
.index-centent-title-right{
    color: #3CA0FD;
    cursor: pointer;
}
.index-centent-box{
    width: 100%;
    padding: 15px 15px 0;
    box-sizing: border-box;
}
</style>