zhangsiyu 2 years ago
parent
commit
34bbaa473d
  1. 2
      src/pages/home.css
  2. 10
      src/units/home.vue

2
src/pages/home.css

@ -446,7 +446,7 @@
} }
.fwmw-text { .fwmw-text {
max-width: 90%; max-width: 77rem;
font-size: 1.125rem; font-size: 1.125rem;
color: #666666; color: #666666;
margin: auto; margin: auto;

10
src/units/home.vue

@ -423,7 +423,7 @@ export default {
}, },
imgsArr: [], imgsArr: [],
host: "http://xhm.x-embers.com/", host: "http://gw.x-embers.com/",
service: {}, service: {},
flag: false, flag: false,
maskSwitch: false, maskSwitch: false,
@ -501,7 +501,7 @@ export default {
methods: { methods: {
getSeo() { getSeo() {
this.$axios this.$axios
.post("http://xhm.x-embers.com/api/index/seo", {}) .post("http://gw.x-embers.com/api/index/seo", {})
.then((res) => { .then((res) => {
console.log(res); console.log(res);
this.description = res.data.data.description; this.description = res.data.data.description;
@ -562,7 +562,7 @@ export default {
getMenu() { getMenu() {
this.$axios({ this.$axios({
method: "get", method: "get",
url: "http://xhm.x-embers.com/api/index/menu", url: "http://gw.x-embers.com/api/index/menu",
params: {}, params: {},
}).then( }).then(
(res) => { (res) => {
@ -577,7 +577,7 @@ export default {
getContent() { getContent() {
this.$axios({ this.$axios({
method: "get", method: "get",
url: "http://xhm.x-embers.com/api/index/content", url: "http://gw.x-embers.com/api/index/content",
params: {}, params: {},
}).then( }).then(
(res) => { (res) => {
@ -653,7 +653,7 @@ console.log(viewer);
getCompanyInfo() { getCompanyInfo() {
this.$axios({ this.$axios({
method: "get", method: "get",
url: "http://xhm.x-embers.com/api/index/companyInfo", url: "http://gw.x-embers.com/api/index/companyInfo",
params: {}, params: {},
}).then( }).then(
(res) => { (res) => {

Loading…
Cancel
Save