add banbanmini
This commit is contained in:
55
banban-mini/src/app.config.ts
Normal file
55
banban-mini/src/app.config.ts
Normal file
@@ -0,0 +1,55 @@
|
||||
export default defineAppConfig({
|
||||
pages: [
|
||||
"pages/login/index",
|
||||
"pages/bind/index",
|
||||
"pages/device/index",
|
||||
"pages/chat/index",
|
||||
"pages/chat/detail/index",
|
||||
"pages/location/index",
|
||||
"pages/sleep/index",
|
||||
],
|
||||
window: {
|
||||
backgroundTextStyle: "light",
|
||||
navigationBarBackgroundColor: "#F5F7FA",
|
||||
navigationBarTitleText: "伴伴",
|
||||
navigationBarTextStyle: "black",
|
||||
},
|
||||
tabBar: {
|
||||
color: "#999999",
|
||||
selectedColor: "#FF8C42",
|
||||
backgroundColor: "#FFFFFF",
|
||||
borderStyle: "white",
|
||||
list: [
|
||||
{
|
||||
pagePath: "pages/device/index",
|
||||
text: "首页",
|
||||
iconPath: "assets/tab-icons/device-icon.png",
|
||||
selectedIconPath: "assets/tab-icons/device-selected.png",
|
||||
},
|
||||
{
|
||||
pagePath: "pages/chat/index",
|
||||
text: "玩伴",
|
||||
iconPath: "assets/tab-icons/chat-icon.png",
|
||||
selectedIconPath: "assets/tab-icons/chat-selected.png",
|
||||
},
|
||||
{
|
||||
pagePath: "pages/location/index",
|
||||
text: "定位",
|
||||
iconPath: "assets/tab-icons/location-icon.png",
|
||||
selectedIconPath: "assets/tab-icons/location-selected.png",
|
||||
},
|
||||
{
|
||||
pagePath: "pages/sleep/index",
|
||||
text: "管理",
|
||||
iconPath: "assets/tab-icons/manage-icon.png",
|
||||
selectedIconPath: "assets/tab-icons/manage-selected.png",
|
||||
},
|
||||
],
|
||||
},
|
||||
permission: {
|
||||
"scope.userLocation": {
|
||||
desc: "用于定位设备位置",
|
||||
},
|
||||
},
|
||||
requiredPrivateInfos: ["getLocation"],
|
||||
});
|
||||
Reference in New Issue
Block a user