add tab bar

This commit is contained in:
2024-03-03 19:25:29 +08:00
parent 14b302bd1a
commit d15067f2fe
12 changed files with 89 additions and 42 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
export default definePageConfig({
navigationBarTitleText: '首页'
navigationBarTitleText: '首页',
usingComponents: {}
})
+1 -3
View File
@@ -14,9 +14,7 @@ class Index extends Component {
render(): ReactNode {
return (
<View>
<Text>
{this.state.msg}
</Text>
<Text>{this.state.msg}</Text>
</View>
)
}
+3
View File
@@ -0,0 +1,3 @@
export default definePageConfig({
usingComponents: {},
})
View File
+12
View File
@@ -0,0 +1,12 @@
import { View, Text } from "@tarojs/components";
import { Component, ReactNode } from "react";
export default class RepairPage extends Component {
render(): ReactNode {
return (
<View>
<Text>Repair Page</Text>
</View>
)
}
}
+3
View File
@@ -0,0 +1,3 @@
export default definePageConfig({
usingComponents: {},
})
View File
+12
View File
@@ -0,0 +1,12 @@
import { View, Text } from "@tarojs/components";
import { Component, ReactNode } from "react";
export default class UserPage extends Component {
render(): ReactNode {
return (
<View>
<Text>User Page</Text>
</View>
)
}
}