2025-05-30 17:31:05 +08:00
|
|
|
.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;
|
2025-06-03 17:35:22 +08:00
|
|
|
.order-tab {
|
|
|
|
width: 100%;
|
|
|
|
.el-tabs__nav-wrap::after {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
|
|
|
.el-tabs__active-bar {
|
|
|
|
height: 3px !important;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
.el-descriptions__label,
|
|
|
|
.el-descriptions__content {
|
|
|
|
font-size: 16px !important;
|
|
|
|
}
|
|
|
|
.cell-item {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
.el-descriptions__label {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
.el-descriptions__content {
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
}
|
2025-05-30 17:31:05 +08:00
|
|
|
}
|
|
|
|
.search-bar {
|
|
|
|
display: flex;
|
|
|
|
flex-shrink: 0; /* 禁止收缩 */
|
|
|
|
min-height: 100px;
|
|
|
|
|
|
|
|
.search-bar-left {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-bar-right {
|
|
|
|
width: 100px;
|
2025-06-03 17:35:22 +08:00
|
|
|
text-align: right;
|
|
|
|
padding-right: 8px;
|
2025-06-09 17:30:15 +08:00
|
|
|
.el-button-gry{
|
|
|
|
background-color: #25bf82;
|
|
|
|
border:none
|
|
|
|
}
|
2025-05-30 17:31:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
2025-06-09 17:30:15 +08:00
|
|
|
.custom-form-inline .el-input {
|
|
|
|
width: 260px;
|
|
|
|
}
|
2025-05-30 17:31:05 +08:00
|
|
|
}
|
|
|
|
.table-cont {
|
|
|
|
min-height: 300px;
|
|
|
|
border-radius: 16px;
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: #fff;
|
|
|
|
position: relative;
|
2025-06-03 17:35:22 +08:00
|
|
|
.el-table__empty-text {
|
|
|
|
width: 200px;
|
2025-05-30 17:31:05 +08:00
|
|
|
}
|
2025-06-09 17:30:15 +08:00
|
|
|
.el-button-custom{
|
|
|
|
font-size: 14px !important;
|
|
|
|
color: #25bf82;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.el-button-delete{
|
|
|
|
font-size: 14px !important;
|
|
|
|
color: #ff4d4f;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2025-05-30 17:31:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 自定义弹窗样式 */
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
2025-06-05 18:29:47 +08:00
|
|
|
// 表格中文本的颜色
|
|
|
|
.color-blue {
|
|
|
|
color: #3685fe;
|
|
|
|
}
|
|
|
|
.color-black {
|
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
.color-gray {
|
|
|
|
color: #5a5a5a;
|
|
|
|
}
|
|
|
|
.color-orange {
|
|
|
|
color: #ffb345;
|
|
|
|
}
|
|
|
|
.color-green {
|
|
|
|
color: #25bf82;
|
|
|
|
}
|
|
|
|
.color-red {
|
|
|
|
color: #ff4348;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.el-button {
|
|
|
|
font-size: 12px !important;
|
|
|
|
font-weight: 400;
|
2025-05-30 17:31:05 +08:00
|
|
|
}
|
2025-06-03 17:35:22 +08:00
|
|
|
// 页面添加的自定义容器,上下撑满
|
2025-05-30 17:31:05 +08:00
|
|
|
.customer-control {
|
2025-06-03 17:35:22 +08:00
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
// 表格组件中的各插槽元素自定义样式
|
|
|
|
.custom-tooltip-content {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
gap: 10px;
|
|
|
|
padding: 3px 0;
|
2025-06-09 17:30:15 +08:00
|
|
|
|
2025-06-03 17:35:22 +08:00
|
|
|
}
|
|
|
|
.el-icon-custom {
|
|
|
|
vertical-align: middle;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 16px;
|
2025-06-09 17:30:15 +08:00
|
|
|
// color: #fff;
|
2025-06-03 17:35:22 +08:00
|
|
|
}
|
|
|
|
.table-cell-img-box {
|
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
overflow: hidden; /* 隐藏超出部分 */
|
2025-06-05 18:29:47 +08:00
|
|
|
display: flex; /* 使用 Flex 布局居中 */
|
2025-06-03 17:35:22 +08:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
.table-cell-img {
|
2025-06-05 18:29:47 +08:00
|
|
|
min-width: 100%; /* 至少撑满宽度 */
|
2025-06-03 17:35:22 +08:00
|
|
|
min-height: 100%; /* 至少撑满高度 */
|
|
|
|
object-fit: cover; /* 保持比例并覆盖容器 */
|
|
|
|
}
|
2025-05-30 17:31:05 +08:00
|
|
|
}
|
2025-06-05 18:29:47 +08:00
|
|
|
|
|
|
|
// 新增商品页面-开始
|
|
|
|
.customer-box {
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 16px;
|
|
|
|
padding: 20px 16px;
|
|
|
|
overflow-y: auto;
|
|
|
|
background-color: #fff;
|
|
|
|
.my-el-select {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
.el-input-number .el-input__inner {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
// 商品属性
|
|
|
|
.attr-item {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 10px;
|
|
|
|
.el-icon {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.attr-row {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
gap: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.attr-input {
|
|
|
|
width: 120px;
|
|
|
|
}
|
2025-06-06 19:00:59 +08:00
|
|
|
.attr-clomn {
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
.attr-clomn200 {
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
.attr-clomn220 {
|
|
|
|
width: 220px;
|
|
|
|
}
|
2025-06-05 18:29:47 +08:00
|
|
|
.attr-box {
|
|
|
|
padding: 16px 16px 6px 16px;
|
|
|
|
border-radius: 6px;
|
|
|
|
border: 1px solid #999;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 新增商品页面-结束
|
2025-06-06 19:00:59 +08:00
|
|
|
|
|
|
|
.flex-left-top {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|