Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张冬
web-site
Commits
8aaa6e97
Commit
8aaa6e97
authored
Oct 31, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客服
parent
d26938f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
list.js
common/list.js
+7
-2
footer.vue
components/footer.vue
+14
-0
No files found.
common/list.js
View file @
8aaa6e97
...
@@ -243,4 +243,9 @@ export function getPutInfo(data){
...
@@ -243,4 +243,9 @@ export function getPutInfo(data){
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
}
}
/* 客服电话 */
\ No newline at end of file
export
function
getMessagephone
(){
return
request
({
url
:
'/company/customService'
,
method
:
'get'
,
})}
\ No newline at end of file
components/footer.vue
View file @
8aaa6e97
...
@@ -19,9 +19,14 @@
...
@@ -19,9 +19,14 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getMessagephone
}
from
'@/common/list.js'
export
default
{
export
default
{
mounted
(){
getMessagephone
()
},
data
()
{
data
()
{
return
{
return
{
/* email:'605664467@qq.com', */
footList
:
[{
footList
:
[{
title
:
"友情链接"
,
title
:
"友情链接"
,
list
:
[{
name
:
'教育部学校规划建设发展'
,
list
:
[{
name
:
'教育部学校规划建设发展'
,
...
@@ -45,12 +50,21 @@
...
@@ -45,12 +50,21 @@
title
:
"客服中心"
,
title
:
"客服中心"
,
list
:
[{
name
:
"帮助中心"
},
{
name
:
"在线客服"
}]
list
:
[{
name
:
"帮助中心"
},
{
name
:
"在线客服"
}]
},
},
/* */
{
{
title
:
"联系方式"
,
title
:
"联系方式"
,
list
:
[{
name
:
"客服联系电话 : 13810057696"
},
{
name
:
"电子邮箱: 13810057696@139.com"
},]
list
:
[{
name
:
"客服联系电话 : 13810057696"
},
{
name
:
"电子邮箱: 13810057696@139.com"
},]
},
},
]
]
}
}
},
mothods
:{
async
getMessagephone
(){
const
{
data
}
=
await
getMessagephone
()
console
.
log
(
data
)
this
.
footList
[
3
].
list
[
0
].
name
=
`客服联系电话 :
${
data
.
phone
}
`
this
.
footList
[
3
].
list
[
1
].
name
=
`电子邮箱 :
${
data
.
email
}
`
}
}
}
}
}
</
script
>
</
script
>
...
...
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