ede7195141ae96b7537a5363d285ba2ddb05ef92c9d54dae8f1d58e1c1317b95.json 1.8 KB

1
  1. {"ast":null,"code":"export default {\n props: {\n tableData: {\n type: Array,\n required: true\n },\n columns: {\n type: Array,\n required: true\n }\n }\n};","map":{"version":3,"names":["props","tableData","type","Array","required","columns"],"sources":["src/components/MyTable/index.vue"],"sourcesContent":["<template>\n <div class=\"table-box\">\n <el-table :data=\"tableData\" style=\"background-color: transparent;\">\n <el-table-column v-for=\"column in columns\" :key=\"column.prop\" :prop=\"column.prop\" :label=\"column.label\" :width=\"column.width\">\n \n </el-table-column>\n </el-table>\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n tableData: {\n type: Array,\n required: true\n },\n columns: {\n type: Array,\n required: true\n },\n }\n};\n</script>\n<style>\n.el-table__header-wrapper,.el-table__body-wrapper,.el-table__cell,tr {\n background-color: transparent !important;\n color: #ebebeb !important;\n font-size: 12px !important;\n}\n\n.el-table__header-wrapper .el-table__cell{\n color: #fff !important;\n font-size: 14px !important;\n font-weight: bold;\n}\n.el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf{\n border-bottom: 0!important;\n} \n.el-table--border::after, .el-table--group::after, .el-table::before{\n background-color: transparent;\n}\ntr{\n height: 4.4vh!important;\n}\nthead tr {\n /* background-color: #202020 !important; */\n}\ntbody tr {\n /* background-color: #141414 !important; */\n}\n.el-table .el-table__cell{\n padding: 5px 0;\n height: 4.4vh!important;\n}\n\n.table-box{\n}\n\n</style>"],"mappings":"AAWA;EACAA,KAAA;IACAC,SAAA;MACAC,IAAA,EAAAC,KAAA;MACAC,QAAA;IACA;IACAC,OAAA;MACAH,IAAA,EAAAC,KAAA;MACAC,QAAA;IACA;EACA;AACA"},"metadata":{},"sourceType":"module","externalDependencies":[]}