@jx3box/jx3box-editor 2.1.3 → 2.1.5
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/assets/css/tinymce/fold.less +6 -1
- package/package.json +1 -1
- package/public/css/article.css +5 -1
- package/service/item.js +4 -11
- package/src/Equip.vue +1 -1
|
@@ -59,6 +59,12 @@
|
|
|
59
59
|
border-top: none;
|
|
60
60
|
display: none;
|
|
61
61
|
line-height: 2.2;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
pre.e-details{
|
|
65
|
+
white-space: pre-line;
|
|
66
|
+
}
|
|
67
|
+
div.e-details{
|
|
62
68
|
white-space: normal;
|
|
63
69
|
}
|
|
64
70
|
}
|
|
@@ -68,6 +74,5 @@
|
|
|
68
74
|
}
|
|
69
75
|
.e-details {
|
|
70
76
|
display: block;
|
|
71
|
-
white-space: normal;
|
|
72
77
|
}
|
|
73
78
|
}
|
package/package.json
CHANGED
package/public/css/article.css
CHANGED
|
@@ -528,6 +528,11 @@
|
|
|
528
528
|
border-top: none;
|
|
529
529
|
display: none;
|
|
530
530
|
line-height: 2.2;
|
|
531
|
+
}
|
|
532
|
+
.c-article-tinymce pre.e-details {
|
|
533
|
+
white-space: pre-line;
|
|
534
|
+
}
|
|
535
|
+
.c-article-tinymce div.e-details {
|
|
531
536
|
white-space: normal;
|
|
532
537
|
}
|
|
533
538
|
.c-article-editor .e-summary {
|
|
@@ -535,7 +540,6 @@
|
|
|
535
540
|
}
|
|
536
541
|
.c-article-editor .e-details {
|
|
537
542
|
display: block;
|
|
538
|
-
white-space: normal;
|
|
539
543
|
}
|
|
540
544
|
.hevue-imgpreview-wrap .he-img-wrap {
|
|
541
545
|
background: rgba(0, 0, 0, 0.8);
|
package/service/item.js
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $node, $cms } from "@jx3box/jx3box-common/js/https";
|
|
2
2
|
|
|
3
3
|
// 获取物品
|
|
4
4
|
function get_item(item_id, client) {
|
|
5
5
|
if (!item_id) return;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
params : {
|
|
9
|
-
client
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
return $helper({ mute: true })(options);
|
|
6
|
+
|
|
7
|
+
return $node().get(`/resource/${client}/item_merged.${5_566}`);
|
|
13
8
|
}
|
|
14
9
|
|
|
15
10
|
// 获取清单
|
|
16
11
|
function get_plan(plan_id) {
|
|
17
|
-
return $
|
|
18
|
-
url: `api/item_plan/${plan_id}`,
|
|
19
|
-
});
|
|
12
|
+
return $cms().get(`/api/cms/app/item-plan/${plan_id}`);
|
|
20
13
|
}
|
|
21
14
|
|
|
22
15
|
export { get_item, get_plan };
|