@jx3box/jx3box-editor 1.4.11 → 1.4.12
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/Item.vue +2 -2
- package/src/Resource.vue +7 -3
package/package.json
CHANGED
package/src/Item.vue
CHANGED
|
@@ -176,9 +176,9 @@
|
|
|
176
176
|
</div>
|
|
177
177
|
<!-- 描述 -->
|
|
178
178
|
<p
|
|
179
|
-
v-if="source.
|
|
179
|
+
v-if="source.Desc"
|
|
180
180
|
class="u-desc u-yellow">
|
|
181
|
-
<game-text :client="client" :text="source.
|
|
181
|
+
<game-text :client="client" :text="source.Desc"></game-text>
|
|
182
182
|
</p>
|
|
183
183
|
<!-- 五彩石属性 -->
|
|
184
184
|
<p v-if="source.WuCaiHtml" class="u-desc" v-html="source.WuCaiHtml"></p>
|
package/src/Resource.vue
CHANGED
|
@@ -102,7 +102,9 @@
|
|
|
102
102
|
<span class="u-id">ID:{{ o.id }}</span>
|
|
103
103
|
<img class="u-pic" :title="'IconID:' + o.IconID" :src="iconURL(o.IconID)" />
|
|
104
104
|
<span class="u-name">{{ o.Name }}</span>
|
|
105
|
-
<span class="u-content"
|
|
105
|
+
<span class="u-content">
|
|
106
|
+
<game-text :text="o.Desc"></game-text>
|
|
107
|
+
</span>
|
|
106
108
|
<span class="u-remark">
|
|
107
109
|
{{ o.Requirement }}
|
|
108
110
|
</span>
|
|
@@ -202,6 +204,7 @@ import { loadEmotions } from "../service/cms";
|
|
|
202
204
|
import { __ossRoot, __iconPath, __Root, __OriginRoot } from "@jx3box/jx3box-common/data/jx3box.json";
|
|
203
205
|
import detach_types from "../assets/data/detach_type.json";
|
|
204
206
|
import { iconLink, getLink, showAvatar } from "@jx3box/jx3box-common/js/utils";
|
|
207
|
+
import GameText from "./GameText.vue";
|
|
205
208
|
import User from "@jx3box/jx3box-common/js/user";
|
|
206
209
|
import Item from './Item.vue';
|
|
207
210
|
export default {
|
|
@@ -287,7 +290,7 @@ export default {
|
|
|
287
290
|
},
|
|
288
291
|
canInsertAuthor: function() {
|
|
289
292
|
return User.getLevel(this.userInfo && this.userInfo.experience) >= 2;
|
|
290
|
-
}
|
|
293
|
+
}
|
|
291
294
|
},
|
|
292
295
|
watch: {
|
|
293
296
|
html: function(newval) {
|
|
@@ -502,7 +505,8 @@ export default {
|
|
|
502
505
|
this.checkUA();
|
|
503
506
|
},
|
|
504
507
|
components: {
|
|
505
|
-
'jx3-item': Item
|
|
508
|
+
'jx3-item': Item,
|
|
509
|
+
GameText
|
|
506
510
|
},
|
|
507
511
|
};
|
|
508
512
|
</script>
|