Browse Source

在登录界面添加急诊入口按钮

dengdx 2 months ago
parent
commit
aa53362a54
1 changed files with 22 additions and 8 deletions
  1. 22 8
      src/pages/security/Login.tsx

+ 22 - 8
src/pages/security/Login.tsx

@@ -81,14 +81,28 @@ const Login: React.FC = () => {
               <Input.Password size="large" placeholder="请输入密码" />
             </Form.Item>
             <Form.Item>
-              <Button
-                type="primary"
-                htmlType="submit"
-                size="large"
-                className="w-full"
-              >
-                登录
-              </Button>
+              <Row gutter={16}>
+                <Col span={12}>
+                  <Button
+                    type="primary"
+                    htmlType="submit"
+                    size="large"
+                    className="w-full"
+                  >
+                    登录
+                  </Button>
+                </Col>
+                <Col span={12}>
+                  <Button
+                    type="primary"
+                    htmlType="submit"
+                    size="large"
+                    className="w-full"
+                  >
+                    急诊
+                  </Button>
+                </Col>
+              </Row>
             </Form.Item>
           </Form>
         </Card>