@jx3box/jx3box-ui 2.2.18 → 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.
@@ -128,9 +128,9 @@
128
128
  "parentKey": "pvp"
129
129
  },
130
130
  {
131
- "key": "sandbox",
132
- "link": "/pvp/sandbox",
133
- "label": "沙盘查询",
131
+ "key": "arenatower",
132
+ "link": "/pvp/arenatower",
133
+ "label": "扬刀大会",
134
134
  "client": "std",
135
135
  "status": true,
136
136
  "parentKey": "pvp"
@@ -83,7 +83,7 @@ export default {
83
83
  pvp: "PvP",
84
84
  yanxi: "Martial Study",
85
85
  desert: "Battle Royale",
86
- sandbox: "Sandbox Lookup",
86
+ arenatower: "Arena Tower",
87
87
  changelog: "Balance History",
88
88
  fb: "Dungeon",
89
89
  fb_post: "Dungeon Guides",
@@ -83,7 +83,7 @@ export default {
83
83
  pvp: "PvP",
84
84
  yanxi: "Nghiên Cứu Võ Học",
85
85
  desert: "Chiến Trường Tuyệt Cảnh",
86
- sandbox: "Tra Cứu Sandbox",
86
+ arenatower: "Arena Tower",
87
87
  changelog: "Lịch Sử Chỉnh Kỹ Năng",
88
88
  fb: "Phó bản",
89
89
  fb_post: "Hướng Dẫn Phó Bản",
@@ -83,7 +83,7 @@ export default {
83
83
  pvp: "竞技",
84
84
  yanxi: "武学研习",
85
85
  desert: "绝境战场",
86
- sandbox: "沙盘查询",
86
+ arenatower: "扬刀大会",
87
87
  changelog: "技改历史",
88
88
  fb: "副本",
89
89
  fb_post: "副本攻略",
@@ -83,7 +83,7 @@ export default {
83
83
  pvp: "競技",
84
84
  yanxi: "武學研習",
85
85
  desert: "絕境戰場",
86
- sandbox: "沙盤查詢",
86
+ arenatower: "揚刀大會",
87
87
  changelog: "技改歷史",
88
88
  fb: "副本",
89
89
  fb_post: "副本攻略",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-ui",
3
- "version": "2.2.18",
3
+ "version": "2.2.20",
4
4
  "description": "JX3BOX Vue3 UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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 {