Commit 38b49a4f authored by zhengke's avatar zhengke

修改

parent e592f3e3
<style>
.q-ml-lg .block{
margin-right:12px;
}
</style>
<template> <template>
<q-header <q-header
reveal reveal
...@@ -7,8 +12,8 @@ ...@@ -7,8 +12,8 @@
to="/index" to="/index"
> >
<q-toolbar style="height:60px;" class="q-pr-lg q-pl-lg"> <q-toolbar style="height:60px;" class="q-pr-lg q-pl-lg">
<q-tabs align="left" style="margin:0 auto;" class="desktop-only" shrink> <img :src="baseData.logo" style="height:45px; cursor:pointer;" class="q-mr-lg" @click="CommonJump('/index',{})" />
<img :src="baseData.logo" style="height:45px; cursor:pointer;" class="q-mr-lg" @click="CommonJump('/index',{})" /> <q-tabs align="center" style="margin:0 auto;" shrink v-if="!$q.screen.xs">
<template v-for="(x, i) in baseData.nav.navs"> <template v-for="(x, i) in baseData.nav.navs">
<q-btn :key="i" stretch flat :label="x.title" @click="OpenNewUrl(x.url)" /> <q-btn :key="i" stretch flat :label="x.title" @click="OpenNewUrl(x.url)" />
<!-- <q-route-tab :key="i" :to="x.url" :label="x.title" :icon="x.icon" v-if="x.icon!=''" exact /> <!-- <q-route-tab :key="i" :to="x.url" :label="x.title" :icon="x.icon" v-if="x.icon!=''" exact />
...@@ -21,7 +26,7 @@ ...@@ -21,7 +26,7 @@
round round
icon="menu" icon="menu"
aria-label="Menu" aria-label="Menu"
class="mobile-only" v-if="$q.screen.xs"
style="margin-left:auto;" style="margin-left:auto;"
> >
<q-menu> <q-menu>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment