diff --git a/clientarea/cart/hgcart/css/goodsList.css b/clientarea/cart/hgcart/css/goodsList.css index 71448b1..1ae2b51 100644 --- a/clientarea/cart/hgcart/css/goodsList.css +++ b/clientarea/cart/hgcart/css/goodsList.css @@ -1,321 +1,266 @@ -/* ====== 商品列表页 - hgcart 重构样式 ====== */ -/* 参考 VMRack 行式布局设计 */ - -/* ====== 页面容器 ====== */ -.goods-page { - padding: 0 8px; -} -.page-header { - margin-bottom: 20px; -} -.page-title { - font-size: 22px; - font-weight: 600; - color: #1a1a2e; - margin: 0; +.main-title { + font-size: 0.28rem; + color: #171725; } .cart-des { - padding: 12px 16px; - border-radius: 8px; + padding: 0.1rem; + border-radius: 0.03rem; border: 1px solid #e6e7eb; box-sizing: border-box; overflow-y: auto; - margin-bottom: 20px; - background: #fff; + margin-bottom: 0.24rem; } .cart-des * { all: revert; } - -/* ====== 筛选栏 ====== */ -.filter-bar { +.main-content-box { + box-sizing: border-box; + padding-bottom: 0.1rem; + width: 100%; + border-radius: 0.03rem; +} +.search-box { display: flex; - justify-content: space-between; + justify-content: center; align-items: center; - margin-bottom: 16px; - flex-wrap: wrap; - gap: 12px; } -.filter-tabs { - display: flex; - gap: 0; - background: #f0f2f5; - border-radius: 8px; - padding: 3px; +.search-box .el-select { + width: 3.2rem; + font-size: 0.15rem; } -.tab-item { - padding: 8px 20px; - font-size: 14px; - color: #5a6070; - cursor: pointer; - border-radius: 6px; - transition: all 0.25s ease; - white-space: nowrap; - font-weight: 500; +.search-box .el-select .el-input__inner { + height: 0.46rem !important; + line-height: 0.46rem; } -.tab-item:hover { - color: var(--color-primary); +.search-box .el-select .el-input__suffix .el-input__icon { + line-height: 1; } -.tab-item.tab-active { - background: #fff; - color: var(--color-primary); - box-shadow: 0 1px 3px rgba(0,0,0,0.08); - font-weight: 600; +.second-select { + margin: 0 0.1rem; } -.filter-right { - display: flex; - align-items: center; - gap: 8px; +.second-select .el-input__inner { + height: 0.46rem; + line-height: 0.46rem; } -.filter-right .second-select { - width: 180px; - margin: 0; +.search-input { + width: 3.2rem; } -.filter-right .search-input { - width: 240px; +.search-input .el-input__inner { + height: 0.46rem !important; + line-height: 0.46rem; } -.filter-right .search-input .el-input-group__append { +.search-btn { + margin-left: 0.1rem; + width: 0.8rem; + height: 0.46rem; background: var(--color-primary); - border-color: var(--color-primary); - color: #fff; - padding: 0 12px; + border-radius: 0.03rem; + border: none; + font-size: 0.16rem; + color: rgba(255, 255, 255, 0.9); } -.filter-right .search-input .el-input-group__append .el-icon-search { - color: #fff; -} - -/* ====== 二级描述 ====== */ .second-desc { - height: 36px; - font-size: 13px; + height: 0.4rem; + font-size: 0.14rem; color: var(--color-danger); - background: rgba(220, 45, 45, 0.06); - margin-bottom: 16px; - border-radius: 6px; - display: flex; - align-items: center; - padding: 0 12px; + background: rgba(220, 45, 45, 0.1); + margin-top: 0.24rem; + border-radius: 0.04rem; } - -/* ====== 商品容器 ====== */ -.goods-container { - min-height: 300px; +.shopping-box { + box-sizing: border-box; + margin-top: 0.24rem; + min-height: 3rem; } -.empty-state { - padding: 60px 0; +.goods-list-div { + width: 100%; + display: grid; + grid-template-columns: repeat(4, 1fr); + row-gap: 0.2rem; + column-gap: 0.2rem; } - -/* ====== 商品行列表 ====== */ -.goods-table { - display: flex; - flex-direction: column; - gap: 0; - background: #fff; - border-radius: 12px; - border: 1px solid #ebeef5; +.shopping-item { + position: relative; + box-sizing: border-box; + min-height: 2.75rem; + border: 1px solid #EDEDED; + border-radius: 0.08rem; overflow: hidden; -} -.goods-row { - display: flex; - align-items: center; - justify-content: space-between; - padding: 20px 24px; - border-bottom: 1px solid #f2f3f5; - transition: background-color 0.2s ease; - gap: 24px; -} -.goods-row:last-child { - border-bottom: none; -} -.goods-row:hover { - background-color: #f8f9fc; -} -.goods-row-disabled { - opacity: 0.55; -} - -/* 行左侧 */ -.row-main { - flex: 1; - min-width: 0; display: flex; flex-direction: column; - gap: 6px; + justify-content: space-between; + padding-bottom: 0.16rem; } -.row-name-line { +.shopping-item .client-box { + position: absolute; + top: 0; + right: 0; + background-color: var(--color-primary); + padding: 0 0.08rem; + color: #fff; + font-size: 14px; + border-radius: 0px 0px 0px 8px; +} +.shopping-item .goods-name { + margin-top: 0.18rem; display: flex; + justify-content: space-between; align-items: center; - gap: 8px; - flex-wrap: wrap; + column-gap: 0.3rem; + padding: 0 0.16rem; } -.goods-name-text { - font-size: 15px; - font-weight: 600; - color: #1a1a2e; - white-space: nowrap; +.shopping-item .goods-name .goods-name-text { + font-size: 16px; + font-weight: 700; + flex: 1; overflow: hidden; text-overflow: ellipsis; - max-width: 360px; -} - -/* 标签 badge */ -.badge { - display: inline-flex; - align-items: center; - gap: 4px; - font-size: 11px; - padding: 2px 8px; - border-radius: 4px; white-space: nowrap; - font-weight: 500; } -.badge-warning { - background: #fff7ed; - color: #d97706; - border: 1px solid #fed7aa; -} -.badge-danger { - background: #fef2f2; - color: #dc2626; -} -.badge-primary { - background: rgba(37, 99, 235, 0.08); - color: var(--color-primary); -} -.sold-icon { - width: 14px; - height: 14px; - vertical-align: middle; -} - -/* 活动标签 */ -.row-tags { - display: flex; - flex-wrap: wrap; - gap: 6px; - align-items: center; -} -.tag { - font-size: 11px; - padding: 2px 8px; - border-radius: 3px; - white-space: nowrap; - cursor: default; -} -.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; -} - -/* 描述 */ -.row-desc { - font-size: 13px; - color: #6b7280; - line-height: 1.5; - max-height: 60px; - overflow: hidden; -} -.row-desc * { - all: revert; - font-size: 13px !important; - color: #6b7280 !important; - margin: 0 !important; - padding: 0 !important; -} -.row-desc ul { - padding-left: 16px !important; -} -.row-desc img { - display: none !important; -} - -/* 行右侧 */ -.row-action { - display: flex; - align-items: center; - gap: 20px; +.shopping-item .goods-name .qty-box { + font-size: 12px; + color: #CFD2E1; flex-shrink: 0; + position: relative; } -.price-group { +.shopping-item .goods-name .qty-box img { + position: absolute; + top: -0.2rem; + right: 0; + width: 0.55rem; + height: 0.48rem; +} +.shopping-item .goods-name.sold-out .goods-name-text { + color: #CFD2E1; +} +.shopping-item .goods-name.sold-out .qty-box { + width: 0.55rem; +} +.shopping-item .goods-content { display: flex; flex-direction: column; - align-items: flex-end; - gap: 2px; - min-width: 100px; + justify-content: space-between; } -.current-price { - font-size: 22px; - font-weight: 700; - color: var(--color-primary); - white-space: nowrap; - line-height: 1.2; +.shopping-item .goods-active { + margin-top: 0.12rem; + padding: 0 0.16rem; + display: flex; + flex-wrap: wrap; + column-gap: 0.08rem; + row-gap: 0.08rem; } -.price-prefix { - font-size: 13px; - font-weight: 500; -} -.price-cycle { - font-size: 13px; - font-weight: 400; - color: #8692b0; -} -.original-price { +.shopping-item .goods-active .active-name { font-size: 12px; - color: #b0b5c0; + color: var(--color-primary); + background: rgba(57, 124, 252, 0.1); + padding: 0.03rem 0.08rem; + border-radius: 2px; +} +.shopping-item .goods-tag { + box-sizing: border-box; + height: 0.36rem; + display: flex; + flex-wrap: wrap; + align-items: center; + row-gap: 0.08rem; + column-gap: 0.16rem; + background: rgba(57, 124, 252, 0.15); + padding: 0 0.16rem; +} +.shopping-item .goods-tag .tag-item { + position: relative; + font-size: 12px; + flex-shrink: 0; + color: var(--color-primary); + padding-left: 0.08rem; +} +.shopping-item .goods-tag .tag-item::after { + content: ''; + position: absolute; + top: 50%; + left: 0; + width: 0.04rem; + height: 0.04rem; + transform: translateY(-50%); + border-radius: 50%; + background: rgba(57, 124, 252, 0.45); +} +.shopping-item .goods-description { + box-sizing: border-box; + padding: 0.24rem 0.21rem 0.22rem 0.16rem; + max-height: 400px; + min-height: 150px; + flex: 1; + overflow: auto; + font-size: 14px; + white-space: normal; + background: #F4F4F4; +} +.shopping-item .goods-description * { + all: revert; +} +.shopping-item .goods-description ul { + padding-left: 0.16rem; + margin: 0; +} +.shopping-item .goods-description img { + max-width: 100%; +} +.shopping-item .goods-description::-webkit-scrollbar { + /*滚动条整体样式*/ + width: 0px; +} +.shopping-item .goods-description:hover::-webkit-scrollbar { + width: 4px; +} +.shopping-item .price-box { + margin-top: 0.18rem; + padding: 0 0.16rem; + display: flex; + justify-content: space-between; + align-items: center; + column-gap: 0.1rem; +} +.shopping-item .price-box .price-box-left { + text-align: right; + display: flex; + align-items: flex-end; + column-gap: 0.04rem; +} +.shopping-item .price-box .original-price { + font-size: 12px; + color: #CFD2E1; text-decoration: line-through; - white-space: nowrap; } -.buy-btn { - padding: 10px 28px !important; - font-size: 14px !important; - border-radius: 8px !important; - font-weight: 500; - letter-spacing: 0.5px; - white-space: nowrap; - background: var(--color-primary) !important; - border-color: var(--color-primary) !important; +.shopping-item .price-box .item-price { + font-size: 24px; + color: var(--color-price-text); } -.buy-btn:hover { - opacity: 0.88; +.shopping-item .price-box .item-price .item-price-prefix { + font-size: 12px; } -.buy-btn.is-disabled { - background: #d1d5db !important; - border-color: #d1d5db !important; - color: #fff !important; +.shopping-item .price-box .item-price .item-price-cycle { + font-size: 14px; + color: #485169; +} +.shopping-item .price-box .buy-btn { + height: 0.3rem; } - -/* ====== 加载更多 ====== */ .tips { color: #8692b0; - font-size: 13px; + font-size: 0.13rem; text-align: center; - padding: 16px 0; } - -/* ====== 域名搜索区域(保持不变) ====== */ .domain-box .register-type { display: flex; align-items: center; } .domain-box .register-type .el-divider { background-color: #D8D8D8; - margin: 0 24px; + margin: 0 0.24rem; } .domain-box .register-type .reg-ridio { - font-size: 14px; + font-size: 0.14rem; color: #646464; cursor: pointer; } @@ -323,17 +268,17 @@ color: var(--color-primary); } .domain-box .domain-search { - margin-top: 24px; + margin-top: 0.32rem; position: relative; display: flex; align-items: center; } .domain-box .domain-search .el-input { - height: 46px; + height: 0.56rem; } .domain-box .domain-search .el-input .el-input__inner { - height: 46px; - line-height: 46px; + height: 0.56rem; + line-height: 0.56rem; } .domain-box .domain-search .el-input-group__append { padding: 0; @@ -342,84 +287,86 @@ border-top-right-radius: 0; border-bottom-right-radius: 0; } +.domain-box .domain-search .input-btn { + width: 1.7rem; +} .domain-box .domain-search .suffix-box { - width: 160px; + width: 1.7rem; display: flex; justify-content: center; align-items: center; color: #2B2B2B; - font-size: 15px; + font-size: 0.16rem; cursor: pointer; } .domain-box .domain-search .suffix-box .el-icon-arrow-down { - font-size: 13px; + font-size: 0.14rem; color: #8692b0; - margin-left: 8px; + margin-left: 0.1rem; } .domain-box .domain-search .search-button { - height: 46px; - padding-left: 50px; - padding-right: 50px; + height: 0.56rem; + padding-left: 0.7rem; + padding-right: 0.7rem; border: none; border-top-left-radius: 0; border-bottom-left-radius: 0; background: var(--color-primary); color: #ffffff; - font-size: 15px; + font-size: 0.16rem; } .domain-box .domain-search .suffix-list { z-index: 2; position: absolute; - top: 46px; + top: 0.56rem; left: 0; display: flex; flex-wrap: wrap; - width: calc(100% - 250px); - padding: 24px; + width: calc(100% - 2.7rem); + padding: 0.3rem 0.23rem 0.3rem 0.46rem; background: #feffff; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); - border-radius: 6px; + box-shadow: 0rem 0.05rem 0.1rem 0.01rem rgba(0, 0, 0, 0.1); + border-radius: 0.03rem 0.03rem 0.03rem 0.03rem; } .domain-box .domain-search .suffix-list .suffix-item { - margin-right: 12px; - margin-bottom: 12px; - width: 100px; - height: 36px; - border: 1px solid #e6eaed; + margin-right: 0.16rem; + margin-bottom: 0.16rem; + width: 1.1rem; + height: 0.4rem; + border: 0.01rem solid #e6eaed; display: flex; justify-content: center; align-items: center; - font-size: 14px; + font-size: 0.16rem; color: #2B2B2B; cursor: pointer; - border-radius: 4px; } .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); + border: 0.01rem solid var(--color-primary); color: var(--color-primary); } .domain-box .batch-search-box { - margin-top: 24px; + margin-top: 0.32rem; } .domain-box .batch-search-box .batch-tips { box-sizing: border-box; color: #8692b0; - font-size: 13px; - padding: 12px; - border-radius: 6px; - border: 1px solid #EAEAEA; + font-size: 0.14rem; + padding: 0.16rem; + border-radius: 0.04rem; + border: 0.01rem solid #EAEAEA; } .domain-box .batch-search-box .batch-tips .input-batch .el-textarea__inner { - height: 120px; + height: 1.3rem; border: none; padding: 0; } .domain-box .batch-search-box .batch-btn { - margin-top: 12px; + margin-top: 0.16rem; display: flex; align-items: center; justify-content: space-between; @@ -427,18 +374,18 @@ .domain-box .batch-search-box .batch-btn .upload-btn { display: flex; align-items: center; - column-gap: 6px; - font-size: 12px; + column-gap: 0.08rem; + font-size: 0.12rem; color: var(--color-primary); cursor: pointer; } .domain-box .batch-search-box .batch-btn .el-button { - height: 34px; + height: 0.36rem; } .domain-box .domain-content { - margin-top: 20px; + margin-top: 0.24rem; display: flex; - column-gap: 32px; + column-gap: 0.4rem; } .domain-box .domain-content .domain-left { flex: 1; @@ -455,39 +402,39 @@ display: flex; align-items: center; justify-content: space-between; - font-size: 15px; + font-size: 0.16rem; color: #2B2B2B; } .domain-box .domain-content .domain-left .domain-one .search-title .search-fillter { display: flex; align-items: center; - column-gap: 6px; + column-gap: 0.08rem; 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; + margin-top: 0.24rem; border-radius: 8px; box-sizing: border-box; border: 1px solid #EAEAEA; - padding: 16px; + padding: 0.24rem; display: flex; flex-wrap: wrap; - gap: 12px; + gap: 0.24rem; } .domain-box .domain-content .domain-left .domain-one .fillter-list .fillter-item { - width: 90px; - height: 36px; - border: 1px solid #e6eaed; + width: 1rem; + height: 0.4rem; + border: 0.01rem solid #e6eaed; display: flex; justify-content: center; align-items: center; - font-size: 13px; + font-size: 0.14rem; color: #2B2B2B; cursor: pointer; - border-radius: 4px; + border-radius: 0.04rem; } .domain-box .domain-content .domain-left .domain-one .fillter-list .fillter-item:hover { background: rgba(0, 88, 255, 0.08); @@ -498,27 +445,27 @@ color: var(--color-primary); } .domain-box .domain-content .domain-left .domain-one .start-search { - margin-top: 20px; + margin-top: 0.24rem; display: flex; justify-content: center; align-items: center; flex-direction: column; height: 93%; border-radius: 8px; - border: 1px solid #EAEAEA; + border: 0.01rem solid #EAEAEA; } .domain-box .domain-content .domain-left .domain-one .start-search img { - width: 48px; - height: 48px; + width: 0.58rem; + height: 0.57rem; } .domain-box .domain-content .domain-left .domain-one .start-search p { text-align: center; - margin-top: 12px; - font-size: 15px; + margin-top: 0.19rem; + font-size: 0.18rem; color: #2B2B2B; } .domain-box .domain-content .domain-left .domain-one .domain-list { - margin-top: 16px; + margin-top: 0.24rem; background: #ffffff; border: 1px solid #EAEAEA; border-radius: 8px; @@ -526,40 +473,40 @@ overflow-y: auto; } .domain-box .domain-content .domain-left .domain-one .domain-list .domain-item { - height: 52px; + height: 0.6rem; display: flex; justify-content: space-between; align-items: center; - border-bottom: 1px solid #f2f3f5; - padding: 0 24px; - transition: background-color 0.2s ease; + border-bottom: 0.01rem solid #ededed; + padding: 0 0.33rem 0 0.3rem; + transition: background-color 0.25s ease; } .domain-box .domain-content .domain-left .domain-one .domain-list .domain-item:hover { - background-color: #f8f9fc; + background-color: #f5f7fa; } .domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-left .domain-name { - font-size: 14px; + font-size: 0.16rem; 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: 0.42rem; + font-size: 0.13rem; + color: rgba(0, 0, 0, 0.6); } .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; + padding: 0.06rem 0.12rem; + margin-right: 0.25rem; + font-size: 0.14rem; color: #8692b0; - border-radius: 12px; + border-radius: 0.16rem 0.16rem 0.16rem 0.16rem; background: #f3f3f5; } .domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-right .whois-box { - font-size: 13px; + font-size: 0.14rem; color: #2B2B2B; } .domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-right .whois-box:hover { @@ -569,16 +516,20 @@ .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 .original-price { + color: #8692b0; + font-size: 0.12rem; + text-decoration: line-through; + margin-right: 0.17rem; +} .domain-box .domain-content .domain-left .domain-one .domain-list .domain-item .item-right .pirce-box .now-price { - font-size: 12px; + font-size: 0.12rem; 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; + margin-left: 0.4rem; + height: 0.36rem; } - -/* 批量搜索 */ .domain-box .domain-content .domain-left .batch-box { height: 100%; } @@ -588,116 +539,130 @@ flex-direction: column; } .domain-box .domain-content .domain-left .batch-box .batch-main .batch-search { - margin-top: 20px; + margin-top: 0.24rem; display: flex; justify-content: center; align-items: center; flex-direction: column; height: 100%; background: #ffffff; - border: 1px solid #EAEAEA; - border-radius: 8px; + border: 0.01rem solid #EAEAEA; + border-radius: 0.08rem; } .domain-box .domain-content .domain-left .batch-box .batch-main .batch-search img { - width: 48px; - height: 48px; + width: 0.58rem; + height: 0.57rem; } .domain-box .domain-content .domain-left .batch-box .batch-main .batch-search p { text-align: center; - margin-top: 12px; - font-size: 15px; + margin-top: 0.19rem; + font-size: 0.18rem; color: #2B2B2B; } .domain-box .domain-content .domain-left .batch-box .batch-main .search-title { - font-size: 15px; + font-size: 0.16rem; color: #2B2B2B; } .domain-box .domain-content .domain-left .batch-box .batch-main .avail-list { - margin-top: 16px; + margin-top: 0.24rem; background: #ffffff; - border: 1px solid #EAEAEA; - border-radius: 8px 8px 0 0; + border: 0.01rem solid #EAEAEA; + border-radius: 0.08rem 0.08rem 0 0; border-bottom: none; - max-height: 400px; + max-height: 5rem; 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; + height: 0.64rem; 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; + border-bottom: 0.01rem solid #EAEAEA; + padding: 0 0.24rem; + transition: background-color 0.25s ease; } .domain-box .domain-content .domain-left .batch-box .batch-main .batch-item:hover { - background-color: #f8f9fc; + background-color: #f5f7fa; } .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; + font-size: 0.14rem; 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: 0.42rem; + font-size: 0.14rem; + color: rgba(0, 0, 0, 0.6); } .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; + padding: 0.06rem 0.12rem; + margin-right: 0.25rem; + font-size: 0.14rem; color: #8692b0; - border-radius: 12px; + border-radius: 0.16rem 0.16rem 0.16rem 0.16rem; background: #f3f3f5; } +.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-right .whois-box { + font-size: 0.14rem; + color: #2B2B2B; +} +.domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-right .whois-box:hover { + color: var(--color-primary); + cursor: pointer; +} .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 .oir-price { + color: #8692b0; + font-size: 0.14rem; + text-decoration: line-through; + margin-right: 0.17rem; +} .domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-right .pirce-box .now-price { - font-size: 12px; + font-size: 0.12rem; 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; + font-size: 0.12rem; color: #8692b0; } .domain-box .domain-content .domain-left .batch-box .batch-main .batch-item .item-right .add-btn { - margin-left: 24px; - border-radius: 4px; + margin-left: 0.4rem; + border-radius: 0.04rem; } .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; + padding: 0 0.24rem; + height: 0.64rem; + background: #F9F9F9; color: #2B2B2B; - font-size: 13px; - border: 1px solid #EAEAEA; + font-size: 0.14rem; + border: 0.01rem solid #EAEAEA; border-top: none; - border-radius: 0 0 8px 8px; + border-radius: 0 0 0.08rem 0.08rem; } .domain-box .domain-content .domain-left .batch-box .batch-main .all-check .el-button { color: #ffffff; - font-size: 13px; + font-size: 0.14rem; background: var(--color-primary); } .domain-box .domain-content .domain-left .batch-box .unavail-title { width: 100%; - font-size: 15px; + font-size: 0.16rem; color: #2B2B2B; display: flex; align-items: center; @@ -705,22 +670,22 @@ } .domain-box .domain-content .domain-left .batch-box .unavail-title .open-text { cursor: pointer; - font-size: 13px; + font-size: 0.14rem; color: var(--color-primary); } .domain-box .domain-content .domain-left .batch-box .unavail-list { - margin-top: 16px; + margin-top: 0.24rem; display: flex; flex-wrap: wrap; - border-radius: 8px; - border: 1px solid #e6e7eb; + border-radius: 0.08rem; + border: 0.01rem solid #e6e7eb; } .domain-box .domain-content .domain-left .batch-box .unavail-list .unavail-item { width: 50%; - height: 48px; + height: 0.64rem; box-sizing: border-box; - padding: 12px 20px; - border-bottom: 1px solid #f2f3f5; + padding: 0.17rem 0.24rem; + border-bottom: 0.01rem solid #ededed; } .domain-box .domain-content .domain-left .batch-box .unavail-list .unavail-item:nth-child(odd) { position: relative; @@ -731,40 +696,38 @@ top: 50%; right: 0; transform: translateY(-50%); - width: 1px; - height: 24px; - background: #f2f3f5; + width: 0.01rem; + height: 0.32rem; + background: #ededed; } .domain-box .domain-content .domain-left .batch-box .unavail-list .unavail-item .unavail-name { - font-size: 13px; + font-size: 0.14rem; 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: 0.4rem; + color: rgba(0, 0, 0, 0.6); + font-size: 0.14rem; } - -/* 域名购物车右侧 */ .domain-box .domain-content .domain-right { box-sizing: border-box; - width: 400px; + width: 5.33rem; + height: 7rem; flex-shrink: 0; } .domain-box .domain-content .domain-right .car-top { display: flex; justify-content: space-between; color: #2B2B2B; - font-size: 15px; + font-size: 0.16rem; } .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; + margin-right: 0.08rem; } .domain-box .domain-content .domain-right .car-top .clear-car:hover { color: var(--color-danger); @@ -774,10 +737,10 @@ } .domain-box .domain-content .domain-right .car-box { box-sizing: border-box; - margin-top: 16px; - height: 400px; + margin-top: 0.24rem; + height: 5.3rem; border-radius: 8px; - border: 1px solid #EAEAEA; + border: 0.01rem solid #EAEAEA; background: #ffffff; overflow-y: auto; } @@ -786,15 +749,15 @@ display: flex; justify-content: center; align-items: center; - font-size: 13px; + font-size: 0.14rem; color: #8692b0; } .domain-box .domain-content .domain-right .car-list .car-item { - padding: 12px 20px; - border-bottom: 1px solid #f2f3f5; + padding: 0.16rem 0.32rem; + border-bottom: 0.01rem solid #F6F7FB; } .domain-box .domain-content .domain-right .car-list .car-item:hover { - background: #f8f9fc; + background: #F7F8F9; } .domain-box .domain-content .domain-right .car-list .car-item:hover .car-del { display: block; @@ -810,146 +773,196 @@ } .domain-box .domain-content .domain-right .car-list .car-item .car-bottom { color: #2B2B2B; - margin-top: 10px; + margin-top: 0.16rem; } .domain-box .domain-content .domain-right .car-list .car-item .car-name { display: flex; align-items: center; - column-gap: 12px; + column-gap: 0.16rem; } .domain-box .domain-content .domain-right .car-list .car-item .car-name .shop-name { - font-size: 13px; + font-size: 0.14rem; color: #2B2B2B; } .domain-box .domain-content .domain-right .car-list .car-item .car-del { display: none; cursor: pointer; color: #9E9E9E; - font-size: 13px; + font-size: 0.14rem; } .domain-box .domain-content .domain-right .car-list .car-item .car-del .icon { fill: #9E9E9E; - margin-right: 4px; + margin-right: 0.04rem; } .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); + margin-right: 0.04rem; } .domain-box .domain-content .domain-right .car-list .car-item .car-year .el-select { - width: 120px; + width: 0.96rem; + height: 0.36rem; + border-radius: 0.04rem; } .domain-box .domain-content .domain-right .car-list .car-item .car-price { + font-size: 0.14rem; color: var(--color-price-text); } -.domain-box .domain-content .domain-right .car-money { - margin-top: 12px; +.car-money { + padding: 0 0.2rem; display: flex; justify-content: space-between; align-items: center; - padding: 0 4px; + margin-top: 0.26rem; + font-size: 0.16rem; + font-weight: 400; + color: rgba(0, 0, 0, 0.9); } -.domain-box .domain-content .domain-right .car-money .mon-right { - text-align: right; +.car-money .mon-right { + font-size: 0.14rem; } -.domain-box .domain-content .domain-right .car-money .now-price { - font-size: 14px; - color: #2B2B2B; +.car-money .mon-right p { 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; +.car-money .mon-right .original-price { text-decoration: line-through; - margin: 4px 0 0; + color: #999; } -.domain-box .domain-content .domain-right .car-money .hide { +.car-money .mon-right .original-price .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; +.car-money .money-text { color: var(--color-price-text); } -.price-list .price-item .price-renew { - width: 100px; +.car-settle { + margin-top: 0.2rem; +} +.car-settle .settle-btn { + width: 100%; + background: var(--color-primary); + font-size: 0.16rem; + color: rgba(255, 255, 255, 0.9); + border: none; + border-radius: 0; +} +.price-list { + display: flex; + font-size: 0.14rem; +} +.price-list .price-item > div { + width: 0.85rem; + height: 0.45rem; + display: flex; + justify-content: center; + align-items: center; +} +.price-list .price-item .price-year { + background: #f8fafc; +} +.price-list .price-item .price-new { + border-bottom: 1px solid #e6e7eb; +} +.blue-a-text { + color: var(--color-primary); + cursor: pointer; +} +.up-dialog .el-dialog__header { + display: none; +} +.up-dialog .el-dialog__body { + padding: 0.6rem 0.8rem; } - -/* 上传对话框 */ .up-dialog .dia-title { - font-size: 16px; - font-weight: 600; - color: #1a1a2e; - padding-bottom: 12px; - border-bottom: 1px solid #f2f3f5; + font-size: 0.24rem; + color: #171725; } .up-dialog .dia-concent { - padding: 16px 0; + margin-top: 0.3rem; } -.up-dialog .up-tips { - font-size: 13px; - color: #6b7280; - margin-bottom: 12px; +.up-dialog .dia-concent .up-tips { + font-size: 0.16rem; + color: #1e2736; } -.up-dialog .file-box { +.up-dialog .dia-concent .file-box { + margin-top: 0.1rem; display: flex; - gap: 8px; + align-items: center; } -.up-dialog .file-box .file-name { +.up-dialog .dia-concent .file-box .file-name { flex: 1; - height: 36px; - padding: 0 12px; - border: 1px solid #dcdfe6; - border-radius: 4px; - font-size: 13px; + border: 0.01rem solid #e6e7eb; + height: 0.46rem; + line-height: 0.46rem; + padding: 0 0.16rem; + background: rgba(102, 107, 128, 0.08); + font-size: 0.15rem; } -.up-dialog .file-box .file-btn { - padding: 0 16px; - height: 36px; - line-height: 36px; - background: var(--color-primary); - color: #fff; - border-radius: 4px; +.up-dialog .dia-concent .file-box .file-name:focus { + outline: none; + border: 0.01rem solid #e6e7eb; +} +.up-dialog .dia-concent .file-box .file-btn { + display: flex; + align-items: center; + justify-content: center; + padding: 0.12rem 0.28rem; + height: 0.46rem; + box-sizing: border-box; + color: #4e5259; + font-size: 0.16rem; + border: 0.01rem solid #e6e7eb; + margin-left: 0.1rem; cursor: pointer; - font-size: 13px; } .up-dialog .dia-foter { display: flex; justify-content: flex-end; - gap: 8px; - padding-top: 12px; - border-top: 1px solid #f2f3f5; + align-items: center; + margin-top: 0.4rem; +} +.up-dialog .dia-foter .confim-btn, +.up-dialog .dia-foter .cancel-btn { + min-width: 1.12rem; + border: none; + border-radius: 0.03rem 0.03rem 0.03rem 0.03rem; + font-size: 0.16rem; +} +.up-dialog .dia-foter .confim-btn { + background: var(--color-primary); + color: rgba(255, 255, 255, 0.9); +} +.up-dialog .dia-foter .cancel-btn { + margin-left: 0.12rem; + background: #e7e7e7; + color: #1e2736; +} +.el-popover { + max-width: none; +} +@media screen and (max-width: 915px) { + .goods-list-div { + grid-template-columns: repeat(2, 1fr); + } +} +@media screen and (max-width: 750px) { + .goods-list-div { + grid-template-columns: repeat(1, 1fr); + } + .search-box .el-select .el-input__inner { + height: 40px !important; + line-height: 40px; + } + .second-select .el-input__inner { + height: 40px !important; + line-height: 40px; + } + .search-input .el-input__inner { + height: 40px !important; + line-height: 40px; + } + .search-btn { + height: 40px; + } } diff --git a/clientarea/cart/hgcart/goodsList.php b/clientarea/cart/hgcart/goodsList.php index ad83cdb..4eb438f 100644 --- a/clientarea/cart/hgcart/goodsList.php +++ b/clientarea/cart/hgcart/goodsList.php @@ -17,421 +17,415 @@ -
- + +
- - - -
-
-
- {{item.name}} -
-
-
+
{{lang.new_goods}}
+
+ -
- - -
- - {{select_second_obj.description}} - -
- - -
- - - - +
+

{{lang.goods_loading}}

+
-

{{lang.goods_loading}}

@@ -443,6 +437,7 @@ +
{{lang.template_text134}}