File tree Expand file tree Collapse file tree 6 files changed +48
-12
lines changed
Expand file tree Collapse file tree 6 files changed +48
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ <script setup lang="ts">
2+ const getShow = () => {
3+ return import .meta .env .DEV || Reflect .get (globalThis , ' gkd' );
4+ };
5+ </script >
6+ <template >
7+ <ClientOnly >
8+ <slot v-if =" getShow()" ></slot >
9+ </ClientOnly >
10+ </template >
Original file line number Diff line number Diff line change 1+ <script setup lang="ts">
2+ const getShow = () => {
3+ return (
4+ globalThis .document && ' ontouchstart' in globalThis .document .documentElement
5+ );
6+ };
7+ </script >
8+ <template >
9+ <ClientOnly >
10+ <slot v-if =" getShow()" ></slot >
11+ </ClientOnly >
12+ </template >
Original file line number Diff line number Diff line change @@ -3,13 +3,15 @@ import GImg from './GImg';
33import IdentifierField from './IdentifierField.vue' ;
44import ImageTable from './ImageTable.vue' ;
55import naiveComponents from './naive' ;
6- import AppInnerDownloadTip from './AppInnerDownloadTip.vue' ;
6+ import GkdOnly from './GkdOnly.vue' ;
7+ import MobileOnly from './MobileOnly.vue' ;
78
89export default {
910 ...naiveComponents ,
1011 GImg,
1112 ImageTable,
1213 IdentifierField,
1314 ApkTable,
14- AppInnerDownloadTip,
15+ GkdOnly,
16+ MobileOnly,
1517} ;
Original file line number Diff line number Diff line change 22
33## 安装 {#install}
44
5- <ClientOnly > <AppInnerDownloadTip /> </ClientOnly >
5+ <GkdOnly >
6+
7+ > [ !TIP] 下载提示
8+ > 检测到您在应用内无法下载 APK,请点击右上角-外部打开后下载
9+
10+ </GkdOnly >
611
712<ApkTable />
813
Original file line number Diff line number Diff line change 1414
1515<GImg src =" 0046.png " />
1616
17+ <MobileOnly >
18+ <p text-center >
19+
20+ [ --> 打开支付宝 <--] ( alipays://platformapi/startapp?saId=10000007&qrcode=https%3A%2F%2Fqr.alipay.com%2Ffkx18039ijnme6m5ef2na0a )
21+
22+ </p >
23+ </MobileOnly >
24+
1725---
1826
1927<GImg src =" 0047.png " />
28+
29+ <MobileOnly >
30+ <p text-center >
31+
32+ [ --> 截图后打开微信 <--] ( gkd://invoke/openWeChat )
33+
34+ </p >
35+ </MobileOnly >
You can’t perform that action at this time.
0 commit comments