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
7d84f2fe
Commit
7d84f2fe
authored
Dec 18, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
bc963964
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
279 additions
and
133 deletions
+279
-133
utils.js
src/boot/utils.js
+4
-1
hor-big-one.vue
src/components/navs/hor-big-one.vue
+27
-9
newHor-btm.vue
src/components/navs/newHor-btm.vue
+248
-123
No files found.
src/boot/utils.js
View file @
7d84f2fe
...
...
@@ -20,12 +20,13 @@ Vue.prototype.$message = message
Vue
.
prototype
.
$product
=
product
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
"http://192.168.5.
214
"
;
let
domainUrl
=
"http://192.168.5.
46
"
;
let
domainNameUrl
=
this
.
GetDomain
();
if
(
domainNameUrl
.
indexOf
(
'oytour'
)
!==
-
1
)
{
domainUrl
=
"https://reborn.oytour.com"
;
}
domainUrl
=
"https://reborn.oytour.com"
;
var
obj
=
{
//主地址
DomainUrl
:
domainUrl
,
...
...
@@ -224,6 +225,8 @@ Vue.prototype.CommonJump = function (path, obj, type = 'push') {
});
}
}
Vue
.
prototype
.
$user
=
user
Vue
.
prototype
.
createCalendar
=
function
(
dateStr
)
{
var
days
=
[];
...
...
src/components/navs/hor-big-one.vue
View file @
7d84f2fe
...
...
@@ -346,7 +346,7 @@
</q-menu>
</q-btn>
-->
<q-btn
flat
dense
class=
"social-btn"
>
<q-btn
flat
dense
class=
"social-btn"
v-if=
"yyzlImg&&yyzlImg!=''"
>
<img
src=
"../../assets/img/wechat.png"
class=
"btn-img"
style=
"width:25px;height:25px;display: block;"
/>
<div
class=
"social-pop"
>
<div
class=
"arrow"
></div>
...
...
@@ -356,7 +356,7 @@
</div>
</div>
</q-btn>
<q-btn
flat
dense
class=
"social-btn"
>
<q-btn
flat
dense
class=
"social-btn"
v-if=
"xhsImgList&&xhsImgList.length>0"
>
<img
src=
"../../assets/img/xiaohongshu.png"
class=
"btn-img"
style=
"width:25px;height:25px;display: block;"
/>
<div
class=
"social-pop xhs-pop"
>
<div
class=
"arrow"
></div>
...
...
@@ -368,13 +368,22 @@
</div>
</div>
</q-btn>
<q-btn
flat
dense
class=
"social-btn"
v-if=
"wbImg&&wbImg!=''"
>
<img
src=
"../../assets/img/weibo.png"
class=
"btn-img"
style=
"width:25px;height:25px;display: block;"
/>
<div
class=
"social-pop"
>
<div
class=
"arrow"
></div>
<div
class=
"social-qrcode"
>
<img
:src=
"wbImg"
/>
<div
class=
"social-tip"
>
扫码关注微博
</div>
</div>
</div>
</q-btn>
<q-btn
v-if=
"LoginUser.id
<
=
0
"
label=
"注册"
flat
></q-btn>
<template
v-if=
"LoginUser.token"
>
<q-btn-dropdown
style=
"color: #444; font-weight: bold"
class=
"q-ml-lg"
unelevated
>
<template
v-slot:label
>
<img
class=
"avatar"
v-if=
"LoginUser.photo"
:src=
"LoginUser.photo"
/>
<img
class=
"avatar"
v-else
src=
"../../assets/img/avatar.png"
/>
<!--
<span>
{{
LoginUser
.
name
||
LoginUser
.
mailbox
}}
</span>
-->
</
template
>
<div
class=
"row no-wrap"
>
...
...
@@ -520,12 +529,9 @@
selectedAreaId
:
""
,
isHome
:
false
,
isSearch
:
true
,
yyzlImg
:
"https://imgfile.oytour.com/static/b2c/yyzl.jpg"
,
xhsImgList
:
[
"https://imgfile.oytour.com/static/b2c/JPtravel.png"
,
"https://imgfile.oytour.com/static/b2c/RoyalHolidays1.png"
,
"https://imgfile.oytour.com/static/b2c/RoyalHolidays2.png"
,
]
yyzlImg
:
""
,
//印象之旅
xhsImgList
:
[],
//小红书
wbImg
:
""
,
//微博
};
},
watch
:
{
...
...
@@ -562,6 +568,18 @@
if
(
localStorage
.
b2bUser
)
{
this
.
LoginUser
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
"b2bUser"
));
}
var
baseInfo
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'baseifo'
));
if
(
baseInfo
&&
baseInfo
.
Config
&&
baseInfo
.
Config
.
platObj
)
{
if
(
baseInfo
.
Config
.
platObj
.
yyzlImg
)
{
this
.
yyzlImg
=
baseInfo
.
Config
.
platObj
.
yyzlImg
;
}
if
(
baseInfo
.
Config
.
platObj
.
xhsImgList
&&
baseInfo
.
Config
.
platObj
.
xhsImgList
.
length
>
0
)
{
this
.
xhsImgList
=
baseInfo
.
Config
.
platObj
.
xhsImgList
;
}
if
(
baseInfo
.
Config
.
platObj
.
wbImg
)
{
this
.
wbImg
=
baseInfo
.
Config
.
platObj
.
wbImg
;
}
}
var
newStartDate
=
new
Date
();
var
newStartDateStr
=
this
.
formatDate
(
newStartDate
.
getFullYear
(),
...
...
src/components/navs/newHor-btm.vue
View file @
7d84f2fe
This diff is collapsed.
Click to expand it.
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