feat: 初始化
This commit is contained in:
182
pages/home/components/accountCard/index.scss
Normal file
182
pages/home/components/accountCard/index.scss
Normal file
@ -0,0 +1,182 @@
|
||||
.accountCard {
|
||||
padding: 24px 16px 16px;
|
||||
box-sizing: border-box;
|
||||
box-shadow: -1px 0px 5px 1px rgba(0, 0, 0, 0.1);
|
||||
overflow: hidden;
|
||||
&.isHistory {
|
||||
padding-bottom: 0px;
|
||||
.accountCardHeader {
|
||||
.headerLeft {
|
||||
border-color: #e5e5e5;
|
||||
.accountType {
|
||||
color: #666666;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
}
|
||||
}
|
||||
.accountDetails {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
||||
.accountCardHeader {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 40px;
|
||||
.headerLeft {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border: 2px solid #0f3675;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
.accountType {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-left: -1px;
|
||||
padding: 0 20px;
|
||||
height: 102%; // 避免错误渲染出的缝隙
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
background-color: #0f3675;
|
||||
}
|
||||
.accountNumber {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0 15px;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
color: #071428;
|
||||
}
|
||||
}
|
||||
.historyAccountTag {
|
||||
padding: 5px 11px;
|
||||
color: #666666;
|
||||
background-color: #f6f6f6;
|
||||
border-radius: 15px;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
}
|
||||
.moreIcon {
|
||||
width: 32px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
.accountDetails {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
row-gap: 34px;
|
||||
margin-top: 24px;
|
||||
padding-bottom: 37px;
|
||||
.detailItem {
|
||||
.label {
|
||||
color: #666666;
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
}
|
||||
.value {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
color: #333333;
|
||||
font-size: 22px;
|
||||
line-height: 32px;
|
||||
font-weight: 700;
|
||||
.valueAfter {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
line-height: 28px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.moreContent {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
row-gap: 9px;
|
||||
margin-top: 16px;
|
||||
padding-bottom: 10px;
|
||||
.moreContentItems {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
column-gap: 10px;
|
||||
row-gap: 12px;
|
||||
width: 100%;
|
||||
.moreContentItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 10px;
|
||||
column-gap: 7px;
|
||||
height: 57px;
|
||||
font-size: min(18px, 0.9rem);
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #e5e5e5;
|
||||
.icon {
|
||||
flex-shrink: 0;
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.statusTag {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 3px 8px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
color: #999999;
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
}
|
||||
.divider {
|
||||
margin-bottom: 18px;
|
||||
height: 1px;
|
||||
background-color: #ececec;
|
||||
}
|
||||
.bottomBtns {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
height: 40px;
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
color: #25c0e5;
|
||||
.btn {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.deposit {
|
||||
color: #fff;
|
||||
background-color: #25c0e5;
|
||||
&:hover {
|
||||
background-color: #41dbec;
|
||||
}
|
||||
}
|
||||
}
|
||||
.historyAccountTip {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
row-gap: 14px;
|
||||
padding: 16px 21px;
|
||||
width: 100%;
|
||||
margin-left: -16px;
|
||||
background-color: #f6f6f6;
|
||||
font-size: 16px;
|
||||
color: #777777;
|
||||
text-align: center;
|
||||
.reactivateBtn {
|
||||
padding: 4px 19px;
|
||||
font-size: 18px;
|
||||
line-height: 26px;
|
||||
color: #666666;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user