Fix account item style

This commit is contained in:
saplf
2019-09-02 17:56:03 +08:00
parent 4480fc8e19
commit 47d7819f2d
6 changed files with 9 additions and 17 deletions

View File

@@ -4,11 +4,13 @@
.item {
background-color: #fff;
padding: 10px 20px;
border: 1px solid lighten(@primary-color, 40%);
display: flex;
flex-direction: row;
align-items: center;
transition: background-color .2s;
user-select: none;
border-radius: 8px;
&:active {
background-color: @bg-color;

View File

@@ -47,6 +47,7 @@ const AccountPage: React.FC<DispatchProp & UserModelState> = ({
message={user.phone}
/>
<AccountItem
className="group"
title="account.email"
message={user.email}
/>
@@ -55,9 +56,11 @@ const AccountPage: React.FC<DispatchProp & UserModelState> = ({
title="account.loginPwd"
/>
<AccountItem
className="group"
title="account.fundPwd"
/>
<AccountItem
className="group"
title="account.factor"
/>
<Button

View File

@@ -11,7 +11,6 @@
}
.content {
background-color: @bg-color;
flex-grow: 1;
overflow: auto;
display: flex;
@@ -20,7 +19,7 @@
:global {
.group {
margin-top: 8px;
margin: 8px;
}
}
}

View File

@@ -68,7 +68,6 @@ const model: Model = {
*load(_, { call, put, all }) {
yield put({ type: 'onUpdatePageState', payload: PageState.Pending });
yield delay(800);
try {
const areacodes = yield call(getAreaCodes);

View File

@@ -11,7 +11,6 @@
}
.content {
background-color: @bg-color;
flex-grow: 1;
overflow: auto;
display: flex;
@@ -20,7 +19,7 @@
:global {
.group {
margin-top: 8px;
margin: 8px;
}
}
}

View File

@@ -2979,12 +2979,7 @@ binaryextensions@^2.1.2:
resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-2.1.2.tgz#c83c3d74233ba7674e4f313cb2a2b70f54e94b7c"
integrity sha512-xVNN69YGDghOqCCtA6FI7avYrr02mTJjOgB0/f1VPD3pJC8QEvjTKWc4epDx8AqxxA75NI0QpVM2gPJXUbE4Tg==
bluebird@^3.5.1, bluebird@^3.5.2:
version "3.5.5"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f"
integrity sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w==
bluebird@^3.5.5:
bluebird@^3.5.1, bluebird@^3.5.2, bluebird@^3.5.5:
version "3.5.5"
resolved "https://registry.npm.taobao.org/bluebird/download/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f"
integrity sha1-qNCv1zJR7/u9X+OEp31zADwXpx8=
@@ -9771,12 +9766,7 @@ mkdirp@0.5.1, mkdirp@0.5.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@
dependencies:
minimist "0.0.8"
moment@2.x, moment@^2.22.1:
version "2.24.0"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b"
integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==
moment@^2.24.0:
moment@2.x, moment@^2.22.1, moment@^2.24.0:
version "2.24.0"
resolved "https://registry.npm.taobao.org/moment/download/moment-2.24.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmoment%2Fdownload%2Fmoment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b"
integrity sha1-DQVdU/UFKqZTyfbraLtdEr9cK1s=