feat(products): 改版服务器选购界面并新增地区筛选与价格排序
前端验证 / verify (push) Successful in 2m7s

- 云产品选择器新增地区标签页、分组数量及全部选项,自动跟随当前线路所属地区
- 将线路和型号改为紧凑选择按钮,精简型号名称的公共前缀并保留完整名称提示
- 物理服务器目录改为规格列表,支持行内展开、收起线路详情及进入定制页
- 新增商品起价升降序排序,将无有效价格的商品置于末尾
- 将规格筛选改为下拉选项,移动端支持展开更多筛选并显示已选条件数量
- 统一云服务器与物理服务器的横向配置表单,优化磁盘、带宽、镜像选择及移动端布局
- 限制桌面端配置汇总栏高度,使清单内部滚动并保持价格和购买按钮可见
- 统一产品分类标签页与胶囊按钮样式,补充查看全部产品入口
- 将产品选择器和物理服务器目录重构为 script setup、声明式模板及 scoped 样式,删除旧样式文件与相关引用
This commit is contained in:
cneicy committed 2026-11-08 18:54:34 +08:00
1 parent 65c175c8fa
commit e3ad73d397
12 files changed
+2121 -2312

No files matched your search

+30 -4
View File
@@ -1515,22 +1515,25 @@ video {
}
.config-summary {
flex-direction: column;
gap: 10px;
gap: 7px;
margin: 0;
display: flex;
}
.config-summary-row {
grid-template-columns: 68px minmax(0, 1fr);
grid-template-columns: auto minmax(0, 1fr);
align-items: baseline;
gap: 12px;
font-size: 1rem;
font-size: 0.9375rem;
line-height: 1.429rem;
display: grid;
}
.config-summary-row dt {
min-width: 0;
max-width: 7em;
color: var(--p-text-muted-color);
overflow-wrap: anywhere;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.config-summary-row dd {
text-align: right;
@@ -1719,9 +1722,32 @@ video {
}
/* 视口条件 (width>=1024px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
@media (width>=1024px) {
/* 汇总栏高度限制在视口内,配置清单内部滚动,价格与购买按钮始终可见。 */
.config-summary-wrap {
position: sticky;
top: calc(var(--console-top-offset, 56px) + 20px);
max-height: calc(100vh - var(--console-top-offset, 56px) - 40px);
flex-direction: column;
display: flex;
}
.config-summary-wrap > .config-column-title {
flex: none;
}
.config-page .config-summary-wrap > .config-checkout {
flex-direction: column;
min-height: 0;
display: flex;
}
.config-summary-wrap .config-checkout > * {
flex: none;
}
.config-summary-wrap .config-checkout > .config-summary {
flex: 0 1 auto;
min-height: 72px;
margin-right: -6px;
padding-right: 6px;
overflow-y: auto;
scrollbar-width: thin;
}
}
/* 视口条件 (width<1200px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */