@jx3box/jx3box-ui 2.1.12 → 2.1.14
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 +2 -2
- package/src/footer/resource.vue +7 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jx3box/jx3box-ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.14",
|
|
4
4
|
"description": "JX3BOX Vue3 UI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -101,6 +101,6 @@
|
|
|
101
101
|
},
|
|
102
102
|
"repository": {
|
|
103
103
|
"type": "git",
|
|
104
|
-
"url": "git+https://github.com/JX3BOX/jx3box-
|
|
104
|
+
"url": "git+https://github.com/JX3BOX/jx3box-ui.git"
|
|
105
105
|
}
|
|
106
106
|
}
|
package/src/footer/resource.vue
CHANGED
|
@@ -79,7 +79,8 @@
|
|
|
79
79
|
>
|
|
80
80
|
<div class="flex items-center space-x-3">
|
|
81
81
|
<div
|
|
82
|
-
|
|
82
|
+
@click="gotoQQbot"
|
|
83
|
+
class="flex h-10 w-10 items-center justify-center rounded-lg text-blue-400 cursor-pointer"
|
|
83
84
|
style="background-color: rgba(59, 130, 246, 0.2)"
|
|
84
85
|
>
|
|
85
86
|
<img
|
|
@@ -168,12 +169,16 @@ export default {
|
|
|
168
169
|
return item?.name || "";
|
|
169
170
|
},
|
|
170
171
|
getDownloadLabel(item) {
|
|
171
|
-
if (item?.labelKey)
|
|
172
|
+
if (item?.labelKey)
|
|
173
|
+
return this.$jx3boxT(`jx3boxUi.commonFooter.${item.labelKey}`, item.label || item.labelKey);
|
|
172
174
|
return item?.label || "";
|
|
173
175
|
},
|
|
174
176
|
handleLinkClick(e, item) {
|
|
175
177
|
if (!item?.href) e.preventDefault();
|
|
176
178
|
},
|
|
179
|
+
gotoQQbot() {
|
|
180
|
+
window.open("/qqbot", "_blank");
|
|
181
|
+
},
|
|
177
182
|
},
|
|
178
183
|
created: function () {},
|
|
179
184
|
mounted: function () {},
|