<template>

    <div>
        <div class="headers">
            <div class="headers-left">
                <div class="imgs">

                </div>
                <div class="img-right">
                    <div class="name-title">微育科技</div>
                    <div class="right-name">数智科创 · 通达未来 </div>
                </div>
            </div>
            <div class="headers-right">
                <div class="rights">
                    <div class="rights-names" >
                        批量添加专家
                    </div>

                </div>
            </div>
        </div>
        <div class="content-area">
            <div class="content-left">
                <div class="lefts">
                    <div class="uploads">
                        <el-upload action="https://jsonplaceholder.typicode.com/posts/" list-type="picture-card"
                             >
                            <i class="el-icon-plus"></i>
                        </el-upload>
                       
                    </div>
                    <div class="upload-name">
                        支持.xlsx，.xls，.et，.xlt识别内容会呈现在右侧
                    </div>
                    <div class="button-area">
                        <div> <el-button type="primary" style="background-color: #5165f7;">添加保存</el-button></div>
                        <div style="margin-top: 12px;cursor: pointer;width: 82px;" @click="btnClose"> <el-button>取消</el-button></div>
                    </div>
                </div>
            </div>
            <div class="content-right">
                <div class="rightss">
                    <div class="right-header">
                        <div><span>生成名单</span> | <span style="color: #5165f7;">下载模板</span> </div>
                        <div>仅展示不合规相关字段</div>
                    </div>
                    <div style="margin-top: 12px;">
                        <el-table :data="tableData" height="250" border style="width: 100%">
                            <el-table-column prop="date" label="序号" width="80" align="center">
                            </el-table-column>
                            <el-table-column prop="name" label="姓名" align="center">
                            </el-table-column>
                            <el-table-column prop="address" label="专家来源" align="center">
                            </el-table-column>
                            <el-table-column prop="address" label="研究领域" align="center">
                            </el-table-column>
                            <el-table-column prop="address" label="联系方式" align="center">
                            </el-table-column>
                            <el-table-column prop="address" label="所属单位" width="400" align="center">
                            </el-table-column>
                            <el-table-column fixed="right" label="操作" width="100" align="center">
                                <template slot-scope="scope">
                                    <el-button @click="handleClick(scope.row)" type="text" size="small" style="color: #F56C6C;">删除</el-button>

                                </template>
                            </el-table-column>
                        </el-table>
                    </div>
                </div>
            </div>
        </div>

    </div>
</template>
<script>
export default {
    data() {
        return {
            tableData: [{
                date: '2016-05-03',
                name: '王小虎',
                address: '上海市普陀区金沙江路 1518 弄'
            }, {
                date: '2016-05-02',
                name: '王小虎',
                address: '上海市普陀区金沙江路 1518 弄'
            }, {
                date: '2016-05-04',
                name: '王小虎',
                address: '上海市普陀区金沙江路 1518 弄'
            }, {
                date: '2016-05-01',
                name: '王小虎',
                address: '上海市普陀区金沙江路 1518 弄'
            }, {
                date: '2016-05-08',
                name: '王小虎',
                address: '上海市普陀区金沙江路 1518 弄'
            }, {
                date: '2016-05-06',
                name: '王小虎',
                address: '上海市普陀区金沙江路 1518 弄'
            }, {
                date: '2016-05-07',
                name: '王小虎',
                address: '上海市普陀区金沙江路 1518 弄'
            }],
            yuanright: 0,

            shu: 0,
            active: 0,
            lastActiveKey: 'headerActiveIndex',

        }
    },

    created() {

    },

    watch: {

    },

    methods: {

        btnClose(){
            this.$router.push('/technology')
        }
    }
}
</script>
<style>
/* 在全局CSS文件或当前组件的 <style> 中修改 */
.el-upload-list--picture-card .el-upload-list__item,
.el-upload--picture-card {
    width: 80px !important;
    /* 调整卡片宽度 */
    height: 80px !important;
    /* 调整卡片高度 */
    line-height: 80px !important;
    /* 保持垂直居中 */
}

.el-icon-plus {
    font-size: 16px !important;
    /* 缩小加号图标 */
}
</style>
<style scoped>
.right-header {
    display: flex;
    margin-top: 12px;
    font-size: 14px;
    justify-content: space-between;
}

.rightss {
    width: 96%;
    margin: 0 auto;
}

.button-area {
    text-align: center;
    margin-top: 60px;
}

.upload-name {
    font-size: 12px;
    width: 72%;
    text-align: center;
    position: relative;
    top: 37px;
    left: 30px;
    color: #6C6C6C;
}

.uploads {
    text-align: center;
    position: relative;
    top: 30px;
}

.lefts {
    width: 90%;
    background: white;
}

.content-right {
    flex: 1;
    background: white;

}

.content-area {
    display: flex;
    height: 90vh;
    width: 100%;
    margin-top: 12px;
}

.content-left {
    width: 240px;


}

:deep .el-tooltip__popper.is-dark {
    color: #F04B4B !important;
}





.ths {
    text-align: center;
    background: #DCE0FD !important;
    color: #363636;
}

.tou {
    height: 30px;
    line-height: 30px;
    color: #606266;
    text-align: center;
}

.financial-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.financial-table th,
.financial-table td {
    border: 1px solid #ddd;
    padding: 8px 7px;
    text-align: center;
}

.financial-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.financial-table .nested-label {

    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

.table-right {
    flex: 1;
}




/* 默认情况（有效）左边圆角 */
.left-radius {
    border-bottom-left-radius: 16px !important;
    border-top-left-radius: 16px !important;
}

/* 无效情况右边圆角 */
.right-radius {
    border-bottom-right-radius: 16px !important;
    border-top-right-radius: 16px !important;
}



.yuanright {
    flex: 1;
    background: #5165f7;
    color: white;

    /* border-bottom-right-radius: 16px;
    border-top-right-radius: 16px;  */
    text-align: center;
    line-height: 30px;
    cursor: pointer;

}
































::v-deep .el-table thead {
    background-color: #DCE0FD !important;
    color: #363636 !important;
    font-weight: bold;
}

::v-deep .el-table__header th {
    background-color: #DCE0FD !important;
    color: #363636 !important;
    font-weight: bold;
}

.shu{
  width: 10px;
    height: 20px;
    background: #5165f7;
    position: relative;
    top: -24px;
    left: 40%;
}
.active{
    color: #5165f7 !important;
}
.rights-names{
    margin-left: 32px;
    cursor: pointer;
}
.rights{
    width: 96%;
    height: 100%;
    margin: 0 auto;
    line-height: 94px;
    display: flex;
    position: relative;
    left: -27px;
}
.name-title{
    position: relative;
    top: -6px;
    font-weight: bold;
}
.right-name{
    font-size: 12px;
}
.img-right{
    font-size: 14px;
    position: relative;
    top: 40px;
    height: 40px;
    margin-left: 12px;
}
.imgs{
    width: 45px;
    height: 46px;
    background: #5165f7;
    border-radius: 6px;
    position: relative;
    top: 26px;
    margin-left: 24px
}
.headers-right{
    flex: 1;
    background: white;
  
}
.headers-left{
    width: 222px;
    height: 100%;
    display: flex;
    background: white;
    border-right: 1px solid #EDEFFE;
}
.headers{
  width: 100%;
    height: 90px;
    display: flex
;
    border-bottom: 1px solid #EDEFFE;
}
</style>