Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
hqwlkj committed Jun 19, 2024
1 parent c19095e commit f1a4303
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
7 changes: 7 additions & 0 deletions src/pages/login/index.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.login-page {
&-wrap {
position: relative;
font-size: 14px;
transform: scale(0.5);
}
}
14 changes: 11 additions & 3 deletions src/pages/login/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
import React from 'react';
export default ()=>{
return <div> 我是登录的页面</div>
}
import './index.less';
import { Button } from 'antd-mobile';

export default () => {
return (
<div className="login-page-wrap">
{' '}
我是登录的页面 <Button color="primary">Login</Button>
</div>
);
};

0 comments on commit f1a4303

Please sign in to comment.