zydx-plus 1.32.224 → 1.32.225
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/mind/src/mind.vue +10 -13
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
<div class="mind" :ref="id">
|
|
3
3
|
<div class="table">
|
|
4
4
|
<div class="table-left" v-if="!readOnly">
|
|
5
|
-
<button :disabled="retShow" @click="ret">返回</button>
|
|
6
|
-
<button :disabled="forwardShow" @click="forward">前进</button>
|
|
7
5
|
<button :disabled="mindShow" @click="addNode">添加节点</button>
|
|
8
6
|
<button :disabled="mindShow" @click="brotherNode">兄弟节点</button>
|
|
9
7
|
<button :disabled="mindShow" @click="delNode">删除节点</button>
|
|
10
8
|
<button :disabled="mindShow" @click="associativeLine">关联线</button>
|
|
11
9
|
<button :disabled="mindShow" @click="nodeStyle">节点样式</button>
|
|
12
10
|
<button @click="structure">结构切换</button>
|
|
11
|
+
<button :disabled="retShow" @click="ret">上一步</button>
|
|
12
|
+
<button :disabled="forwardShow" @click="forward">下一步</button>
|
|
13
13
|
<button v-if="protectShow" @click="preservation">保存</button>
|
|
14
|
+
<button @click="fullTap" v-if="fullShow">全屏</button>
|
|
15
|
+
<button @click="fullDel" v-else>退出</button>
|
|
14
16
|
</div>
|
|
15
|
-
<button @click="fullTap" v-if="fullShow">全屏</button>
|
|
16
|
-
<button @click="fullDel" v-else>退出</button>
|
|
17
17
|
</div>
|
|
18
18
|
<div :id="id" class="mindMapContainer"></div>
|
|
19
19
|
<div class="node-style" :ref="id+'e'" :class="{'node-s': trans, 'node-h': !trans}">
|
|
@@ -467,8 +467,9 @@ export default {
|
|
|
467
467
|
<style scoped>
|
|
468
468
|
|
|
469
469
|
.table-left {
|
|
470
|
-
display: inline-block;
|
|
471
470
|
margin-right: 5px;
|
|
471
|
+
display: flex;
|
|
472
|
+
width: 100%;
|
|
472
473
|
}
|
|
473
474
|
|
|
474
475
|
.node-s {
|
|
@@ -577,12 +578,8 @@ export default {
|
|
|
577
578
|
}
|
|
578
579
|
|
|
579
580
|
.table {
|
|
580
|
-
position: absolute;
|
|
581
|
-
top: 10px;
|
|
582
|
-
left: 30px;
|
|
583
581
|
background-color: #fff;
|
|
584
582
|
border-radius: 5px;
|
|
585
|
-
padding: 10px;
|
|
586
583
|
box-shadow: rgba(0, 0, 0, 0.06) 0 2px 16px 0;
|
|
587
584
|
z-index: 10;
|
|
588
585
|
}
|
|
@@ -637,13 +634,13 @@ export default {
|
|
|
637
634
|
}
|
|
638
635
|
|
|
639
636
|
.table button {
|
|
640
|
-
margin-right: 5px;
|
|
641
637
|
background-color: #fff;
|
|
642
638
|
border: 1px solid #ccc;
|
|
643
|
-
border-radius: 3px;
|
|
644
|
-
padding: 5px 10px;
|
|
645
639
|
cursor: pointer;
|
|
646
|
-
font-size:
|
|
640
|
+
font-size: 14px;
|
|
641
|
+
height: 30px;
|
|
642
|
+
line-height: 30px;
|
|
643
|
+
flex: 1;
|
|
647
644
|
}
|
|
648
645
|
|
|
649
646
|
.table button:last-child {
|