Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
offical_web
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangjie
offical_web
Commits
86f62861
Commit
86f62861
authored
May 15, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修改
parent
4adac5de
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
src/components/head.vue
+2
-5
src/views/contact.vue
+1
-1
No files found.
src/components/head.vue
View file @
86f62861
<
template
>
<
template
>
<div
class=
"header"
:class=
"
{ 'no-shadow': !shadow }" ref="header">
<div
class=
"header"
:class=
"
{ 'no-shadow': !shadow }" ref="header">
<headerNavMobile
<headerNavMobile
v-if=
"$isMobile"
:userInfo=
"userInfo"
></headerNavMobile>
v-if=
"$isMobile"
:userInfo=
"userInfo"
></headerNavMobile>
<div
class=
"container"
v-else
>
<div
class=
"container"
v-else
>
<div
class=
"logo"
>
<div
class=
"logo"
>
<span
class=
"logo_text"
>
<span
class=
"logo_text"
>
...
@@ -286,8 +284,6 @@ export default {
...
@@ -286,8 +284,6 @@ export default {
if
(
this
.
userInfo
&&
this
.
$route
.
query
.
shopKey
)
{
if
(
this
.
userInfo
&&
this
.
$route
.
query
.
shopKey
)
{
this
.
$router
.
push
(
'/contact'
)
this
.
$router
.
push
(
'/contact'
)
}
}
},
mounted
()
{
this
.
scrollParent
().
addEventListener
(
'scroll'
,
this
.
onScroll
)
this
.
scrollParent
().
addEventListener
(
'scroll'
,
this
.
onScroll
)
},
},
beforeDestroy
()
{
beforeDestroy
()
{
...
@@ -314,6 +310,7 @@ export default {
...
@@ -314,6 +310,7 @@ export default {
})
})
},
},
login
()
{
login
()
{
console
.
log
(
this
.
$route
.
query
)
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
shopKey
)
{
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
shopKey
)
{
this
.
setShopKey
(
this
.
$route
.
query
.
shopKey
)
this
.
setShopKey
(
this
.
$route
.
query
.
shopKey
)
}
}
...
...
src/views/contact.vue
View file @
86f62861
...
@@ -97,7 +97,7 @@ export default {
...
@@ -97,7 +97,7 @@ export default {
}
}
}
,
}
,
computed
:
{
computed
:
{
...
mapState
([
'shopifyObj'
]),
//
...mapState(['shopifyObj']),
}
,
}
,
mounted
()
{
mounted
()
{
console
.
log
(
this
.
shopifyObj
);
console
.
log
(
this
.
shopifyObj
);
...
...
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