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
8b92e9a8
Commit
8b92e9a8
authored
Dec 25, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页邮箱
parent
3ac925fc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
5 deletions
+30
-5
indexNav.vue
src/components/home/indexNav.vue
+1
-1
newHor-btm.vue
src/components/navs/newHor-btm.vue
+11
-3
index.vue
src/pages/home/index.vue
+18
-1
No files found.
src/components/home/indexNav.vue
View file @
8b92e9a8
...
...
@@ -75,7 +75,7 @@
</div>
<ul
class=
"BottomListBox absolute row justify-center"
>
<li
class=
"q-py-sm q-px-lg relative cursor-pointer"
v-for=
"(item,index) in plugData.BottomList"
@
click
.
stop=
"
OpenNewUrl(item.LinkUrl)
"
>
@
click
.
stop=
"
item.LinkUrl?OpenNewUrl(item.LinkUrl):''
"
>
<a
class=
"text-grey-7 transition-base"
>
<span
class=
"fz14 font-serif tracking-1 cursor-pointer"
>
{{item.LinkTitle}}
</span>
</a>
...
...
src/components/navs/newHor-btm.vue
View file @
8b92e9a8
...
...
@@ -217,7 +217,7 @@
</div>
<div
class=
"row justify-between items-center"
>
<div
class=
"column"
style=
"width: 340px;"
>
<div
class=
"column"
>
<div
class=
"row newLogoText q-pb-lg"
>
<span
class=
"text-logo"
>
和平旅行社
</span>
<span
class=
"font-serifEn q-ml-lg relative"
>
PEACE TOURS
</span>
...
...
@@ -232,10 +232,18 @@
<span
class=
"inline-block icon-slash icon-slash-white relative q-pr-md"
>
服务时间
</span>
<a
href=
""
class=
"transition-base q-pl-md"
>
08:00 至 21:00
</a>
</li>
<li
class=
"flex q-py-xs"
>
<span
class=
"inline-block icon-slash icon-slash-white relative q-pr-md"
>
邮箱
</span>
<a
href=
""
class=
"transition-base q-pl-md"
>
service@oytour.com
</a>
</li>
<li
class=
"flex q-py-xs"
>
<span
class=
"inline-block icon-slash icon-slash-white relative q-pr-md"
>
电话
</span>
<a
href=
""
class=
"transition-base q-pl-md"
>
400-616-5510
</a>
</li>
</ul>
</div>
<div
:class=
"[!$q.platform.is.desktop?'hidden':'']"
>
<ul
class=
"l-footer--list row"
>
<div
class=
"col"
:class=
"[!$q.platform.is.desktop?'hidden':'']"
>
<ul
class=
"l-footer--list row
justify-center items-center no-wrap
"
>
<li
class=
"l-footer--list__item relative cursor-pointer"
v-for=
"(item,index) in plugData.MenuList"
>
<a
@
click=
"OpenNewUrl(item.LinkUrl)"
class=
"flex justify-center group"
>
<p
class=
"font-serif writing-modes-vertical leading-28 tracking-5 text-white
...
...
src/pages/home/index.vue
View file @
8b92e9a8
...
...
@@ -158,10 +158,27 @@ export default {
let
arrList
=
function
(
list
){
list
.
forEach
(
x
=>
{
x
.
top
=
0
});
}
arrList
(
res
.
data
.
data
)
this
.
HomeData
=
res
.
data
.
data
;
this
.
HomeData
.
forEach
(
x
=>
{
if
(
x
.
Id
==
'index_nav'
){
let
findIndex
=
x
.
plugData
.
BottomList
.
findIndex
(
x
=>
x
.
LinkTitle
.
indexOf
(
'邮箱'
)
!=-
1
)
let
findIndexTel
=
x
.
plugData
.
BottomList
.
findIndex
(
x
=>
x
.
LinkTitle
.
indexOf
(
'电话'
)
!=-
1
)
console
.
log
(
findIndex
,
findIndexTel
)
if
(
findIndex
==-
1
)
x
.
plugData
.
BottomList
.
push
({
LinkTitle
:
'邮箱:service@oytour.com'
,
LinkUrl
:
''
,
})
if
(
findIndexTel
==-
1
)
x
.
plugData
.
BottomList
.
push
({
LinkTitle
:
'电话:400-616-5510'
,
LinkUrl
:
''
,
})
}
})
var
jsonData
=
JSON
.
stringify
(
res
.
data
.
data
);
window
.
localStorage
.
setItem
(
"HomeData"
,
jsonData
);
...
...
@@ -172,7 +189,7 @@ export default {
setTimeout
(()
=>
{
this
.
HomeData
.
forEach
((
x
,
index
)
=>
{
var
object
=
document
.
getElementById
(
`homeRefs_
${
index
}
`
);
x
.
top
=
object
.
getBoundingClientRect
().
top
if
(
object
)
x
.
top
=
object
.
getBoundingClientRect
().
top
})
},
1000
)
}
...
...
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