karin-plugin-mys-core 1.0.3 → 1.0.5
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/README.md +1031 -76
- package/lib/apps/MiHoYoLogin.js +19 -18
- package/lib/apps/MysDevice.js +16 -17
- package/lib/apps/UIDManage.js +17 -16
- package/lib/{array-DuqoS2wx.d.ts → array-CCexQ14j.d.ts} +1 -1
- package/lib/{chunk-KN5SHBVI.js → chunk-7ZQQ76WC.js} +1 -1
- package/lib/chunk-AY34PPJT.js +72 -0
- package/lib/{chunk-COKAJ7V6.js → chunk-BH4S574A.js} +1 -1
- package/lib/{chunk-UVMX6WUC.js → chunk-BNSHDFFN.js} +4 -4
- package/lib/{chunk-3BIQN6QA.js → chunk-BWFWWHCT.js} +20 -1
- package/lib/{chunk-JKZ5NRPX.js → chunk-BXA3VAQC.js} +3 -2
- package/lib/{chunk-RWBRS7SA.js → chunk-DJTJKSNN.js} +162 -169
- package/lib/{chunk-5NA7ZPDS.js → chunk-EAVXU4Q2.js} +3 -0
- package/lib/{chunk-7WESXE4X.js → chunk-HTH25YE2.js} +1 -1
- package/lib/chunk-UX2BDLJF.js +6 -0
- package/lib/chunk-WCX7WZAQ.js +0 -0
- package/lib/{chunk-HNODD2IL.js → chunk-ZZ5BYFNK.js} +83 -6
- package/lib/{define-BWuQ7acM.d.ts → define-B9r20dK6.d.ts} +4 -5
- package/lib/exports/config/array.d.ts +1 -1
- package/lib/exports/config/config.d.ts +1 -1
- package/lib/exports/config/config.js +1 -1
- package/lib/exports/config/index.d.ts +1 -1
- package/lib/exports/config/index.js +1 -1
- package/lib/exports/database/database.js +1 -1
- package/lib/exports/database/dbs/base.js +1 -1
- package/lib/exports/database/dbs/index.js +2 -2
- package/lib/exports/database/dbs/sqlite3.js +1 -1
- package/lib/exports/database/dbs/table.d.ts +3 -0
- package/lib/exports/database/dbs/table.js +2 -2
- package/lib/exports/database/index.js +12 -13
- package/lib/exports/database/tables/index.js +10 -11
- package/lib/exports/database/tables/mysAccountInfo.js +3 -3
- package/lib/exports/database/tables/mysDeviceInfo.js +5 -6
- package/lib/exports/database/tables/mysUserInfo.js +3 -3
- package/lib/exports/database/types/index.js +3 -3
- package/lib/exports/database/types/tables/index.js +3 -3
- package/lib/exports/mys/api/apis.d.ts +5 -5
- package/lib/exports/mys/api/apis.js +14 -15
- package/lib/exports/mys/api/app.js +7 -8
- package/lib/exports/mys/api/define.d.ts +1 -1
- package/lib/exports/mys/api/define.js +14 -15
- package/lib/exports/mys/api/index.d.ts +2 -2
- package/lib/exports/mys/api/index.js +17 -18
- package/lib/exports/mys/index.d.ts +5 -3
- package/lib/exports/mys/index.js +20 -22
- package/lib/exports/mys/types/api/define.d.ts +1 -1
- package/lib/exports/mys/types/api/index.d.ts +1 -1
- package/lib/exports/mys/types/index.d.ts +4 -2
- package/lib/exports/mys/types/index.js +1 -7
- package/lib/exports/mys/types/user/game.d.ts +17 -4
- package/lib/exports/mys/types/user/index.d.ts +4 -2
- package/lib/exports/mys/types/user/index.js +1 -7
- package/lib/exports/mys/types/user/userInfo.d.ts +40 -8
- package/lib/exports/mys/types/user/userInfo.js +1 -7
- package/lib/exports/mys/user/deviceInfo.js +8 -9
- package/lib/exports/mys/user/game.d.ts +16 -3
- package/lib/exports/mys/user/game.js +5 -3
- package/lib/exports/mys/user/index.d.ts +5 -3
- package/lib/exports/mys/user/index.js +20 -19
- package/lib/exports/mys/user/userInfo.d.ts +49 -6
- package/lib/exports/mys/user/userInfo.js +14 -15
- package/lib/exports/render/index.d.ts +3 -0
- package/lib/exports/render/index.js +13 -0
- package/lib/exports/render/render.d.ts +38 -0
- package/lib/exports/render/render.js +9 -0
- package/lib/exports/utils/common.d.ts +33 -1
- package/lib/exports/utils/index.d.ts +1 -2
- package/lib/exports/utils/index.js +1 -5
- package/package.json +11 -2
- package/resources/styles/karin-plugin-mys-core.css +1059 -0
- package/lib/chunk-HVYNK5BN.js +0 -45
- package/lib/chunk-IVZICDGW.js +0 -19
- package/lib/common-Dw5l6Uud.d.ts +0 -33
- package/lib/exports/utils/render.d.ts +0 -21
- package/lib/exports/utils/render.js +0 -7
- package/lib/index-DEEWbZ0V.d.ts +0 -102
- package/resources/template/ShowBindAccount/index.css +0 -1
- package/resources/template/ShowBindAccount/index.html +0 -65
- package/resources/template/ShowBindDevice/index.html +0 -20
- package/resources/template/ShowBindDevice/inex.css +0 -1
- package/resources/template/layout/default.css +0 -1
- package/resources/template/layout/default.html +0 -27
- /package/lib/{chunk-ARLTXJFJ.js → chunk-UC6INRYV.js} +0 -0
package/lib/chunk-HVYNK5BN.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
// src/exports/utils/render.ts
|
|
2
|
-
import karin, { config } from "node-karin";
|
|
3
|
-
import path from "path";
|
|
4
|
-
var RenderTemplate = class {
|
|
5
|
-
#renderCfg;
|
|
6
|
-
constructor(cfg) {
|
|
7
|
-
this.#renderCfg = cfg;
|
|
8
|
-
}
|
|
9
|
-
/** @description 渲染Html路径为:resources/template/${template}/index.html */
|
|
10
|
-
async template(template, rendeDdata, options = {}) {
|
|
11
|
-
const img = await karin.render({
|
|
12
|
-
name: `${this.#renderCfg.name}/${template}`,
|
|
13
|
-
data: {
|
|
14
|
-
...rendeDdata,
|
|
15
|
-
plugin: {
|
|
16
|
-
...options.plugin || {},
|
|
17
|
-
template,
|
|
18
|
-
name: this.#renderCfg.name,
|
|
19
|
-
version: this.#renderCfg.version,
|
|
20
|
-
resources: {
|
|
21
|
-
default: path.join(this.#renderCfg.pluginDir, "resources").replace(/\\/g, "/"),
|
|
22
|
-
download: this.#renderCfg.ResourcesDir.replace(/\\/g, "/")
|
|
23
|
-
},
|
|
24
|
-
defaultLayout: path.join(this.#renderCfg.pluginDir, "resources/template/layout/default.html")
|
|
25
|
-
},
|
|
26
|
-
karin: {
|
|
27
|
-
version: config.pkg().version
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
type: options.type || "jpeg",
|
|
31
|
-
omitBackground: options.type === "png",
|
|
32
|
-
selector: "container",
|
|
33
|
-
file: path.join(this.#renderCfg.pluginDir, `resources/template/${template}/index.html`),
|
|
34
|
-
setViewport: {
|
|
35
|
-
deviceScaleFactor: 2
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
if (!img) return null;
|
|
39
|
-
return "base64://" + img;
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export {
|
|
44
|
-
RenderTemplate
|
|
45
|
-
};
|
package/lib/chunk-IVZICDGW.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// src/exports/mys/types/user/userInfo.ts
|
|
2
|
-
var RegisterGameBase = class {
|
|
3
|
-
game;
|
|
4
|
-
columnKey;
|
|
5
|
-
/** @description 游戏名称 */
|
|
6
|
-
name;
|
|
7
|
-
/** @description 指令前缀匹配 */
|
|
8
|
-
prefix;
|
|
9
|
-
constructor(game, name, prefix) {
|
|
10
|
-
this.game = game;
|
|
11
|
-
this.columnKey = `${game}-uids`;
|
|
12
|
-
this.name = name;
|
|
13
|
-
this.prefix = prefix;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
RegisterGameBase
|
|
19
|
-
};
|
package/lib/common-Dw5l6Uud.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description 生成随机字符串
|
|
3
|
-
* @param length - 字符串长度
|
|
4
|
-
*/
|
|
5
|
-
declare const randomString: (length: number, type: "Lower" | "Upper" | "All") => string;
|
|
6
|
-
/**
|
|
7
|
-
* @description 生成设备guid
|
|
8
|
-
*/
|
|
9
|
-
declare const getDeviceGuid: () => string;
|
|
10
|
-
/**
|
|
11
|
-
* @description 将字符串解析为key-value键值对
|
|
12
|
-
* @param Str - 字符串
|
|
13
|
-
* @param sep - 分隔符
|
|
14
|
-
*/
|
|
15
|
-
declare const StrToObj: <D extends {
|
|
16
|
-
[key: string]: string;
|
|
17
|
-
}>(Str: string, sep: string | RegExp) => Partial<D>;
|
|
18
|
-
/**
|
|
19
|
-
* @description 将key-value键值对解析为字符串
|
|
20
|
-
* @param obj - key-value键值对
|
|
21
|
-
* @param sep - 分隔符
|
|
22
|
-
*/
|
|
23
|
-
declare const ObjToStr: (obj: Record<string, string | number>, sep: string) => string;
|
|
24
|
-
|
|
25
|
-
declare const common_ObjToStr: typeof ObjToStr;
|
|
26
|
-
declare const common_StrToObj: typeof StrToObj;
|
|
27
|
-
declare const common_getDeviceGuid: typeof getDeviceGuid;
|
|
28
|
-
declare const common_randomString: typeof randomString;
|
|
29
|
-
declare namespace common {
|
|
30
|
-
export { common_ObjToStr as ObjToStr, common_StrToObj as StrToObj, common_getDeviceGuid as getDeviceGuid, common_randomString as randomString };
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export { ObjToStr as O, StrToObj as S, common as c, getDeviceGuid as g, randomString as r };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
interface RenderCfg {
|
|
2
|
-
/** @description 插件名称 package.json 的 name */
|
|
3
|
-
name: string;
|
|
4
|
-
/** @description 插件版本 package.json 的 version */
|
|
5
|
-
version: string;
|
|
6
|
-
/** @description 根目录绝对路径 */
|
|
7
|
-
pluginDir: string;
|
|
8
|
-
/** @description 插件资源目录 `@karinjs/karin-plugin-xxx/resources` */
|
|
9
|
-
ResourcesDir: string;
|
|
10
|
-
}
|
|
11
|
-
declare class RenderTemplate<K extends string> {
|
|
12
|
-
#private;
|
|
13
|
-
constructor(cfg: RenderCfg);
|
|
14
|
-
/** @description 渲染Html路径为:resources/template/${template}/index.html */
|
|
15
|
-
template(template: K, rendeDdata: Record<string, any>, options?: {
|
|
16
|
-
type?: 'png' | 'jpeg' | 'webp';
|
|
17
|
-
plugin?: Record<string, any>;
|
|
18
|
-
}): Promise<string | null>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { type RenderCfg, RenderTemplate };
|
package/lib/index-DEEWbZ0V.d.ts
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { a as BaseltuidInfo, U as UidInfo } from './define-BWuQ7acM.js';
|
|
2
|
-
import { BaseUserInfoTableType, UidPermission, BaseGameUIDInfoTableType } from './exports/database/types/tables/mysUserInfo.js';
|
|
3
|
-
import { DatabaseReturn, DatabaseType, DatabaseArray } from './exports/database/types/dbs/base.js';
|
|
4
|
-
import { MysAccountInfoTableType, MysAccountType } from './exports/database/types/tables/mysAccountInfo.js';
|
|
5
|
-
import { MysDeviceInfoTableType } from './exports/database/types/tables/mysDeviceInfo.js';
|
|
6
|
-
|
|
7
|
-
declare class BaseUserInfo<U extends BaseUserInfoTableType> {
|
|
8
|
-
#private;
|
|
9
|
-
userId: BaseUserInfoTableType['userId'];
|
|
10
|
-
UserInfo: DatabaseReturn<BaseUserInfoTableType>[DatabaseType.Db];
|
|
11
|
-
refresh: () => Promise<this>;
|
|
12
|
-
constructor(userId: string);
|
|
13
|
-
get ltuids(): DatabaseArray<string>;
|
|
14
|
-
get stuids(): DatabaseArray<string>;
|
|
15
|
-
get deviceList(): DatabaseArray<string>;
|
|
16
|
-
get LtuidInfoList(): Readonly<MysAccountInfoTableType & {
|
|
17
|
-
save: (data: Partial<MysAccountInfoTableType>) => Promise<MysAccountInfoTableType & /*elided*/ any>;
|
|
18
|
-
destroy: () => Promise<boolean>;
|
|
19
|
-
}>[];
|
|
20
|
-
initMysAccountInfo(UserInfo: DatabaseReturn<BaseUserInfoTableType>[DatabaseType.Db], initAll: boolean): Promise<void>;
|
|
21
|
-
getLtuidInfo(ltuid: string): Readonly<(MysAccountInfoTableType & {
|
|
22
|
-
save: (data: Partial<MysAccountInfoTableType>) => Promise<MysAccountInfoTableType & /*elided*/ any>;
|
|
23
|
-
destroy: () => Promise<boolean>;
|
|
24
|
-
}) | undefined>;
|
|
25
|
-
getDeviceInfoList(): Promise<(MysDeviceInfoTableType & {
|
|
26
|
-
save: (data: Partial<MysDeviceInfoTableType>) => Promise<MysDeviceInfoTableType & /*elided*/ any>;
|
|
27
|
-
destroy: () => Promise<boolean>;
|
|
28
|
-
})[]>;
|
|
29
|
-
saveUserInfo(data: Partial<U>): Promise<void>;
|
|
30
|
-
saveMysAccountInfo(ltuid: string, data: Partial<MysAccountInfoTableType>): Promise<void>;
|
|
31
|
-
}
|
|
32
|
-
declare class UserInfo extends BaseUserInfo<BaseUserInfoTableType> {
|
|
33
|
-
static create(userId: string, initAll?: boolean): Promise<UserInfo>;
|
|
34
|
-
static refreshUid(options: {
|
|
35
|
-
userId: string;
|
|
36
|
-
cookie: string;
|
|
37
|
-
} & BaseltuidInfo, perm: UidPermission): Promise<RefreshUidResultType>;
|
|
38
|
-
static refreshCookie(stokenParams: StokenParamsType, serv: MysAccountType | MysAccountType[]): Promise<{
|
|
39
|
-
Serv: MysAccountType;
|
|
40
|
-
cookieParams: CookieParamsType;
|
|
41
|
-
message: string;
|
|
42
|
-
}>;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
declare class GameUserInfoBase<GameUserInfoTableType extends BaseUserInfoTableType> extends BaseUserInfo<GameUserInfoTableType> {
|
|
46
|
-
get main_uid(): string;
|
|
47
|
-
get bind_uids(): BaseGameUIDInfoTableType<string>[`${string}-uids`];
|
|
48
|
-
get mainUIDInfo(): UidInfo | undefined;
|
|
49
|
-
get uidInfoList(): UidInfo[];
|
|
50
|
-
static create<T extends BaseUserInfoTableType>(userId: string): Promise<GameUserInfoBase<T>>;
|
|
51
|
-
getUIDInfo(uid: string): UidInfo | undefined;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
interface StokenParamsType {
|
|
55
|
-
stuid: string;
|
|
56
|
-
stoken: string;
|
|
57
|
-
mid: string;
|
|
58
|
-
}
|
|
59
|
-
type CookieParamsType = Partial<{
|
|
60
|
-
ltmid_v2: string;
|
|
61
|
-
ltuid: string;
|
|
62
|
-
ltuid_v2: string;
|
|
63
|
-
login_uid: string;
|
|
64
|
-
ltoken: string;
|
|
65
|
-
ltoken_v2: string;
|
|
66
|
-
cookie_token: string;
|
|
67
|
-
cookie_token_v2: string;
|
|
68
|
-
account_id: string;
|
|
69
|
-
account_id_v2: string;
|
|
70
|
-
account_mid_v2: string;
|
|
71
|
-
mi18nLang: string;
|
|
72
|
-
}>;
|
|
73
|
-
interface UserGameRoleItem {
|
|
74
|
-
game_biz: string;
|
|
75
|
-
region: string;
|
|
76
|
-
game_uid: string;
|
|
77
|
-
nickname: string;
|
|
78
|
-
is_chosen: boolean;
|
|
79
|
-
}
|
|
80
|
-
interface RefreshUidResultType {
|
|
81
|
-
Serv: MysAccountType;
|
|
82
|
-
uids: {
|
|
83
|
-
name: string;
|
|
84
|
-
columnKey: `${string}-uids`;
|
|
85
|
-
data: BaseGameUIDInfoTableType<string>[`${string}-uids`];
|
|
86
|
-
}[];
|
|
87
|
-
message: string;
|
|
88
|
-
}
|
|
89
|
-
type gameName = '崩坏:星穹铁道' | '崩坏:因缘精灵' | '原神' | '崩坏3' | '崩坏学园2' | '未定事件簿' | '绝区零' | '星布谷地';
|
|
90
|
-
declare class RegisterGameBase<GameUserInfoTableType extends BaseUserInfoTableType> {
|
|
91
|
-
game: string;
|
|
92
|
-
columnKey: `${string}-uids`;
|
|
93
|
-
/** @description 游戏名称 */
|
|
94
|
-
name: gameName;
|
|
95
|
-
/** @description 指令前缀匹配 */
|
|
96
|
-
prefix: RegExp;
|
|
97
|
-
refresh: (info: UserGameRoleItem[]) => string[];
|
|
98
|
-
UserInfo: typeof GameUserInfoBase<GameUserInfoTableType>;
|
|
99
|
-
constructor(game: string, name: gameName, prefix: RegExp);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export { BaseUserInfo as B, type CookieParamsType as C, GameUserInfoBase as G, type RefreshUidResultType as R, type StokenParamsType as S, type UserGameRoleItem as U, RegisterGameBase as a, UserInfo as b };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#container.container{background-color:#f6f0e6;padding:20px 18px 36px 18px}#container.container .mys-logo-bg{position:absolute;top:-10px;right:0;width:150px;height:72px;background-image:url("../../image/mys-logo.png");background-size:contain;background-repeat:no-repeat;background-position:center;opacity:.5;z-index:5}#container.container .no-accounts{text-align:center;color:#6b6b6b;padding:20px;margin:12px 0;font-weight:600}#container.container .user{display:flex;align-items:center;gap:10px;margin-bottom:12px}#container.container .user .avatar{width:40px;height:40px;border-radius:50%;-o-object-fit:cover;object-fit:cover;flex:0 0 auto}#container.container .user .nickname{color:#222;font-size:14px;min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:break-word}#container.container .bind-account{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid rgba(0,0,0,.06);padding:12px;margin-bottom:12px;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.04)}#container.container .bind-account .title{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px}#container.container .bind-account .title .ltuid{display:flex;color:#3f7dd1;font-size:14px;font-weight:600}#container.container .bind-account .title .perm{display:flex;gap:8px;align-items:center}#container.container .bind-account .title .perm .cookie,#container.container .bind-account .title .perm .stoken{display:inline-block;padding:4px 8px;font-size:12px;border-radius:12px;color:#fff;font-weight:600}#container.container .bind-account .title .perm .cookie{background:linear-gradient(180deg, rgb(52.5469767442, 193.0530232558, 85.6744186047), #2ea94b);box-shadow:0 1px 0 rgba(0,0,0,.06) inset}#container.container .bind-account .title .perm .stoken{background:linear-gradient(180deg, #f6d86a, #f1c40f);color:rgba(0,0,0,.85)}#container.container .bind-account .bind-uid{display:flex;align-items:center;gap:12px;padding:6px 4px;border-radius:6px}#container.container .bind-account .bind-uid .game{border-radius:10px;width:40px;display:flex;align-items:center;justify-content:center}#container.container .bind-account .bind-uid .uids{flex:1 1 auto;display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:8px}#container.container .bind-account .bind-uid .uids .uid-item{display:flex;align-items:center;justify-content:center;padding:6px 8px;border-radius:8px;background:rgba(0,0,0,.06);color:#111;font-weight:600;font-size:13px;position:relative;overflow:visible;word-break:break-all}#container.container .bind-account .bind-uid .uids .uid-item[class~="4"]{color:rgba(0,0,0,.6)}#container.container .bind-account .bind-uid .uids .uid-item[class~="4"]::after{content:"";position:absolute;left:8%;right:8%;top:50%;height:1px;background:#d32f2f;transform:translateY(-50%);border-radius:2px}#container.container .bind-account .bind-uid+.bind-uid{padding-top:8px;position:relative}#container.container .bind-account .bind-uid+.bind-uid::before{content:"";position:absolute;width:90%;left:5%;right:0;top:0;height:1px;background:#3f7dd1;border-radius:1px}/*# sourceMappingURL=index.css.map */
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
<!-- default layout -->
|
|
2
|
-
{{extend plugin.defaultLayout}}
|
|
3
|
-
|
|
4
|
-
<!-- 页面样式资源 -->
|
|
5
|
-
{{block 'css'}}
|
|
6
|
-
<link rel="stylesheet" type="text/css" href="{{plugin.resources.default}}/template/{{plugin.template}}/index.css" />
|
|
7
|
-
|
|
8
|
-
{{/block}}
|
|
9
|
-
|
|
10
|
-
<!-- 页面布局内容 -->
|
|
11
|
-
{{block 'container'}}
|
|
12
|
-
<!-- 右上角装饰 logo -->
|
|
13
|
-
<div class="mys-logo-bg"></div>
|
|
14
|
-
|
|
15
|
-
<div class="user">
|
|
16
|
-
<img class="avatar" src="{{User.avatar}}" />
|
|
17
|
-
<span class="nickname">{{@User.nickname}} ({{User.userId}})</span>
|
|
18
|
-
</div>
|
|
19
|
-
|
|
20
|
-
{{if AccountList && AccountList.length > 0}}
|
|
21
|
-
{{each AccountList account idx}}
|
|
22
|
-
<div class="bind-account">
|
|
23
|
-
|
|
24
|
-
<div class="title">
|
|
25
|
-
<span class="ltuid">MYS UID ({{idx + 1}}):{{account.ltuid}}</span>
|
|
26
|
-
|
|
27
|
-
<div class="perm">
|
|
28
|
-
{{if account.permission >= 1}}
|
|
29
|
-
<span class="cookie">cookie</span>
|
|
30
|
-
{{/if}}
|
|
31
|
-
|
|
32
|
-
{{if account.permission >= 2}}
|
|
33
|
-
<span class="stoken">stoken</span>
|
|
34
|
-
{{/if}}
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
</div>
|
|
38
|
-
|
|
39
|
-
{{each account.bindUids bindUid}}
|
|
40
|
-
<div class="bind-uid">
|
|
41
|
-
<img class="game" src="{{plugin.resources.default}}/image/launcher-icon/{{bindUid.gameName}}.png" />
|
|
42
|
-
|
|
43
|
-
<div class="uids">
|
|
44
|
-
{{each bindUid.uids info}}
|
|
45
|
-
<span class="uid-item {{info.perm}}">{{info.uid}}</span>
|
|
46
|
-
{{/each}}
|
|
47
|
-
</div>
|
|
48
|
-
|
|
49
|
-
</div>
|
|
50
|
-
{{/each}}
|
|
51
|
-
|
|
52
|
-
</div>
|
|
53
|
-
{{/each}}
|
|
54
|
-
{{else}}
|
|
55
|
-
<div class="no-accounts">暂未绑定账号</div>
|
|
56
|
-
{{/if}}
|
|
57
|
-
|
|
58
|
-
{{/block}}
|
|
59
|
-
|
|
60
|
-
<!-- 页面脚本资源 -->
|
|
61
|
-
{{block 'script'}}
|
|
62
|
-
<script>
|
|
63
|
-
|
|
64
|
-
</script>
|
|
65
|
-
{{/block}}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<!-- default layout -->
|
|
2
|
-
{{extend plugin.defaultLayout}}
|
|
3
|
-
|
|
4
|
-
<!-- 页面样式资源 -->
|
|
5
|
-
{{block 'css'}}
|
|
6
|
-
<link rel="stylesheet" type="text/css" href="{{plugin.resources.default}}/template/{{plugin.template}}/index.css" />
|
|
7
|
-
|
|
8
|
-
{{/block}}
|
|
9
|
-
|
|
10
|
-
<!-- 页面布局内容 -->
|
|
11
|
-
{{block 'container'}}
|
|
12
|
-
|
|
13
|
-
{{/block}}
|
|
14
|
-
|
|
15
|
-
<!-- 页面脚本资源 -->
|
|
16
|
-
{{block 'script'}}
|
|
17
|
-
<script>
|
|
18
|
-
|
|
19
|
-
</script>
|
|
20
|
-
{{/block}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*# sourceMappingURL=inex.css.map */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@font-face{font-family:"HYWenHei-55W";src:url("../../fonts//HYWenHei-55W.ttf")}:root{--width: 600px }*{margin:0;padding:0;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}body{background:rgba(0,0,0,0);color:#fff;width:var(--width)}.container{font-family:"HYWenHei-55W";padding-bottom:40px;position:relative;display:flex;flex-direction:column;width:100%}.copyright{left:0;bottom:0;display:flex;width:100%;font-size:16px;position:absolute;align-items:center;justify-content:center;padding:10px 0 10px 0;background-color:#000}.copyright strong{padding-top:5px;font-weight:bold;font-size:10px;color:#f2c06f}/*# sourceMappingURL=default.css.map */
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
|
|
6
|
-
<link rel="stylesheet" type="text/css" href="{{plugin.resources.default}}/template/layout/default.css" />
|
|
7
|
-
|
|
8
|
-
{{block 'css'}}{{/block}}
|
|
9
|
-
|
|
10
|
-
</head>
|
|
11
|
-
|
|
12
|
-
<body>
|
|
13
|
-
<div class="container" id="container">
|
|
14
|
-
|
|
15
|
-
{{block 'container'}}{{/block}}
|
|
16
|
-
|
|
17
|
-
<div class="copyright">
|
|
18
|
-
Created by Karin<strong>v{{karin.version}}</strong> & {{plugin.name}}<strong>v{{plugin.version}}</strong>
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
{{block 'script'}}{{/block}}
|
|
24
|
-
|
|
25
|
-
</body>
|
|
26
|
-
|
|
27
|
-
</html>
|
|
File without changes
|