All checks were successful
continuous-integration/drone/push Build is passing
- 一级分类:胶囊形Tab(蓝色active+阴影) - 二级分类:底部边框高亮Tab(取代el-select下拉) - 三级产品:3列白色卡片网格(hover上浮+渐变顶边) - 价格:蓝色大字28px+原价删除线 - 库存badge:橙色紧张/灰色售罄 - 统一hgcloud主题变量和圆角风格 - JS逻辑完全不变 - 域名搜索功能完整保留
1035 lines
24 KiB
CSS
1035 lines
24 KiB
CSS
/* ====== 三级商品目录购物车 · hgcart 重构样式 ====== */
|
|
/* 双层 Tab 导航 + 3列产品卡片网格 */
|
|
|
|
/* ====== 页面容器 ====== */
|
|
.goods-page {
|
|
padding: 0 8px;
|
|
}
|
|
.cart-des {
|
|
padding: 14px 18px;
|
|
border-radius: 10px;
|
|
border: 1px solid #e6e7eb;
|
|
box-sizing: border-box;
|
|
overflow-y: auto;
|
|
margin-bottom: 20px;
|
|
background: #fff;
|
|
font-size: 13px;
|
|
color: #5a6070;
|
|
line-height: 1.6;
|
|
}
|
|
.cart-des * {
|
|
all: revert;
|
|
}
|
|
|
|
/* ====== 一级分类 · 胶囊 Tab ====== */
|
|
.primary-nav {
|
|
margin-bottom: 4px;
|
|
}
|
|
.primary-tabs {
|
|
display: flex;
|
|
gap: 0;
|
|
background: #f0f2f5;
|
|
border-radius: 10px;
|
|
padding: 4px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.primary-tab {
|
|
padding: 10px 24px;
|
|
font-size: 14px;
|
|
color: #5a6070;
|
|
cursor: pointer;
|
|
border-radius: 8px;
|
|
transition: all 0.25s ease;
|
|
white-space: nowrap;
|
|
font-weight: 500;
|
|
user-select: none;
|
|
}
|
|
.primary-tab:hover {
|
|
color: var(--color-primary);
|
|
background: rgba(255,255,255,0.5);
|
|
}
|
|
.primary-tab-active {
|
|
background: var(--color-primary) !important;
|
|
color: #fff !important;
|
|
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* ====== 二级分类 · 底部边框 Tab ====== */
|
|
.secondary-nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
border-bottom: 1px solid #e8eaef;
|
|
margin-bottom: 16px;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
.secondary-tabs {
|
|
display: flex;
|
|
gap: 0;
|
|
min-height: 40px;
|
|
align-items: stretch;
|
|
}
|
|
.secondary-tab {
|
|
padding: 10px 20px;
|
|
font-size: 14px;
|
|
color: #6b7280;
|
|
cursor: pointer;
|
|
border-bottom: 2px solid transparent;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
font-weight: 500;
|
|
user-select: none;
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
.secondary-tab:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
.secondary-tab-active {
|
|
color: var(--color-primary) !important;
|
|
border-bottom-color: var(--color-primary) !important;
|
|
font-weight: 600;
|
|
}
|
|
.secondary-right {
|
|
padding-bottom: 8px;
|
|
}
|
|
.search-input {
|
|
width: 240px;
|
|
}
|
|
.search-input .el-input-group__append {
|
|
background: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
color: #fff;
|
|
padding: 0 12px;
|
|
}
|
|
.search-input .el-input-group__append .el-icon-search {
|
|
color: #fff;
|
|
}
|
|
|
|
/* ====== 二级描述 ====== */
|
|
.second-desc {
|
|
height: 36px;
|
|
font-size: 13px;
|
|
color: var(--color-danger);
|
|
background: rgba(220, 45, 45, 0.05);
|
|
margin-bottom: 16px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 14px;
|
|
border: 1px solid rgba(220, 45, 45, 0.1);
|
|
}
|
|
|
|
/* ====== 商品容器 ====== */
|
|
.goods-container {
|
|
min-height: 300px;
|
|
}
|
|
.empty-state {
|
|
padding: 80px 0;
|
|
}
|
|
|
|
/* ====== 三级产品 · 3列卡片网格 ====== */
|
|
.goods-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 16px;
|
|
}
|
|
@media (max-width: 1200px) {
|
|
.goods-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
@media (max-width: 768px) {
|
|
.goods-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ====== 产品卡片 ====== */
|
|
.product-card {
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
border: 1px solid #ebeef5;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.product-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 3px;
|
|
background: linear-gradient(90deg, var(--color-primary), #60a5fa);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
.product-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
|
|
border-color: rgba(37, 99, 235, 0.2);
|
|
}
|
|
.product-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
.product-card-disabled {
|
|
opacity: 0.5;
|
|
pointer-events: none;
|
|
}
|
|
.product-card-disabled .card-buy-btn {
|
|
background: #d1d5db !important;
|
|
border-color: #d1d5db !important;
|
|
}
|
|
|
|
/* 卡片头部 */
|
|
.card-header {
|
|
margin-bottom: 10px;
|
|
}
|
|
.card-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #1a1a2e;
|
|
margin: 0 0 8px;
|
|
line-height: 1.3;
|
|
word-break: break-word;
|
|
}
|
|
.card-badges {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
font-size: 11px;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
white-space: nowrap;
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
}
|
|
.badge-stock-low {
|
|
background: #fff7ed;
|
|
color: #d97706;
|
|
border: 1px solid #fed7aa;
|
|
}
|
|
.badge-sold-out {
|
|
background: #f3f4f6;
|
|
color: #9ca3af;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
.badge-level {
|
|
background: rgba(37, 99, 235, 0.08);
|
|
color: var(--color-primary);
|
|
border: 1px solid rgba(37, 99, 235, 0.15);
|
|
}
|
|
.sold-icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* 活动标签 */
|
|
.card-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.tag {
|
|
font-size: 11px;
|
|
padding: 3px 8px;
|
|
border-radius: 4px;
|
|
white-space: nowrap;
|
|
cursor: default;
|
|
font-weight: 500;
|
|
}
|
|
.tag-trial {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: #059669;
|
|
}
|
|
.tag-firewall {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: #d97706;
|
|
}
|
|
.tag-coin {
|
|
background: rgba(139, 92, 246, 0.1);
|
|
color: #7c3aed;
|
|
}
|
|
.tag-promo {
|
|
background: rgba(37, 99, 235, 0.08);
|
|
color: var(--color-primary);
|
|
cursor: pointer;
|
|
}
|
|
.tag-promo:hover {
|
|
background: rgba(37, 99, 235, 0.15);
|
|
}
|
|
|
|
/* 描述 */
|
|
.card-desc {
|
|
flex: 1;
|
|
font-size: 13px;
|
|
color: #6b7280;
|
|
line-height: 1.6;
|
|
margin-bottom: 16px;
|
|
max-height: 90px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
.card-desc::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 24px;
|
|
background: linear-gradient(transparent, #fff);
|
|
pointer-events: none;
|
|
}
|
|
.card-desc * {
|
|
all: revert;
|
|
font-size: 13px !important;
|
|
color: #6b7280 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
line-height: 1.6 !important;
|
|
}
|
|
.card-desc ul {
|
|
padding-left: 16px !important;
|
|
}
|
|
.card-desc img {
|
|
display: none !important;
|
|
}
|
|
|
|
/* 卡片底部 */
|
|
.card-footer {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding-top: 14px;
|
|
border-top: 1px solid #f2f3f5;
|
|
margin-top: auto;
|
|
}
|
|
.card-price {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
.price-current {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 1px;
|
|
line-height: 1;
|
|
}
|
|
.price-symbol {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--color-primary);
|
|
}
|
|
.price-amount {
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
color: var(--color-primary);
|
|
letter-spacing: -0.5px;
|
|
}
|
|
.price-cycle {
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
color: #8692b0;
|
|
margin-left: 2px;
|
|
}
|
|
.price-original {
|
|
font-size: 12px;
|
|
color: #b0b5c0;
|
|
text-decoration: line-through;
|
|
}
|
|
.card-buy-btn {
|
|
padding: 10px 24px !important;
|
|
font-size: 14px !important;
|
|
border-radius: 8px !important;
|
|
font-weight: 600 !important;
|
|
white-space: nowrap;
|
|
background: var(--color-primary) !important;
|
|
border-color: var(--color-primary) !important;
|
|
transition: all 0.2s ease !important;
|
|
flex-shrink: 0;
|
|
}
|
|
.card-buy-btn:hover {
|
|
opacity: 0.9;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
|
|
}
|
|
|
|
/* ====== 加载更多 ====== */
|
|
.tips {
|
|
color: #8692b0;
|
|
font-size: 13px;
|
|
text-align: center;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
/* ====== 域名搜索区域(保持兼容) ====== */
|
|
.domain-box .register-type {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.domain-box .register-type .el-divider {
|
|
background-color: #D8D8D8;
|
|
margin: 0 24px;
|
|
}
|
|
.domain-box .register-type .reg-ridio {
|
|
font-size: 14px;
|
|
color: #646464;
|
|
cursor: pointer;
|
|
}
|
|
.domain-box .register-type .isActice {
|
|
color: var(--color-primary);
|
|
}
|
|
.domain-box .domain-search {
|
|
margin-top: 24px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.domain-box .domain-search .el-input {
|
|
height: 46px;
|
|
}
|
|
.domain-box .domain-search .el-input .el-input__inner {
|
|
height: 46px;
|
|
line-height: 46px;
|
|
}
|
|
.domain-box .domain-search .el-input-group__append {
|
|
padding: 0;
|
|
background: #ffffff;
|
|
border-right: 0;
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
.domain-box .domain-search .suffix-box {
|
|
width: 160px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #2B2B2B;
|
|
font-size: 15px;
|
|
cursor: pointer;
|
|
}
|
|
.domain-box .domain-search .suffix-box .el-icon-arrow-down {
|
|
font-size: 13px;
|
|
color: #8692b0;
|
|
margin-left: 8px;
|
|
}
|
|
.domain-box .domain-search .search-button {
|
|
height: 46px;
|
|
padding-left: 50px;
|
|
padding-right: 50px;
|
|
border: none;
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
background: var(--color-primary);
|
|
color: #ffffff;
|
|
font-size: 15px;
|
|
}
|
|
.domain-box .domain-search .suffix-list {
|
|
z-index: 2;
|
|
position: absolute;
|
|
top: 46px;
|
|
left: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
width: calc(100% - 250px);
|
|
padding: 24px;
|
|
background: #feffff;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
|
|
border-radius: 8px;
|
|
}
|
|
.domain-box .domain-search .suffix-list .suffix-item {
|
|
margin-right: 12px;
|
|
margin-bottom: 12px;
|
|
width: 100px;
|
|
height: 36px;
|
|
border: 1px solid #e6eaed;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
color: #2B2B2B;
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
.domain-box .domain-search .suffix-list .suffix-item:hover {
|
|
background: rgba(0, 88, 255, 0.08);
|
|
}
|
|
.domain-box .domain-search .suffix-list .suffix-active {
|
|
background: rgba(0, 88, 255, 0.08);
|
|
border: 1px solid var(--color-primary);
|
|
color: var(--color-primary);
|
|
}
|
|
.domain-box .batch-search-box {
|
|
margin-top: 24px;
|
|
}
|
|
.domain-box .batch-search-box .batch-tips {
|
|
box-sizing: border-box;
|
|
color: #8692b0;
|
|
font-size: 13px;
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid #EAEAEA;
|
|
}
|
|
.domain-box .batch-search-box .batch-tips .input-batch .el-textarea__inner {
|
|
height: 120px;
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
.domain-box .batch-search-box .batch-btn {
|
|
margin-top: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.domain-box .batch-search-box .batch-btn .upload-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
column-gap: 6px;
|
|
font-size: 12px;
|
|
color: var(--color-primary);
|
|
cursor: pointer;
|
|
}
|
|
.domain-box .batch-search-box .batch-btn .el-button {
|
|
height: 34px;
|
|
}
|
|
.domain-box .domain-content {
|
|
margin-top: 20px;
|
|
display: flex;
|
|
column-gap: 32px;
|
|
}
|
|
.domain-box .domain-content .domain-left {
|
|
flex: 1;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one {
|
|
height: 100%;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-one-list {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .search-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 15px;
|
|
color: #2B2B2B;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .search-title .search-fillter {
|
|
display: flex;
|
|
align-items: center;
|
|
column-gap: 6px;
|
|
cursor: pointer;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .search-title .search-fillter.is_select {
|
|
color: var(--color-primary);
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .fillter-list {
|
|
margin-top: 16px;
|
|
border-radius: 8px;
|
|
box-sizing: border-box;
|
|
border: 1px solid #EAEAEA;
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .fillter-list .fillter-item {
|
|
width: 90px;
|
|
height: 36px;
|
|
border: 1px solid #e6eaed;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 13px;
|
|
color: #2B2B2B;
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .fillter-list .fillter-item:hover {
|
|
background: rgba(0, 88, 255, 0.08);
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .fillter-list .fillter-item.is_select {
|
|
background: rgba(0, 88, 255, 0.08);
|
|
border-color: var(--color-primary);
|
|
color: var(--color-primary);
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .start-search {
|
|
margin-top: 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
height: 93%;
|
|
border-radius: 10px;
|
|
border: 1px solid #EAEAEA;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .start-search img {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .start-search p {
|
|
text-align: center;
|
|
margin-top: 12px;
|
|
font-size: 15px;
|
|
color: #2B2B2B;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list {
|
|
margin-top: 16px;
|
|
background: #ffffff;
|
|
border: 1px solid #EAEAEA;
|
|
border-radius: 10px;
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list .domain-item {
|
|
height: 52px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid #f2f3f5;
|
|
padding: 0 24px;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list .domain-item:hover {
|
|
background-color: #f8f9fc;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-left .domain-name {
|
|
font-size: 14px;
|
|
color: #2B2B2B;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-left .domain-status {
|
|
margin-left: 24px;
|
|
font-size: 12px;
|
|
color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-right {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-right .premium-type {
|
|
padding: 4px 10px;
|
|
margin-right: 16px;
|
|
font-size: 12px;
|
|
color: #8692b0;
|
|
border-radius: 12px;
|
|
background: #f3f3f5;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-right .whois-box {
|
|
font-size: 13px;
|
|
color: #2B2B2B;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-right .whois-box:hover {
|
|
color: var(--color-primary);
|
|
cursor: pointer;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-right .pirce-box {
|
|
cursor: pointer;
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-right .pirce-box .now-price {
|
|
font-size: 12px;
|
|
color: var(--color-price-text);
|
|
}
|
|
.domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-right .add-btn {
|
|
margin-left: 24px;
|
|
height: 34px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
/* 批量搜索 */
|
|
.domain-box .domain-content .domain-left .batch-box {
|
|
height: 100%;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-search {
|
|
margin-top: 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
background: #ffffff;
|
|
border: 1px solid #EAEAEA;
|
|
border-radius: 10px;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-search img {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-search p {
|
|
text-align: center;
|
|
margin-top: 12px;
|
|
font-size: 15px;
|
|
color: #2B2B2B;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .search-title {
|
|
font-size: 15px;
|
|
color: #2B2B2B;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .avail-list {
|
|
margin-top: 16px;
|
|
background: #ffffff;
|
|
border: 1px solid #EAEAEA;
|
|
border-radius: 10px 10px 0 0;
|
|
border-bottom: none;
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .el-collapse {
|
|
border: none;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item {
|
|
height: 52px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid #f2f3f5;
|
|
padding: 0 20px;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item:hover {
|
|
background-color: #f8f9fc;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item:nth-last-of-type(1) {
|
|
border-bottom: none;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-left .domain-name {
|
|
font-size: 13px;
|
|
color: #2B2B2B;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-left .domain-status {
|
|
margin-left: 24px;
|
|
font-size: 12px;
|
|
color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-right {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-right .premium-type {
|
|
padding: 4px 10px;
|
|
margin-right: 16px;
|
|
font-size: 12px;
|
|
color: #8692b0;
|
|
border-radius: 12px;
|
|
background: #f3f3f5;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-right .pirce-box {
|
|
cursor: pointer;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-right .pirce-box .now-price {
|
|
font-size: 12px;
|
|
color: var(--color-price-text);
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-right .pirce-box .el-icon-arrow-down {
|
|
font-size: 12px;
|
|
color: #8692b0;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-right .add-btn {
|
|
margin-left: 24px;
|
|
border-radius: 6px;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .all-check {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
padding: 0 20px;
|
|
height: 52px;
|
|
background: #f9fafb;
|
|
color: #2B2B2B;
|
|
font-size: 13px;
|
|
border: 1px solid #EAEAEA;
|
|
border-top: none;
|
|
border-radius: 0 0 10px 10px;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .batch-main .all-check .el-button {
|
|
color: #ffffff;
|
|
font-size: 13px;
|
|
background: var(--color-primary);
|
|
border-radius: 6px;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .unavail-title {
|
|
width: 100%;
|
|
font-size: 15px;
|
|
color: #2B2B2B;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .unavail-title .open-text {
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
color: var(--color-primary);
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .unavail-list {
|
|
margin-top: 16px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
border-radius: 10px;
|
|
border: 1px solid #e6e7eb;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .unavail-list .unavail-item {
|
|
width: 50%;
|
|
height: 48px;
|
|
box-sizing: border-box;
|
|
padding: 12px 20px;
|
|
border-bottom: 1px solid #f2f3f5;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .unavail-list .unavail-item:nth-child(odd) {
|
|
position: relative;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .unavail-list .unavail-item:nth-child(odd)::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0;
|
|
transform: translateY(-50%);
|
|
width: 1px;
|
|
height: 24px;
|
|
background: #f2f3f5;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .unavail-list .unavail-item .unavail-name {
|
|
font-size: 13px;
|
|
color: #2B2B2B;
|
|
}
|
|
.domain-box .domain-content .domain-left .batch-box .unavail-list .unavail-item .unavail-reason {
|
|
margin-left: 24px;
|
|
color: rgba(0, 0, 0, 0.5);
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* 域名购物车右侧 */
|
|
.domain-box .domain-content .domain-right {
|
|
box-sizing: border-box;
|
|
width: 400px;
|
|
flex-shrink: 0;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: #2B2B2B;
|
|
font-size: 15px;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-top .clear-car {
|
|
cursor: pointer;
|
|
color: #A2A2A2;
|
|
font-size: 13px;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-top .clear-car .icon {
|
|
fill: #A2A2A2;
|
|
margin-right: 4px;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-top .clear-car:hover {
|
|
color: var(--color-danger);
|
|
}
|
|
.domain-box .domain-content .domain-right .car-top .clear-car:hover .icon {
|
|
fill: var(--color-danger);
|
|
}
|
|
.domain-box .domain-content .domain-right .car-box {
|
|
box-sizing: border-box;
|
|
margin-top: 16px;
|
|
height: 400px;
|
|
border-radius: 10px;
|
|
border: 1px solid #EAEAEA;
|
|
background: #ffffff;
|
|
overflow-y: auto;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-no {
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 13px;
|
|
color: #8692b0;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item {
|
|
padding: 12px 20px;
|
|
border-bottom: 1px solid #f2f3f5;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item:hover {
|
|
background: #f8f9fc;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item:hover .car-del {
|
|
display: block;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item:nth-last-of-type(1) {
|
|
border-bottom: none;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item .caritem-top,
|
|
.domain-box .domain-content .domain-right .car-list .car-item .car-bottom {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item .car-bottom {
|
|
color: #2B2B2B;
|
|
margin-top: 10px;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item .car-name {
|
|
display: flex;
|
|
align-items: center;
|
|
column-gap: 12px;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item .car-name .shop-name {
|
|
font-size: 13px;
|
|
color: #2B2B2B;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item .car-del {
|
|
display: none;
|
|
cursor: pointer;
|
|
color: #9E9E9E;
|
|
font-size: 13px;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item .car-del .icon {
|
|
fill: #9E9E9E;
|
|
margin-right: 4px;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item .car-del:hover {
|
|
color: var(--color-danger);
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item .car-del:hover .icon {
|
|
fill: var(--color-danger);
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item .car-year .el-select {
|
|
width: 120px;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-list .car-item .car-price {
|
|
color: var(--color-price-text);
|
|
}
|
|
.domain-box .domain-content .domain-right .car-money {
|
|
margin-top: 12px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 4px;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-money .mon-right {
|
|
text-align: right;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-money .now-price {
|
|
font-size: 14px;
|
|
color: #2B2B2B;
|
|
margin: 0;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-money .money-text {
|
|
color: var(--color-price-text);
|
|
font-weight: 600;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-money .original-price {
|
|
font-size: 12px;
|
|
color: #b0b5c0;
|
|
text-decoration: line-through;
|
|
margin: 4px 0 0;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-money .hide {
|
|
visibility: hidden;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-settle {
|
|
margin-top: 12px;
|
|
}
|
|
.domain-box .domain-content .domain-right .car-settle .settle-btn {
|
|
width: 100%;
|
|
height: 42px;
|
|
font-size: 15px;
|
|
border-radius: 8px;
|
|
background: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
}
|
|
|
|
/* 价格下拉列表 */
|
|
.price-list .price-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 0;
|
|
font-size: 13px;
|
|
color: #2B2B2B;
|
|
gap: 20px;
|
|
}
|
|
.price-list .price-item:first-child {
|
|
font-weight: 600;
|
|
color: #6b7280;
|
|
border-bottom: 1px solid #f2f3f5;
|
|
}
|
|
.price-list .price-item .price-year {
|
|
width: 60px;
|
|
}
|
|
.price-list .price-item .price-new {
|
|
width: 100px;
|
|
color: var(--color-price-text);
|
|
}
|
|
.price-list .price-item .price-renew {
|
|
width: 100px;
|
|
}
|
|
|
|
/* 上传对话框 */
|
|
.up-dialog .dia-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #1a1a2e;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid #f2f3f5;
|
|
}
|
|
.up-dialog .dia-concent {
|
|
padding: 16px 0;
|
|
}
|
|
.up-dialog .up-tips {
|
|
font-size: 13px;
|
|
color: #6b7280;
|
|
margin-bottom: 12px;
|
|
}
|
|
.up-dialog .file-box {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
.up-dialog .file-box .file-name {
|
|
flex: 1;
|
|
height: 36px;
|
|
padding: 0 12px;
|
|
border: 1px solid #dcdfe6;
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
}
|
|
.up-dialog .file-box .file-btn {
|
|
padding: 0 16px;
|
|
height: 36px;
|
|
line-height: 36px;
|
|
background: var(--color-primary);
|
|
color: #fff;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
.up-dialog .file-box .file-btn:hover {
|
|
opacity: 0.88;
|
|
}
|
|
.up-dialog .dia-foter {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid #f2f3f5;
|
|
}
|