Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
million
Commits
4d6d30d9
Commit
4d6d30d9
authored
Jun 30, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
7343f9c5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
173 deletions
+19
-173
EssentialLink.vue
src/components/EssentialLink.vue
+0
-49
hor-big-one.vue
src/components/navs/hor-big-one.vue
+8
-5
hor-big-tow.vue
src/components/navs/hor-big-tow.vue
+10
-7
hor-btm.vue
src/components/navs/hor-btm.vue
+0
-2
HomeLayout.vue
src/layouts/HomeLayout.vue
+1
-1
MainLayout.vue
src/layouts/MainLayout.vue
+0
-109
No files found.
src/components/EssentialLink.vue
deleted
100644 → 0
View file @
7343f9c5
<
template
>
<q-item
clickable
tag=
"a"
target=
"_blank"
:href=
"link"
>
<q-item-section
v-if=
"icon"
avatar
>
<q-icon
:name=
"icon"
/>
</q-item-section>
<q-item-section>
<q-item-label>
{{
title
}}
</q-item-label>
<q-item-label
caption
>
{{
caption
}}
</q-item-label>
</q-item-section>
</q-item>
</
template
>
<
script
>
export
default
{
name
:
'EssentialLink'
,
props
:
{
title
:
{
type
:
String
,
required
:
true
},
caption
:
{
type
:
String
,
default
:
''
},
link
:
{
type
:
String
,
default
:
'#'
},
icon
:
{
type
:
String
,
default
:
''
}
}
}
</
script
>
src/components/navs/hor-big-one.vue
View file @
4d6d30d9
...
...
@@ -4,13 +4,15 @@
elevated
:style=
"
{background:baseData.nav.bg,color:baseData.nav.color}"
height-hint="98"
to="/index"
>
<q-toolbar
style=
"height:60px;"
class=
"q-pr-lg q-pl-lg"
>
<img
:src=
"baseData.logo"
style=
"height:45px;
"
class=
"q-mr-lg
"
/>
<img
:src=
"baseData.logo"
style=
"height:45px;
cursor:pointer;"
class=
"q-mr-lg"
@
click=
"CommonJump('/index',
{})
" />
<q-tabs
align=
"left"
style=
"margin:0 auto;"
class=
"desktop-only"
shrink
>
<template
v-for=
"(x, i) in baseData.nav.navs"
>
<q-route-tab
:key=
"i"
:to=
"x.url"
:label=
"x.title"
:icon=
"x.icon"
v-if=
"x.icon!=''"
/>
<q-route-tab
:key=
"i"
:to=
"x.url"
:label=
"x.title"
v-else
/>
<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"
v-else
exact
/>
-->
</
template
>
</q-tabs>
<q-btn
...
...
@@ -25,8 +27,9 @@
<q-menu>
<q-tabs
align=
"left"
vertical
shrink
>
<
template
v-for=
"(x, i) in baseData.nav.navs"
>
<q-route-tab
:key=
"i"
:to=
"x.url"
:label=
"x.title"
:icon=
"x.icon"
v-if=
"x.icon!=''"
/>
<q-route-tab
:key=
"i"
:to=
"x.url"
:label=
"x.title"
v-else
/>
<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"
v-else
exact
/>
-->
</
template
>
</q-tabs>
</q-menu>
...
...
src/components/navs/hor-big-tow.vue
View file @
4d6d30d9
...
...
@@ -4,13 +4,15 @@
elevated
:style=
"
{background:'transparent',color:'#FFF'}"
height-hint="98"
to="/index"
>
<q-toolbar
style=
"height:60px;"
class=
"q-pr-lg q-pl-lg"
>
<img
:src=
"baseData.logo"
style=
"height:45px;
"
class=
"q-mr-lg
"
/>
<img
:src=
"baseData.logo"
style=
"height:45px;
cursor:pointer;"
class=
"q-mr-lg"
@
click=
"CommonJump('/index',
{})
" />
<q-tabs
align=
"left"
style=
"margin:0 auto;"
class=
"desktop-only"
shrink
>
<template
v-for=
"(x, i) in baseData.nav.navs"
>
<q-route-tab
:key=
"i"
:to=
"x.url"
:label=
"x.title"
:icon=
"x.icon"
v-if=
"x.icon!=''"
/>
<q-route-tab
:key=
"i"
:to=
"x.url"
:label=
"x.title"
v-else
/>
<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"
v-else
exact
/>
-->
</
template
>
</q-tabs>
<q-btn
...
...
@@ -25,8 +27,9 @@
<q-menu>
<q-tabs
align=
"left"
vertical
shrink
>
<
template
v-for=
"(x, i) in baseData.nav.navs"
>
<q-route-tab
:key=
"i"
:to=
"x.url"
:label=
"x.title"
:icon=
"x.icon"
v-if=
"x.icon!=''"
/>
<q-route-tab
:key=
"i"
:to=
"x.url"
:label=
"x.title"
v-else
/>
<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"
v-else
exact
/>
-->
</
template
>
</q-tabs>
</q-menu>
...
...
@@ -37,14 +40,14 @@
class=
"q-ml-lg desktop-only"
:label=
"$t('login')"
icon=
"iconfont iconicon-unlogin"
to=
"/login
/index
"
to=
"/login"
/>
<q-btn
flat
style=
"color: #fff;font-weight:bold;"
class=
"mobile-only"
icon=
"iconfont iconicon-unlogin"
to=
"/login
/index
"
to=
"/login"
/>
</q-toolbar>
</q-header>
...
...
src/components/navs/hor-btm.vue
View file @
4d6d30d9
...
...
@@ -339,14 +339,12 @@
</div>
<div
class=
"footer_fb_group"
>
<a
:href=
"dataList.Config.FaceBookUrl"
>
<div
class=
"fb-page"
:data-href=
"dataList.Config.FaceBookUrl"
data-tabs=
"timeline"
data-width=
"340"
data-height=
"130"
data-small-header=
"false"
data-adapt-container-width=
"false"
data-hide-cover=
"false"
data-show-facepile=
"false"
>
<blockquote
:cite=
"dataList.Config.FaceBookUrl"
class=
"fb-xfbml-parse-ignore"
><a
:href=
"dataList.Config.FaceBookUrl"
>
{{
dataList
.
Config
.
Name
}}
</a></blockquote>
</div>
</a>
</div>
<div
class=
"footer_qrcode"
>
...
...
src/layouts/HomeLayout.vue
View file @
4d6d30d9
...
...
@@ -39,7 +39,7 @@
color
:
"#222"
,
navs
:
[]
},
desc
:
"
這是一家非常牛逼的旅遊網站
"
desc
:
""
},
headType
:
1
,
dataList
:
{},
...
...
src/layouts/MainLayout.vue
deleted
100644 → 0
View file @
7343f9c5
<
template
>
<q-layout
view=
"lHh Lpr lFf"
>
<q-header
elevated
>
<q-toolbar>
<q-btn
flat
dense
round
icon=
"menu"
aria-label=
"Menu"
@
click=
"leftDrawerOpen = !leftDrawerOpen"
/>
<q-toolbar-title>
Quasar App
</q-toolbar-title>
<div>
Quasar v
{{
$q
.
version
}}
</div>
</q-toolbar>
</q-header>
<q-drawer
v-model=
"leftDrawerOpen"
show-if-above
bordered
content-class=
"bg-grey-1"
>
<q-list>
<q-item-label
header
class=
"text-grey-8"
>
Essential Links
</q-item-label>
<EssentialLink
v-for=
"link in essentialLinks"
:key=
"link.title"
v-bind=
"link"
/>
</q-list>
</q-drawer>
<q-page-container>
<router-view
/>
</q-page-container>
</q-layout>
</
template
>
<
script
>
import
EssentialLink
from
'components/EssentialLink'
export
default
{
name
:
'MainLayout'
,
components
:
{
EssentialLink
},
data
()
{
return
{
leftDrawerOpen
:
false
,
essentialLinks
:
[
{
title
:
'Docs'
,
caption
:
'quasar.dev'
,
icon
:
'school'
,
link
:
'https://quasar.dev'
},
{
title
:
'Github'
,
caption
:
'github.com/quasarframework'
,
icon
:
'code'
,
link
:
'https://github.com/quasarframework'
},
{
title
:
'Discord Chat Channel'
,
caption
:
'chat.quasar.dev'
,
icon
:
'chat'
,
link
:
'https://chat.quasar.dev'
},
{
title
:
'Forum'
,
caption
:
'forum.quasar.dev'
,
icon
:
'record_voice_over'
,
link
:
'https://forum.quasar.dev'
},
{
title
:
'Twitter'
,
caption
:
'@quasarframework'
,
icon
:
'rss_feed'
,
link
:
'https://twitter.quasar.dev'
},
{
title
:
'Facebook'
,
caption
:
'@QuasarFramework'
,
icon
:
'public'
,
link
:
'https://facebook.quasar.dev'
},
{
title
:
'Quasar Awesome'
,
caption
:
'Community Quasar projects'
,
icon
:
'favorite'
,
link
:
'https://awesome.quasar.dev'
}
]
}
}
}
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment