diff --git a/clientarea/cart/hgcart/css/goodsList.css b/clientarea/cart/hgcart/css/goodsList.css index 63282b7..40cb057 100644 --- a/clientarea/cart/hgcart/css/goodsList.css +++ b/clientarea/cart/hgcart/css/goodsList.css @@ -1,36 +1,218 @@ -/* ====== 三级商品目录购物车 · hgcart 重构样式 ====== */ -/* 双层 Tab 导航 + 3列产品卡片网格 */ +/* ====== 全宽沉浸式购物车 ====== */ +/* 去侧边栏 + 大卡片入口 + 动画过渡 + 产品卡片网格 */ -/* ====== 页面容器 ====== */ -.goods-page { - padding: 0 8px; +/* ====== 全宽布局 ====== */ +.immersive-main { + padding: 0 !important; + margin: 0 !important; + background: linear-gradient(180deg, #f0f4ff 0%, #f8fafd 120px, #fff 400px); + min-height: calc(100vh - 60px); } +.goods-page { + max-width: 1200px; + margin: 0 auto; + padding: 30px 24px 60px; +} + +/* ====== 购物车说明 ====== */ .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; + margin-bottom: 24px; + box-sizing: border-box; + overflow-y: auto; } -.cart-des * { - all: revert; +.cart-des * { all: revert; } + +/* ============================================ */ +/* 状态一:分类入口页 */ +/* ============================================ */ +.landing-hero { + text-align: center; + padding: 40px 0 36px; +} +.landing-title { + font-size: 32px; + font-weight: 800; + color: #0f172a; + margin: 0 0 10px; + letter-spacing: -0.5px; +} +.landing-subtitle { + font-size: 15px; + color: #94a3b8; + margin: 0; + font-weight: 400; } -/* ====== 一级分类 · 胶囊 Tab ====== */ -.primary-nav { +/* 分类卡片网格 */ +.category-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); + gap: 20px; + max-width: 900px; + margin: 0 auto; +} + +/* 分类卡片 */ +.category-card { + background: #fff; + border-radius: 16px; + border: 1px solid #ebeef5; + padding: 32px 28px 28px; + cursor: pointer; + transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94); + position: relative; + overflow: hidden; + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + animation: cardFadeIn 0.5s ease both; +} +@keyframes cardFadeIn { + from { + opacity: 0; + transform: translateY(24px); + } + to { + opacity: 1; + transform: translateY(0); + } +} +.category-card::before { + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + height: 4px; + background: linear-gradient(90deg, var(--color-primary), #60a5fa); + opacity: 0; + transition: opacity 0.3s ease; +} +.category-card:hover { + transform: translateY(-6px); + box-shadow: 0 20px 48px rgba(37, 99, 235, 0.12); + border-color: rgba(37, 99, 235, 0.2); +} +.category-card:hover::before { + opacity: 1; +} +.category-card:hover .category-arrow { + opacity: 1; + transform: translateX(4px); +} +.category-card:hover .category-icon { + transform: scale(1.08); +} + +/* 分类图标 */ +.category-icon { + width: 72px; + height: 72px; + border-radius: 20px; + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 18px; + transition: transform 0.3s ease; +} +.category-icon-0 { + background: linear-gradient(135deg, #dbeafe, #eff6ff); + color: #3b82f6; +} +.category-icon-1 { + background: linear-gradient(135deg, #d1fae5, #ecfdf5); + color: #10b981; +} +.category-icon-2 { + background: linear-gradient(135deg, #ede9fe, #f5f3ff); + color: #8b5cf6; +} +.category-icon-3 { + background: linear-gradient(135deg, #fef3c7, #fffbeb); + color: #f59e0b; +} +.category-icon-4 { + background: linear-gradient(135deg, #fce7f3, #fdf2f8); + color: #ec4899; +} + +/* 分类名称 */ +.category-name { + font-size: 18px; + font-weight: 700; + color: #1e293b; + margin: 0 0 12px; +} + +/* 分类箭头 */ +.category-arrow { + color: #94a3b8; + opacity: 0; + transition: all 0.3s ease; + margin-top: 4px; +} + +/* ============================================ */ +/* 状态二:产品浏览区 */ +/* ============================================ */ +.products-view { + animation: viewFadeIn 0.4s ease both; +} +@keyframes viewFadeIn { + from { opacity: 0; } + to { opacity: 1; } +} + +/* 一级导航条 */ +.primary-bar { margin-bottom: 4px; + animation: slideDown 0.35s ease both; +} +@keyframes slideDown { + from { + opacity: 0; + transform: translateY(-12px); + } + to { + opacity: 1; + transform: translateY(0); + } +} +.primary-bar-inner { + display: flex; + align-items: center; + background: #f0f2f5; + border-radius: 10px; + padding: 4px; + gap: 4px; +} +.primary-back { + width: 36px; + height: 36px; + display: flex; + align-items: center; + justify-content: center; + border-radius: 8px; + cursor: pointer; + color: #64748b; + transition: all 0.2s ease; + flex-shrink: 0; +} +.primary-back:hover { + background: rgba(37, 99, 235, 0.1); + color: var(--color-primary); } .primary-tabs { display: flex; gap: 0; - background: #f0f2f5; - border-radius: 10px; - padding: 4px; flex-wrap: wrap; } .primary-tab { @@ -55,13 +237,16 @@ font-weight: 600; } -/* ====== 二级分类 · 底部边框 Tab ====== */ -.secondary-nav { +/* 二级导航条 */ +.secondary-bar { + margin-bottom: 16px; + animation: slideDown 0.35s ease 0.15s both; +} +.secondary-bar-inner { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid #e8eaef; - margin-bottom: 16px; flex-wrap: wrap; gap: 8px; } @@ -104,11 +289,8 @@ color: #fff; padding: 0 12px; } -.search-input .el-input-group__append .el-icon-search { - color: #fff; -} -/* ====== 二级描述 ====== */ +/* 二级描述 */ .second-desc { height: 36px; font-size: 13px; @@ -124,27 +306,23 @@ /* ====== 商品容器 ====== */ .goods-container { - min-height: 300px; + min-height: 200px; } .empty-state { padding: 80px 0; } -/* ====== 三级产品 · 3列卡片网格 ====== */ +/* 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: 1000px) { + .goods-grid { grid-template-columns: repeat(2, 1fr); } } -@media (max-width: 768px) { - .goods-grid { - grid-template-columns: 1fr; - } +@media (max-width: 640px) { + .goods-grid { grid-template-columns: 1fr; } } /* ====== 产品卡片 ====== */ @@ -158,6 +336,17 @@ transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); position: relative; overflow: hidden; + animation: cardSlideUp 0.4s ease both; +} +@keyframes cardSlideUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } } .product-card::before { content: ''; @@ -182,10 +371,6 @@ opacity: 0.5; pointer-events: none; } -.product-card-disabled .card-buy-btn { - background: #d1d5db !important; - border-color: #d1d5db !important; -} /* 卡片头部 */ .card-header { @@ -213,7 +398,6 @@ border-radius: 4px; white-space: nowrap; font-weight: 500; - line-height: 1.4; } .badge-stock-low { background: #fff7ed; @@ -230,11 +414,6 @@ color: var(--color-primary); border: 1px solid rgba(37, 99, 235, 0.15); } -.sold-icon { - width: 12px; - height: 12px; - vertical-align: middle; -} /* 活动标签 */ .card-tags { @@ -251,26 +430,11 @@ 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); -} +.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 { @@ -319,7 +483,6 @@ } .price-cycle { font-size: 13px; - font-weight: 400; color: #8692b0; margin-left: 2px; } @@ -334,10 +497,10 @@ border-radius: 8px !important; font-weight: 600 !important; white-space: nowrap; + flex-shrink: 0; 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; @@ -345,7 +508,7 @@ box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); } -/* ====== 加载更多 ====== */ +/* 加载更多 */ .tips { color: #8692b0; font-size: 13px; @@ -353,7 +516,9 @@ padding: 20px 0; } -/* ====== 域名搜索区域(保持兼容) ====== */ +/* ============================================ */ +/* 域名搜索区域(完整保留) */ +/* ============================================ */ .domain-box .register-type { display: flex; align-items: center; @@ -376,636 +541,304 @@ 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 { 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; + padding: 0; background: #fff; 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; + 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; + 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; + height: 46px; padding: 0 50px; border: none; + border-top-left-radius: 0; border-bottom-left-radius: 0; + background: var(--color-primary); color: #fff; 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; + z-index: 2; position: absolute; top: 46px; left: 0; + display: flex; flex-wrap: wrap; width: calc(100% - 250px); + padding: 24px; background: #fff; + 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; + 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); + background: rgba(0,88,255,0.08); } .domain-box .domain-search .suffix-list .suffix-active { - background: rgba(0, 88, 255, 0.08); + 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 { 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; + 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; + 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; + 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; + 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%; + 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; + 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; + 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; + 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; + margin-top: 16px; border-radius: 8px; 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; + 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); + 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); + 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; + 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; + 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; + margin-top: 16px; background: #fff; 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; + height: 52px; display: flex; justify-content: space-between; align-items: center; + border-bottom: 1px solid #f2f3f5; padding: 0 24px; transition: background-color 0.2s; } +.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; + 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); + 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; + 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; + 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; + 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; + 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); + 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; + 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 { height: 100%; } .domain-box .domain-content .domain-left .batch-box .batch-main { - height: 100%; - display: flex; - flex-direction: column; + 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; + margin-top: 20px; display: flex; justify-content: center; align-items: center; + flex-direction: column; height: 100%; background: #fff; + 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; + 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; + 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; + margin-top: 16px; background: #fff; 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; + 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; } +.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:last-child { border-bottom: none; } .domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-left .domain-name { - font-size: 13px; - color: #2B2B2B; + 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); + 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; + 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; + 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; + font-size: 12px; color: var(--color-price-text); } .domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-right .add-btn { - margin-left: 24px; - border-radius: 6px; + 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; + display: flex; justify-content: space-between; align-items: center; + padding: 0 20px; height: 52px; background: #f9fafb; + 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; + color: #fff; 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; + 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); + 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; + 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; + 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 .unavail-name { - font-size: 13px; - color: #2B2B2B; + 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; + 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; + 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; + 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); + cursor: pointer; color: #A2A2A2; font-size: 13px; + display: flex; align-items: center; gap: 4px; } +.domain-box .domain-content .domain-right .car-top .clear-car:hover { color: 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; + box-sizing: border-box; margin-top: 16px; height: 400px; + border-radius: 10px; border: 1px solid #EAEAEA; background: #fff; 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; + 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; + 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:last-child { 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; + 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; + 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; + 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; + 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); + display: none; cursor: pointer; color: #9E9E9E; font-size: 13px; } +.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-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; + 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; + 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); + 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; + 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; + 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; -} - +.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; + 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; + 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; + padding: 0 16px; height: 36px; line-height: 36px; + background: var(--color-primary); color: #fff; border-radius: 6px; + cursor: pointer; font-size: 13px; } +.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; + display: flex; justify-content: flex-end; gap: 8px; + padding-top: 12px; border-top: 1px solid #f2f3f5; } diff --git a/clientarea/cart/hgcart/goodsList.php b/clientarea/cart/hgcart/goodsList.php index 2837b26..9afdf0e 100644 --- a/clientarea/cart/hgcart/goodsList.php +++ b/clientarea/cart/hgcart/goodsList.php @@ -13,431 +13,426 @@
- - -
- -
-
+ +
- -
-
-
+
+ +
+
+
+

{{commonData.website_name || '产品中心'}}

+

为您提供全球优质的云计算服务

+
+
+
- {{item.name}} +
+ + + + + +
+

{{item.name}}

+
+ +
- -
-
-
- {{item.name}} -
-
-
- - - -
-
+ +
- -
- - {{select_second_obj.description}} - -
- - -
- +
- -