Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 25 additions & 20 deletions pte-app-client/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title></title>
<!--preload-links-->
<!--app-context-->
</head>
<body>
<div id="app"><!--app-html--></div>
<script type="module" src="/main.js"></script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<script src="static/js/mui.js"></script>
<link href="static/css/mui.css" rel="stylesheet" />
<script type="text/javascript" charset="utf-8">
mui.init();
</script>
<title></title>
<!--preload-links-->
<!--app-context-->
</head>
<body>
<div id="app"><!--app-html--></div>
<script type="module" src="/main.js"></script>
</body>
</html>
8 changes: 8 additions & 0 deletions pte-app-client/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
"navigationBarTitleText" : "分析",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/login/login",
"style" :
{
"navigationBarTitleText" : "登录",
"enablePullDownRefresh" : false
}
}
],

Expand Down
258 changes: 129 additions & 129 deletions pte-app-client/pages/login/login.css

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以改成scss写起来方便很多

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

收到。我争取明天改一下。

Original file line number Diff line number Diff line change
@@ -1,129 +1,129 @@
.loginPage {
color: #0B121F;
font-family: Arial, Helvetica, sans-serif;
font-style: normal;
font-weight: 500;
line-height: normal;
letter-spacing: 0.24px;
/* width: 23.4375rem;
height: 50.75rem; */
}
.loginPageBody {
flex-direction: column;
margin-left: 1rem;
margin-right: 1rem;
}
.loginGreeting {
text-align: center;
margin-top: 3rem;
margin-bottom: 5rem;
}
.loginText {
color: #0B121F;
text-align: center;
font-size: 1.5rem;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.015rem;
}
.loginCatchline,
.wechatText {
color: #9FA3A9;
text-align: center;
font-size: 0.75rem;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.009rem;
}
.midPage {
margin-bottom: 5rem;
}
.wechatLogin {
margin-bottom: 3rem;
}
.loginBtn {
width: 20.9375rem;
height: 3.75rem;
flex-shrink: 0;
border-radius: 0.375rem;
background: #265AE8;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
padding-top: 0.5rem;
}
.wechatLoginText {
color: #FFF;
text-align: center;
font-size: 1rem;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.01rem;
}
.clickEffect {
opacity: 0.7;
background: #265AE8;
transform: scale(0.99, 0.99);
position: relative;
}
.consentTitle {
color: #9FA3A9;
font-size: 0.75rem;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.009rem;
}
.checkbox {
display: inline-flex;
padding-left: 3.125rem;
justify-content: flex-end;
align-items: center;
gap: 0.6875rem;
}
checkbox {
width: 0.875rem;
height: 0.875rem;
border-radius: 0.1875rem;
border: 1px #CFD1D4;
margin-right: 1rem;
}
.greyText {
color: #9FA3A9;
text-align: center;
font-size: 0.75rem;
font-style: normal;
font-weight: 400;
line-height: 1.25rem;
}
.blueText {
color: #265AE8;
font-size: 0.75rem;
font-style: normal;
font-weight: 400;
line-height: 1.25rem;
}
.thirdPartyLoginBtn {
padding: 0;
height: 2.5rem;
width: 2.5rem;
border-radius: 50%;
margin-top: 1rem;
margin-bottom: 0.2rem;
}
.loginPage {
color: #0B121F;
font-family: Arial, Helvetica, sans-serif;
font-style: normal;
font-weight: 500;
line-height: normal;
letter-spacing: 0.24px;
/* width: 23.4375rem;
height: 50.75rem; */
}
.loginPageBody {
flex-direction: column;
margin-left: 1rem;
margin-right: 1rem;
}
.loginGreeting {
text-align: center;
margin-top: 3rem;
margin-bottom: 5rem;
}
.loginText {
color: #0B121F;
text-align: center;
font-size: 1.5rem;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.015rem;
}
.loginCatchline,
.wechatText {
color: #9FA3A9;
text-align: center;
font-size: 0.75rem;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.009rem;
}
.midPage {
margin-bottom: 5rem;
}
.wechatLogin {
margin-bottom: 3rem;
}
.loginBtn {
width: 20.9375rem;
height: 3.75rem;
flex-shrink: 0;
border-radius: 0.375rem;
background: #265AE8;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
padding-top: 0.5rem;
}
.wechatLoginText {
color: #FFF;
text-align: center;
font-size: 1rem;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.01rem;
}
.clickEffect {
opacity: 0.7;
background: #265AE8;
transform: scale(0.99, 0.99);
position: relative;
}
.consentTitle {
color: #9FA3A9;
font-size: 0.75rem;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.009rem;
}
.checkbox {
display: inline-flex;
padding-left: 3.125rem;
justify-content: flex-end;
align-items: center;
gap: 0.6875rem;
}
checkbox {
width: 0.875rem;
height: 0.875rem;
border-radius: 0.1875rem;
border: 1px #CFD1D4;
margin-right: 1rem;
}
.greyText {
color: #9FA3A9;
text-align: center;
font-size: 0.75rem;
font-style: normal;
font-weight: 400;
line-height: 1.25rem;
}
.blueText {
color: #265AE8;
font-size: 0.75rem;
font-style: normal;
font-weight: 400;
line-height: 1.25rem;
}
.thirdPartyLoginBtn {
padding: 0;
height: 2.5rem;
width: 2.5rem;
border-radius: 50%;
margin-top: 1rem;
margin-bottom: 0.2rem;
}
Loading