<template>
  <div>
    <el-table :data="list" style="width: 100%" v-loading="loading" border>
      <el-table-column type="index"  label="序号" width="50">
      </el-table-column>
      <el-table-column
        v-for="(item,index) in labels"
        :key="index"
        :prop="item.value"
        header-align="center"
        :width="item.width"
        :label="item.header"
      >
      </el-table-column>
    
    </el-table>
  </div>
</template>
  <script>
export default {
  data() {
    return {
    };
  },
  props:{
    list:{
        type:Array,
        default:[]
    },
    labels:{
        type:Array,
        default:[]
    },
    loading:{
        type:Boolean,
        default:false
    }
  },
  methods: {
  },
};
</script>
  <style lang="scss" scoped>
</style>
  