+
{{ t('recharge') }}
@@ -130,6 +144,7 @@
@@ -378,6 +393,8 @@ const { userInfo } = usePageInitializationWithConfig('COIN_SELLER', {
}
.user-info {
+ flex: 1;
+ min-width: 0;
display: flex;
align-items: center;
margin-bottom: 12px;
@@ -390,32 +407,22 @@ const { userInfo } = usePageInitializationWithConfig('COIN_SELLER', {
margin-right: 12px;
}
-.avatar-image {
- width: 100%;
- height: 100%;
- object-fit: cover;
- border-radius: 25px;
-}
-
-.avatar-text {
- color: white;
- font-size: 20px;
- font-weight: 600;
-}
-
.user-details {
+ min-width: 0;
flex: 1;
}
.user-details h3 {
margin-bottom: 4px;
- font-size: 16px;
font-weight: 700;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.user-details p {
color: rgba(0, 0, 0, 0.4);
- font-size: 14px;
+ font-size: 0.9em;
font-weight: 500;
}
@@ -424,7 +431,6 @@ const { userInfo } = usePageInitializationWithConfig('COIN_SELLER', {
height: 32px;
border: none;
background: none;
- font-size: 16px;
cursor: pointer;
}
@@ -436,7 +442,7 @@ const { userInfo } = usePageInitializationWithConfig('COIN_SELLER', {
.tag {
padding: 4px 12px;
border-radius: 16px;
- font-size: 12px;
+ font-size: 0.8em;
font-weight: 600;
}
@@ -445,44 +451,6 @@ const { userInfo } = usePageInitializationWithConfig('COIN_SELLER', {
color: #d97706;
}
-/* 金币部分 */
-.coins-section {
- background-color: white;
- padding: 16px;
- border-radius: 12px;
- margin-bottom: 16px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
-}
-
-.coins-section h3 {
- margin: 0 0 12px 0;
- font-size: 16px;
- font-weight: 600;
- color: #333;
-}
-
-.coins-display {
- display: flex;
- align-items: center;
- gap: 8px;
-}
-
-.coin-icon {
- font-size: 24px;
-}
-
-.coins-amount {
- font-size: 20px;
- font-weight: 600;
- color: #f59e0b;
-}
-
-.coins-loading {
- font-size: 16px;
- color: #9ca3af;
- font-style: italic;
-}
-
/* 用户搜索部分 */
.user-section {
background-color: white;
@@ -510,7 +478,6 @@ const { userInfo } = usePageInitializationWithConfig('COIN_SELLER', {
.user-avatar {
width: 40px;
height: 40px;
- border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
@@ -518,17 +485,21 @@ const { userInfo } = usePageInitializationWithConfig('COIN_SELLER', {
}
.selected-user .user-details {
+ min-width: 0;
flex: 1;
}
.user-name {
- font-size: 14px;
+ font-size: 0.9em;
font-weight: 700;
margin-bottom: 2px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.user-id {
- font-size: 12px;
+ font-size: 0.8em;
font-weight: 500;
color: rgba(0, 0, 0, 0.4);
}
@@ -568,14 +539,14 @@ const { userInfo } = usePageInitializationWithConfig('COIN_SELLER', {
.search-placeholder span {
color: #666;
- font-size: 14px;
+ font-size: 0.9em;
font-weight: 500;
}
.amount-input {
width: 100%;
border: none;
- font-size: 14px;
+ font-size: 0.9em;
box-sizing: border-box;
}
@@ -584,7 +555,7 @@ const { userInfo } = usePageInitializationWithConfig('COIN_SELLER', {
}
.amount-input::placeholder {
- font-size: 12px;
+ font-size: 0.7em;
color: rgba(0, 0, 0, 0.4);
font-weight: 500;
}
@@ -594,7 +565,7 @@ const { userInfo } = usePageInitializationWithConfig('COIN_SELLER', {
right: 12px;
top: 50%;
transform: translateY(-50%);
- font-size: 12px;
+ font-size: 0.8em;
color: #666;
}
@@ -605,7 +576,6 @@ const { userInfo } = usePageInitializationWithConfig('COIN_SELLER', {
background: linear-gradient(135deg, #bb92ff 2.82%, #8b45ff 99.15%);
color: white;
border: none;
- font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;