add classification page
Change-Id: I5f661291cd32416b23e9b3f4483f200e885141c5
diff --git a/src/app/resource/hot-resource/hot-resource.scss b/src/app/resource/hot-resource/hot-resource.scss
index 587eb15..681a246 100644
--- a/src/app/resource/hot-resource/hot-resource.scss
+++ b/src/app/resource/hot-resource/hot-resource.scss
@@ -91,102 +91,4 @@
right: 0.6rem;
}
}
-}
-
-
-// 全部社区样式
-.all-resources {
- width: 100%;
- padding: 1rem;
-
- &-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
-
- &-card {
- height: 140px;
- padding: 1.5rem;
- margin-bottom: 1rem;
- border-radius: 0.5rem;
- transition: transform 0.3s ease;
- box-shadow: none !important; // 取消阴影
- cursor: pointer;
-
- //填充卡片
- &.p-card.p-component {
- padding: 0;
- }
-
- .p-card-body {
- padding: 0;
- }
-
- &:hover {
- transform: translateY(-3px);
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
- }
-
- .p-card-content {
- height: 140px;
- display: flex;
- justify-content: space-between;
- padding: 0;
- }
-
- img {
- border-radius: 0.5rem 0 0 0.5rem;
- object-fit: cover;
- }
-
- .resource-header {
- display: flex;
- flex: 1;
- max-width: 850px;
- padding-left: 20px;
- padding-right: 20px;
- margin-bottom: 20px;
- }
-
- .resource-content {
- flex: 1;
- display: flex;
- flex-direction: column;
-
- h3 {
- font-size: 1.5rem;
- font-weight: bold;
- color: #2c3e50;
- }
-
- .tags {
- display: flex;
- gap: 0.5rem;
- }
-
- .resource-introduction {
- color: #666;
- font-size: 1rem;
- margin-bottom: 0;
- }
- }
-
- .resources-states {
- min-width: 120px;
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- align-items: flex-end;
- gap: 0.5rem;
-
- .state-item {
- display: flex;
- align-items: center;
- gap: 0.5rem;
- color: #666;
- font-size: 1rem;
- }
- }
- }
}
\ No newline at end of file
diff --git a/src/app/resource/hot-resource/page.tsx b/src/app/resource/hot-resource/page.tsx
index 022ebe3..3204d6a 100644
--- a/src/app/resource/hot-resource/page.tsx
+++ b/src/app/resource/hot-resource/page.tsx
@@ -160,7 +160,7 @@
min: 4,
max: 10,
ticks: {
- stepSize: 2, // ← 每 1 个单位显示一个刻度
+ stepSize: 2,
font: {
size: 12
}