@jx3box/jx3box-ui 2.2.19 → 2.2.20
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 +1 -1
- package/src/footer/resource.vue +33 -0
package/package.json
CHANGED
package/src/footer/resource.vue
CHANGED
|
@@ -113,6 +113,19 @@
|
|
|
113
113
|
<div v-if="activePlatform === 'android'" class="u-app-download-tip">
|
|
114
114
|
仅支持 Android 10 及以上系统
|
|
115
115
|
</div>
|
|
116
|
+
<div
|
|
117
|
+
v-if="activePlatform === 'harmonyNext'"
|
|
118
|
+
class="u-app-download-tip"
|
|
119
|
+
>
|
|
120
|
+
鸿蒙6.0以下请<a
|
|
121
|
+
class="u-app-download-tip__link"
|
|
122
|
+
:class="{ 'is-disabled': !androidDownloadUrl }"
|
|
123
|
+
:href="androidDownloadUrl || undefined"
|
|
124
|
+
target="_blank"
|
|
125
|
+
rel="noopener noreferrer"
|
|
126
|
+
@click="handleAndroidPackageClick"
|
|
127
|
+
>安装安卓包</a>
|
|
128
|
+
</div>
|
|
116
129
|
</div>
|
|
117
130
|
</div>
|
|
118
131
|
|
|
@@ -351,6 +364,10 @@ export default {
|
|
|
351
364
|
handleLogoError(e) {
|
|
352
365
|
e.target.src = APP_LOGO_FALLBACK;
|
|
353
366
|
},
|
|
367
|
+
handleAndroidPackageClick(e) {
|
|
368
|
+
if (this.androidDownloadUrl) return;
|
|
369
|
+
e.preventDefault();
|
|
370
|
+
},
|
|
354
371
|
gotoQQbot() {
|
|
355
372
|
window.open("/qqbot", "_blank");
|
|
356
373
|
},
|
|
@@ -650,6 +667,22 @@ export default {
|
|
|
650
667
|
font-size: 12px;
|
|
651
668
|
line-height: 18px;
|
|
652
669
|
white-space: nowrap;
|
|
670
|
+
|
|
671
|
+
&__link {
|
|
672
|
+
color: inherit;
|
|
673
|
+
text-decoration: underline;
|
|
674
|
+
text-underline-offset: 2px;
|
|
675
|
+
|
|
676
|
+
&:hover {
|
|
677
|
+
color: inherit;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
&.is-disabled {
|
|
681
|
+
cursor: not-allowed;
|
|
682
|
+
opacity: 0.6;
|
|
683
|
+
pointer-events: none;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
653
686
|
}
|
|
654
687
|
|
|
655
688
|
.u-app-preview {
|