This commit is contained in:
李志鹏
2025-11-11 14:28:41 +08:00
parent 5f3c4b5ac9
commit 7bc82af120
12 changed files with 30 additions and 13 deletions

View File

@@ -1667,6 +1667,7 @@ function stopPressTimer() {
display: flex;
align-items: center;
justify-content: center;
height: 22px;
> i{
font-size: 1.4rem;

View File

@@ -52,7 +52,7 @@
<span class="label iconfont icon-angle"></span>
<input
type="number"
:value="v.angle"
:value="Number(Number(v.angle).toFixed(3))"
@change="(e) => changeAngle(e, v)"
/>
</div>
@@ -267,12 +267,7 @@
arrs.forEach((v) => {
activeObjects.value.forEach((item) => {
if (item.id === v.id) {
keys.forEach((k) => {
item[k] =
typeof v[k] === "number"
? Number(v[k].toFixed(3))
: v[k];
});
keys.forEach((key) => (item[key] = v[key]));
}
});
activeObjects.value = [...activeObjects.value];

View File

@@ -531,10 +531,13 @@ function confirmColorPicker() {
width: 100%;
text-align: center;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
height: 22px;
> i{
font-size: 1.4rem;
display: block;
transform: rotate(270deg);
}
}

View File

@@ -715,7 +715,10 @@ export default {
width: 100%;
text-align: center;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
height: 22px;
> i{
font-size: 1.4rem;
display: block;

View File

@@ -395,9 +395,15 @@ const handleToolClick = (tool) => {
height: 100%;
padding-top: .5rem;
padding-bottom: 4rem;
position: relative;
/* overflow-y: auto; */
/* overflow-x: hidden; */
}
.fillColor-input{
position: absolute;
top: 0;
right: 0;
}
.tools-list{
display: flex;
flex-direction: column;