文件
xionggeshop/public/assets/addons/shopro/css/regional-agent-admin.css

410 行
7.8 KiB
CSS

此文件含有模棱两可的 Unicode 字符

此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。

/* 区域代理后台 - 统一 UI(与佣金明细页一致) */
[v-cloak] {
display: none !important;
}
.ra-page {
padding: 0 20px 30px;
background: #f5f7fa;
min-height: 100%;
color: #333;
}
.ra-page-card {
background: #fff;
border-radius: 8px;
padding: 16px 20px;
margin-bottom: 12px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.ra-page-header {
margin-bottom: 4px;
}
.ra-page-header .title {
font-size: 18px;
font-weight: 600;
color: #333;
line-height: 1.4;
}
.ra-page-header .subtitle {
font-size: 13px;
color: #888;
margin-top: 4px;
}
.ra-toolbar-row {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}
.ra-stat-cards {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.ra-stat-card {
flex: 1;
min-width: 150px;
padding: 16px 18px;
border-radius: 8px;
background: linear-gradient(135deg, #faf8ff 0%, #fff 100%);
border: 1px solid #eee6ff;
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ra-stat-card:hover {
box-shadow: 0 4px 12px rgba(116, 56, 213, 0.08);
transform: translateY(-1px);
}
.ra-stat-card .head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.ra-stat-card .label {
font-size: 13px;
color: #888;
}
.ra-stat-card .icon-wrap {
width: 32px;
height: 32px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
}
.ra-stat-card .value {
font-size: 22px;
font-weight: 600;
color: #333;
line-height: 1.2;
}
.ra-stat-card.primary .icon-wrap { background: #f3ebff; color: #7438D5; }
.ra-stat-card.warning .icon-wrap { background: #fdf6ec; color: #e6a23c; }
.ra-stat-card.success .icon-wrap { background: #f0f9eb; color: #67c23a; }
.ra-stat-card.danger .icon-wrap { background: #fef0f0; color: #f56c6c; }
.ra-stat-card.info .icon-wrap { background: #ecf5ff; color: #409eff; }
.ra-stat-card.warning .value { color: #e6a23c; }
.ra-stat-card.success .value { color: #67c23a; }
.ra-stat-card.primary .value { color: #7438D5; }
.ra-section-title {
font-size: 15px;
font-weight: 600;
color: #333;
margin-bottom: 14px;
display: flex;
align-items: center;
gap: 8px;
}
.ra-section-title::before {
content: '';
width: 3px;
height: 14px;
border-radius: 2px;
background: #7438D5;
}
.ra-help-box {
padding: 12px 16px;
background: linear-gradient(135deg, #faf8ff 0%, #fff 100%);
border: 1px solid #eee6ff;
border-radius: 8px;
font-size: 13px;
line-height: 1.7;
color: #666;
}
.ra-help-box strong {
color: #7438D5;
font-weight: 600;
}
.ra-btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
background: #7438D5;
color: #fff;
padding: 0 16px;
height: 32px;
line-height: 32px;
border-radius: 4px;
cursor: pointer;
font-size: 12px;
border: none;
transition: opacity 0.2s ease;
}
.ra-btn-primary:hover { opacity: 0.9; }
.ra-btn-view {
color: #7438D5;
cursor: pointer;
margin-right: 10px;
transition: opacity 0.2s ease;
}
.ra-btn-view:hover { opacity: 0.85; }
.ra-btn-danger {
color: #f56c6c;
cursor: pointer;
transition: opacity 0.2s ease;
}
.ra-btn-danger:hover { opacity: 0.85; }
.ra-money-text {
color: #e1212b;
font-weight: 600;
}
.ra-status-tag {
display: inline-block;
padding: 2px 10px;
border-radius: 12px;
font-size: 12px;
}
.ra-status-tag.waiting { background: #fdf6ec; color: #e6a23c; }
.ra-status-tag.settled { background: #f0f9eb; color: #67c23a; }
.ra-status-tag.back { background: #fef0f0; color: #f56c6c; }
.ra-level-tag {
display: inline-block;
padding: 2px 8px;
border-radius: 4px;
font-size: 12px;
line-height: 18px;
}
.ra-level-tag.l1 { background: #f3ebff; color: #7438D5; }
.ra-level-tag.l2 { background: #ecf5ff; color: #409eff; }
.ra-level-tag.l3 { background: #f0f9eb; color: #67c23a; }
.ra-rank-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
border-radius: 6px;
font-size: 12px;
font-weight: 600;
background: #f5f5f5;
color: #999;
}
.ra-rank-badge.top1 { background: #fff7e6; color: #fa8c16; }
.ra-rank-badge.top2 { background: #f5f5f5; color: #8c8c8c; }
.ra-rank-badge.top3 { background: #fff1e6; color: #d48806; }
.ra-commission-pill {
display: inline-block;
padding: 4px 10px;
border-radius: 14px;
background: #f3ebff;
color: #7438D5;
font-weight: 600;
font-size: 13px;
}
.ra-level-weight {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 50%;
background: #7438D5;
color: #fff;
font-size: 12px;
font-weight: 600;
}
.ra-grid-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
@media (max-width: 992px) {
.ra-grid-2 { grid-template-columns: 1fr; }
}
.ra-trend-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.ra-trend-item {
display: grid;
grid-template-columns: 90px 1fr 80px;
gap: 12px;
align-items: center;
font-size: 13px;
}
.ra-trend-item .day { color: #666; }
.ra-trend-bar-wrap {
height: 8px;
background: #f0f0f0;
border-radius: 4px;
overflow: hidden;
}
.ra-trend-bar {
height: 100%;
background: linear-gradient(90deg, #7438D5, #9b6de8);
border-radius: 4px;
transition: width 0.4s ease;
}
.ra-trend-item .amount {
text-align: right;
color: #333;
font-weight: 500;
}
.ra-empty-hint {
text-align: center;
padding: 32px 16px;
color: #999;
font-size: 13px;
}
.ra-table-sub {
font-size: 12px;
color: #999;
margin-top: 2px;
}
.ra-action-group {
display: inline-flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
min-width: 120px;
}
.ra-action-group .ra-btn-view,
.ra-action-group .ra-btn-danger {
margin-right: 0;
white-space: nowrap;
}
.ra-action-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 10px;
height: 28px;
line-height: 28px;
border-radius: 4px;
font-size: 12px;
cursor: pointer;
white-space: nowrap;
transition: opacity 0.2s ease;
}
.ra-action-btn:hover { opacity: 0.9; }
.ra-action-btn.pass { background: #0ACE97; color: #fff; }
.ra-action-btn.reject { background: #f56c6c; color: #fff; }
.ra-action-btn.edit { background: #f3ebff; color: #7438D5; }
.ra-action-btn.disable { background: #fef0f0; color: #f56c6c; }
.ra-action-btn.enable { background: #f0f9eb; color: #67c23a; }
.ra-tabs {
display: flex;
align-items: center;
gap: 8px;
border-bottom: 1px solid #eee;
margin-bottom: 0;
padding-bottom: 0;
}
.ra-tab-item {
padding: 14px 16px;
cursor: pointer;
font-size: 14px;
color: #666;
border-bottom: 2px solid transparent;
margin-bottom: -1px;
transition: color 0.2s ease;
white-space: nowrap;
}
.ra-tab-item:hover { color: #7438D5; }
.ra-tab-item.active {
color: #7438D5;
border-bottom-color: #7438D5;
font-weight: 600;
}
.ra-tab-badge {
display: inline-block;
min-width: 18px;
padding: 0 6px;
margin-left: 6px;
line-height: 18px;
border-radius: 9px;
background: #f56c6c;
color: #fff;
font-size: 12px;
text-align: center;
}
.ra-user-cell {
display: flex;
align-items: center;
}
.ra-user-avatar {
width: 44px;
height: 44px;
border-radius: 8px;
overflow: hidden;
margin-right: 10px;
flex-shrink: 0;
background: #f5f5f5;
}
.ra-user-avatar .el-image {
width: 44px;
height: 44px;
}
.ra-user-name {
font-weight: 500;
color: #333;
}
.ra-commission-custom {
color: #7438D5;
font-weight: 500;
}
.ra-commission-level {
color: #666;
}