.accountCard { padding: 60px 16px 16px; box-sizing: border-box; box-shadow: -1px 0px 5px 1px rgba(0, 0, 0, 0.1); overflow: hidden; position: relative; .live-server__name { position: absolute; top: 0; left: 0; height: 40px; border-radius: 0 0 20px 0; background: rgba(41, 187, 228, 0.11); color: rgba(15, 54, 117, 1); font-weight: 400; font-size: 16px; padding: 0 18px; line-height: 40px; } .demo-server__name { position: absolute; top: 0; left: 0; height: 40px; border-radius: 0 0 20px 0; background: rgba(229, 229, 229, 1); color: rgba(15, 54, 117, 1); font-weight: 400; font-size: 16px; padding: 0 18px; line-height: 40px; } .his-server__name { position: absolute; top: 0; left: 0; height: 40px; border-radius: 0 0 20px 0; background: rgba(229, 229, 229, 1); color: rgba(51, 51, 51, 1); font-weight: 400; font-size: 16px; padding: 0 18px; line-height: 40px; } &.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; } } }