From 47d7819f2d1a658ec0803c33012e42ea1e02a9b8 Mon Sep 17 00:00:00 2001 From: saplf Date: Mon, 2 Sep 2019 17:56:03 +0800 Subject: [PATCH] Fix account item style --- src/components/AccountItem/style.less | 2 ++ src/pages/account/index.tsx | 3 +++ src/pages/account/style.less | 3 +-- src/pages/check/model.ts | 1 - src/pages/system/style.less | 3 +-- yarn.lock | 14 ++------------ 6 files changed, 9 insertions(+), 17 deletions(-) diff --git a/src/components/AccountItem/style.less b/src/components/AccountItem/style.less index 5883535..4ae8645 100644 --- a/src/components/AccountItem/style.less +++ b/src/components/AccountItem/style.less @@ -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; diff --git a/src/pages/account/index.tsx b/src/pages/account/index.tsx index f54e7cb..acc4765 100644 --- a/src/pages/account/index.tsx +++ b/src/pages/account/index.tsx @@ -47,6 +47,7 @@ const AccountPage: React.FC = ({ message={user.phone} /> @@ -55,9 +56,11 @@ const AccountPage: React.FC = ({ title="account.loginPwd" />