Fix account item style
This commit is contained in:
@@ -4,11 +4,13 @@
|
|||||||
.item {
|
.item {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
|
border: 1px solid lighten(@primary-color, 40%);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
transition: background-color .2s;
|
transition: background-color .2s;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
border-radius: 8px;
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background-color: @bg-color;
|
background-color: @bg-color;
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ const AccountPage: React.FC<DispatchProp & UserModelState> = ({
|
|||||||
message={user.phone}
|
message={user.phone}
|
||||||
/>
|
/>
|
||||||
<AccountItem
|
<AccountItem
|
||||||
|
className="group"
|
||||||
title="account.email"
|
title="account.email"
|
||||||
message={user.email}
|
message={user.email}
|
||||||
/>
|
/>
|
||||||
@@ -55,9 +56,11 @@ const AccountPage: React.FC<DispatchProp & UserModelState> = ({
|
|||||||
title="account.loginPwd"
|
title="account.loginPwd"
|
||||||
/>
|
/>
|
||||||
<AccountItem
|
<AccountItem
|
||||||
|
className="group"
|
||||||
title="account.fundPwd"
|
title="account.fundPwd"
|
||||||
/>
|
/>
|
||||||
<AccountItem
|
<AccountItem
|
||||||
|
className="group"
|
||||||
title="account.factor"
|
title="account.factor"
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
background-color: @bg-color;
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -20,7 +19,7 @@
|
|||||||
|
|
||||||
:global {
|
:global {
|
||||||
.group {
|
.group {
|
||||||
margin-top: 8px;
|
margin: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,7 +68,6 @@ const model: Model = {
|
|||||||
|
|
||||||
*load(_, { call, put, all }) {
|
*load(_, { call, put, all }) {
|
||||||
yield put({ type: 'onUpdatePageState', payload: PageState.Pending });
|
yield put({ type: 'onUpdatePageState', payload: PageState.Pending });
|
||||||
yield delay(800);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const areacodes = yield call(getAreaCodes);
|
const areacodes = yield call(getAreaCodes);
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
background-color: @bg-color;
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -20,7 +19,7 @@
|
|||||||
|
|
||||||
:global {
|
:global {
|
||||||
.group {
|
.group {
|
||||||
margin-top: 8px;
|
margin: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
14
yarn.lock
14
yarn.lock
@@ -2979,12 +2979,7 @@ binaryextensions@^2.1.2:
|
|||||||
resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-2.1.2.tgz#c83c3d74233ba7674e4f313cb2a2b70f54e94b7c"
|
resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-2.1.2.tgz#c83c3d74233ba7674e4f313cb2a2b70f54e94b7c"
|
||||||
integrity sha512-xVNN69YGDghOqCCtA6FI7avYrr02mTJjOgB0/f1VPD3pJC8QEvjTKWc4epDx8AqxxA75NI0QpVM2gPJXUbE4Tg==
|
integrity sha512-xVNN69YGDghOqCCtA6FI7avYrr02mTJjOgB0/f1VPD3pJC8QEvjTKWc4epDx8AqxxA75NI0QpVM2gPJXUbE4Tg==
|
||||||
|
|
||||||
bluebird@^3.5.1, bluebird@^3.5.2:
|
bluebird@^3.5.1, bluebird@^3.5.2, bluebird@^3.5.5:
|
||||||
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:
|
|
||||||
version "3.5.5"
|
version "3.5.5"
|
||||||
resolved "https://registry.npm.taobao.org/bluebird/download/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f"
|
resolved "https://registry.npm.taobao.org/bluebird/download/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f"
|
||||||
integrity sha1-qNCv1zJR7/u9X+OEp31zADwXpx8=
|
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:
|
dependencies:
|
||||||
minimist "0.0.8"
|
minimist "0.0.8"
|
||||||
|
|
||||||
moment@2.x, moment@^2.22.1:
|
moment@2.x, moment@^2.22.1, moment@^2.24.0:
|
||||||
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:
|
|
||||||
version "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"
|
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=
|
integrity sha1-DQVdU/UFKqZTyfbraLtdEr9cK1s=
|
||||||
|
|||||||
Reference in New Issue
Block a user