Initial commit
This commit is contained in:
@@ -98,12 +98,12 @@ export default defineComponent({
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
console.info('node onMounted');
|
||||
console.info('node onMounted')
|
||||
_props.node?.on('change:data', handleDataChange);
|
||||
});
|
||||
|
||||
onUnmounted(() => {
|
||||
console.info('node onUnmounted');
|
||||
console.info('node onUnmounted')
|
||||
_props.node?.off('change:data', handleDataChange);
|
||||
});
|
||||
|
||||
@@ -121,7 +121,6 @@ export default defineComponent({
|
||||
border: 1px dashed #7a6986;
|
||||
box-shadow: 2px 2px 5px #000000;
|
||||
}
|
||||
|
||||
.ks-designer-node {
|
||||
background: #1b3875;
|
||||
//background: url('@/assets/icons/bg-node.png') center / 100% 100%;
|
||||
@@ -134,7 +133,6 @@ export default defineComponent({
|
||||
&:hover {
|
||||
box-shadow: 0 1px 2px -2px rgb(0 0 0), 0 3px 6px 0 rgb(0 0 0 / 60%), 0 5px 12px 4px rgb(0 0 0 / 30%);
|
||||
}
|
||||
|
||||
.ant-card-head {
|
||||
border: 0;
|
||||
height: 30px;
|
||||
@@ -159,33 +157,28 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
//&.ks-designer-node-root{
|
||||
//background: #645525;
|
||||
//.ant-card-body{
|
||||
// background: #726334;
|
||||
//}
|
||||
//background: #645525;
|
||||
//.ant-card-body{
|
||||
// background: #726334;
|
||||
//}
|
||||
//}
|
||||
&.ks-designer-node-select {
|
||||
background: #255464;
|
||||
|
||||
.ant-card-body {
|
||||
.ant-card-body{
|
||||
background: #1c4654;
|
||||
}
|
||||
}
|
||||
|
||||
&.ks-designer-node-precondition,
|
||||
&.ks-designer-node-parallel,
|
||||
&.ks-designer-node-sequence {
|
||||
&.ks-designer-node-sequence{
|
||||
background: #4c5a9d;
|
||||
|
||||
.ant-card-body {
|
||||
.ant-card-body{
|
||||
background: #3f4d8d;
|
||||
}
|
||||
}
|
||||
|
||||
&.ks-designer-node-action {
|
||||
&.ks-designer-node-action{
|
||||
background: #645525;
|
||||
|
||||
.ant-card-body {
|
||||
.ant-card-body{
|
||||
background: #726334;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user