Browse Source

联系我们,关于我们前三个界面

master
aBin 5 years ago
parent
commit
c2a2f1d302
  1. 16177
      package-lock.json
  2. 36
      src/common/platform.styl
  3. 1
      src/common/portrait.styl
  4. 30
      src/components/HeadNav/HeadNav.vue
  5. 17
      src/components/Introduce/ContactMap.vue
  6. 74
      src/components/Introduce/ContactUs.vue
  7. 56
      src/components/Introduce/Pter.vue
  8. 4
      src/config/api.js
  9. 36
      src/router/index.js
  10. 2
      src/store/modules/home/mutations.js
  11. 2
      src/store/modules/home/state.js
  12. 32
      src/views/About/About.vue
  13. 60
      src/views/About/Children/Introduce.vue
  14. 30
      src/views/About/Children/Organ.vue
  15. 25
      src/views/About/Children/Partner.vue
  16. 29
      src/views/About/Children/SpinOffs.vue
  17. 67
      src/views/About/components/LeftNav.vue
  18. 9
      src/views/ContactUs/ContactUs.vue
  19. 17937
      yarn.lock

16177
package-lock.json

File diff suppressed because it is too large

36
src/common/platform.styl

@ -1,18 +1,20 @@
.nav-box {
height: 66px;
background: #000000;
line-height: 66px;
padding: 0 9%;
color: #fff;
font-size: 16px;
width: 17%;
color: #000;
font-size: 18px;
font-weight: bold;
div {
margin-right: 56px;
cursor: pointer;
height: 80px;
line-height: 80px;
background: #fff;
margin-bottom: 2px;
text-align: center
}
}
.nav-box-active {
color: #13ACC4 !important;
background: #007CC1 !important;
color: #fff !important;
}
.top-box {
@ -138,10 +140,9 @@
.content-box {
position: relative;
padding: 0 9%;
}
.introduce-box {
width: 60%;
width: 48%;
overflow: hidden;
position: relative;
background: #fff;
@ -179,3 +180,18 @@
color: #096DD9;
cursor: pointer;
}
.title-ch {
margin: 0 !important;
font-size: 24px;
font-weight: bold;
color: #000;
}
.title-en {
margin: 0 !important;
font-size: 22px;
font-weight: bold;
color: rgba(114,114,114,0.56);
}
.mr0 {
margin-right: 0 !important;
}

1
src/common/portrait.styl

@ -326,6 +326,7 @@
.inner {
width: 82%;
margin: 0 auto;
overflow: hidden;
}
.pointer{

30
src/components/HeadNav/HeadNav.vue

@ -2,23 +2,13 @@
<div class="white d-flex flex-row flex-nowrap px-10 align-center">
<img @click="jumUrl('/')" alt class="logo-img" src="@/assets/logo.png" style="cursor: pointer" />
<div class="flex-1 ml-8">
<a-dropdown
:disabled="item.children && item.children.length > 0 ? false : true"
:key="a"
class="list-down"
v-for="(item, a) in list"
>
<a-dropdown :disabled="item.children && item.children.length > 0 ? false : true" :key="a" class="list-down" v-for="(item, a) in list">
<a @click="jumUrl(item.url)" class="ant-dropdown-link">
{{ item.name }}&nbsp;&nbsp;
<a-icon type="down" v-show="item.children && item.children.length > 0" />
</a>
<a-menu slot="overlay">
<a-menu-item
:key="b"
class="px-6 py-3"
style="text-align: center"
v-for="(con, b) in item.children"
>
<a-menu-item :key="b" class="px-6 py-3" style="text-align: center" v-for="(con, b) in item.children">
<a @click="jumUrl(con.url)">{{ con.title }}</a>
</a-menu-item>
</a-menu>
@ -30,11 +20,7 @@
<template slot="title">
<span>点击查看购物车</span>
</template>
<a-icon
@click="$router.push('/Cart')"
class="baseColor icon-head icon-head-right pointer"
type="shopping-cart"
/>
<a-icon @click="$router.push('/Cart')" class="baseColor icon-head icon-head-right pointer" type="shopping-cart" />
</a-tooltip>
<router-link tag="span" to="/login">
<a-icon class="icon-head pointer" style="right: 50px" type="user" />
@ -138,23 +124,23 @@ export default {
},
{
name: '关于我们',
url: '',
url: '/About/Introduce',
children: [
{
title: '公司介绍',
url: '',
url: '/About/Introduce',
},
{
title: '组织机构',
url: '',
url: '/About/Organ',
},
{
title: '合作伙伴',
url: '',
url: '/About/Partner',
},
{
title: '生态企业',
url: '',
url: '/About/SpinOffs',
},
],
},

17
src/components/Introduce/ContactMap.vue

@ -1,3 +1,10 @@
<!--
* @Author: wally
* @email: 18603454788@163.com
* @Date: 2021-01-13 16:33:32
* @LastEditors: wally
* @LastEditTime: 2021-01-13 16:45:28
-->
<!--
Copyright (c) 2020.
author: song
@ -6,7 +13,7 @@
<template>
<!--百度地图容器-->
<div id="map" style="width:100%;height:392px;"></div>
<div id="map" style="width: 100%; height: 392px"></div>
</template>
<script>
@ -20,15 +27,15 @@ export default {
// API
var map = new BMap.Map('map'); // Map
// ,
var point = new BMap.Point(112.549977, 37.794254);
var point = new BMap.Point(112.561731, 37.789483);
map.centerAndZoom(point, 18);
var marker = new BMap.Marker(point); //
// marker.setTitle('绿');
// marker.setTitle('西');
map.addOverlay(marker); //
var content = '<table>';
content = content + '<tr><td> 绿谷生物</td></tr>';
content = content + '<tr><td> 山西维基</td></tr>';
content = content + '<tr><td></td></tr>';
content = content + '<tr><td> 山西省太原市晋阳街202号英语周报大厦八层</td></tr>';
content = content + '<tr><td> 山西省太原市小店区电商街与发展路交叉路口西侧中绿环保五层</td></tr>';
content += '</table>';
var infowindow = new BMap.InfoWindow(content);
marker.openInfoWindow(infowindow);

74
src/components/Introduce/ContactUs.vue

@ -1,3 +1,10 @@
<!--
* @Author: wally
* @email: 18603454788@163.com
* @Date: 2021-01-13 16:33:32
* @LastEditors: wally
* @LastEditTime: 2021-01-13 17:15:37
-->
<!--
Copyright (c) 2020.
author: song
@ -6,39 +13,30 @@
<template>
<div>
<div class="d-flex flex-nowrap" style="padding: 80px 0; background: rgb(248, 248, 248)">
<div class="flex-1 align-center flex-wrap flex-column">
<a-icon type="user" class="user" />
<br />
<span class="concat-us-tips">张三三</span>
</div>
<div class="flex-1 align-center flex-wrap flex-column">
<a-icon type="phone" class="user" />
<br />
<span class="concat-us-tips">15500000000</span>
</div>
<div class="flex-1 align-center flex-wrap flex-column">
<a-icon type="mail" class="user" />
<br />
<span class="concat-us-tips">123456.com</span>
</div>
<div class="flex-1 align-center flex-wrap flex-column">
<a-icon type="environment" class="user" />
<br />
<span class="concat-us-tips">山西省太原市</span>
</div>
</div>
<div class="contact d-flex flex-nowrap">
<contact-map class="flex-1" />
<div class="contact-right">
<div>
<a-icon class="baseColor icon-size" type="user" />
<p>
高璨
<span class="ml-6">19935658782</span>
</p>
</div>
<div>
<a-icon class="baseColor icon-size" type="phone" />
<p>
0351 5223175
<span class="ml-6">0351 5223179</span>
</p>
</div>
<div>
<a-icon class="baseColor icon-size" type="mail" />
<p>lgzc2020@163.com</p>
</div>
<div>
<i class="iconfont icon-local baseColor"></i>
<p>山西省太原市晋阳街202号英语周报大厦八层</p>
</div>
<div class="code-box">
<a-icon class="baseColor icon-size" type="wechat" />
<img
alt
src="https://www.sxwikionline.com/gateway/greenvalley/uploads/upload/logo/lvgu.jpg"
/>
</div>
</div>
</div>
</div>
</template>
@ -65,6 +63,20 @@ export default {
</script>
<style lang="stylus" scoped>
.user {
font-size: 100px;
padding: 20px;
border: 1px solid rgba(112, 112, 112, 0.4);
color: #007cc1;
border-radius: 50%;
}
.concat-us-tips {
font-size: 30px;
font-weight: bold;
color: #000;
}
.contact {
height: 394px;
position: relative;

56
src/components/Introduce/Pter.vue

@ -0,0 +1,56 @@
<!--
* @Author: wally
* @email: 18603454788@163.com
* @Date: 2021-01-13 18:36:52
* @LastEditors: wally
* @LastEditTime: 2021-01-13 18:39:16
-->
<template>
<div>
<div class="partner-title-box">
<p class="title-ch">合作伙伴</p>
<p class="title-en">Partners</p>
</div>
<div class="partner-content-box d-flex flex-wrap">
<div v-for="(item, index) in lists" :key="index" class="item-box" :class="(index + 1) % 4 === 0 ? 'mr0' : ''">
{{ item }}
</div>
</div>
</div>
</template>
<script>
export default {
name: 'Pter',
data() {
return {
title: '合作伙伴',
lists: [123, 456, 789, 456, 123, 456, 789, 456, 123, 456, 789, 456],
};
},
};
</script>
<style lang="stylus" scoped>
.partner-title-box {
height: 70px;
line-height: 34px;
margin: 0 0 40px 20px;
padding-left: 6px;
border-left: 6px solid #007CC1;
}
.item-box {
width: 20.5%;
margin-right: 6%;
background: #fff;
height: 100px;
line-height: 100px;
text-align: center;
margin-bottom: 20px;
}
.partner-content-box {
margin: 20px 0 20px 20px;
}
</style>

4
src/config/api.js

@ -10,7 +10,7 @@ const greenvalley = `${proxyUrl}/greenvalley`;
// const page = `${greenvalley}/page`; // 创新平台相关操作
const policy = `${proxyUrl}/policy/policy`; // 创新政策相关接口
const activity = `${greenvalley}/activity`; // 创新政策相关接口
const Business = `${greenvalley}/Business`; // 生企业和合作伙伴查询
const Business = `${greenvalley}/Business`; // 生企业和合作伙伴查询
const carousel = `${greenvalley}/carousel`; // 轮播图相关接口
const page = `${greenvalley}/page`; // 页面详情相关接口
const achInstr = `${greenvalley}/achInstr`; // 轮播图相关接口
@ -49,7 +49,7 @@ export const front = params => axios.post(`${activity}/query/front`, params);
// 申请加入活动
export const apply = params => axios.post(`${activity}/apply`, params);
// 查询生企业
// 查询生企业
export const frontSearchFriend = params => axios.post(`${Business}/FrontSearchFriend`, params);
// 查询合作伙伴

36
src/router/index.js

@ -1,3 +1,10 @@
/*
* @Author: wally
* @email: 18603454788@163.com
* @Date: 2021-01-13 16:33:32
* @LastEditors: wally
* @LastEditTime: 2021-01-13 17:33:53
*/
import Vue from 'vue';
import VueRouter from 'vue-router';
import Home from 'views/FirstPage/FirstPage.vue';
@ -43,6 +50,35 @@ const routes = [
name: 'Cart',
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Cart/Cart.vue'),
},
// 关于我们
{
path: '/About/Introduce',
name: 'About',
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/About.vue'),
children: [
{
path: '/About/Introduce',
name: 'Introduce',
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/Introduce.vue'),
},
{
path: '/About/Organ',
name: 'Organ',
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/Organ.vue'),
},
{
path: '/About/Partner',
name: 'Partner',
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/Partner.vue'),
},
{
path: '/About/SpinOffs',
name: 'SpinOffs',
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/SpinOffs.vue'),
},
],
},
];
const router = new VueRouter({

2
src/store/modules/home/mutations.js

@ -136,7 +136,7 @@ const mutations = {
},
/**
* 设置合作伙伴 生企业
* 设置合作伙伴 企业
* @param {object} state
* @param {List} list
*/

2
src/store/modules/home/state.js

@ -22,7 +22,7 @@ const state = {
content: '', // 介绍页图文
titleCode: '', // 介绍页titleCode
bannerLists: [], // 子页面banner图
partners: [], // 合作伙伴 生企业
partners: [], // 合作伙伴 生企业
// 公司介绍
profile: {},
achList: [], // 知识产权与技术转移转化服务平台-成果类型所选类型

32
src/views/About/About.vue

@ -0,0 +1,32 @@
<!--
* @Author: wally
* @email: 18603454788@163.com
* @Date: 2021-01-13 17:18:13
* @LastEditors: wally
* @LastEditTime: 2021-01-13 18:03:42
-->
<template>
<div class="inner" style="margin-top: 50px; margin-bottom: 100px">
<left-nav style="float: left" />
<div style="width: 83%; float: right">
<router-view></router-view>
</div>
</div>
</template>
<script>
import LeftNav from './components/LeftNav.vue';
export default {
name: 'About',
components: { LeftNav },
data() {
return {
title: '关于我们',
arr: [{ name: '联系我们', url: '' }],
};
},
};
</script>
<style scoped lang="stylus"></style>

60
src/views/About/Children/Introduce.vue

@ -0,0 +1,60 @@
<template>
<div>
<div class="content-box">
<div :key="index" style="margin-bottom: 50px; cursor: pointer" v-for="(item, index) in list">
<div class="d-flex justify-space-between" v-if="index % 2 === 0">
<img :src="item.imgUrl" style="width: 52%" />
<div class="introduce-box">
<p class="introduce-title">{{ item.title }}</p>
<p class="introduce-content">{{ item.content }}</p>
</div>
</div>
<div class="d-flex justify-space-between" v-else>
<div class="introduce-box">
<p class="introduce-title">{{ item.title }}</p>
<p class="introduce-content">{{ item.content }}</p>
</div>
<img :src="item.imgUrl" style="width: 52%" />
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'Introduce',
data() {
return {
title: '关于我们-公司介绍',
arr: [
{ name: '关于我们', url: '/About/Introduce' },
{ name: '公司介绍', url: '' },
],
list: [
{
title: '山西维基智汇科技有限公司',
content:
'研究院的介绍包含研究院,公司架构,和各中心的介绍。' +
'各中心介绍包含科创体系与科创能力咨询服务中心、知识产权与技术转移咨询服务中心、' +
'数字化转型咨询服务中心、科技信息咨询服务中心、科创战略协同研究中心、' +
'山西奥依工业设计咨询服务中心;研究院的介绍包含研究院,公司架构,和各中心的介绍。',
imgUrl: 'https://www.sxwikionline.com/gateway/greenvalley/uploads/upload/20210104/86d502b304944e0c849bff8dcf55ac08.jpg',
},
{
title: '',
content:
'各中心介绍包含科创体系与科创能力咨询服务中心、' +
'知识产权与技术转移咨询服务中心、数字化转型咨询服务中心、科技信息咨询服务中心、' +
'科创战略协同研究中心、山西奥依工业设计咨询服务中心',
imgUrl: 'https://www.sxwikionline.com/gateway/greenvalley/uploads/upload/20210104/4f9b898da25e48d3b73b47345ed14a9a.jpg',
},
],
};
},
methods: {},
};
</script>
<style lang="stylus" scoped></style>

30
src/views/About/Children/Organ.vue

@ -0,0 +1,30 @@
<template>
<div>
<div class="white">
<rich-text :title="title" />
</div>
</div>
</template>
<script>
import RichText from 'components/Introduce/RichText.vue';
export default {
name: 'Introduce',
components: { RichText },
data() {
return {
title: '关于我们-组织机构',
showPage: 12,
arr: [
{ name: '关于我们', url: '/About/Introduce' },
{ name: '组织机构', url: '' },
],
};
},
methods: {},
};
</script>
<style lang="stylus" scoped></style>

25
src/views/About/Children/Partner.vue

@ -0,0 +1,25 @@
<template>
<div>
<pter />
</div>
</template>
<script>
import Pter from 'components/Introduce/Pter.vue';
export default {
name: 'Partner',
components: { Pter },
data() {
return {
title: '合作伙伴',
typeOfPlatform: '关于我们',
arr: [
{ name: '关于我们', url: '/About/Introduce' },
{ name: '合作伙伴', url: '' },
],
};
},
};
</script>
<style lang="stylus" scoped></style>

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

@ -0,0 +1,29 @@
<!--
* @Author: wally
* @email: 18603454788@163.com
* @Date: 2021-01-13 17:30:54
* @LastEditors: wally
* @LastEditTime: 2021-01-13 18:19:11
-->
<template>
<div>生态企业</div>
</template>
<script>
export default {
name: 'Partner',
data() {
return {
title: '生态企业',
typeOfPlatform: '关于我们',
arr: [
{ name: '关于我们', url: '/About/Introduce' },
{ name: '生态企业', url: '' },
],
};
},
};
</script>
<style lang="stylus" scoped></style>

67
src/views/About/components/LeftNav.vue

@ -0,0 +1,67 @@
<!--
* @Author: wally
* @email: 18603454788@163.com
* @Date: 2021-01-13 17:25:56
* @LastEditors: wally
* @LastEditTime: 2021-01-13 18:19:19
-->
<template>
<div class="nav-box">
<div :class="activeNum === index ? 'nav-box-active' : ''" :key="index" @click="jump(item.url, index)" v-for="(item, index) in list">
{{ item.title }}
</div>
</div>
</template>
<script>
export default {
name: 'LeftNav',
data() {
return {
str: '导航条',
activeNum: 0,
list: [
{
title: '公司介绍',
url: '/About/Introduce',
},
{
title: '组织机构',
url: '/About/Organ',
},
{
title: '合作伙伴',
url: '/About/Partner',
},
{
title: '生态企业',
url: '/About/SpinOffs',
},
],
};
},
created() {
if (this.$route.fullPath === '/About/Organ') {
this.activeNum = 1;
} else if (this.$route.fullPath === '/About/Partner') {
this.activeNum = 2;
} else if (this.$route.fullPath === '/About/SpinOffs') {
this.activeNum = 3;
} else {
this.activeNum = 0;
}
},
methods: {
jump(url, index) {
if (this.$route.fullPath === url) {
this.$message.success('已在当前界面');
} else {
this.$router.push(url);
this.activeNum = index;
}
},
},
};
</script>
<style scoped lang="stylus"></style>

9
src/views/ContactUs/ContactUs.vue

@ -2,14 +2,17 @@
<div class="inner">
<!-- 联系我们 -->
<div>
<p class="font-bold-24 title-color">联系我们</p>
<contact />
</div>
<!-- 加入我们 -->
<div>
<div style="padding-bottom: 100px">
<p class="font-bold-24 title-color">加入我们</p>
<rich-text :title="title" />
<model class="mt-8" />
<p class="font-bold-24 title-color">公司理念</p>
<rich-text :title="title" />
<p class="font-bold-24 title-color">应聘岗位</p>
<rich-text :title="title" />
<model class="mt-8" style="float: right" />
</div>
</div>
</template>

17937
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save