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
813a4aa6
Commit
813a4aa6
authored
Nov 02, 2023
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修改
parent
484fbabc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
13 deletions
+17
-13
src/views/contact.vue
+17
-13
No files found.
src/views/contact.vue
View file @
813a4aa6
...
...
@@ -4,15 +4,15 @@
<div
class=
"header-image"
>
<img
src=
"../assets/logo.png"
height=
"40px"
/>
</div>
<
!--
<
div
class=
"user-info"
>
<div
class=
"user-msg"
>
<div
class=
"user-info"
>
<
!--
<
div
class=
"user-msg"
>
<span
class=
"user-name"
>
{{
'小溪'
}}
</span>
<span>
欢迎您
</span>
</div>
</div>
-->
<div
class=
"logout"
title=
"退出登录"
@
click=
"logout"
>
<img
src=
"../assets/images/logout.png"
/>
</div>
</div>
-->
</div>
</div>
<div
class=
"login_content"
>
<div
class=
"no-authority"
>
...
...
@@ -23,9 +23,9 @@
font-size: 50px;
line-height: 100px;
font-family: '微软雅黑';
"
v-if=
"userInfo.erpKey"
>
<a
:href=
"'https://'+userInfo.erpKey+'.jomalls.com'"
target=
"_blank"
style=
"text-decoration: none"
>
{{
userInfo
.
erpKey
+
'.jomalls.com'
}}
</a>
"
v-if=
"userInfo
&& userInfo
.erpKey"
>
<a
:href=
"'https://'+
userInfo &&
userInfo.erpKey+'.jomalls.com'"
target=
"_blank"
style=
"text-decoration: none"
>
{{
userInfo
&&
userInfo
.
erpKey
+
'.jomalls.com'
}}
</a>
</div>
<h1
style=
"
...
...
@@ -45,7 +45,7 @@
line-height: 100px;
font-family: '微软雅黑';
"
>
联系电话:1
5399065167
联系电话:1
8710915638
</h2>
<h2
style=
"
...
...
@@ -55,7 +55,7 @@
line-height: 50px;
font-family: '微软雅黑';
"
>
邮箱:ni
kki
@jomalls.com
邮箱:ni
na
@jomalls.com
</h2>
<el-button
style=
"
...
...
@@ -78,7 +78,7 @@
</
template
>
<
script
>
import
{
mapState
}
from
'vuex'
import
{
map
Mutations
,
map
State
}
from
'vuex'
import
{
post
}
from
'../utils/axios'
export
default
{
...
...
@@ -87,7 +87,6 @@ export default {
data
()
{
return
{
userInfo
:
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
)),
shopifyObj
:
JSON
.
parse
(
localStorage
.
getItem
(
'shopifyObj'
))
}
},
computed
:
{
...
...
@@ -95,12 +94,14 @@ export default {
},
mounted
()
{
if
(
this
.
userInfo
&&
this
.
shopifyObj
)
{
this
.
getShopifyInfo
()
//
this.getShopifyInfo()
}
},
methods
:
{
...
mapMutations
([
'setUserInfo'
]),
goBack
()
{
this
.
$router
.
push
(
'/home'
)
console
.
log
(
'111'
)
this
.
$router
.
push
(
'/'
)
},
getShopifyInfo
()
{
post
(
'business/shop/bind'
,
{
...
...
@@ -112,6 +113,9 @@ export default {
})
},
logout
()
{
localStorage
.
removeItem
(
'userInfo'
)
this
.
setUserInfo
(
undefined
)
this
.
$router
.
push
(
'/login'
)
},
},
}
...
...
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