diff --git a/fir_client/src/components/index/FirIndexBody.vue b/fir_client/src/components/index/FirIndexBody.vue index f2326c9..ef931bc 100644 --- a/fir_client/src/components/index/FirIndexBody.vue +++ b/fir_client/src/components/index/FirIndexBody.vue @@ -41,7 +41,7 @@ - +
您身边的应用托管分发专家
7x24小时提供出色的不间断服务
@@ -51,9 +51,9 @@ >联系我们
- - - + + +
@@ -66,6 +66,12 @@ name: "FirIndex", data() { return { + contact_images: { + bg: require("@/assets/imgs/contact_us_bg.jpg"), + weixin: require("@/assets/imgs/weixin.png"), + weibo: require("@/assets/imgs/weibo.png"), + twitter: require("@/assets/imgs/twitter.png"), + }, swiperList: [ { img: require("@/assets/imgs/banner2.jpg"), @@ -186,7 +192,6 @@ color: #fff; height: 400px; text-align: center; - background: url("../../assets/imgs/contact_us_bg.jpg") 0 0 no-repeat; background-size: 100% 100%; transition: all ease 0.6s; } @@ -201,28 +206,13 @@ margin-top: 40px; } - #contactUs .contactUs-container .contactUs-contactWay span { + #contactUs .contactUs-container .contactUs-contactWay img { display: inline-block; width: 48px; height: 48px; margin: 30px; } - #contactUs .contactUs-container .contactUs-contactWay span:nth-of-type(1) { - background: url("../../assets/imgs/weixin.png") 0 0 no-repeat; - background-size: 100% 100%; - } - - #contactUs .contactUs-container .contactUs-contactWay span:nth-of-type(2) { - background: url("../../assets/imgs/weibo.png") 0 0 no-repeat; - background-size: 100% 100%; - } - - #contactUs .contactUs-container .contactUs-contactWay span:nth-of-type(3) { - background: url("../../assets/imgs/twitter.png") 0 0 no-repeat; - background-size: 100% 100%; - } - /* 为什么选择我们 */ #whyChooseUs { padding: 100px; diff --git a/fir_client/vue.config.js b/fir_client/vue.config.js index fe83508..0e38272 100644 --- a/fir_client/vue.config.js +++ b/fir_client/vue.config.js @@ -95,11 +95,11 @@ const dev_base_env = { }; let base_evn = dev_base_env; -// if (IS_PROD) { -// base_evn = pro_base_env -// } else { -// base_evn = dev_base_env -// } +if (IS_PROD) { + base_evn = pro_base_env +} else { + base_evn = dev_base_env +} function get_public_path(pages) { if (!IS_PROD) {