feat app_init
Some checks failed
Check / lint (18.x, macos-latest) (push) Has been cancelled
Check / lint (18.x, ubuntu-latest) (push) Has been cancelled
Check / lint (18.x, windows-latest) (push) Has been cancelled
Check / lint (20.x, macos-latest) (push) Has been cancelled
Check / lint (20.x, ubuntu-latest) (push) Has been cancelled
Check / lint (20.x, windows-latest) (push) Has been cancelled
Check / lint (22.x, macos-latest) (push) Has been cancelled
Check / lint (22.x, ubuntu-latest) (push) Has been cancelled
Check / lint (22.x, windows-latest) (push) Has been cancelled
Check / typecheck (18.x, macos-latest) (push) Has been cancelled
Check / typecheck (18.x, ubuntu-latest) (push) Has been cancelled
Check / typecheck (18.x, windows-latest) (push) Has been cancelled
Check / typecheck (20.x, macos-latest) (push) Has been cancelled
Check / typecheck (20.x, ubuntu-latest) (push) Has been cancelled
Check / typecheck (20.x, windows-latest) (push) Has been cancelled
Check / typecheck (22.x, macos-latest) (push) Has been cancelled
Check / typecheck (22.x, ubuntu-latest) (push) Has been cancelled
Check / typecheck (22.x, windows-latest) (push) Has been cancelled
Check / build (build app, 18.x, macos-latest) (push) Has been cancelled
Check / build (build app, 18.x, ubuntu-latest) (push) Has been cancelled
Check / build (build app, 18.x, windows-latest) (push) Has been cancelled
Check / build (build app, 20.x, macos-latest) (push) Has been cancelled
Check / build (build app, 20.x, ubuntu-latest) (push) Has been cancelled
Check / build (build app, 20.x, windows-latest) (push) Has been cancelled
Check / build (build app, 22.x, macos-latest) (push) Has been cancelled
Check / build (build app, 22.x, ubuntu-latest) (push) Has been cancelled
Check / build (build app, 22.x, windows-latest) (push) Has been cancelled
Check / build (build wx, 18.x, macos-latest) (push) Has been cancelled
Check / build (build wx, 18.x, ubuntu-latest) (push) Has been cancelled
Check / build (build wx, 18.x, windows-latest) (push) Has been cancelled
Check / build (build wx, 20.x, macos-latest) (push) Has been cancelled
Check / build (build wx, 20.x, ubuntu-latest) (push) Has been cancelled
Check / build (build wx, 20.x, windows-latest) (push) Has been cancelled
Check / build (build wx, 22.x, macos-latest) (push) Has been cancelled
Check / build (build wx, 22.x, ubuntu-latest) (push) Has been cancelled
Check / build (build wx, 22.x, windows-latest) (push) Has been cancelled
Check / build (build, 18.x, macos-latest) (push) Has been cancelled
Check / build (build, 18.x, ubuntu-latest) (push) Has been cancelled
Check / build (build, 18.x, windows-latest) (push) Has been cancelled
Check / build (build, 20.x, macos-latest) (push) Has been cancelled
Check / build (build, 20.x, ubuntu-latest) (push) Has been cancelled
Check / build (build, 20.x, windows-latest) (push) Has been cancelled
Check / build (build, 22.x, macos-latest) (push) Has been cancelled
Check / build (build, 22.x, ubuntu-latest) (push) Has been cancelled
Check / build (build, 22.x, windows-latest) (push) Has been cancelled
Some checks failed
Check / lint (18.x, macos-latest) (push) Has been cancelled
Check / lint (18.x, ubuntu-latest) (push) Has been cancelled
Check / lint (18.x, windows-latest) (push) Has been cancelled
Check / lint (20.x, macos-latest) (push) Has been cancelled
Check / lint (20.x, ubuntu-latest) (push) Has been cancelled
Check / lint (20.x, windows-latest) (push) Has been cancelled
Check / lint (22.x, macos-latest) (push) Has been cancelled
Check / lint (22.x, ubuntu-latest) (push) Has been cancelled
Check / lint (22.x, windows-latest) (push) Has been cancelled
Check / typecheck (18.x, macos-latest) (push) Has been cancelled
Check / typecheck (18.x, ubuntu-latest) (push) Has been cancelled
Check / typecheck (18.x, windows-latest) (push) Has been cancelled
Check / typecheck (20.x, macos-latest) (push) Has been cancelled
Check / typecheck (20.x, ubuntu-latest) (push) Has been cancelled
Check / typecheck (20.x, windows-latest) (push) Has been cancelled
Check / typecheck (22.x, macos-latest) (push) Has been cancelled
Check / typecheck (22.x, ubuntu-latest) (push) Has been cancelled
Check / typecheck (22.x, windows-latest) (push) Has been cancelled
Check / build (build app, 18.x, macos-latest) (push) Has been cancelled
Check / build (build app, 18.x, ubuntu-latest) (push) Has been cancelled
Check / build (build app, 18.x, windows-latest) (push) Has been cancelled
Check / build (build app, 20.x, macos-latest) (push) Has been cancelled
Check / build (build app, 20.x, ubuntu-latest) (push) Has been cancelled
Check / build (build app, 20.x, windows-latest) (push) Has been cancelled
Check / build (build app, 22.x, macos-latest) (push) Has been cancelled
Check / build (build app, 22.x, ubuntu-latest) (push) Has been cancelled
Check / build (build app, 22.x, windows-latest) (push) Has been cancelled
Check / build (build wx, 18.x, macos-latest) (push) Has been cancelled
Check / build (build wx, 18.x, ubuntu-latest) (push) Has been cancelled
Check / build (build wx, 18.x, windows-latest) (push) Has been cancelled
Check / build (build wx, 20.x, macos-latest) (push) Has been cancelled
Check / build (build wx, 20.x, ubuntu-latest) (push) Has been cancelled
Check / build (build wx, 20.x, windows-latest) (push) Has been cancelled
Check / build (build wx, 22.x, macos-latest) (push) Has been cancelled
Check / build (build wx, 22.x, ubuntu-latest) (push) Has been cancelled
Check / build (build wx, 22.x, windows-latest) (push) Has been cancelled
Check / build (build, 18.x, macos-latest) (push) Has been cancelled
Check / build (build, 18.x, ubuntu-latest) (push) Has been cancelled
Check / build (build, 18.x, windows-latest) (push) Has been cancelled
Check / build (build, 20.x, macos-latest) (push) Has been cancelled
Check / build (build, 20.x, ubuntu-latest) (push) Has been cancelled
Check / build (build, 20.x, windows-latest) (push) Has been cancelled
Check / build (build, 22.x, macos-latest) (push) Has been cancelled
Check / build (build, 22.x, ubuntu-latest) (push) Has been cancelled
Check / build (build, 22.x, windows-latest) (push) Has been cancelled
This commit is contained in:
10
.hbuilderx/launch.json
Normal file
10
.hbuilderx/launch.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"configurations": [
|
||||
{
|
||||
"customPlaygroundType": "device",
|
||||
"playground": "standard",
|
||||
"type": "uni-app:app-android"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -7,6 +7,7 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "unh dev",
|
||||
"app": "unh app",
|
||||
"build": "unh build",
|
||||
"about": "unh info",
|
||||
"type-check": "vue-tsc --noEmit",
|
||||
|
||||
@@ -12,10 +12,30 @@ export default defineUniPages({
|
||||
navigationBarTitleText: 'Vitesse-Uni',
|
||||
navigationStyle: 'custom',
|
||||
},
|
||||
// tabBar: {
|
||||
// backgroundColor: "@tabBgColor",
|
||||
// borderStyle: "@tabBorderStyle",
|
||||
// color: "@tabFontColor",
|
||||
// selectedColor: "@tabSelectedColor",
|
||||
// },
|
||||
tabBar: {
|
||||
backgroundColor: '@tabBgColor',
|
||||
borderStyle: '@tabBorderStyle',
|
||||
color: '@tabFontColor',
|
||||
selectedColor: '@tabSelectedColor',
|
||||
list: [
|
||||
{
|
||||
pagePath: 'pages/index',
|
||||
text: '首页',
|
||||
iconPath: 'static/vite.png',
|
||||
selectedIconPath: 'static/vite.png',
|
||||
},
|
||||
{
|
||||
pagePath: 'pages/hi',
|
||||
text: '我的',
|
||||
iconPath: 'static/vite.png',
|
||||
selectedIconPath: 'static/vite.png',
|
||||
},
|
||||
{
|
||||
pagePath: 'pages/hi',
|
||||
text: 'about',
|
||||
iconPath: 'static/vite.png',
|
||||
selectedIconPath: 'static/vite.png',
|
||||
},
|
||||
],
|
||||
},
|
||||
})
|
||||
|
||||
@@ -5,7 +5,7 @@ definePage({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<h1>Home</h1>
|
||||
<h1>首页</h1>
|
||||
</template>
|
||||
|
||||
<style></style>
|
||||
|
||||
2
src/uni-pages.d.ts
vendored
2
src/uni-pages.d.ts
vendored
@@ -13,7 +13,7 @@ interface NavigateToOptions {
|
||||
interface RedirectToOptions extends NavigateToOptions {}
|
||||
|
||||
interface SwitchTabOptions {
|
||||
|
||||
url: "/pages/index" | "/pages/hi" | "/pages/hi"
|
||||
}
|
||||
|
||||
type ReLaunchOptions = NavigateToOptions | SwitchTabOptions;
|
||||
|
||||
@@ -11,7 +11,8 @@ export default defineConfig({
|
||||
// 平台别名
|
||||
alias: {
|
||||
'h5': ['w', 'h'],
|
||||
'mp-weixin': 'wx',
|
||||
// 安卓
|
||||
'app-android': 'app',
|
||||
},
|
||||
},
|
||||
autoGenerate: {
|
||||
|
||||
Reference in New Issue
Block a user