You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
562 B
TypeScript

/*
* app.ts
* Copyright (C) 2024 veypi <i@veypi.com>
* 2024-10-23 15:35
* Distributed under terms of the GPL license.
*/
import cfg from "../cfg";
import v from "./v2dom";
export default v({
class: 'voa-apps',
children: [
v({ class: 'voa-apps-header', children: [v('voa-apps-title', '我的应用')] }),
v('voa-apps-body', [
[cfg.myapps,
(data) => v('voa-app-box', '', (d) => d.innerHTML = data.name)],
v('div', '222'),
[cfg.myapps,
(data) => v('voa-app-box', '', (d) => d.innerHTML = data.name)],
])
]
})