Browse Source

解决冲突

master
lucky 5 years ago
parent
commit
7e6dd2888c
  1. 6
      src/components/Introduce/ContactMap.vue
  2. 7
      src/components/Introduce/DeriveEnterprise.vue
  3. 10
      src/components/Introduce/PartnerShip.vue
  4. 2
      src/views/About/Children/SpinOffs.vue
  5. 6
      src/views/Cart/Cart.vue

6
src/components/Introduce/ContactMap.vue

@ -36,11 +36,7 @@ export default {
marker.setAnimation(Animation); marker.setAnimation(Animation);
// //
map.addControl( map.addControl(new BMap.MapTypeControl({ mapTypes: [BMAP_NORMAL_MAP, BMAP_HYBRID_MAP] }));
new BMap.MapTypeControl({
mapTypes: [BMAP_NORMAL_MAP, BMAP_HYBRID_MAP],
}),
);
map.setCurrentCity('太原'); // map.setCurrentCity('太原'); //
map.enableScrollWheelZoom(true); // map.enableScrollWheelZoom(true); //
}, },

7
src/components/Introduce/DeriveEnterprise.vue

@ -27,11 +27,11 @@
</span> </span>
</div> </div>
</div> </div>
<company-profile :showProfile="showProfile" @closeProfile="closeProfile" v-if="showProfile" /> <company-profile :show-profile="showProfile" @closeProfile="closeProfile" v-if="showProfile" />
</div> </div>
<div class="inner d-flex flex-row-reverse pb-10 enterprise-page"> <div class="inner d-flex flex-row-reverse pb-10 enterprise-page">
<a-pagination <a-pagination
:defaultPageSize="6" :default-page-size="6"
:total="newPartners.length" :total="newPartners.length"
@change="onChange" @change="onChange"
show-less-items show-less-items
@ -45,8 +45,8 @@
import { mapState, mapMutations, mapActions } from 'vuex'; import { mapState, mapMutations, mapActions } from 'vuex';
import CompanyProfile from './CompanyProfile.vue'; import CompanyProfile from './CompanyProfile.vue';
export default { export default {
components: { CompanyProfile },
name: 'DeriveEnterprise', name: 'DeriveEnterprise',
components: { CompanyProfile },
props: { props: {
title: { title: {
type: String, type: String,
@ -81,6 +81,7 @@ export default {
} }
return arr; return arr;
} }
return arr;
}, },
}, },

10
src/components/Introduce/PartnerShip.vue

@ -9,7 +9,7 @@
<div :key="index" class="mb-4" v-for="(item,index) in partners"> <div :key="index" class="mb-4" v-for="(item,index) in partners">
<p <p
class="font-bold-24 title-color" class="font-bold-24 title-color"
>{{ item.typeOfTech===0 ? '高校' : item.typeOfTech===1 ? '院所' : '企业'}}</p> >{{ item.typeOfTech===0 ? '高校' : item.typeOfTech===1 ? '院所' : '企业' }}</p>
<div <div
class="d-flex flex-wrap" class="d-flex flex-wrap"
v-if="item.backendSearchList && item.backendSearchList.length > 0" v-if="item.backendSearchList && item.backendSearchList.length > 0"
@ -26,7 +26,7 @@
</div> </div>
</div> </div>
</div> </div>
<company-profile :showProfile="showProfile" @closeProfile="closeProfile" v-if="showProfile" /> <company-profile :show-profile="showProfile" @closeProfile="closeProfile" v-if="showProfile" />
</div> </div>
</template> </template>
@ -34,8 +34,8 @@
import { mapState, mapMutations, mapActions } from 'vuex'; import { mapState, mapMutations, mapActions } from 'vuex';
import CompanyProfile from './CompanyProfile.vue'; import CompanyProfile from './CompanyProfile.vue';
export default { export default {
components: { CompanyProfile },
name: 'PartnerShip', name: 'PartnerShip',
components: { CompanyProfile },
props: { props: {
title: { title: {
type: String, type: String,
@ -48,9 +48,7 @@ export default {
}, },
data() { data() {
return { return { showProfile: false };
showProfile: false, //
};
}, },
computed: mapState('home', ['partners', 'profile']), computed: mapState('home', ['partners', 'profile']),

2
src/views/About/Children/SpinOffs.vue

@ -5,7 +5,7 @@
<bread-crumb :arr="arr" /> <bread-crumb :arr="arr" />
</div> </div>
<div> <div>
<derive-enterprise :title="title" :typeOfPlatform="typeOfPlatform" /> <derive-enterprise :title="title" :type-of-platform="typeOfPlatform" />
</div> </div>
</div> </div>
</template> </template>

6
src/views/Cart/Cart.vue

@ -98,13 +98,11 @@ export default {
created() {}, created() {},
methods: { methods: {
...mapMutations('home', []), ...mapMutations('home', []),
// //
async getData() { async getData() {
try { try {
this.setActIpCon(this.iptCon); this.setActIpCon(this.iptCon);
const params = { const params = { param: {} };
param: {},
};
// const res = await front(params); // const res = await front(params);
// const { data, msg, code } = res.data; // const { data, msg, code } = res.data;
// if (code === 200) { // if (code === 200) {

Loading…
Cancel
Save