@jx3box/jx3box-common-ui 6.1.8 → 6.2.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "6.1.8",
3
+ "version": "6.2.1",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -33,7 +33,7 @@
33
33
  "@jx3box/jx3box-comment-ui": "^1.7.1",
34
34
  "@jx3box/jx3box-common": "^7.4.2",
35
35
  "@jx3box/jx3box-data": "^1.11.1",
36
- "@jx3box/jx3box-editor": "^1.5.0",
36
+ "@jx3box/jx3box-editor": "^1.5.3",
37
37
  "axios": "^0.26.1",
38
38
  "dayjs": "^1.11.0",
39
39
  "element-ui": "^2.13.2",
@@ -20,7 +20,8 @@
20
20
  <div class="u-content">
21
21
  <div class="u-left">
22
22
  <em class="u-label">🌟 金箔</em>
23
- <b>{{ this.left }}</b>
23
+ <b>{{ left }}</b>
24
+ <a class="u-charge" :href="chargeLink" target="_blank">[充值]</a>
24
25
  </div>
25
26
  <div class="u-list">
26
27
  <em class="u-label">❤️ 赠送</em>
@@ -71,6 +72,7 @@ export default {
71
72
 
72
73
  left: 0, //剩余量
73
74
  status: true, //默认可打赏
75
+ chargeLink: "/vip/cny?redirect=" + location.href,
74
76
 
75
77
  count: 0, //打赏数量
76
78
  remark: "辛苦,感谢!",
@@ -227,6 +229,8 @@ export default {
227
229
  }
228
230
 
229
231
  .u-left {
232
+ display: flex;
233
+ align-items: center;
230
234
  .fz(14px,24px);
231
235
  .u-label {
232
236
  .mr(10px);
@@ -240,6 +244,9 @@ export default {
240
244
  .y;
241
245
  vertical-align: text-bottom;
242
246
  }
247
+ .u-charge{
248
+ .ml(8px);
249
+ }
243
250
  .el-progress {
244
251
  margin: 10px;
245
252
  }
@@ -123,13 +123,16 @@ export default {
123
123
 
124
124
  this.user_points = res.data.data.limit.user_points || [10, 1000];
125
125
  // 根据多端展示剩余币
126
- // 作品是n端,接受n端币+all币,但转化为n端币
126
+ // 作品是n端,接受n端币+all
127
127
  if (this.client == "origin") {
128
128
  this.user_left = res.data.data.asUserBoxCoinRemainOrigin + res.data.data.asUserBoxCoinRemainAll;
129
129
  } else if (this.client == "std") {
130
130
  this.user_left = res.data.data.asUserBoxCoinRemainStd + res.data.data.asUserBoxCoinRemainAll;
131
131
  } else {
132
- this.user_left = res.data.data.asUserBoxCoinRemainAll
132
+ this.user_left =
133
+ res.data.data.asUserBoxCoinRemainAll +
134
+ res.data.data.asUserBoxCoinRemainStd +
135
+ res.data.data.asUserBoxCoinRemainOrigin;
133
136
  }
134
137
  });
135
138
  getBoxcoinStatus().then((res) => {
package/yarn-error.log DELETED
@@ -1,95 +0,0 @@
1
- Arguments:
2
- C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\yarn\bin\yarn.js add @jx3box/jx3box-editor@latest
3
-
4
- PATH:
5
- C:\Program Files (x86)\PowerShell\7;C:\Python310\Scripts\;C:\Python310\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;D:\Program Files (x86)\Xftp\;D:\Program Files (x86)\Xshell\;C:\Program Files (x86)\PowerShell\7\;D:\Program Files (x86)\Bandizip;d:\Program Files (x86)\Tencent\微信web开发者工具\dll;%NVM_HOME%;%NVM_SYMLINK%;C:\Program Files (x86)\oh-my-posh\bin;;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Users\ljw\AppData\Local\pnpm;C:\Users\ljw\.cargo\bin;C:\Users\ljw\AppData\Local\Microsoft\WindowsApps;D:\Microsoft VS Code\bin;d:\Program Files\JetBrains\WebStorm 2022.2\bin;;C:\Users\ljw\AppData\Roaming\nvm;C:\Program Files\nodejs
6
-
7
- Yarn version:
8
- 1.22.19
9
-
10
- Node version:
11
- 14.18.2
12
-
13
- Platform:
14
- win32 x64
15
-
16
- Trace:
17
- Error: ENOENT: no such file or directory, copyfile 'C:\Users\ljw\AppData\Local\Yarn\Cache\v6\npm-yallist-2.1.2-1c11f9218f076089a47dd512f93c6699a6a81d52-integrity\node_modules\yallist\LICENSE' -> 'D:\Projects\Personal\JX3BOX\jx3box-common-ui\node_modules\@vue\component-compiler-utils\node_modules\yallist\LICENSE'
18
-
19
- npm manifest:
20
- {
21
- "name": "@jx3box/jx3box-common-ui",
22
- "version": "6.1.7",
23
- "description": "JX3BOX UI",
24
- "main": "index.js",
25
- "scripts": {
26
- "dev": "cross-env DEV_SERVER=true vue-cli-service serve",
27
- "serve": "vue-cli-service serve",
28
- "build": "vue-cli-service build",
29
- "lint": "vue-cli-service lint",
30
- "inspect": "vue inspect > output.js",
31
- "update": "npm --registry https://registry.npmjs.org install @jx3box/jx3box-common@latest @jx3box/jx3box-data@latest @jx3box/jx3box-editor@latest @jx3box/jx3box-comment-ui@latest",
32
- "header": "vue-cli-service build --target lib --name newheader src/Header.vue && cp public/index.html dist/newheader.html"
33
- },
34
- "eslintConfig": {
35
- "root": true,
36
- "env": {
37
- "node": true
38
- },
39
- "extends": [
40
- "plugin:vue/essential"
41
- ],
42
- "rules": {},
43
- "parserOptions": {
44
- "parser": "babel-eslint"
45
- }
46
- },
47
- "browserslist": [
48
- "> 1%",
49
- "last 2 versions"
50
- ],
51
- "dependencies": {
52
- "@jx3box/jx3box-comment-ui": "^1.7.1",
53
- "@jx3box/jx3box-common": "^7.4.2",
54
- "@jx3box/jx3box-data": "^1.11.1",
55
- "@jx3box/jx3box-editor": "^1.4.12",
56
- "axios": "^0.26.1",
57
- "dayjs": "^1.11.0",
58
- "element-ui": "^2.13.2",
59
- "jquery": "^3.5.1",
60
- "lodash": "^4.17.15",
61
- "qrcode.vue": "^1.7.0",
62
- "url": "^0.11.0",
63
- "vue": "^2.6.11"
64
- },
65
- "devDependencies": {
66
- "@babel/plugin-proposal-optional-chaining": "^7.14.5",
67
- "@vue/cli-plugin-babel": "~4.3.0",
68
- "@vue/cli-plugin-eslint": "~4.3.0",
69
- "@vue/cli-plugin-vuex": "^4.0.0",
70
- "@vue/cli-service": "~4.3.0",
71
- "babel-eslint": "^10.1.0",
72
- "core-js": "^3.6.5",
73
- "cross-env": "^7.0.3",
74
- "csslab": "^4.0.3",
75
- "eslint": "^6.7.2",
76
- "eslint-plugin-vue": "^6.2.2",
77
- "less": "^3.0.4",
78
- "less-loader": "^5.0.0",
79
- "style-resources-loader": "^1.3.3",
80
- "vue-cli-plugin-element": "~1.0.1",
81
- "vue-svg-inline-loader": "^1.4.6",
82
- "vue-template-compiler": "^2.6.11",
83
- "weixin-js-sdk": "^1.6.0"
84
- },
85
- "repository": {
86
- "type": "git",
87
- "url": "git+https://github.com/JX3BOX/jx3box-common-ui.git"
88
- }
89
- }
90
-
91
- yarn manifest:
92
- No manifest
93
-
94
- Lockfile:
95
- No lockfile