zydx-plus 1.33.376 → 1.33.378
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zydx-plus",
|
|
3
|
-
"version": "1.33.
|
|
3
|
+
"version": "1.33.378",
|
|
4
4
|
"description": "Vue.js",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pdfjs-dist": "^2.0.943",
|
|
25
25
|
"snabbdom": "^3.5.1",
|
|
26
26
|
"katex": "^0.15.6",
|
|
27
|
-
"simple-mind-map": "^0.
|
|
27
|
+
"simple-mind-map": "^0.10.6",
|
|
28
28
|
"@tiptap/starter-kit": "^2.0.3",
|
|
29
29
|
"@tiptap/vue-3": "^2.0.3",
|
|
30
30
|
"@tiptap/extension-bubble-menu": "^2.1.0",
|
|
@@ -82,7 +82,7 @@ export function butJson(editor, data) {
|
|
|
82
82
|
name: '落 款',
|
|
83
83
|
key: 'paragraphMenu',
|
|
84
84
|
menuKeys: [],
|
|
85
|
-
html: `<
|
|
85
|
+
html: `<p data-signId="paragraph" style="text-align: right;margin: 30px 0 0 0"><span style="color: rgb(0, 0, 0);font-size: 14px;font-weight: 700;">落款人名</span></p><p style="text-align: right;"><span style="color: rgb(0, 0, 0);font-size: 14px;font-weight: 700">${getTime()}</span></p>`
|
|
86
86
|
}, {
|
|
87
87
|
name: '致 谢',
|
|
88
88
|
key: 'ackMenu',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="mind" :ref="id">
|
|
2
|
+
<div class="mind" :class="{'full-screen':!fullShow}" :ref="id">
|
|
3
3
|
<div class="table">
|
|
4
4
|
<div class="table-left" v-if="!readOnly">
|
|
5
5
|
<button :disabled="mindShow" @click="addNode">添加节点</button>
|
|
@@ -150,19 +150,19 @@ export default {
|
|
|
150
150
|
],
|
|
151
151
|
rowValue: '1.5',
|
|
152
152
|
optionWidth: [
|
|
153
|
-
{label: "0", value:
|
|
154
|
-
{label: "1", value:
|
|
155
|
-
{label: "2", value:
|
|
156
|
-
{label: "3", value:
|
|
157
|
-
{label: "4", value:
|
|
158
|
-
{label: "5", value:
|
|
159
|
-
{label: "6", value:
|
|
160
|
-
{label: "7", value:
|
|
161
|
-
{label: "8", value:
|
|
162
|
-
{label: "9", value:
|
|
163
|
-
{label: "10", value:
|
|
153
|
+
{label: "0", value: 0},
|
|
154
|
+
{label: "1", value: 1},
|
|
155
|
+
{label: "2", value: 2},
|
|
156
|
+
{label: "3", value: 3},
|
|
157
|
+
{label: "4", value: 4},
|
|
158
|
+
{label: "5", value: 5},
|
|
159
|
+
{label: "6", value: 6},
|
|
160
|
+
{label: "7", value: 7},
|
|
161
|
+
{label: "8", value: 8},
|
|
162
|
+
{label: "9", value: 9},
|
|
163
|
+
{label: "10", value: 10},
|
|
164
164
|
],
|
|
165
|
-
widthValue:
|
|
165
|
+
widthValue: 1,
|
|
166
166
|
filletValue: '5',
|
|
167
167
|
lineValue: '1',
|
|
168
168
|
optionLine: [
|
|
@@ -325,8 +325,8 @@ export default {
|
|
|
325
325
|
},
|
|
326
326
|
// 全屏
|
|
327
327
|
fullTap() {
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
this.fullShow = false
|
|
329
|
+
this.fullScreen(document.body)
|
|
330
330
|
},
|
|
331
331
|
msgFun(e) {
|
|
332
332
|
if(e.msg) {
|
|
@@ -356,6 +356,7 @@ export default {
|
|
|
356
356
|
this.forwardShow = index >= len - 1
|
|
357
357
|
})
|
|
358
358
|
this.mindMap.on('node_active', (node, activeNodeList) => {
|
|
359
|
+
console.log('activeNodeList',activeNodeList)
|
|
359
360
|
this.activeNodes = activeNodeList
|
|
360
361
|
})
|
|
361
362
|
this.mindMap.on('data_change', (data) => {
|
|
@@ -679,4 +680,14 @@ export default {
|
|
|
679
680
|
width: 94px;
|
|
680
681
|
margin-left: -40px;
|
|
681
682
|
}
|
|
683
|
+
|
|
684
|
+
.full-screen{
|
|
685
|
+
background: #fff;
|
|
686
|
+
width: 100vw;
|
|
687
|
+
height: 100vh;
|
|
688
|
+
position: fixed;
|
|
689
|
+
top: 0;
|
|
690
|
+
left: 0;
|
|
691
|
+
z-index: 100;
|
|
692
|
+
}
|
|
682
693
|
</style>
|