From 7e6dd2888cbc170501ecd0c96ee56eb0db0ac0f9 Mon Sep 17 00:00:00 2001 From: lucky Date: Wed, 6 Jan 2021 15:38:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Introduce/ContactMap.vue | 6 +----- src/components/Introduce/DeriveEnterprise.vue | 7 ++++--- src/components/Introduce/PartnerShip.vue | 10 ++++------ src/views/About/Children/SpinOffs.vue | 2 +- src/views/Cart/Cart.vue | 6 ++---- 5 files changed, 12 insertions(+), 19 deletions(-) diff --git a/src/components/Introduce/ContactMap.vue b/src/components/Introduce/ContactMap.vue index 2d8421e..b0fb6fd 100644 --- a/src/components/Introduce/ContactMap.vue +++ b/src/components/Introduce/ContactMap.vue @@ -36,11 +36,7 @@ export default { marker.setAnimation(Animation); //添加地图类型控件 - map.addControl( - new BMap.MapTypeControl({ - mapTypes: [BMAP_NORMAL_MAP, BMAP_HYBRID_MAP], - }), - ); + map.addControl(new BMap.MapTypeControl({ mapTypes: [BMAP_NORMAL_MAP, BMAP_HYBRID_MAP] })); map.setCurrentCity('太原'); // 设置地图显示的城市 此项是必须设置的 map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放 }, diff --git a/src/components/Introduce/DeriveEnterprise.vue b/src/components/Introduce/DeriveEnterprise.vue index 57b2b6e..b3ecfdb 100644 --- a/src/components/Introduce/DeriveEnterprise.vue +++ b/src/components/Introduce/DeriveEnterprise.vue @@ -27,11 +27,11 @@ - +

{{ item.typeOfTech===0 ? '高校' : item.typeOfTech===1 ? '院所' : '企业'}}

+ >{{ item.typeOfTech===0 ? '高校' : item.typeOfTech===1 ? '院所' : '企业' }}

- + @@ -34,8 +34,8 @@ import { mapState, mapMutations, mapActions } from 'vuex'; import CompanyProfile from './CompanyProfile.vue'; export default { - components: { CompanyProfile }, name: 'PartnerShip', + components: { CompanyProfile }, props: { title: { type: String, @@ -48,9 +48,7 @@ export default { }, data() { - return { - showProfile: false, // 显示公司介绍 - }; + return { showProfile: false }; }, computed: mapState('home', ['partners', 'profile']), diff --git a/src/views/About/Children/SpinOffs.vue b/src/views/About/Children/SpinOffs.vue index 1192066..7194bb4 100644 --- a/src/views/About/Children/SpinOffs.vue +++ b/src/views/About/Children/SpinOffs.vue @@ -5,7 +5,7 @@
- +
diff --git a/src/views/Cart/Cart.vue b/src/views/Cart/Cart.vue index f507d49..0d1e0c4 100644 --- a/src/views/Cart/Cart.vue +++ b/src/views/Cart/Cart.vue @@ -98,13 +98,11 @@ export default { created() {}, methods: { ...mapMutations('home', []), - // 获取活动公告列表 + // 获取购物车列表 async getData() { try { this.setActIpCon(this.iptCon); - const params = { - param: {}, - }; + const params = { param: {} }; // const res = await front(params); // const { data, msg, code } = res.data; // if (code === 200) {