@jx3box/jx3box-common-ui 9.1.7 → 9.1.8
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/.env.staging +8 -0
- package/assets/css/main.less +16 -1
- package/package.json +5 -4
- package/src/App.vue +1 -1
- package/src/Header.vue +6 -1
package/.env.staging
ADDED
package/assets/css/main.less
CHANGED
|
@@ -69,7 +69,7 @@ a{
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
.v-miniprogram,.from-seasun {
|
|
73
73
|
.c-wiki-comments {
|
|
74
74
|
.none;
|
|
75
75
|
}
|
|
@@ -78,4 +78,19 @@ a{
|
|
|
78
78
|
.none;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
+
|
|
82
|
+
.v-miniprogram {
|
|
83
|
+
.w-share2,.w-boxcoin-admin {
|
|
84
|
+
.none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.w-thx-records {
|
|
88
|
+
.u-client {
|
|
89
|
+
.none;
|
|
90
|
+
}
|
|
91
|
+
.u-delete {
|
|
92
|
+
.none;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
81
96
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jx3box/jx3box-common-ui",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.8",
|
|
4
4
|
"description": "JX3BOX UI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "cross-env DEV_SERVER=true vue-cli-service serve",
|
|
8
|
+
"debug": "env DEV_SERVER=true vue-cli-service serve --mode staging",
|
|
8
9
|
"serve": "vue-cli-service serve",
|
|
9
10
|
"build": "vue-cli-service build",
|
|
10
11
|
"lint": "vue-cli-service lint",
|
|
@@ -30,10 +31,10 @@
|
|
|
30
31
|
"last 2 versions"
|
|
31
32
|
],
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@jx3box/jx3box-comment-ui": "^2.0.
|
|
34
|
-
"@jx3box/jx3box-common": "^8.
|
|
34
|
+
"@jx3box/jx3box-comment-ui": "^2.0.3",
|
|
35
|
+
"@jx3box/jx3box-common": "^8.6.3",
|
|
35
36
|
"@jx3box/jx3box-data": "^3.7.7",
|
|
36
|
-
"@jx3box/jx3box-editor": "^2.2.
|
|
37
|
+
"@jx3box/jx3box-editor": "^2.2.24",
|
|
37
38
|
"@jx3box/reporter": "^0.0.4",
|
|
38
39
|
"axios": "^0.26.1",
|
|
39
40
|
"dayjs": "^1.11.0",
|
package/src/App.vue
CHANGED
package/src/Header.vue
CHANGED
|
@@ -69,11 +69,16 @@ export default {
|
|
|
69
69
|
const urlParams = new URLSearchParams(window.location.search);
|
|
70
70
|
const appid = urlParams.get("appid");
|
|
71
71
|
const item = miniprogram?.find((item) => item.appid === appid);
|
|
72
|
+
const from = urlParams.get("_from");
|
|
72
73
|
|
|
73
74
|
document.documentElement.classList.add("v-miniprogram");
|
|
74
75
|
|
|
76
|
+
if (from) {
|
|
77
|
+
document.documentElement.classList.add("from-" + from);
|
|
78
|
+
}
|
|
79
|
+
|
|
75
80
|
if (appid && item) {
|
|
76
|
-
document.documentElement.classList.add("env-miniprogram" + item.id);
|
|
81
|
+
document.documentElement.classList.add("env-miniprogram-" + item.id);
|
|
77
82
|
|
|
78
83
|
window.JX3BOX_ENV = item.id?.toUpperCase() + "_MINIPROGRAM";
|
|
79
84
|
} else {
|