hookehuyr

fix 切图工具样式优化

1 <!-- 1 <!--
2 * @Date: 2025-01-22 11:40:12 2 * @Date: 2025-01-22 11:40:12
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-03-05 16:10:58 4 + * @LastEditTime: 2025-03-05 17:03:20
5 * @FilePath: /map-demo/src/views/mapCutter.vue 5 * @FilePath: /map-demo/src/views/mapCutter.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -432,7 +432,7 @@ const rotateMap = (deltaAngle) => { ...@@ -432,7 +432,7 @@ const rotateMap = (deltaAngle) => {
432 // 检查是否超出 -10 到 10 的范围 432 // 检查是否超出 -10 到 10 的范围
433 if (newRotation > 10 || newRotation < -10) { 433 if (newRotation > 10 || newRotation < -10) {
434 ElMessage({ 434 ElMessage({
435 - message: '超过操作范围', 435 + message: '旋转角度到达极限',
436 type: 'warning', 436 type: 'warning',
437 plain: true, 437 plain: true,
438 }) 438 })
...@@ -520,7 +520,7 @@ const rotateMap = (deltaAngle) => { ...@@ -520,7 +520,7 @@ const rotateMap = (deltaAngle) => {
520 // 1秒后重置旋转状态 520 // 1秒后重置旋转状态
521 setTimeout(() => { 521 setTimeout(() => {
522 isRotating.value = false; 522 isRotating.value = false;
523 - }, 1000); 523 + }, 300);
524 }; 524 };
525 }; 525 };
526 526
...@@ -660,8 +660,9 @@ const onRatioBlur = () => { ...@@ -660,8 +660,9 @@ const onRatioBlur = () => {
660 660
661 661
662 .controls-container { 662 .controls-container {
663 + opacity: 0.7;
663 position: absolute; 664 position: absolute;
664 - top: 8rem; 665 + top: 5rem;
665 right: 10px; 666 right: 10px;
666 display: flex; 667 display: flex;
667 flex-direction: column; 668 flex-direction: column;
......