From 3f4ac9283f4365372b760818c9463cd9fbfbaa72 Mon Sep 17 00:00:00 2001 From: hejianhao <15708179461@qq.com> Date: 星期二, 01 四月 2025 17:43:06 +0800 Subject: [PATCH] 引入字体,修改封装列表,新增项目页面,封装公共Table、选择人员弹窗, --- src/components/Table/index.vue | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/src/components/Table/index.vue b/src/components/Table/index.vue index f8d4e03..c539266 100644 --- a/src/components/Table/index.vue +++ b/src/components/Table/index.vue @@ -1,6 +1,6 @@ <template> <div class="table-container"> - <el-table border :data="tableData" :height="height"> + <el-table border v-bind="$attrs" v-on="$listeners" :height="height"> <slot></slot> </el-table> <div v-if="total > 0"> @@ -53,6 +53,10 @@ </script> <style scoped lang="less"> +::v-deep .select-row { + background: #E6FFFF !important; +} + .el-table--border, .el-table--group { border-radius: 8px 8px 0px 0px; @@ -66,6 +70,26 @@ } } +::v-deep .el-checkbox__inner:hover { + border-color: #049C9A !important; +} + +::v-deep .el-checkbox__input.is-focus .el-checkbox__inner { + border-color: #049C9A !important; +} + + +::v-deep .el-checkbox__input.is-checked .el-checkbox__inner { + background-color: #049C9A !important; + border-color: #049C9A !important; +} + +::v-deep .el-checkbox__input.is-indeterminate .el-checkbox__inner { + background-color: #049C9A !important; + border-color: #049C9A !important; + +} + .pagination { display: flex; justify-content: flex-end; -- Gitblit v1.7.1