Skip to content

Commit 348699a

Browse files
committed
UI 调整
1 parent 6d15060 commit 348699a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/components/dataBlock.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function handleCoordInput(
161161
background: var(--c-red);
162162
}
163163
.blockBtn.active {
164-
background: var(--c-accent);
164+
background: var(--c-bk1);
165165
}
166166
.blockBtn:hover {
167167
opacity: 1;
@@ -246,6 +246,7 @@ function handleCoordInput(
246246
align-items: center;
247247
gap: 10px;
248248
padding-left: 5px;
249+
cursor: default;
249250
}
250251
251252
.switch:before,
@@ -259,9 +260,6 @@ function handleCoordInput(
259260
height: 20px;
260261
border-radius: 5px;
261262
position: relative;
262-
}
263-
264-
.switch {
265263
border-radius: 10px;
266264
}
267265

src/consts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const getFnType = (fnType: string = "linear") =>
5656

5757
export const graphTypeArr = [
5858
{ value: "interval", label: "默认" },
59-
{ value: "polyline", label: "多边形" },
59+
{ value: "polyline", label: "多段线" },
6060
// { value: "text", label: "文本" },
6161
{ value: "scatter", label: "散点" },
6262
] as const satisfies ValueLabel[];

0 commit comments

Comments
 (0)