- 云产品选择器新增地区标签页、分组数量及全部选项,自动跟随当前线路所属地区 - 将线路和型号改为紧凑选择按钮,精简型号名称的公共前缀并保留完整名称提示 - 物理服务器目录改为规格列表,支持行内展开、收起线路详情及进入定制页 - 新增商品起价升降序排序,将无有效价格的商品置于末尾 - 将规格筛选改为下拉选项,移动端支持展开更多筛选并显示已选条件数量 - 统一云服务器与物理服务器的横向配置表单,优化磁盘、带宽、镜像选择及移动端布局 - 限制桌面端配置汇总栏高度,使清单内部滚动并保持价格和购买按钮可见 - 统一产品分类标签页与胶囊按钮样式,补充查看全部产品入口 - 将产品选择器和物理服务器目录重构为 script setup、声明式模板及 scoped 样式,删除旧样式文件与相关引用
This commit is contained in:
12 files changed
+2121
-2312
No files matched your search
@@ -225,6 +225,7 @@
|
||||
color: var(--p-primary-color);
|
||||
border-radius: var(--radius-md);
|
||||
flex-shrink: 0;
|
||||
align-self: center;
|
||||
place-items: center;
|
||||
font-size: 1.375rem;
|
||||
display: grid;
|
||||
@@ -446,3 +447,79 @@ button[data-v-a6c63d86]:focus-visible {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
/* 分类导航:一级为下划线标签页,二级为小号胶囊按钮,徽标弱化为辅助文字;分类区不再单独成卡片。 */
|
||||
.catalog-categories[data-v-a6c63d86] {
|
||||
background: none;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.catalog-categories h2[data-v-a6c63d86] {
|
||||
clip-path: inset(50%);
|
||||
white-space: nowrap;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
}
|
||||
.category-options:not(.secondary-categories)[data-v-a6c63d86] {
|
||||
border-bottom: 1px solid var(--p-content-border-color);
|
||||
flex-wrap: nowrap;
|
||||
gap: 2px;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
.category-options:not(.secondary-categories) button[data-v-a6c63d86] {
|
||||
color: var(--p-text-muted-color);
|
||||
white-space: nowrap;
|
||||
background: none;
|
||||
border: 0;
|
||||
border-bottom: 2px solid transparent;
|
||||
border-radius: 0;
|
||||
flex: none;
|
||||
margin-bottom: -1px;
|
||||
padding: 6px 12px 8px;
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
.category-options:not(.secondary-categories) button[data-v-a6c63d86]:hover {
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
.category-options:not(.secondary-categories) button.active[data-v-a6c63d86] {
|
||||
border-bottom-color: var(--p-primary-color);
|
||||
color: var(--p-primary-color);
|
||||
background: none;
|
||||
font-weight: 500;
|
||||
}
|
||||
.category-options.secondary-categories[data-v-a6c63d86] {
|
||||
border-top: 0;
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
padding-top: 0;
|
||||
}
|
||||
.category-options.secondary-categories button[data-v-a6c63d86] {
|
||||
min-height: 34px;
|
||||
padding: 5px 12px;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.category-options.secondary-categories button[data-v-a6c63d86]:hover {
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
.category-options.secondary-categories button.active[data-v-a6c63d86] {
|
||||
box-shadow: inset 0 0 0 1px var(--p-primary-color);
|
||||
color: var(--p-highlight-color);
|
||||
font-weight: 500;
|
||||
}
|
||||
.category-options[data-v-a6c63d86] .product-group-badge {
|
||||
color: inherit;
|
||||
opacity: 0.6;
|
||||
background: none;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
.category-options[data-v-a6c63d86] .product-group-label {
|
||||
gap: 2px 6px;
|
||||
}
|
||||
Reference in new issue
Block a user