This commit is contained in:
2274240467@qq.com 2026-01-06 17:25:23 +08:00
parent d131ab81f9
commit c73d5ad487
9 changed files with 437 additions and 195 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -33,11 +33,11 @@ RectTransform:
m_Father: {fileID: 1429374554495130297} m_Father: {fileID: 1429374554495130297}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -147.71805, y: 36.3} m_AnchoredPosition: {x: -28, y: 6}
m_SizeDelta: {x: 48.841, y: 17.6317} m_SizeDelta: {x: 48.841003, y: 17.631699}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 1, y: -0.00000052526593}
--- !u!222 &9101088370811455390 --- !u!222 &9101088370811455390
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -75,8 +75,8 @@ MonoBehaviour:
m_fontMaterials: [] m_fontMaterials: []
m_fontColor32: m_fontColor32:
serializedVersion: 2 serializedVersion: 2
rgba: 4287133815 rgba: 4293493855
m_fontColor: {r: 0.4666667, g: 0.47058827, b: 0.53333336, a: 1} m_fontColor: {r: 0.37254903, g: 0.5176471, b: 0.9137255, a: 1}
m_enableVertexGradient: 0 m_enableVertexGradient: 0
m_colorMode: 3 m_colorMode: 3
m_fontColorGradient: m_fontColorGradient:
@ -100,7 +100,7 @@ MonoBehaviour:
m_fontSizeMin: 18 m_fontSizeMin: 18
m_fontSizeMax: 72 m_fontSizeMax: 72
m_fontStyle: 0 m_fontStyle: 0
m_HorizontalAlignment: 1 m_HorizontalAlignment: 2
m_VerticalAlignment: 512 m_VerticalAlignment: 512
m_textAlignment: 65535 m_textAlignment: 65535
m_characterSpacing: 0 m_characterSpacing: 0
@ -170,8 +170,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -75.04959, y: 36.3} m_AnchoredPosition: {x: 78.001, y: 46.816}
m_SizeDelta: {x: 96.4957, y: 17.6317} m_SizeDelta: {x: 27.998, y: 17.6317}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7597361711575796663 --- !u!222 &7597361711575796663
CanvasRenderer: CanvasRenderer:
@ -201,7 +201,7 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_text: "\u65F6\u95F4" m_text: "\u63D0\u95EE"
m_isRightToLeft: 0 m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 3cee325aec3da104caa0494ae88f026d, type: 2} m_fontAsset: {fileID: 11400000, guid: 3cee325aec3da104caa0494ae88f026d, type: 2}
m_sharedMaterial: {fileID: 1716905042458031195, guid: 3cee325aec3da104caa0494ae88f026d, type: 2} m_sharedMaterial: {fileID: 1716905042458031195, guid: 3cee325aec3da104caa0494ae88f026d, type: 2}
@ -306,11 +306,11 @@ RectTransform:
m_Father: {fileID: 3931879037669984331} m_Father: {fileID: 3931879037669984331}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0.000061035156, y: 0} m_AnchoredPosition: {x: 92, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 184, y: 64}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0}
--- !u!222 &879478196344180834 --- !u!222 &879478196344180834
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -384,8 +384,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0.10244, y: -12.1} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 344.4821, y: 52.178} m_SizeDelta: {x: 140, y: 45.6718}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5155786823934900532 --- !u!222 &5155786823934900532
CanvasRenderer: CanvasRenderer:
@ -442,14 +442,14 @@ MonoBehaviour:
m_faceColor: m_faceColor:
serializedVersion: 2 serializedVersion: 2
rgba: 4294967295 rgba: 4294967295
m_fontSize: 12 m_fontSize: 14
m_fontSizeBase: 12 m_fontSizeBase: 14
m_fontWeight: 400 m_fontWeight: 400
m_enableAutoSizing: 0 m_enableAutoSizing: 0
m_fontSizeMin: 18 m_fontSizeMin: 18
m_fontSizeMax: 72 m_fontSizeMax: 72
m_fontStyle: 0 m_fontStyle: 0
m_HorizontalAlignment: 1 m_HorizontalAlignment: 4
m_VerticalAlignment: 256 m_VerticalAlignment: 256
m_textAlignment: 65535 m_textAlignment: 65535
m_characterSpacing: 0 m_characterSpacing: 0
@ -519,8 +519,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 8.481323}
m_SizeDelta: {x: 385, y: 109.4664} m_SizeDelta: {x: 368, y: 88}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &-1331334317639038449 --- !u!114 &-1331334317639038449
MonoBehaviour: MonoBehaviour:

View File

