From ffa937777de1e56498ea01d4b34ff6dce74d6c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=8B?= <779219182@qq.com> Date: Fri, 21 Jan 2022 09:13:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=BA=8C=E7=89=88=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AboutUs/index.vue | 2 +- src/components/ServiceOutlets/index.vue | 15 ++++++++++++--- src/style/index.less | 1 + src/views/login.vue | 4 ++-- 接口路径.txt | 1 + 5 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/components/AboutUs/index.vue b/src/components/AboutUs/index.vue index 8927e42..a745307 100644 --- a/src/components/AboutUs/index.vue +++ b/src/components/AboutUs/index.vue @@ -78,7 +78,7 @@ export default { .w { // background-color: #fff; // margin: 16px auto; - padding: 30px 0; + padding: 16px 0 30px 0; .bannerbox { position: relative; width: 100%; diff --git a/src/components/ServiceOutlets/index.vue b/src/components/ServiceOutlets/index.vue index 85d6478..baa6e4e 100644 --- a/src/components/ServiceOutlets/index.vue +++ b/src/components/ServiceOutlets/index.vue @@ -34,9 +34,9 @@ 服务业企业提供RPO、BPO、HRO等人力资源服务。

-
+
河南省许昌市襄城县XX街道XX号 + >河南省许昌市襄城县XX街道XX号
@@ -70,6 +70,8 @@ export default { data() { return { relationList: [1, 2, 3], + searchurl: + "http://api.map.baidu.com/geocoder?output=html&src=webapp.baidu.openAPIdemo&address=", }; }, // 计算属性 @@ -87,7 +89,14 @@ export default { */ mounted() {}, // 组件方法 - methods: {}, + methods: { + tomap() { + const value = this.$refs.maplocation.innerHTML; + // console.log(this.$refs.maplocation.innerHTML); + console.log(this.searchrl); + window.location.href = this.searchurl + value; + }, + }, }; diff --git a/src/style/index.less b/src/style/index.less index 0e100a6..82ddc01 100644 --- a/src/style/index.less +++ b/src/style/index.less @@ -101,6 +101,7 @@ body { // height: 3080px; background-color: #eef1f5; font-size: 18px; + text-align: center; } p { font-size: 18px; diff --git a/src/views/login.vue b/src/views/login.vue index c07fa1b..fbc8d77 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -14,7 +14,7 @@
-