li.shaoyi 1 год назад
Родитель
Сommit
c2ba5c9e59
2 измененных файлов с 4 добавлено и 23 удалено
  1. 3 4
      src/packages/tss/views/mine/Index.vue
  2. 1 19
      src/packages/tss/views/mine/index.less

+ 3 - 4
src/packages/tss/views/mine/Index.vue

@@ -20,12 +20,11 @@
                             <div class="bottom">{{ loginStore.loginId }}</div>
                         </div>
                     </div>
-                    <div class="profile-account">
-                        <div class="profile-account-first">
+                    <div class="profile-user__info">
+                        <div class="top">
                             <span>{{ $t('account.account') }}</span>
-                            <Icon name="checked" size="14" color="#46D63C"></Icon>
                         </div>
-                        <span>{{ currentAccount.accountid ?? 0 }}</span>
+                        <span class="bottom">{{ currentAccount.accountid ?? 0 }}</span>
                     </div>
                 </div>
                 <div class="bank">

+ 1 - 19
src/packages/tss/views/mine/index.less

@@ -33,6 +33,7 @@
             .profile {
                 display: flex;
                 justify-content: space-around;
+                align-items: center;
 
                 &-user {
                     display: flex;
@@ -52,9 +53,6 @@
                     }
 
                     &__info {
-                        flex: 1;
-                        padding-right: 16px;
-
                         .top {
                             display: flex;
                             align-items: center;
@@ -73,22 +71,6 @@
                         .bottom {
                             line-height: 20px;
                             font-size: 15px;
-                            font-weight: bold;
-                        }
-                    }
-                }
-
-                &-account {
-                    display: flex;
-                    flex-direction: column;
-                    justify-content: center;
-
-                    span {
-                        line-height: 20px;
-
-                        &:first-child {
-                            font-size: 12px;
-                            margin-right: 5px;
                         }
                     }
                 }