perf: 走查问题调整
This commit is contained in:
@ -1,13 +1,17 @@
|
||||
<template>
|
||||
<div class="navbar-wrap px-24px">
|
||||
<div class="w-full h-full relative flex justify-between">
|
||||
|
||||
<div class="left-wrap flex items-center cursor-pointer" @click="handleUserHome">
|
||||
<img src="@/assets/img/icon-logo.png" alt="" width="96" height="24" />
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<!-- <div class="flex-1"> -->
|
||||
<MiddleSide v-if="!isHomeRoute" />
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
<RightSide :isAgentRoute="isAgentRoute" v-if="userStore.isLogin" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@ -32,8 +36,6 @@ const isHomeRoute = computed(() => {
|
||||
<style scoped lang="scss">
|
||||
.navbar-wrap {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
height: 100%;
|
||||
&::before {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user