This commit is contained in:
X1627315083
2025-07-24 20:15:39 +08:00
parent e203861586
commit 46b1c5cd71
22 changed files with 1002 additions and 284 deletions

View File

@@ -395,7 +395,7 @@ onMounted(() => {
align-items: center;
border-bottom: 1px solid #e0e0e0;
user-select: none;
height: 52px;
height: 5.2rem;
overflow: hidden;
width: 100%;
.canvas-header-wrapper {
@@ -406,9 +406,9 @@ onMounted(() => {
}
.canvas-title {
font-size: 16px;
font-size: 1.6rem;
font-weight: 500;
margin-right: 30px;
margin-right: 3rem;
display: flex;
align-items: center;
color: #333;
@@ -422,11 +422,11 @@ onMounted(() => {
.canvas-settings {
display: flex;
align-items: center;
gap: 8px;
gap: .8rem;
color: #213547;
.btn {
width: 32px;
height: 32px;
width: 3.2rem;
height: 3.2rem;
display: flex;
align-items: center;
justify-content: center;
@@ -448,40 +448,40 @@ onMounted(() => {
}
.gap-20 {
gap: 20px;
gap: 2rem;
}
.setting-group {
display: flex;
align-items: center;
gap: 5px;
gap: .5rem;
position: relative;
}
.setting-label {
font-size: 14px;
font-size: 1.4rem;
color: #333;
}
.setting-input {
width: 80px;
width: 8rem;
}
.setting-input :deep(.ant-input-number-input) {
padding: 4px 8px;
font-size: 14px;
padding: .4rem .8rem;
font-size: 1.4rem;
}
.setting-select {
padding: 4px 8px;
padding: .4rem .8rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
font-size: 1.4rem;
}
.font-select {
width: 150px;
padding: 4px 8px;
width: 15rem;
padding: .4rem .8rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
@@ -494,8 +494,8 @@ onMounted(() => {
}
.color-picker {
width: 30px;
height: 30px;
width: 3rem;
height: 3rem;
border: none;
padding: 0;
background: none;
@@ -503,20 +503,20 @@ onMounted(() => {
}
.color-dropdown {
font-size: 10px;
margin-left: 5px;
font-size: 1rem;
margin-left: .5rem;
color: #666;
}
.size-slider {
width: 100px;
width: 10rem;
cursor: pointer;
}
.size-value {
font-size: 12px;
font-size: 1.2rem;
color: #666;
min-width: 30px;
min-width: 3rem;
}
.brush-selector {
@@ -524,21 +524,21 @@ onMounted(() => {
}
.brush-preview {
width: 20px;
height: 2px;
width: 2rem;
height: .2rem;
background-color: #000;
border-radius: 1px;
}
.brush-dropdown,
.export-model-dropdown {
font-size: 10px;
margin-left: 5px;
font-size: 1rem;
margin-left: .5rem;
color: #666;
}
.export-model-select {
font-size: 14px;
font-size: 1.4rem;
color: #333;
cursor: pointer;
}
@@ -553,8 +553,8 @@ onMounted(() => {
top: calc(100% + 5px);
left: 0;
z-index: 1000;
width: 600px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
width: 60rem;
box-shadow: 0 2px 1rem rgba(0, 0, 0, 0.2);
border-radius: 4px;
overflow: hidden;
}