This commit is contained in:
MuHua-123
2025-06-23 14:38:10 +08:00
parent 39d9db9c6d
commit 0cc63a7314
51 changed files with 2032 additions and 68 deletions
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5eb130aac67ad5a4da7a6d177d1762d9
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,3 @@
.login-hide {
display: none;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: acd18d1cf96e4194abf3c77f996078a1
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,9 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<ui:Template name="LoginPanel" src="project://database/Assets/UI%20Toolkit/GamePage/LoginPage/LoginPanel/LoginPanel.uxml?fileID=9197481963319205126&amp;guid=6d0b079a8a999dd49a8eaec5b215a710&amp;type=3#LoginPanel" />
<ui:Template name="RegisterPanel" src="project://database/Assets/UI%20Toolkit/GamePage/LoginPage/LoginPanel/RegisterPanel.uxml?fileID=9197481963319205126&amp;guid=c475ae0796d380246a264c33a2eb3165&amp;type=3#RegisterPanel" />
<Style src="project://database/Assets/UI%20Toolkit/GamePage/LoginPage/LoginPage.uss?fileID=7433441132597879392&amp;guid=acd18d1cf96e4194abf3c77f996078a1&amp;type=3#LoginPage" />
<ui:VisualElement style="flex-grow: 1; align-items: center; justify-content: space-around;">
<ui:Instance template="LoginPanel" name="LoginPanel" />
<ui:Instance template="RegisterPanel" name="RegisterPanel" class="login-hide" />
</ui:VisualElement>
</ui:UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 7ebceaef0e3991040bf96648c85589a4
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 46dae82faa746ca4198d068fc5ffcc8f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,14 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/GamePage/LoginPage/LoginPanel/LoginPanel.uss?fileID=7433441132597879392&amp;guid=ddb0abd770a426844bf6a58588dc8249&amp;type=3#LoginPanel" />
<Style src="project://database/Assets/UI%20Toolkit/GamePage/LoginPage/LoginPanel/InputField.uss?fileID=7433441132597879392&amp;guid=23f5c618653671e4b9c74f1aa85a6adb&amp;type=3#InputField" />
<ui:VisualElement class="login-bg">
<ui:Label tabindex="-1" text="修改密码" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="login-title" />
<MuHua.UITextField label="账号" name="InputField1" />
<MuHua.UITextField label="旧密码" name="InputField2" password="true" />
<MuHua.UITextField label="新密码" name="InputField3" password="true" />
<ui:VisualElement class="login-button-group">
<ui:Button text="确认" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button1" class="login-button" />
<ui:Button text="取消" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button2" class="login-button" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: eff0067831029174b96e7174f917ba9f
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -0,0 +1,56 @@
.input-field {
flex-direction: column;
background-color: rgba(255, 255, 255, 0);
width: 100%;
height: 60px;
flex-grow: 0;
flex-shrink: 1;
}
.input-field-label {
flex-grow: 0;
flex-basis: auto;
flex-shrink: 0;
min-width: 150px;
-unity-text-align: middle-left;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 5px;
width: auto;
background-color: rgba(0, 0, 0, 0);
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
height: 30px;
font-size: 18px;
}
.input-field-box {
background-color: rgb(255, 255, 255);
width: auto;
flex-grow: 1;
flex-shrink: 1;
flex-basis: 0;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
.input-field-text {
-unity-text-align: middle-left;
height: 100%;
width: 100%;
padding-right: 0;
padding-left: 7px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: visible;
}
.input-field-text-d {
-unity-font-style: italic;
color: rgba(27, 27, 27, 0.6);
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 23f5c618653671e4b9c74f1aa85a6adb
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,65 @@
.login-bg {
width: 400px;
height: auto;
align-items: stretch;
justify-content: flex-start;
background-color: rgb(204, 204, 204);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
padding-top: 25px;
padding-right: 25px;
padding-bottom: 25px;
padding-left: 25px;
}
.login-title {
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
-unity-text-align: middle-center;
font-size: 24px;
}
.login-button {
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
border-left-color: rgba(0, 0, 0, 0);
border-right-color: rgba(0, 0, 0, 0);
border-top-color: rgba(0, 0, 0, 0);
border-bottom-color: rgba(0, 0, 0, 0);
width: 100px;
height: 40px;
font-size: 18px;
}
.login-button-group {
flex-grow: 0;
flex-direction: row;
align-items: center;
justify-content: space-around;
padding-top: 30px;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ddb0abd770a426844bf6a58588dc8249
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,13 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/GamePage/LoginPage/LoginPanel/LoginPanel.uss?fileID=7433441132597879392&amp;guid=ddb0abd770a426844bf6a58588dc8249&amp;type=3#LoginPanel" />
<Style src="project://database/Assets/UI%20Toolkit/GamePage/LoginPage/LoginPanel/InputField.uss?fileID=7433441132597879392&amp;guid=23f5c618653671e4b9c74f1aa85a6adb&amp;type=3#InputField" />
<ui:VisualElement class="login-bg">
<ui:Label tabindex="-1" text="登录" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="login-title" />
<MuHua.UITextField label="账号" name="InputField1" />
<MuHua.UITextField label="密码" password="true" name="InputField2" />
<ui:VisualElement class="login-button-group">
<ui:Button text="注册" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button1" class="login-button" />
<ui:Button text="登录" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button2" class="login-button" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 6d0b079a8a999dd49a8eaec5b215a710
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -0,0 +1,13 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/GamePage/LoginPage/LoginPanel/LoginPanel.uss?fileID=7433441132597879392&amp;guid=ddb0abd770a426844bf6a58588dc8249&amp;type=3#LoginPanel" />
<Style src="project://database/Assets/UI%20Toolkit/GamePage/LoginPage/LoginPanel/InputField.uss?fileID=7433441132597879392&amp;guid=23f5c618653671e4b9c74f1aa85a6adb&amp;type=3#InputField" />
<ui:VisualElement class="login-bg">
<ui:Label tabindex="-1" text="注册账号" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="login-title" />
<MuHua.UITextField label="账号" name="InputField1" />
<MuHua.UITextField label="密码" name="InputField2" password="true" />
<ui:VisualElement class="login-button-group">
<ui:Button text="返回" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button1" class="login-button" />
<ui:Button text="注册" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button2" class="login-button" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: c475ae0796d380246a264c33a2eb3165
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2a2b3bc25a669cd4595230e3c71deaf9
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: