.app-container { .container-custom { width: 100%; overflow: hidden; /* 防止全局滚动条 */ .search-box { overflow: hidden; margin: 0 0 16px 0; padding: 16px 8px 0 16px; border-radius: 16px; background: #fff; } .search-bar { display: flex; flex-shrink: 0; /* 禁止收缩 */ min-height: 100px; .search-bar-left { flex: 1; } .search-bar-right { width: 100px; text-align: center; } .demo-form-inline { text-align: left; } .el-form--inline .el-form-item { margin-right: 30px; } .demo-form-inline .el-input { --el-input-width: 160px; } .demo-form-inline .el-select { --el-select-width: 160px; } .demo-form-inline .el-date-picker { --el-select-width: 160px; } .el-form .el-form-item__label { font-weight: 400; } } .table-cont { min-height: 300px; border-radius: 16px; overflow: hidden; background-color: #fff; position: relative; .el-icon-custom { vertical-align: middle; cursor: pointer; } } /* 自定义弹窗样式 */ .traceability-dialog { background: transparent; box-shadow: none; border-radius: 16px !important; } /* 主要内容区域 */ .dialog-content { display: flex; flex-direction: column; align-items: center; background: white; border-radius: 8px; padding: 0 0 20px 0; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); } /* 产品信息 */ .product-info { width: 100%; display: flex; justify-content: space-between; margin-bottom: 20px; font-size: 14px; color: #666; } .product-name { font-weight: bold; color: #333; } /* 二维码图片 */ .qrcode-image { width: 200px; height: 200px; margin: 0 auto; } /* 下载区域 */ .download-section { display: flex; align-items: center; margin: 0 0 10px 0; color: #25bf82; cursor: pointer; font-size: 12px; line-height: 18px; } .download-icon { margin-left: 8px; font-size: 16px; } /* 遗传编码区域 */ .code-section { display: flex; align-items: center; margin: 10px 0; background: rgba(37, 191, 130, 0.1); border-radius: 4px; } .genetic-code { font-family: monospace; font-size: 14px; color: #25bf82; display: inline-block; max-width: 250px; padding: 0 10px; } .copy-icon { margin-left: 10px; color: #409eff; cursor: pointer; font-size: 16px; } /* 关闭按钮 */ .close-button { position: absolute; left: 50%; transform: translateX(-50%); bottom: -60px; color: white; font-size: 30px; cursor: pointer; transition: all 0.3s; } // 表格中文本的颜色 .color-gray { color: #5a5a5a; } .color-orange { color: orange; } .color-green { color: green; } .color-red { color: red; } } } .customer-control { position: absolute; height: 100%; }