123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563 |
- [gd_scene load_steps=25 format=3 uid="uid://i6g3y6btijjm"]
- [ext_resource type="Script" path="res://scripts/launch/launch.gd" id="1_4mmer"]
- [ext_resource type="Texture2D" uid="uid://d05rp7emahb2e" path="res://assets/launch/background.jpeg" id="1_5xji2"]
- [ext_resource type="Texture2D" uid="uid://cuej03yg4jipe" path="res://assets/launch/logo.png" id="2_0aob3"]
- [ext_resource type="Texture2D" uid="uid://fsim526ipc0l" path="res://assets/launch/login/login_main.png" id="3_5llxh"]
- [ext_resource type="Texture2D" uid="uid://b472vuaqbt1hm" path="res://assets/launch/login/submit_button_0.png" id="4_h5ojd"]
- [ext_resource type="Texture2D" uid="uid://id8ukp52jn5u" path="res://assets/launch/login/submit_button_1.png" id="5_jt32w"]
- [ext_resource type="Texture2D" uid="uid://cdtol765yndq1" path="res://assets/launch/login/submit_button_2.png" id="6_0lxvy"]
- [ext_resource type="Texture2D" uid="uid://cleovhwlcag2s" path="res://assets/launch/login/register_button_0.png" id="7_tqnk7"]
- [ext_resource type="Texture2D" uid="uid://ddfh33qyp8cnv" path="res://assets/launch/login/register_button_1.png" id="8_gwvfn"]
- [ext_resource type="Texture2D" uid="uid://d3akgj26g15lg" path="res://assets/launch/login/register_button_2.png" id="9_4hsjm"]
- [ext_resource type="Texture2D" uid="uid://cnleexs8kkua8" path="res://assets/launch/login/change_password_button_0.png" id="10_pmgwe"]
- [ext_resource type="Texture2D" uid="uid://c2yxw4e4eqhtf" path="res://assets/launch/login/change_password_button_1.png" id="11_qrjou"]
- [ext_resource type="Texture2D" uid="uid://bc32c8pqrsy0b" path="res://assets/launch/login/change_password_button_2.png" id="12_2fiqv"]
- [ext_resource type="Texture2D" uid="uid://7ckxiv7awadm" path="res://assets/launch/login/register.png" id="13_ruxkj"]
- [ext_resource type="FontFile" uid="uid://b8ippc7k3ew6o" path="res://assets/common/font/msyh.ttc" id="13_scx2i"]
- [ext_resource type="Texture2D" uid="uid://bijbk6c76ynei" path="res://assets/launch/login/change_password.png" id="14_d8t0o"]
- [ext_resource type="Texture2D" uid="uid://dmkyb57b0idt6" path="res://assets/launch/login/confirm_button_0.png" id="14_f5mlh"]
- [ext_resource type="Texture2D" uid="uid://b2fk8xp87k1g" path="res://assets/launch/login/confirm_button_1.png" id="15_783oq"]
- [ext_resource type="Texture2D" uid="uid://culi1hqcmv5eo" path="res://assets/launch/login/confirm_button_2.png" id="16_tgcix"]
- [ext_resource type="Texture2D" uid="uid://bff7ga8f5lquw" path="res://assets/launch/login/cancel_button_0.png" id="17_1wujc"]
- [ext_resource type="Texture2D" uid="uid://06rsvnelh6ug" path="res://assets/launch/login/cancel_button_1.png" id="18_odk15"]
- [ext_resource type="Texture2D" uid="uid://cbdi6fpcw3q66" path="res://assets/launch/login/cancel_button_2.png" id="19_m2fqs"]
- [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_m6v8k"]
- [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_twyo5"]
- [node name="Launch" type="Control"]
- layout_mode = 3
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- script = ExtResource("1_4mmer")
- [node name="Background" type="TextureRect" parent="."]
- layout_mode = 1
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- texture = ExtResource("1_5xji2")
- expand_mode = 2
- stretch_mode = 6
- [node name="Logo" type="TextureRect" parent="."]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -200.5
- offset_top = -264.5
- offset_right = 200.5
- offset_bottom = 172.5
- grow_horizontal = 2
- grow_vertical = 2
- texture = ExtResource("2_0aob3")
- [node name="Login" type="Control" parent="."]
- layout_mode = 1
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- [node name="Main" type="Control" parent="Login"]
- layout_mode = 1
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- [node name="Background" type="TextureRect" parent="Login/Main"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -281.0
- offset_top = 64.5
- offset_right = 281.0
- offset_bottom = 319.5
- grow_horizontal = 2
- grow_vertical = 2
- texture = ExtResource("3_5llxh")
- [node name="MainSubmitButton" type="TextureButton" parent="Login/Main/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -93.0
- offset_top = 13.0
- offset_right = 109.0
- offset_bottom = 59.0
- grow_horizontal = 2
- grow_vertical = 2
- texture_normal = ExtResource("4_h5ojd")
- texture_pressed = ExtResource("5_jt32w")
- texture_hover = ExtResource("6_0lxvy")
- [node name="MainRegisterButton" type="TextureButton" parent="Login/Main/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -170.0
- offset_top = 81.0
- offset_right = -48.0
- offset_bottom = 104.0
- grow_horizontal = 2
- grow_vertical = 2
- texture_normal = ExtResource("7_tqnk7")
- texture_pressed = ExtResource("8_gwvfn")
- texture_hover = ExtResource("9_4hsjm")
- [node name="MainChangePasswordButton" type="TextureButton" parent="Login/Main/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = 45.0
- offset_top = 79.0
- offset_right = 167.0
- offset_bottom = 104.0
- grow_horizontal = 2
- grow_vertical = 2
- texture_normal = ExtResource("10_pmgwe")
- texture_pressed = ExtResource("11_qrjou")
- texture_hover = ExtResource("12_2fiqv")
- [node name="MainAccountInput" type="LineEdit" parent="Login/Main/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -84.0
- offset_top = -79.5
- offset_right = 102.0
- offset_bottom = -52.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请输入登录邮箱"
- flat = true
- [node name="MainPasswordInput" type="LineEdit" parent="Login/Main/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -83.0
- offset_top = -30.5
- offset_right = 103.0
- offset_bottom = -3.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_twyo5")
- placeholder_text = "请输入登录密码"
- flat = true
- secret = true
- secret_character = "*"
- [node name="Register" type="Control" parent="Login"]
- layout_mode = 1
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- [node name="Background" type="TextureRect" parent="Login/Register"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -281.5
- offset_top = -191.5
- offset_right = 281.5
- offset_bottom = 191.5
- grow_horizontal = 2
- grow_vertical = 2
- texture = ExtResource("13_ruxkj")
- [node name="RegisterConfirmButton" type="TextureButton" parent="Login/Register/Background"]
- layout_mode = 1
- anchors_preset = 7
- anchor_left = 0.5
- anchor_top = 1.0
- anchor_right = 0.5
- anchor_bottom = 1.0
- offset_left = 20.0
- offset_top = -52.0
- offset_right = 104.0
- offset_bottom = -23.0
- grow_horizontal = 2
- grow_vertical = 0
- texture_normal = ExtResource("14_f5mlh")
- texture_pressed = ExtResource("15_783oq")
- texture_hover = ExtResource("16_tgcix")
- [node name="RegisterCancelButton" type="TextureButton" parent="Login/Register/Background"]
- layout_mode = 1
- anchors_preset = 7
- anchor_left = 0.5
- anchor_top = 1.0
- anchor_right = 0.5
- anchor_bottom = 1.0
- offset_left = 121.0
- offset_top = -52.0
- offset_right = 205.0
- offset_bottom = -23.0
- grow_horizontal = 2
- grow_vertical = 0
- texture_normal = ExtResource("17_1wujc")
- texture_pressed = ExtResource("18_odk15")
- texture_hover = ExtResource("19_m2fqs")
- [node name="RegisterAccountInput" type="LineEdit" parent="Login/Register/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -170.5
- offset_top = -131.5
- offset_right = 10.5
- offset_bottom = -106.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请输入登录邮箱"
- flat = true
- [node name="RegisterPasswordInput" type="LineEdit" parent="Login/Register/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -170.5
- offset_top = -101.5
- offset_right = 10.5
- offset_bottom = -76.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请输入登录密码"
- flat = true
- [node name="RegisterConfirmPasswordInput" type="LineEdit" parent="Login/Register/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -170.5
- offset_top = -71.5
- offset_right = 10.5
- offset_bottom = -46.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请输入登录密码"
- flat = true
- [node name="RegisterNameInput" type="LineEdit" parent="Login/Register/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -171.5
- offset_top = -28.5
- offset_right = 9.5
- offset_bottom = -3.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请输入真实姓名"
- flat = true
- [node name="RegisterNumberInput" type="LineEdit" parent="Login/Register/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -171.5
- offset_top = 1.5
- offset_right = 9.5
- offset_bottom = 26.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请输入身份证号码"
- flat = true
- [node name="RegisterQuestionAInput" type="LineEdit" parent="Login/Register/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -171.5
- offset_top = 53.5
- offset_right = 9.5
- offset_bottom = 78.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请设置密保问题"
- flat = true
- [node name="RegisterAnswerAInput" type="LineEdit" parent="Login/Register/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -171.5
- offset_top = 83.5
- offset_right = 9.5
- offset_bottom = 108.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请设置密保问题答案"
- flat = true
- [node name="RegisterQuestionBInput" type="LineEdit" parent="Login/Register/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -171.5
- offset_top = 113.5
- offset_right = 9.5
- offset_bottom = 138.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请设置密保问题"
- flat = true
- [node name="RegisterAnswerBInput" type="LineEdit" parent="Login/Register/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -171.5
- offset_top = 143.5
- offset_right = 9.5
- offset_bottom = 168.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请设置密保问题答案"
- flat = true
- [node name="ChangePassword" type="Control" parent="Login"]
- visible = false
- layout_mode = 1
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- [node name="Background" type="TextureRect" parent="Login/ChangePassword"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -185.5
- offset_top = -124.5
- offset_right = 185.5
- offset_bottom = 124.5
- grow_horizontal = 2
- grow_vertical = 2
- texture = ExtResource("14_d8t0o")
- [node name="ChangePasswordConfirmButton" type="TextureButton" parent="Login/ChangePassword/Background"]
- layout_mode = 1
- anchors_preset = 7
- anchor_left = 0.5
- anchor_top = 1.0
- anchor_right = 0.5
- anchor_bottom = 1.0
- offset_left = -47.0
- offset_top = -62.0
- offset_right = 37.0
- offset_bottom = -33.0
- grow_horizontal = 2
- grow_vertical = 0
- texture_normal = ExtResource("14_f5mlh")
- texture_pressed = ExtResource("15_783oq")
- texture_hover = ExtResource("16_tgcix")
- [node name="ChangePasswordCancelButton" type="TextureButton" parent="Login/ChangePassword/Background"]
- layout_mode = 1
- anchors_preset = 7
- anchor_left = 0.5
- anchor_top = 1.0
- anchor_right = 0.5
- anchor_bottom = 1.0
- offset_left = 54.0
- offset_top = -62.0
- offset_right = 138.0
- offset_bottom = -33.0
- grow_horizontal = 2
- grow_vertical = 0
- texture_normal = ExtResource("17_1wujc")
- texture_pressed = ExtResource("18_odk15")
- texture_hover = ExtResource("19_m2fqs")
- [node name="ChangePasswordAccountInput" type="LineEdit" parent="Login/ChangePassword/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -45.5
- offset_top = -64.5
- offset_right = 135.5
- offset_bottom = -39.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请输入账户邮箱"
- flat = true
- [node name="ChangePasswordOldInput" type="LineEdit" parent="Login/ChangePassword/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -45.5
- offset_top = -34.5
- offset_right = 135.5
- offset_bottom = -9.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请输入原始密码"
- flat = true
- [node name="ChangePasswordNewInput" type="LineEdit" parent="Login/ChangePassword/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -45.5
- offset_top = -4.5
- offset_right = 135.5
- offset_bottom = 20.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请输入新的密码"
- flat = true
- [node name="ChangePasswordConfirmInput" type="LineEdit" parent="Login/ChangePassword/Background"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -45.5
- offset_top = 25.5
- offset_right = 135.5
- offset_bottom = 50.5
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_fonts/font = ExtResource("13_scx2i")
- theme_override_font_sizes/font_size = 12
- theme_override_styles/focus = SubResource("StyleBoxEmpty_m6v8k")
- placeholder_text = "请再次输入新的密码"
- flat = true
- [node name="Server" type="Control" parent="."]
- anchors_preset = 0
- offset_right = 40.0
- offset_bottom = 40.0
- [node name="Role" type="Control" parent="."]
- anchors_preset = 0
- offset_right = 40.0
- offset_bottom = 40.0
- [connection signal="pressed" from="Login/Main/Background/MainRegisterButton" to="." method="_on_main_register_button_pressed"]
- [connection signal="pressed" from="Login/Main/Background/MainChangePasswordButton" to="." method="_on_main_change_password_button_pressed"]
- [connection signal="pressed" from="Login/Register/Background/RegisterConfirmButton" to="." method="_on_register_confirm_button_pressed"]
- [connection signal="pressed" from="Login/Register/Background/RegisterCancelButton" to="." method="_on_register_cancel_button_pressed"]
- [connection signal="pressed" from="Login/ChangePassword/Background/ChangePasswordCancelButton" to="." method="_on_change_password_cancel_button_pressed"]
|