@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 ADDED
@@ -0,0 +1,8 @@
1
+ STATIC_PATH=mirror
2
+ BASE_URL=/
3
+
4
+ VUE_APP_CMS_API=http://cms.jx3box.com
5
+ VUE_APP_NEXT_API=/
6
+ VUE_APP_PAY_API=/
7
+ VUE_APP_TEAM_API=/
8
+ VUE_APP_LUA_API=/
@@ -69,7 +69,7 @@ a{
69
69
  }
70
70
  }
71
71
 
72
- .wechat-miniprogram,.v-miniprogram {
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.7",
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.2",
34
- "@jx3box/jx3box-common": "^8.5.9",
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.23",
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
@@ -271,7 +271,7 @@ export default {
271
271
  tab: "post",
272
272
 
273
273
  post: {},
274
- post_id: "79820",
274
+ post_id: "77714",
275
275
 
276
276
  author: "",
277
277
  wikiPost: null,
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 {