优化:详情页面UI优化
This commit is contained in:
parent
7b076aa4f2
commit
9a8b69c15a
@ -10,7 +10,6 @@
|
|||||||
</span>
|
</span>
|
||||||
<span v-else-if="loading" class="loading-badge">{{ t('trade.orderBookConnecting') }}</span>
|
<span v-else-if="loading" class="loading-badge">{{ t('trade.orderBookConnecting') }}</span>
|
||||||
<span v-else class="vol-text">$4.4k Vol.</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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -334,10 +333,6 @@ const maxOrderBookTotal = computed(() => {
|
|||||||
gap: 4px;
|
gap: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.order-book-icon {
|
|
||||||
color: #666666;
|
|
||||||
}
|
|
||||||
|
|
||||||
.live-badge {
|
.live-badge {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@ -6,6 +6,8 @@ import TradeDetail from '../views/TradeDetail.vue'
|
|||||||
import EventMarkets from '../views/EventMarkets.vue'
|
import EventMarkets from '../views/EventMarkets.vue'
|
||||||
import Wallet from '../views/Wallet.vue'
|
import Wallet from '../views/Wallet.vue'
|
||||||
import Search from '../views/Search.vue'
|
import Search from '../views/Search.vue'
|
||||||
|
import Profile from '../views/Profile.vue'
|
||||||
|
import ApiKey from '../views/ApiKey.vue'
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
history: createWebHistory(import.meta.env.BASE_URL),
|
history: createWebHistory(import.meta.env.BASE_URL),
|
||||||
@ -45,6 +47,16 @@ const router = createRouter({
|
|||||||
name: 'wallet',
|
name: 'wallet',
|
||||||
component: Wallet,
|
component: Wallet,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/profile',
|
||||||
|
name: 'profile',
|
||||||
|
component: Profile,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/api-key',
|
||||||
|
name: 'api-key',
|
||||||
|
component: ApiKey,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
scrollBehavior(to, from, savedPosition) {
|
scrollBehavior(to, from, savedPosition) {
|
||||||
if (savedPosition && from?.name) return savedPosition
|
if (savedPosition && from?.name) return savedPosition
|
||||||
|
|||||||
@ -1830,7 +1830,7 @@ onUnmounted(() => {
|
|||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border: 1px solid #e7e7e7;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user