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
6d67d4e4
Commit
6d67d4e4
authored
Nov 07, 2023
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:问题修改
parent
8ac38a9f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
21 deletions
+28
-21
src/components/head.vue
+3
-3
src/views/contact.vue
+25
-18
No files found.
src/components/head.vue
View file @
6d67d4e4
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mapMutations
,
mapState
}
from
'vuex'
import
{
mapMutations
}
from
'vuex'
import
headerNavMobile
from
'./headerNavMobile.vue'
import
headerNavMobile
from
'./headerNavMobile.vue'
export
default
{
export
default
{
...
@@ -69,7 +69,7 @@ export default {
...
@@ -69,7 +69,7 @@ export default {
}
}
},
},
computed
:
{
computed
:
{
// ...mapState(['
userInfo
']),
// ...mapState(['
shopifyObj
']),
active
()
{
active
()
{
return
this
.
$route
.
path
return
this
.
$route
.
path
},
},
...
@@ -78,7 +78,7 @@ export default {
...
@@ -78,7 +78,7 @@ export default {
if
(
this
.
$route
.
query
.
shopKey
){
if
(
this
.
$route
.
query
.
shopKey
){
localStorage
.
setItem
(
'shopifyObj'
,
JSON
.
stringify
(
this
.
$route
.
query
))
localStorage
.
setItem
(
'shopifyObj'
,
JSON
.
stringify
(
this
.
$route
.
query
))
}
}
if
(
this
.
userInfo
){
if
(
this
.
userInfo
&&
this
.
$route
.
query
.
shopKey
){
this
.
$router
.
push
(
'/contact'
)
this
.
$router
.
push
(
'/contact'
)
}
}
},
},
...
...
src/views/contact.vue
View file @
6d67d4e4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"login_bg"
>
<div
class=
"login_bg"
>
<div
class=
"contact-header"
>
<div
class=
"contact-header"
>
<div
class=
"header-image"
>
<div
class=
"header-image"
>
<img
src=
"../assets/logo.png"
height=
"40px"
/>
<img
src=
"../assets/logo.png"
height=
"40px"
/>
</div>
</div>
<div
class=
"user-info"
>
<div
class=
"user-info"
>
<!--
<div
class=
"user-msg"
>
<!--
<div
class=
"user-msg"
>
...
@@ -17,28 +17,34 @@
...
@@ -17,28 +17,34 @@
<div
class=
"login_content"
>
<div
class=
"login_content"
>
<div
class=
"no-authority"
>
<div
class=
"no-authority"
>
<div
<div
style=
"
style=
"
text-align: center;
text-align: center;
color: #fff;
color: #fff;
font-size: 50px;
font-size: 50px;
line-height: 100px;
line-height: 100px;
font-family: '微软雅黑';
font-family: '微软雅黑';
"
v-if=
"userInfo && userInfo.erpKey"
>
"
<a
:href=
"`https://$
{userInfo
&&
userInfo.erpKey}.jomalls.com`" target="_blank" style="text-decoration: none">
v-if=
"userInfo && userInfo.erpKey"
>
{{
`https://${userInfo && userInfo.erpKey
}
.jomalls.com`
}}
<
/a
>
<a
:href=
"`https://$
{userInfo
&&
userInfo.erpKey}.jomalls.com`"
target="_blank"
style="text-decoration: none">
{{
`https://${userInfo && userInfo.erpKey
}
.jomalls.com`
}}
<
/a
>
<
/div
>
<
/div
>
<
h1
<
h1
style
=
"
style
=
"
text-align: center;
text-align: center;
color: #fff;
color: #fff;
font-size: 50px;
font-size: 50px;
line-height: 100px;
line-height: 100px;
font-family: '微软雅黑';
font-family: '微软雅黑';
"
v
-
else
>
"
v
-
else
>
您尚未开通
erp
权限
,
请联系您的商务经理
您尚未开通
erp
权限
,
请联系您的商务经理
<
/h1
>
<
/h1
>
<
h2
<
h2
style
=
"
style
=
"
text-align: center;
text-align: center;
color: #fff;
color: #fff;
font-size: 36px;
font-size: 36px;
...
@@ -48,7 +54,7 @@
...
@@ -48,7 +54,7 @@
联系电话
:
18710915638
联系电话
:
18710915638
<
/h2
>
<
/h2
>
<
h2
<
h2
style
=
"
style
=
"
text-align: center;
text-align: center;
color: #fff;
color: #fff;
font-size: 36px;
font-size: 36px;
...
@@ -58,7 +64,7 @@
...
@@ -58,7 +64,7 @@
邮箱
:
nina
@
jomalls
.
com
邮箱
:
nina
@
jomalls
.
com
<
/h2
>
<
/h2
>
<
el
-
button
<
el
-
button
style
=
"
style
=
"
text-align: center;
text-align: center;
font-size: 30px;
font-size: 30px;
width: 160px;
width: 160px;
...
@@ -67,8 +73,8 @@
...
@@ -67,8 +73,8 @@
margin-top: 30px;
margin-top: 30px;
border-radius: 15px;
border-radius: 15px;
"
"
type
=
"success"
type
=
"success"
@
click
=
"goBack"
>
@
click
=
"goBack"
>
返回首页
返回首页
<
/el-button
>
<
/el-button
>
<
/div
>
<
/div
>
...
@@ -78,8 +84,8 @@
...
@@ -78,8 +84,8 @@
<
/template
>
<
/template
>
<
script
>
<
script
>
import
{
mapMutations
,
mapState
}
from
'vuex'
import
{
mapMutations
,
mapState
}
from
'vuex'
import
{
post
}
from
'../utils/axios'
import
{
post
}
from
'../utils/axios'
export
default
{
export
default
{
name
:
'contact'
,
name
:
'contact'
,
...
@@ -93,22 +99,23 @@ export default {
...
@@ -93,22 +99,23 @@ export default {
...
mapState
([
'shopifyObj'
]),
...
mapState
([
'shopifyObj'
]),
}
,
}
,
mounted
()
{
mounted
()
{
if
(
this
.
userInfo
&&
this
.
shopifyObj
)
{
if
(
this
.
userInfo
&&
this
.
shopifyObj
)
{
this
.
getShopifyInfo
()
this
.
getShopifyInfo
()
}
}
}
,
}
,
methods
:
{
methods
:
{
...
mapMutations
([
'setUserInfo'
]),
...
mapMutations
([
'setUserInfo'
]),
goBack
()
{
goBack
()
{
console
.
log
(
'111'
)
this
.
$router
.
push
(
'/'
)
this
.
$router
.
push
(
'/'
)
}
,
}
,
getShopifyInfo
()
{
getShopifyInfo
()
{
console
.
log
(
this
.
shopifyObj
)
if
(
!
this
.
shopifyObj
.
shopKey
||
!
this
.
userInfo
.
erpKey
)
return
post
(
'business/shop/bind'
,
{
post
(
'business/shop/bind'
,
{
shopKey
:
this
.
shopifyObj
.
shopKey
,
shopKey
:
this
.
shopifyObj
.
shopKey
,
platform
:
this
.
shopifyObj
.
platform
,
platform
:
this
.
shopifyObj
.
platform
,
companyCode
:
this
.
userInfo
.
erpKey
companyCode
:
this
.
userInfo
.
erpKey
,
}
).
then
(
res
=>
{
}
).
then
(
(
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
}
)
}
)
}
,
}
,
...
...
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