@ -29,15 +29,16 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children:
- {fileID: 8950990830241332068}
m_Father: {fileID: 2702474601982203438} m_Father: {fileID: 2702474601982203438}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 83.737, y: -6} m_AnchoredPosition: {x: 48.451, y: 6}
m_SizeDelta: {x: 30.8086, y: 17} m_SizeDelta: {x: 30.8086, y: 17}
m_Pivot: {x: 0, y: 1} m_Pivot: {x: 0, y: 0}
--- !u!222 &1466890294928653930 --- !u!222 &1466890294928653930
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -170,9 +171,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 13, y: -6} m_AnchoredPosition: {x: 0, y: 6}
m_SizeDelta: {x: 70.7367, y: 17} m_SizeDelta: {x: 48.4514, y: 17}
m_Pivot: {x: 0, y: 1} m_Pivot: {x: 0, y: 0}
--- !u!222 &5195668975675493129 --- !u!222 &5195668975675493129
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -210,8 +211,8 @@ MonoBehaviour:
m_fontMaterials: [] m_fontMaterials: []
m_fontColor32: m_fontColor32:
serializedVersion: 2 serializedVersion: 2
rgba: 4287133815 rgba: 4293493855
m_fontColor: {r: 0.4666667, g: 0.47058827, b: 0.53333336, a: 1} m_fontColor: {r: 0.37254903, g: 0.5176471, b: 0.9137255, a: 1}
m_enableVertexGradient: 0 m_enableVertexGradient: 0
m_colorMode: 3 m_colorMode: 3
m_fontColorGradient: m_fontColorGradient:
@ -301,12 +302,12 @@ RectTransform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 2702474601982203438} m_Father: {fileID: 2702474601982203438}
m_RootOrder: 3 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 6.5007, y: -17.422792} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 318.43, y: 45.5044} m_SizeDelta: {x: 344, y: 48}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8203937893547734435 --- !u!222 &8203937893547734435
CanvasRenderer: CanvasRenderer:
@ -363,8 +364,8 @@ MonoBehaviour:
m_faceColor: m_faceColor:
serializedVersion: 2 serializedVersion: 2
rgba: 4294967295 rgba: 4294967295
m_fontSize: 12 m_fontSize: 14
m_fontSizeBase: 12 m_fontSizeBase: 14
m_fontWeight: 400 m_fontWeight: 400
m_enableAutoSizing: 0 m_enableAutoSizing: 0
m_fontSizeMin: 18 m_fontSizeMin: 18
@ -441,7 +442,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 331.427, y: 80.3506} m_SizeDelta: {x: 368, y: 88}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &3675123598479809495 --- !u!114 &3675123598479809495
MonoBehaviour: MonoBehaviour:
@ -490,16 +491,15 @@ RectTransform:
m_Children: m_Children:
- {fileID: 1306318274070269556} - {fileID: 1306318274070269556}
- {fileID: 4300887822756470488} - {fileID: 4300887822756470488}
- {fileID: 8950990830241332068}
- {fileID: 2907168795677167742} - {fileID: 2907168795677167742}
m_Father: {fileID: 56261905271997660} m_Father: {fileID: 56261905271997660}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 368, y: 64}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0}
--- !u!222 &4207415392874519797 --- !u!222 &4207415392874519797
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -528,7 +528,7 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 21300000, guid: 2644fb33b34ac73459ef2c60bc01ead2, type: 3} m_Sprite: {fileID: 21300000, guid: 7ad972bef31d1d744948f132e28d5801, type: 3}
m_Type: 0 m_Type: 0
m_PreserveAspect: 0 m_PreserveAspect: 0
m_FillCenter: 1 m_FillCenter: 1
@ -563,19 +563,19 @@ RectTransform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9149031357883974124} m_GameObject: {fileID: 9149031357883974124}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 2702474601982203438} m_Father: {fileID: 4300887822756470488}
m_RootOrder: 2 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 1.5, y: 25.675} m_AnchoredPosition: {x: 4, y: 0}
m_SizeDelta: {x: 90.536, y: 17} m_SizeDelta: {x: 44.0187, y: 17}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0, y: 0.5}
--- !u!222 &6861364847920088864 --- !u!222 &6861364847920088864
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -613,8 +613,8 @@ MonoBehaviour:
m_fontMaterials: [] m_fontMaterials: []
m_fontColor32: m_fontColor32:
serializedVersion: 2 serializedVersion: 2
rgba: 4287133815 rgba: 4293493855
m_fontColor: {r: 0.4666667, g: 0.47058827, b: 0.53333336, a: 1} m_fontColor: {r: 0.37254903, g: 0.5176471, b: 0.9137255, a: 1}
m_enableVertexGradient: 0 m_enableVertexGradient: 0
m_colorMode: 3 m_colorMode: 3
m_fontColorGradient: m_fontColorGradient:

View File

@ -18,7 +18,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &4613503620348471122 --- !u!224 &4613503620348471122
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -183,7 +183,7 @@ MonoBehaviour:
m_Top: 0 m_Top: 0
m_Bottom: 0 m_Bottom: 0
m_ChildAlignment: 2 m_ChildAlignment: 2
m_Spacing: 5 m_Spacing: 8
m_ChildForceExpandWidth: 1 m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1 m_ChildForceExpandHeight: 1
m_ChildControlWidth: 0 m_ChildControlWidth: 0
@ -276,7 +276,7 @@ RectTransform:
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}

View File

@ -20,10 +20,10 @@ public class UI_Comment : BaseItem
CommentText = GetControl<TextMeshProUGUI>("ÄÚÈÝ"); CommentText = GetControl<TextMeshProUGUI>("ÄÚÈÝ");
} }
public void Init(string UserNameDate,string TimeDate,string CommentDate) public void Init(string UserNameDate,string CommentDate)
{ {
UserText.text = UserNameDate; UserText.text = UserNameDate;
timetext.text = TimeDate; //timetext.text = TimeDate;
CommentText.text = CommentDate; CommentText.text = CommentDate;
} }
public override void ShowMe() public override void ShowMe()

View File

@ -112,7 +112,6 @@ public class UI_TeacherStudentPanel : BasePanel
//timetext.text = now.ToString("yyyy-MM-dd"); //timetext.text = now.ToString("yyyy-MM-dd");
var Content = Instantiate(CommentObj, ContentTrans); var Content = Instantiate(CommentObj, ContentTrans);
Content.Init(LoginManager.Instance.loginRespons.data.login_name, Content.Init(LoginManager.Instance.loginRespons.data.login_name,
now.ToString("yyyy-MM-dd"),
AskInputField.text); AskInputField.text);
AskInputField.text = ""; AskInputField.text = "";
} }

File diff suppressed because one or more lines are too long