优化:详情页面UI优化

This commit is contained in:
ivan 2026-03-20 17:04:38 +08:00
parent 7b076aa4f2
commit 9a8b69c15a
3 changed files with 13 additions and 6 deletions

View File

@ -10,7 +10,6 @@
</span>
<span v-else-if="loading" class="loading-badge">{{ t('trade.orderBookConnecting') }}</span>
<span v-else class="vol-text">$4.4k Vol.</span>
<v-icon size="14" class="order-book-icon">mdi-chevron-up</v-icon>
</div>
</div>
@ -334,10 +333,6 @@ const maxOrderBookTotal = computed(() => {
gap: 4px;
}
.order-book-icon {
color: #666666;
}
.live-badge {
display: inline-flex;
align-items: center;

View File

@ -6,6 +6,8 @@ import TradeDetail from '../views/TradeDetail.vue'
import EventMarkets from '../views/EventMarkets.vue'
import Wallet from '../views/Wallet.vue'
import Search from '../views/Search.vue'
import Profile from '../views/Profile.vue'
import ApiKey from '../views/ApiKey.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@ -45,6 +47,16 @@ const router = createRouter({
name: 'wallet',
component: Wallet,
},
{
path: '/profile',
name: 'profile',
component: Profile,
},
{
path: '/api-key',
name: 'api-key',
component: ApiKey,
},
],
scrollBehavior(to, from, savedPosition) {
if (savedPosition && from?.name) return savedPosition

View File

@ -1830,7 +1830,7 @@ onUnmounted(() => {
margin-top: 16px;
padding: 0;
background-color: #ffffff;
border: 1px solid #e7e7e7;
border: none;
box-shadow: none;
}