branch: 合并锚点样式修改
This commit is contained in:
commit
437dd1c411
@ -3,7 +3,7 @@
|
|||||||
<slot></slot>
|
<slot></slot>
|
||||||
<!-- 锚点 -->
|
<!-- 锚点 -->
|
||||||
<div
|
<div
|
||||||
class="shape-point"
|
:class="`shape-point ${point}`"
|
||||||
v-for="(point, index) in (select? pointList : [])"
|
v-for="(point, index) in (select? pointList : [])"
|
||||||
:key="index"
|
:key="index"
|
||||||
:style="usePointStyle(point, index, item.attr, cursorResize)"
|
:style="usePointStyle(point, index, item.attr, cursorResize)"
|
||||||
@ -65,12 +65,20 @@ const select = computed(() => {
|
|||||||
.shape-point {
|
.shape-point {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 7px;
|
width: 10px;
|
||||||
height: 7px;
|
height: 10px;
|
||||||
border: 3px solid v-bind('themeColor');
|
border: 3px solid v-bind('themeColor');
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
transform: translate(-40%, -30%);
|
transform: translate(-40%, -30%);
|
||||||
|
&.t,
|
||||||
|
&.b {
|
||||||
|
width: 30px;
|
||||||
|
}
|
||||||
|
&.l,
|
||||||
|
&.r {
|
||||||
|
height: 30px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* 选中 */
|
/* 选中 */
|
||||||
.shape-modal {
|
.shape-modal {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user