123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- .container {
- background-color: #f5f5f5;
- min-height: 100vh;
- padding: 20rpx;
- }
- .bank-list {
- background-color: transparent;
- padding: 0;
- }
- .bank-card {
- background-color: #ffffff;
- border-radius: 10rpx;
- padding: 20rpx;
- margin-bottom: 20rpx;
- box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.06);
- border: 1rpx solid #e8e8e8;
- }
- .card-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 20rpx;
- border-bottom: 1rpx solid #f0f0f0;
- padding-bottom: 15rpx;
- }
- .bank-info {
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- }
- .bank-name-group {
- display: flex;
- align-items: center;
- }
- .bank-name {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- margin-right: 10rpx;
- }
- .card-type-tag {
- font-size: 24rpx;
- color: #fff;
- background-color: #1890ff;
- padding: 2rpx 8rpx;
- border-radius: 4rpx;
- }
- .default-section {
- display: flex;
- align-items: center;
- }
- .default-tip {
- font-size: 24rpx;
- color: #1890ff;
- background-color: #e6f7ff;
- padding: 4rpx 10rpx;
- border-radius: 20rpx;
- margin-right: 10rpx;
- }
- .default-switch {
- position: relative;
- width: 50rpx;
- height: 28rpx;
- background-color: #e0e0e0;
- border-radius: 20rpx;
- cursor: pointer;
- transition: all 0.3s ease;
- }
- .default-switch.active {
- background-color: #ff4d4f;
- }
- .switch-handle {
- position: absolute;
- top: 2rpx;
- left: 2rpx;
- width: 24rpx;
- height: 24rpx;
- background-color: white;
- border-radius: 50%;
- box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.2);
- transition: all 0.3s ease;
- }
- .default-switch.active .switch-handle {
- transform: translateX(22rpx);
- }
- .card-number {
- font-size: 36rpx;
- letter-spacing: 6rpx;
- margin-bottom: 20rpx;
- text-align: center;
- color: #333;
- font-family: "Courier New", monospace;
- }
- .card-actions {
- display: flex;
- justify-content: space-between;
- align-items: center;
- border-top: 1rpx solid #f0f0f0;
- padding-top: 15rpx;
- }
- .action-buttons {
- display: flex;
- }
- .edit-btn,
- .delete-btn {
- font-size: 28rpx;
- padding: 8rpx 20rpx;
- margin-left: 20rpx;
- border-radius: 30rpx;
- background-color: #f5f5f5;
- color: #666;
- transition: all 0.3s ease;
- }
- .edit-btn:hover,
- .delete-btn:hover {
- background-color: #e8e8e8;
- }
- .add-card-btn {
- width: 100%;
- background-color: #ff4d4f;
- color: #fff;
- margin-top: 20rpx;
- border-radius: 50rpx;
- padding: 20rpx;
- font-size: 32rpx;
- box-shadow: 0 4rpx 12rpx rgba(255, 77, 79, 0.2);
- transition: all 0.3s ease;
- }
- .add-card-btn:hover {
- background-color: #ff7875;
- box-shadow: 0 6rpx 16rpx rgba(255, 77, 79, 0.3);
- }
- .default-tag {
- background-color: #ff4d4f;
- color: #fff;
- font-size: 22rpx;
- padding: 4rpx 10rpx;
- border-radius: 20rpx;
- }
|