diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..2aa38a3
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,662 @@
+
+
+
+
+
+
+
+
+ 蝶雅采购管理系统
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ v202607311130
+
+
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000..ef8c68b
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,202 @@
+
+
+
+
+
+ 蝶雅采购管理系统 - 登录
+
+
+
+
+
+
+
!
+
需要修改密码
+
为了账号安全,本次登录需要先设置新密码。修改完成后才能正常访问系统。
+
+
+
+
+
+
diff --git a/tests/test_system_branding.py b/tests/test_system_branding.py
new file mode 100644
index 0000000..1293554
--- /dev/null
+++ b/tests/test_system_branding.py
@@ -0,0 +1,24 @@
+"""登录页与系统导航名称回归测试。"""
+
+import unittest
+from pathlib import Path
+
+
+ROOT = Path(__file__).resolve().parents[1]
+LOGIN_HTML = (ROOT / 'templates/login.html').read_text(encoding='utf-8')
+BASE_HTML = (ROOT / 'templates/base.html').read_text(encoding='utf-8')
+
+
+class SystemBrandingTest(unittest.TestCase):
+ def test_login_uses_full_management_system_name(self):
+ self.assertIn('蝶雅采购管理系统
', LOGIN_HTML)
+ self.assertIn('蝶雅采购管理系统 - 登录', LOGIN_HTML)
+ self.assertNotIn('蝶雅采购智能体平台', LOGIN_HTML)
+
+ def test_sidebar_uses_short_management_system_name(self):
+ self.assertIn('', BASE_HTML)
+ self.assertIn('蝶雅采购管理系统', BASE_HTML)
+
+
+if __name__ == '__main__':
+ unittest.main()