更好
在这里插入图片描述
在这里插入图片描述

<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="utf-8"><title>数据表格</title><style>* {margin: 0;padding: 0;box-sizing: border-box;font-size: 14px;}html,body {width: 100%;height: 100%;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;}/* 表格容器 */.table-container {width: 100%;height: 100%;padding: 20px;display: flex;flex-direction: column;}/* 表格包装,实现水平滚动 */.table-wrapper {flex: 1;overflow-x: auto;position: relative;border: 1px solid #ebeef5;border-radius: 4px;}/* 表格主体样式 */.data-table {width: 100%;border-collapse: collapse;min-width: 800px;}/* 表头固定样式 */.data-table thead {position: sticky;top: 0;z-index: 10;}/* 表头和单元格通用样式 */.data-table th,.data-table td {padding: 8px 12px;line-height: 24px;text-align: left;border-bottom: 1px solid #ebeef5;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;background-color: #fff;}/* 表头特定样式 */.data-table th {font-weight: 600;color: #606266;background-color: #f5f7fa;}/* 单元格特定样式 */.data-table td {color: #606266;}/* 特殊列宽设置 */.dict-col {width: 16%;}.action-col {width: 15%;min-width: 150px;}/* 按钮样式 */.data-table button {margin-right: 8px;padding: 6px 12px;border: 1px solid #dcdfe6;border-radius: 4px;background-color: #fff;color: #606266;cursor: pointer;transition: all 0.3s;}.data-table button:hover {color: #409eff;border-color: #c6e2ff;background-color: #ecf5ff;}/* 滚动条样式 */.table-wrapper::-webkit-scrollbar {height: 8px;width: 8px;}.table-wrapper::-webkit-scrollbar-thumb {background-color: #c1c1c1;border-radius: 4px;}.table-wrapper::-webkit-scrollbar-track {background-color: #f1f1f1;}</style>
</head><body><div class="table-container"><div class="table-wrapper"><table class="data-table" role="grid" aria-label="字段配置表"><thead><tr><th scope="col">字段名称</th><th scope="col">字段类型</th><th scope="col">是否查询展示</th><th scope="col">是否列表展示</th><th scope="col">是否表单展示</th><th scope="col">是否必填</th><th scope="col" class="dict-col">关联字典</th><th scope="col" class="action-col">操作</th></tr></thead><tbody><tr><td>用户名</td><td>字符串</td><td></td><td></td><td></td><td></td><td class="dict-col"></td><td class="action-col"><button type="button" aria-label="编辑">编辑</button><button type="button" aria-label="删除">删除</button></td></tr><tr><td>密码</td><td>密码</td><td></td><td></td><td></td><td></td><td class="dict-col"></td><td class="action-col"><button type="button" aria-label="编辑">编辑</button><button type="button" aria-label="删除">删除</button></td></tr><tr><td>性别</td><td>枚举</td><td></td><td></td><td></td><td></td><td class="dict-col">性别字典</td><td class="action-col"><button type="button" aria-label="编辑">编辑</button><button type="button" aria-label="删除">删除</button></td></tr><tr><td>年龄</td><td>数字</td><td></td><td></td><td></td><td></td><td class="dict-col"></td><td class="action-col"><button type="button" aria-label="编辑">编辑</button><button type="button" aria-label="删除">删除</button></td></tr><tr><td>邮箱</td><td>字符串</td><td></td><td></td><td></td><td></td><td class="dict-col"></td><td class="action-col"><button type="button" aria-label="编辑">编辑</button><button type="button" aria-label="删除">删除</button></td></tr><tr><td>手机号</td><td>字符串</td><td></td><td></td><td></td><td></td><td class="dict-col"></td><td class="action-col"><button type="button" aria-label="编辑">编辑</button><button type="button" aria-label="删除">删除</button></td></tr></tbody></table></div></div>
</body></html>

没有上面的好

<!DOCTYPE html>
<html><head><meta charset="utf-8">
</head><body><div class="table-wrap scrollbar"><div class="table"><div class="table-header"><span class="col">字段名称</span><span class="col">字段类型</span><span class="col">是否查询展示</span><span class="col">是否列表展示</span><span class="col">是否表单展示</span><span class="col">是否必填</span><span class="col col-7">关联字典</span><span class="col col-8">操作</span></div><div class="table-body scrollbar"><div class="row"><span class="col">1</span><span class="col">2</span><span class="col">3</span><span class="col">4</span><span class="col">5</span><span class="col">6</span><span class="col col-7">7</span><span class="col col-8"><button>编辑</button><button>删除</button></span></div><div class="row"><span class="col">1</span><span class="col">2</span><span class="col">3</span><span class="col">4</span><span class="col">5</span><span class="col">6</span><span class="col col-7">7</span><span class="col col-8"><button>编辑</button><button>删除</button></span></div><div class="row"><span class="col">1</span><span class="col">2</span><span class="col">3</span><span class="col">4</span><span class="col">5</span><span class="col">6</span><span class="col col-7">7</span><span class="col col-8"><button>编辑</button><button>删除</button></span></div><div class="row"><span class="col">1</span><span class="col">2</span><span class="col">3</span><span class="col">4</span><span class="col">5</span><span class="col">6</span><span class="col col-7">7</span><span class="col col-8"><button>编辑</button><button>删除</button></span></div><div class="row"><span class="col">1</span><span class="col">2</span><span class="col">3</span><span class="col">4</span><span class="col">5</span><span class="col">6</span><span class="col col-7">7</span><span class="col col-8"><button>编辑</button><button>删除</button></span></div><div class="row"><span class="col">1</span><span class="col">2</span><span class="col">3</span><span class="col">4</span><span class="col">5</span><span class="col">6</span><span class="col col-7">7</span><span class="col col-8"><button>编辑</button><button>删除</button></span></div></div></div></div>
</body></html><style>* {margin: 0;padding: 0;box-sizing: border-box;}html,body {width: 100%;height: 100%;}.table-wrap {width: 100%;height: 100%;overflow-x: auto;padding: 20px;}.table {width: max-content;min-width: 100%;height: 100%;}.table-header {width: 100%;height: 40px;display: flex;align-items: center;font-weight: 600;color: rgb(144, 147, 153);}.table-body {width: 100%;height: calc(100% - 40px);overflow-y: auto;overflow-x: hidden;color: rgb(96, 98, 102);}.row {width: 100%;height: 40px;display: flex;align-items: center;}.col {flex-shrink: 0;width: 12%;min-width: 125px;height: 100%;padding: 8px 12px;line-height: 24px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;border-bottom: 1px solid #ebeef5;}.col-7 {width: 16%;}
</style>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.pswp.cn/bicheng/93738.shtml
繁体地址,请注明出处:http://hk.pswp.cn/bicheng/93738.shtml
英文地址,请注明出处:http://en.pswp.cn/bicheng/93738.shtml

如若内容造成侵权/违法违规/事实不符,请联系英文站点网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

面向R语言用户的Highcharts

如果您喜欢使用 R 进行数据科学创建交互式数据可视化&#xff0c;那么请你收藏。今天&#xff0c;我们将使用折线图、柱状图和散点图来可视化资产回报。对于我们的数据&#xff0c;我们将使用以下 5 只 ETF 的 5 年月回报率。 SPY (S&P500 fund)EFA (a non-US equities fun…

【测试工具】OnDo SIP Server--轻松搭建一个语音通话服务器

前言 Ondo SIP Server 是一款基于 SIP(Session Initiation Protocol)协议的服务器软件&#xff0c;主要用于实现 VoIP(Voice over IP)通信&#xff0c;支持语音通话、视频会议等多媒体会话管理&#xff0c;非常适合学习和测试VoIP的基本功能。本文介绍Ondo SIP Server的安装、…

疯狂星期四文案网第42天运营日记

网站运营第42天&#xff0c;点击观站&#xff1a; 疯狂星期四 crazy-thursday.com 全网最全的疯狂星期四文案网站 运营报告 今日访问量 今日搜索引擎收录情况 网站优化点 优化一些发现的seo错误 增加颜文字栏目 增加了一些tag

使用空模型实例调用辅助函数,确定在量化过程中哪些层会被跳过(43)

在Facebook的OPT-350M中,模型的头部(lm_head)与解码器的嵌入标记层(decoder.embed_tokens)共享其权重。 print(model.model.decoder.embed_tokens) print(model.lm_head)输出结果 Embedding(50272, 512

从0-1使用Fastmcp开发一个MCP服务,并部署到阿里云百炼 -持续更新中

目的&#xff1a; 在本地使用fastmcp开发一个mcp,然后注册到阿里云的百炼里面。实现在百炼里面创建智能体的时候直接引用自己开发的MCP 已完成&#xff1a;本地环境安装 待完成&#xff1a; 1.根据需求实现一个MCP中可以调用某应用的多个API即 mcp.tool()、mcp.prompt()、接入大…

设计模式之汇总

设计模式 零、设计原则 0.1 单一职责 0.2 接口隔离 0.3 开闭原则 0.4 依赖倒置0.5 迪米特法则&#xff0c;最小知道原则用户关机 只和朋友通信 朋友条件&#xff1a; 1&#xff09;当前对象本身&#xff08;this&#xff09; 2&#xff09;以参量形式传入到当前对象方法中的对象…

第6章 Decoder与Encoder核心组件

前言 Netty从底层Java通道读取ByteBuf二进制数据&#xff0c;传入Netty通道的流水线&#xff0c;随后开始入站处理。在入站处理过程中&#xff0c;需要将ByteBuf二进制类型解码成Java POJO对象。这个解码过程可以通过Netty的Decoder&#xff08;解码器&#xff09;去完成。 在…

[已解决]当启动 Spring Boot 应用时出现 Using generated security password xxx提示

当启动 Spring Boot 应用时出现 Using generated security password xxx提示当启动 Spring Boot 应用时出现 Using generated security password xxx提示&#xff0c;这是 Spring Security 自动配置的默认行为&#xff0c;通常发生在你​​未自定义安全配置​​但引入了 Spring…

自动分析需求,PRD 生成只需 SOLO 一步!

资料来源&#xff1a;火山引擎-开发者社区 写不清需求&#xff1f;PRD 难产&#xff1f;开发总跑偏&#xff1f;这些痛点&#xff0c;SOLO 来解决。 TRAE SOLO 是行业首个 Context Engineer。它不止协助编码&#xff0c;更能基于精准上下文理解和工具调用&#xff0c;从构思、…

物联网软件开发过程中,数据流图(DFD),用例图,类图,活动图,序列图,状态图,实体关系图(ERD),BPMN(业务流程建模)详解分析

概述软件开发过程中&#xff0c;特别是在物联网&#xff08;IoT&#xff09;场景中&#xff0c;数据流图&#xff08;DFD&#xff09;、UML图&#xff08;包括用例图、类图、活动图、序列图、状态图&#xff09;、实体关系图&#xff08;ERD&#xff09;和业务流程建模&#xf…

Mac(一)常用的快捷键整理

目录1、系统操作与窗口管理2、应用与窗口切换3、常规编辑操作4、文本导航与光标控制✏️5、文本格式与文档功能&#xff08;支持应用中&#xff09;6、截图快捷键7、Safari 浏览器快捷键8、Finder 快捷键&#xff08;文件管理&#xff09;9、Fn / Globe 功能键&#xff08;部分…

HAProxy使用方法以及和LVS区别

HAProxy简介HAProxy是法国开发者 威利塔罗(Willy Tarreau) 在2000年使用C语言开发的一个开源软件 是一款具备高并发(万级以上)、高性能的TCP和HTTP负载均衡器 支持基于cookie的持久性&#xff0c;自动故障切换&#xff0c;支持正则表达式及web状态统计LVS 与 HAProxy 的核心区别…

超越“小作文”:大模型指令设计的进阶之路——优化知识信噪比

文章摘要&#xff1a;你是否认为&#xff0c;给大模型的指令&#xff08;Prompt&#xff09;写得越详细越好&#xff1f;真的是信息越多&#xff0c;模型就越懂你吗&#xff1f;本文将深入探讨一个反直覺的觀點&#xff1a;初級的指令設計專注於資訊的堆砌&#xff0c;而高階的…

elasticsearch-集成prometheus监控(k8s)

一. 简介&#xff1a; 关于elasticsearch的简介和部署&#xff0c;可以参考单独的文章elasticsearch基础概念与集群部署-CSDN博客&#xff0c;这里就不细说了。这里只讲讲如何在k8s中部署export并基于prometheus做es的指标采集。 二. 实现方式&#xff1a; 首先我们需要先部署…

贪心算法(Greedy Algorithm)详解

一、什么是贪心算法&#xff1f; 贪心算法是一种算法设计范式&#xff0c;指在解决问题时&#xff0c;依赖于每次选择最优的局部解&#xff0c;以期最终得到全局最优解。贪心算法的关键特点是&#xff1a; 局部最优选择&#xff1a;每个阶段选择当前看起来最好的选择&#xff0…

电梯的构造|保养|维修视频全集_电梯安全与故障救援(课程下载)

课程下载&#xff1a;https://download.csdn.net/download/m0_66047725/91699586 电梯原理与维修视频教程 相关简介: 电梯现在运用的非常广泛,比如大型商场,建筑工地,特别是现在建造的很多高楼、商品房,基本都是安装了电梯。电梯维保不力是导致电梯运行中安全事故频发的主要原…

Traefik网关DNS解析超时问题优化

1、背景 在生产环境使用 Traefik 网关时出现了偶发的 DNS 解析超时导致网关与后端服务建立连接异常的情况。通过调用链埋点数据观察发现&#xff0c;该部署环境中 Traefik 的 DNS 解析性能较差&#xff0c;耗时通常在 4ms 以上&#xff08;正常应该是 1ms 以内&#xff09; 初…

从0到1掌握 Spring Security(第三篇):三种认证方式,按配置一键切换

> 本文是Spring Security系列第三篇,将带你实现内存、JDBC和自定义三种认证方式的无缝切换,只需修改配置文件即可完成认证策略变更! ## 一、为什么需要多种认证方式? 在软件开发的不同阶段,我们需要不同的认证策略: - **开发阶段**:使用内存认证,快速配置测试账号…

阿里云国际站云防火墙:如何利用阿里云云防火墙实现细粒度的访问控制?

利用阿里云云防火墙实现细粒度的访问控制&#xff0c;可以从分层策略、精确匹配、动态调整三个方面着手&#xff0c;让不同业务、用户和资源的访问权限清晰可控。一、明确控制目标业务隔离&#xff1a;不同业务系统、部门或环境&#xff08;生产/测试&#xff09;之间互不干扰。…

rom定制系列------小米cc9机型 原生安卓15系统 双版线刷root 定制修改功能项

小米 9 Lite/CC9 机型代码;pyxis.搭载骁龙710处理器.适用于以下型号的小米机型&#xff1a;M1904F3BG, M1904F3BC. 刷写前提; 需要当前机型已经解锁bl的状态下进入fast模式刷写。此机型可以正常官方解锁与强解bl锁。效果都是一样的。在fast模式下装好联机驱动。使用官方平台刷…