浏览代码

refactor(页面样式): 调整产品页面

master
lizhuang 4 周前
父节点
当前提交
d78fba3e85
共有 1 个文件被更改,包括 35 次插入3 次删除
  1. 35
    3
      pages/products/[id].vue

+ 35
- 3
pages/products/[id].vue 查看文件

@@ -1142,7 +1142,7 @@ useHead(() => ({
:deep(.table-responsive-wrapper) {
border-radius: 8px;
background: theme("colors.zinc.900");
margin: 1rem 0;
padding: 1rem 0;
}

:deep(.scroll-indicator) {
@@ -1217,8 +1217,7 @@ useHead(() => ({
:deep(.full-table-screen .prose th),
:deep(.full-table-screen .prose td) {
min-width: 80px;
padding: 0.5rem 0.25rem !important;
font-size: 0.75rem;
padding: 0.5rem 0.75rem !important;
}
}

@@ -1344,4 +1343,37 @@ useHead(() => ({
position: relative;
z-index: 101;
}

/* 通用清除浮动工具类 */
.clearfix::before,
.clearfix::after {
content: "";
display: table;
}

.clearfix::after {
clear: both;
}

/* 简化的clearfix */
.clear-float::after {
content: "";
display: block;
clear: both;
}

/* 清除左浮动 */
.clear-left {
clear: left;
}

/* 清除右浮动 */
.clear-right {
clear: right;
}

/* 清除所有浮动 */
.clear-both {
clear: both;
}
</style>

正在加载...
取消
保存