This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-14 03:35:48 +08:00
parent c519fae9a4
commit 5a43eb197b
22 changed files with 7585 additions and 1123 deletions

View File

@@ -13,6 +13,9 @@ export enum GUI{
Loading = "Loading", //加载页面
Tips = "Tips", //提示
/** 主页页面 */
MainChat = "MainChat", //主页聊天页面
/** 新手引导 */
NoviceNamingView = "NoviceNamingView", //新手引导页面 - 取名
NoviceSelectPetView = "NoviceSelectPetView", //新手引导页面 - 选择宠物
@@ -50,6 +53,20 @@ const UISystemConfig:{ [key: string]: JNLayerInfo; } = {
},
}
//主页UI
const UIMainConfig:{ [key: string]: JNLayerInfo; } = {
[GUI.MainChat]:{
layer:GLayer.Tips,
uri: "prefab/ui/主页/聊天/MainChatView",
anims:{
front:JNLayerAnim.Enlarge,
back:JNLayerAnim.Smaller,
frontInfo:{key:"position",start:v3(0,-1280,0),end:v3(0,0,0)},
backInfo:{key:"position",start:v3(0,0,0),end:v3(0,-1280,0)}
}
},
}
//新手引导页面
const UINoviceConfig:{ [key: string]: JNLayerInfo; } = {
@@ -95,5 +112,6 @@ export const UIConfig:{ [key: string]: JNLayerInfo; } = {
},
...UISystemConfig, //系统页面
...UINoviceConfig, //新手引导页面
...UIMainConfig, //主页面
}