diff --git a/activitylink/src/views/zhongchou/gift/importuser/index.vue b/activitylink/src/views/zhongchou/gift/importuser/index.vue index fb18e30..ab53d6e 100644 --- a/activitylink/src/views/zhongchou/gift/importuser/index.vue +++ b/activitylink/src/views/zhongchou/gift/importuser/index.vue @@ -252,4 +252,31 @@ onMounted(() => { .table-container { overflow-y: auto; } + +.table-container { + height: 650px; /* 设置固定高度 */ + overflow-y: auto; /* 启用垂直滚动条 */ + overflow-x: hidden; /* 隐藏水平滚动条(如果不需要的话) */ + border: 1px solid #ebeef5; /* 可选:添加边框 */ + border-radius: 4px; /* 可选:添加圆角 */ +} + +/* 可选:自定义滚动条样式 */ +.table-container::-webkit-scrollbar { + width: 8px; +} + +.table-container::-webkit-scrollbar-track { + background: #f1f1f1; + border-radius: 4px; +} + +.table-container::-webkit-scrollbar-thumb { + background: #c1c1c1; + border-radius: 4px; +} + +.table-container::-webkit-scrollbar-thumb:hover { + background: #a8a8a8; +} \ No newline at end of file