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

客服

parent d26938f3
......@@ -243,4 +243,9 @@ export function getPutInfo(data){
method:'post',
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 @@
</template>
<script>
import {getMessagephone} from '@/common/list.js'
export default {
mounted(){
getMessagephone()
},
data() {
return {
/* email:'605664467@qq.com', */
footList: [{
title: "友情链接",
list: [{name:'教育部学校规划建设发展',
......@@ -45,12 +50,21 @@
title: "客服中心",
list: [{name:"帮助中心"}, {name:"在线客服"}]
},
/* */
{
title: "联系方式",
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>
......
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