@jx3box/jx3box-editor 1.1.9 → 1.2.0
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.
|
@@ -85,10 +85,13 @@
|
|
|
85
85
|
background-color: rgba(15, 34, 34, 0.88);
|
|
86
86
|
// background-color: #0f2222;
|
|
87
87
|
color: #ffffff;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
|
|
89
|
+
*{
|
|
90
|
+
font-weight: normal;
|
|
91
|
+
font-size: 13.6px;
|
|
92
|
+
line-height: 1.5em;
|
|
93
|
+
text-shadow: 1px 1px 1px #0f2222;
|
|
94
|
+
}
|
|
92
95
|
|
|
93
96
|
&:before {
|
|
94
97
|
content: "";
|
|
@@ -4,23 +4,19 @@
|
|
|
4
4
|
.w-npc-wrapper {
|
|
5
5
|
@min-width: 200px;
|
|
6
6
|
min-width: @min-width;
|
|
7
|
-
padding: 9px 10px 10px;
|
|
8
7
|
background-color: rgba(15, 34, 34, 0.88);
|
|
9
8
|
box-sizing: border-box;
|
|
10
9
|
display: flex;
|
|
11
10
|
|
|
12
|
-
div {
|
|
13
|
-
margin: 2px 0;
|
|
14
|
-
}
|
|
15
11
|
|
|
16
12
|
.w-npc-content {
|
|
17
13
|
box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
|
|
18
|
-
margin-bottom: 10px;
|
|
19
|
-
padding: 10px;
|
|
20
14
|
.r(4px);
|
|
21
15
|
.clearfix;
|
|
22
16
|
.fz(13px);
|
|
23
17
|
color: #e7e7e7;
|
|
18
|
+
margin:0;
|
|
19
|
+
padding:5px 15px 10px 15px;
|
|
24
20
|
}
|
|
25
21
|
|
|
26
22
|
.u-icon {
|
|
@@ -45,7 +41,7 @@
|
|
|
45
41
|
|
|
46
42
|
.u-id {
|
|
47
43
|
.pa;
|
|
48
|
-
.rt(
|
|
44
|
+
.rt(15px,10px);
|
|
49
45
|
.pointer;
|
|
50
46
|
color: #5df9eb;
|
|
51
47
|
}
|
package/package.json
CHANGED
package/src/Article.vue
CHANGED
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
:level="skill.level"
|
|
54
54
|
v-show="jx3_element.type == 'skill'"
|
|
55
55
|
/>
|
|
56
|
+
<jx3-npc :client="npc.client" :id="npc.id" v-show="jx3_element.type === 'npc'" />
|
|
56
57
|
</div>
|
|
57
58
|
<!-- <gallery :images="images" :index="gallery_index" @close="index = null"></gallery> -->
|
|
58
59
|
</div>
|
|
@@ -96,6 +97,7 @@ import renderPzIframe from '../assets/js/pz_iframe'
|
|
|
96
97
|
import Item from "./Item";
|
|
97
98
|
import Buff from "./Buff";
|
|
98
99
|
import Skill from "./Skill";
|
|
100
|
+
import Npc from "./Npc";
|
|
99
101
|
import renderJx3Element from "../assets/js/jx3_element";
|
|
100
102
|
|
|
101
103
|
export default {
|
|
@@ -137,6 +139,12 @@ export default {
|
|
|
137
139
|
id: "",
|
|
138
140
|
level: "",
|
|
139
141
|
},
|
|
142
|
+
// NPC
|
|
143
|
+
npc : {
|
|
144
|
+
client : 'std',
|
|
145
|
+
id : '',
|
|
146
|
+
},
|
|
147
|
+
// COMMON
|
|
140
148
|
jx3_element: {
|
|
141
149
|
style: {
|
|
142
150
|
top: 0,
|
|
@@ -265,6 +273,7 @@ export default {
|
|
|
265
273
|
"jx3-item": Item,
|
|
266
274
|
"jx3-buff": Buff,
|
|
267
275
|
"jx3-skill": Skill,
|
|
276
|
+
"jx3-npc": Npc,
|
|
268
277
|
// "gallery":gallery,
|
|
269
278
|
// VueViewer
|
|
270
279
|
},
|