Commit 8aaa6e97 authored by 吴冠's avatar 吴冠

客服

parent d26938f3
...@@ -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
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment