Browse Source

调整

master
lucky 5 years ago
parent
commit
14648bd3b4
  1. BIN
      src/assets/image.png
  2. 14
      src/common/platform.styl
  3. 4
      src/common/portrait.styl
  4. 16
      src/components/HeadNav/HeadNav.vue
  5. 2
      src/components/Index/IndexNewList.vue
  6. 98
      src/components/Introduce/IntentionModel.vue
  7. 4
      src/components/Introduce/PartnerShip.vue
  8. 16
      src/components/PlatformList/Fruit.vue
  9. 65
      src/components/SettledEnterprise/SettledEnterprise.vue
  10. 4
      src/views/About/Children/Organ.vue
  11. 49
      src/views/FirstPage/FirstPage.vue
  12. 13
      src/views/IncubationPlatform/Children/MakerSpace.vue
  13. 2
      src/views/IncubationPlatform/Children/Services.vue
  14. 6
      src/views/IncubationPlatform/Children/place/InformationFilling.vue
  15. 2
      src/views/Industry/Children/Serve.vue
  16. 7
      src/views/NewPlatform/Children/AchDet.vue
  17. 8
      src/views/NewPlatform/Children/Service.vue
  18. 7
      src/views/NewPlatform/Children/ServiceDet.vue
  19. 11
      src/views/NewPlatform/Children/ShareChild/InsDet.vue
  20. 28
      src/views/NewPlatform/Children/ShareChild/Institute.vue
  21. 10
      src/views/Policy/Policy.vue
  22. 89
      src/views/Policy/components/PolicyList.vue

BIN
src/assets/image.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 28 KiB

14
src/common/platform.styl

@ -1,7 +1,7 @@
.nav-box {
height: 66px;
height: 50px;
background: #000000;
line-height: 66px;
line-height: 50px;
padding: 0 9%;
color: #fff;
font-size: 16px;
@ -143,12 +143,16 @@
padding: 0 9%;
}
.space-box{
height: 150px;
}
.space-box:hover{
box-shadow: 0 6px 6px rgba(0,0,0,0.16)
}
.space-box:hover .introduce-title{
margin-top: 20px;
margin-top: 10px;
}
.introduce-box {
@ -161,7 +165,7 @@
}
.introduce-title {
margin: 20px 0;
margin: 15px 0;
font-size: 30px;
color: rgba(0,0,0,0.85);
}
@ -172,7 +176,7 @@
}
.flow-path {
background: -webkit-linear-gradient(left, #13ACC4 , #fff);
padding: 80px 9%;
padding: 30px 9%;
position: relative;
}
.flow-title {

4
src/common/portrait.styl

@ -179,6 +179,10 @@
margin-top: 16px;
}
.mt-5{
margin-top: 20px;
}
.mt-8{
margin-top: 32px;
}

16
src/components/HeadNav/HeadNav.vue

@ -104,22 +104,6 @@ export default {
title: '众创空间',
url: '/IncubationPlatform/MakerSpace',
},
// {
// title: '',
// url: '/IncubationPlatform/PublicLaboratory',
// },
// {
// title: '',
// url: '/IncubationPlatform/PilotBase',
// },
// {
// title: '',
// url: '/IncubationPlatform/Tutor',
// },
// {
// title: '',
// url: '/IncubationPlatform/Partner',
// },
{
title: '创业服务',
url: '/IncubationPlatform/Services',

2
src/components/Index/IndexNewList.vue

@ -152,7 +152,7 @@ export default {
font-size: 12px;
color: rgba(0, 0, 0, 0.45);
font-family: Microsoft YaHei;
-webkit-line-clamp: 2;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}

98
src/components/Introduce/IntentionModel.vue

@ -1,36 +1,94 @@
<template>
<div>
<a-button @click="showModal">产品购买</a-button>
<a-modal :confirm-loading="confirmLoading" title="产品购买" :visible="visible" @cancel="handleCancel" @ok="handleOk" width="50%">
<a-button @click="showModal">{{ btnName }}</a-button>
<a-modal
:confirm-loading="confirmLoading"
:title="btnName"
:visible="visible"
@cancel="handleCancel"
@ok="handleOk"
width="50%"
>
<a-form :form="form">
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="公司名称">
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
label="公司名称"
>
<a-input placeholder="请输入公司名称..." v-model.trim="platform.companyName" />
</a-form-item>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="联系人" required>
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
label="联系人"
required
>
<a-input placeholder="请输入联系人..." v-model.trim="platform.manName" />
</a-form-item>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="联系电话" required>
<a-input @change="changePhone" placeholder="请输入联系电话.." type="tel" v-decorator="['tel', { rules: phoneRules }]" />
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
label="联系电话"
required
>
<a-input
@change="changePhone"
placeholder="请输入联系电话.."
type="tel"
v-decorator="['tel', { rules: phoneRules }]"
/>
</a-form-item>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="图片验证码" required>
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
label="图片验证码"
required
>
<div class="d-flex flex-nowrap">
<a-input placeholder="图片验证码" type="number" v-model="codeNum" />
<img :src="picCode.imageBase64" @click="changePicCode" class="code_img ml-2" v-if="picCode && picCode.imageBase64" />
<img
:src="picCode.imageBase64"
@click="changePicCode"
class="code_img ml-2"
v-if="picCode && picCode.imageBase64"
/>
<a-button @click="changePicCode" class="code_img ml-2" size="small" v-else>获取验证码</a-button>
<!-- <a-input v-decorator="['account', { rules: rules.account }]" /> -->
</div>
</a-form-item>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="短信验证码" required>
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
label="短信验证码"
required
>
<div class="d-flex flex-nowrap">
<a-input placeholder="请输入验证码" type="number" v-model="platform.code" />
<a-button class="code_img ml-2" disabled type="primary" v-if="showInterval">重新发送 {{ interval }}</a-button>
<a-button :disabled="platform.isTel === false" @click="getCode" class="code_img ml-2" type="primary" v-else>
获取验证码
</a-button>
<a-button
class="code_img ml-2"
disabled
type="primary"
v-if="showInterval"
>重新发送 {{ interval }}</a-button>
<a-button
:disabled="platform.isTel === false"
@click="getCode"
class="code_img ml-2"
type="primary"
v-else
>获取验证码</a-button>
</div>
</a-form-item>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="需求描述">
<a-textarea placeholder="请输入需求描述..." style="height: 120px" v-model.trim="platform.describe" />
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
label="需求描述"
>
<a-textarea
placeholder="请输入需求描述..."
style="height: 120px"
v-model.trim="platform.describe"
/>
</a-form-item>
<a-form-item
:label-col="formItemLayout.labelCol"
@ -40,13 +98,15 @@
>
<a-upload
:action="action"
:default-file-list="fileList"
:before-upload="beforeUpload"
:default-file-list="fileList"
@change="fileChange"
list-type="picture"
name="files"
>
<a-button> <a-icon type="upload" />点击上传附件 </a-button>
<a-button>
<a-icon type="upload" />点击上传附件
</a-button>
</a-upload>
</a-form-item>
</a-form>
@ -72,6 +132,10 @@ export default {
type: Object,
default: null,
},
btnName: {
type: String,
default: '',
},
},
data() {
return {

4
src/components/Introduce/PartnerShip.vue

@ -20,14 +20,14 @@
:class="(i+1)%4===0? 'logo-box1' : ''"
:key="i"
@click="openProfile(list.name,list.description)"
class="logo-box d-flex flex-column align-center white"
class="logo-box d-flex flex-column align-center"
v-for="(list,i) in item.backendSearchList"
>
<div class="logo-pic-box">
<img :src="list.logoUrl" class="logo-pic pa-2" v-if="list.logoUrl" />
<div class="d-flex flex-column justify-center logo-text" v-else>{{ list.name }}</div>
</div>
<div class="font-16 title-color mx-2">{{ list.name }}</div>
<div class="font-16 white--text mx-2">{{ list.name }}</div>
</div>
</div>
</div>

16
src/components/PlatformList/Fruit.vue

@ -1,12 +1,21 @@
<template>
<div>
<div class="inner d-flex flex-wrap">
<div :class="(index + 1) % 4 === 0 ? 'margin-0' : ''" :key="index" class="item-box" v-for="(item, index) in list">
<div
:class="(index + 1) % 4 === 0 ? 'margin-0' : ''"
:key="index"
class="item-box"
v-for="(item, index) in list"
>
<p @click="detail(item.id)" class="font-24 my-3" style="cursor: pointer">{{ item.name }}</p>
<p @click="detail(item.id)" class="font-16" style="color: rgba(0, 0, 0, 0.45); cursor: pointer">编号{{ item.identifier }}</p>
<p
@click="detail(item.id)"
class="font-16"
style="color: rgba(0, 0, 0, 0.45); cursor: pointer"
>编号{{ item.identifier }}</p>
<p class="font-16 baseColor item-more">
<!-- <a-button type="primary" style="cursor: pointer">转化意向填报</a-button> -->
<intention-model style="cursor: pointer" :type-data="getId(item.id)" />
<intention-model :btn-name="btnName" :type-data="getId(item.id)" style="cursor: pointer" />
</p>
</div>
</div>
@ -41,6 +50,7 @@ export default {
type: 2,
Id: '',
},
btnName: '技术需求',
};
},
computed: mapState('home', ['achList', 'achIpt', 'achCurrent']),

65
src/components/SettledEnterprise/SettledEnterprise.vue

@ -1,5 +1,14 @@
<template>
<div class="fast-box">
<div class="d-flex flex-nowrap flex-row-reverse mb-5">
<a-input-search
@search="getBusiness"
enter-button="搜索"
placeholder="请输入..."
style="width: 50%"
v-model="business"
/>
</div>
<div class="con-box" id="bobaodiv">
<div
:key="0 + `${i}`"
@ -13,6 +22,18 @@
<span class="ent-mainBusiness" style="margin-left: 50px">{{ item.mainBusiness }}</span>
</div>
</div>
<!-- <div
:key="0 + `${i}`"
@click="openProfile(item.company,item.introduce)"
class="ent-box-div"
v-for="(item, i) in lists"
>
<div class="ent-box pointer">
<p class="ent-index">{{ i + 1 }}</p>
<span class="ent-name" style="margin-left: 50px">{{ item.company }}</span>
<span class="ent-mainBusiness" style="margin-left: 50px">{{ item.mainBusiness }}</span>
</div>
</div>
<div
:key="j"
@click="openProfile(item.company,item.introduce)"
@ -24,12 +45,7 @@
<span class="ent-name" style="margin-left: 50px">{{ item.company }}</span>
<span class="ent-mainBusiness" style="margin-left: 50px">{{ item.mainBusiness }}</span>
</div>
<!-- <company-profile
:show-profile="showProfile"
@closeProfile="closeProfile"
v-if="showProfile"
/>-->
</div>
</div>-->
<company-profile :show-profile="showProfile" @closeProfile="closeProfile" v-if="showProfile" />
</div>
</div>
@ -50,6 +66,7 @@ export default {
},
data() {
return {
business: '', //
height: '',
width: '',
liHeight: '',
@ -66,13 +83,17 @@ export default {
mounted() {
const length = this.lists.length / 100;
// this.BBLineH = document.getElementsByClassName('fast-box')[0].offsetHeight * length;
this.BBLineH = 76;
this.scrollBox();
// this.scrollBox();
},
methods: {
...mapMutations('home', ['setProfile']),
//
getBusiness() {
console.log('搜索入驻企业');
},
scrollBox() {
/*
* 启动播报滚动事件
@ -177,7 +198,7 @@ export default {
.ent-name {
position: absolute;
left: 0;
width: 30%;
width: 50%;
height: 24px;
top: 50%;
margin-top: -12px;
@ -193,7 +214,7 @@ export default {
.ent-mainBusiness {
position: absolute;
left: 60%;
width: 20%;
width: 25%;
height: 24px;
top: 50%;
margin-top: -12px;
@ -206,15 +227,25 @@ export default {
overflow: hidden;
}
.fast-box {
position: relative;
height: 456px;
}
// .fast-box {
// position: relative;
// height: 456px;
// }
// .con-box {
// top: 0;
// left: 0;
// position: absolute;
// width: 100%;
// height: 100%;
// overflow: hidden;
// div {
// justify-content: center;
// align-items: center;
// }
// }
.con-box {
top: 0;
left: 0;
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;

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

@ -6,7 +6,7 @@
</div>
<banner :show-page="showPage" />
<div class="inner">
<div class="white pa-5 my-5">
<div class="white">
<!-- <rich-text :title="title" /> -->
<div :style="{ height: '500px' }" id="treeChart"></div>
</div>
@ -91,7 +91,7 @@ export default {
{
type: 'tree',
data: this.treedata,
top: '2%',
top: '0%',
left: '12%',
bottom: '1%',
right: '20%',

49
src/views/FirstPage/FirstPage.vue

@ -11,14 +11,14 @@
<a-col :span="18">
<a-row>
<a-col :key="server.id" :span="8" v-for="server in services">
<div @click="$router.push(server.path)" class="mr-8 d-flex pointer">
<div @click="$router.push(server.path)" class="mr-4 d-flex pointer">
<div class="server-box d-flex fill-width">
<img :src="server.url" style="width:100%" />
</div>
</div>
</a-col>
</a-row>
<a-row class="mt-8 mr-8">
<a-row class="mt-8">
<a-col :span="8" class="fill-width d-flex flex-nowrap flex-row justify-space-between">
<div
:key="platform.id"
@ -27,43 +27,26 @@
v-for="platform in platforms"
>
<div class="d-flex flex-column align-center pointer">
<img :src="platform.url" style="width:60%" />
<img :src="platform.url" style="width:48%" />
<div class="platform-txt mt-3">{{ platform.firstName }}</div>
<div class="platform-txt">{{ platform.secondName }}</div>
</div>
</div>
</a-col>
</a-row>
<!-- <a-row class="mt-8">
<a-col :span="12">
<div class="white mr-8 d-flex flex-column justify-center">
<index-new-list :i="0" :lists="lists" />
</div>
</a-col>
<a-col :span="12">
<div class="white mr-8 d-flex flex-column justify-center">
<index-new-list :i="1" :lists="lists" />
</div>
</a-col>
</a-row>-->
</a-col>
<a-col :span="6">
<div class="white mr-8 d-flex flex-column justify-center">
<div class="white d-flex flex-column justify-center">
<index-new-list :i="1" :lists="lists" />
</div>
</a-col>
</a-row>
<a-row class="mt-8">
<a-row class="mt-5">
<a-col :span="24">
<div class="white mr-8 d-flex flex-column justify-center">
<div class="white d-flex flex-column justify-center">
<index-new-list :i="0" :lists="lists" />
</div>
</a-col>
<!-- <a-col :span="12">
<div class="white mr-8 d-flex flex-column justify-center">
<index-new-list :i="1" :lists="lists" />
</div>
</a-col>-->
</a-row>
</div>
</div>
@ -112,22 +95,22 @@ export default {
},
{
id: '05',
firstName: '科技资源',
secondName: '开放共享服务平台',
firstName: '科技资源开放共享服务平台',
secondName: '',
path: '/NewPlatform/Share',
url: 'https://www.sxwikionline.com/gateway/greenvalley/uploads/upload/20210119/index02.png',
},
{
id: '06',
firstName: '知识产权与技术',
secondName: '转移转化服务平台',
firstName: '知识产权与技术转移转化服务平台',
secondName: '',
path: '/NewPlatform/Transfer',
url: 'https://www.sxwikionline.com/gateway/greenvalley/uploads/upload/20210119/index03.png',
},
{
id: '07',
firstName: '知识培训',
secondName: '科技人才服务平台',
firstName: '知识培训与科技人才服务平台',
secondName: '',
path: '/NewPlatform/Develop',
url: 'https://www.sxwikionline.com/gateway/greenvalley/uploads/upload/20210119/index04.png',
},
@ -232,19 +215,19 @@ export default {
<style lang="less" scoped>
.inner {
margin: 40px auto;
margin: 20px auto;
}
.platform-box {
width: 20%;
width: 25%;
.platform-txt {
font-size: 20px;
font-size: 14px;
}
@media only screen and (max-width: 1400px) {
.platform-txt {
font-size: 18px;
font-size: 12px;
}
}
}

13
src/views/IncubationPlatform/Children/MakerSpace.vue

@ -4,15 +4,12 @@
<div class="inner my-1">
<bread-crumb :arr="arr" />
</div>
<!-- <div @click="openModel()" class="pointer"> -->
<banner :show-page="showPage" />
<!-- </div> -->
<div class="inner">
<div>
<!-- style="background: -webkit-linear-gradient(white,#f7f7f6,#e0e0e0);" -->
<div class="d-flex flex-column white">
<div class="font-bold-32 title-color py-3 px-2">众创空间介绍</div>
<div class="pa-3 font-16 line-height-36" style="text-indent: 2em">
<div class="font-bold-32 title-color pt-3 px-2">众创空间介绍</div>
<div class="pa-3 font-16">
<div>
本众创空间分为线下实体众创空间与线上虚拟众创空间重点面向功能食品生物医药和大健康产业
领域科技型中小微企业创客和创新创业团队开展创业孵化培育高新技术企业促进科技成果转化和产业集聚发展
@ -35,13 +32,13 @@
</div>
</div>
</div>
<div style="margin-top: 30px">
<!-- <div style="margin-top: 30px">
<div class="d-flex flex-column">
<p class="font-bold-32 title-color">加入流程</p>
<img class="fill-width" src="~assets/zckj01.png" />
</div>
</div>
<div :key="index" style="margin-top: 40px" v-for="(item, index) in list">
</div>-->
<div :key="index" style="margin-top: 20px" v-for="(item, index) in list">
<div class="d-flex justify-space-between space-box" v-if="index % 2 === 0">
<div class="introduce-box">
<p

2
src/views/IncubationPlatform/Children/Services.vue

@ -47,7 +47,7 @@
:visible="visible"
@cancel="handleCancel"
@ok="handleOk"
title="产品购买"
title="技术需求"
width="50%"
>
<a-form :form="form">

6
src/views/IncubationPlatform/Children/place/InformationFilling.vue

@ -42,7 +42,11 @@ export default {
mountWps() {
console.log('加载wps页面');
const url =
'https://wwo.wps.cn/office/s/1355345986792329216?_w_appid=09d77d2eb919438e8ae4f2a9ec6ec8dd&_w_signature=T4EflYvQpv%2B812a1KupxB0soBPg%3D&_w_token=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MTE5NzI4NjcsInN1YiI6IjEyMTc2MjIzODk3ODYwMjE4ODgiLCJhdXRoSWQiOiIxMjE3NjIyMzg5Nzg2MDIxODg5IiwiZXhwIjoxNjIwNjEyODY3fQ.6IaYzzreq4PjaSuw2HYA7cXkWLrPWijS5qg7fG5g5T4';
'https://wwo.wps.cn/office/s/1355345986792329216?_w_appid=09d77d2eb919438e8ae4f2' +
'a9ec6ec8dd&_w_signature=T4EflYvQpv%2B812a1KupxB0soBPg%3D&_w_token=eyJhbGciOiJIU' +
'zI1NiJ9.eyJpYXQiOjE2MTE5NzI4NjcsInN1YiI6IjEyMTc2MjIzODk3ODYwMjE4ODgiLCJhdXRoSWQ' +
'iOiIxMjE3NjIyMzg5Nzg2MDIxODg5IiwiZXhwIjoxNjIwNjEyODY3fQ.6IaYzzreq4PjaSuw2HYA7cXk' +
'WLrPWijS5qg7fG5g5T4';
var demo = WebOfficeSDK.config({
mount: document.getElementById('custom-mount'),
url,

2
src/views/Industry/Children/Serve.vue

@ -11,7 +11,7 @@
<img src="~assets/image.png" style="width: 100%" />
</div>
</div>
<div class="inner d-flex flex-wrap" style="margin: 60px auto">
<div class="inner d-flex flex-wrap" style="margin: 40px auto">
<div
:class="(index + 1) % 3 === 0 ? 'margin-0' : ''"
:key="index"

7
src/views/NewPlatform/Children/AchDet.vue

@ -36,7 +36,11 @@
</div>
<div class="equ-btn">
<!-- <a-button style="margin-right: 20px">转化意向</a-button> -->
<intention-model :type-data="typeData" style="margin-right: 20px; float: left" />
<intention-model
:btn-name="btnName"
:type-data="typeData"
style="margin-right: 20px; float: left"
/>
<!-- <a-button type="primary">加入购物车</a-button> -->
<add-shopping :type-data="typeData" style="margin-right: 20px; float: right" />
</div>
@ -73,6 +77,7 @@ export default {
type: 2,
Id: '',
},
btnName: '产品购买',
};
},
computed: mapState('home', ['achId']),

8
src/views/NewPlatform/Children/Service.vue

@ -5,13 +5,13 @@
<bread-crumb :arr="arr" />
</div>
<banner :show-page="showPage" />
<div class="flow-path">
<!-- <div class="flow-path">
<div class="flow-title">服务流程</div>
<div class="flow-content">
<img src="~assets/image.png" style="width: 100%" />
</div>
</div>
<div class="inner d-flex flex-wrap" style="margin: 60px auto">
</div>-->
<div class="inner d-flex flex-wrap" style="margin: 30px auto">
<div
:class="(index + 1) % 4 === 0 ? 'margin-0' : ''"
:key="index"
@ -36,7 +36,7 @@
:visible="visible"
@cancel="handleCancel"
@ok="handleOk"
title="产品购买"
title="服务需求"
width="50%"
>
<a-form :form="form">

7
src/views/NewPlatform/Children/ServiceDet.vue

@ -18,7 +18,11 @@
<div>
<!-- <a-button>直接申请</a-button> -->
<intention-model :type-data="typeData" style="float: left; margin-right: 20px" />
<intention-model
:btn-name="btnName"
:type-data="typeData"
style="float: left; margin-right: 20px"
/>
<!-- <a-button type="primary">加入购物车</a-button> -->
<add-shopping :type-data="typeData" />
</div>
@ -47,6 +51,7 @@ export default {
type: 0,
Id: '',
},
btnName: '服务申请',
};
},
computed: mapState('home', ['serviceArr']),

11
src/views/NewPlatform/Children/ShareChild/InsDet.vue

@ -9,7 +9,7 @@
<!-- <img :src="obj.visitLocation" alt v-if="listState === 3" /> -->
<div class="equ-info-box">
<p class="equ-name">{{ obj.name }}</p>
<div style="margin-top: 20px" class="d-flex flex-wrap" v-if="listState === 1">
<div class="d-flex flex-wrap" style="margin-top: 20px" v-if="listState === 1">
<div class="equ-info-left" style="width: 100px">
<!-- <p>仪器名字</p> -->
<p>制造商</p>
@ -39,7 +39,7 @@
</p>
</div>
</div>
<div style="margin-top: 20px" class="d-flex flex-wrap" v-if="listState === 3">
<div class="d-flex flex-wrap" style="margin-top: 20px" v-if="listState === 3">
<div class="equ-info-left" style="width: 100px">
<p>公司名称</p>
<p>产品编号</p>
@ -57,7 +57,11 @@
</div>
</div>
<p class="equ-btn">
<intention-model :type-data="listState === 1 ? typeData : typeProductData" style="margin-right: 20px; float: left" />
<intention-model
:btn-name="btnName"
:type-data="listState === 1 ? typeData : typeProductData"
style="margin-right: 20px; float: left"
/>
<!-- <a-button style="margin-right: 20px">转化意向</a-button> -->
<!-- <a-button type="primary">加入购物车</a-button> -->
<add-shopping :type-data="typeData" style="margin-right: 20px; float: right" />
@ -101,6 +105,7 @@ export default {
Id: '',
},
id: 0,
btnName: '产品购买',
};
},
computed: mapState('home', ['listState']),

28
src/views/NewPlatform/Children/ShareChild/Institute.vue

@ -8,8 +8,8 @@
<div class="inner ins-box">
<p class="font-bold-24 item-title" v-if="description">{{ shareName }}</p>
<div class="font-20" v-if="description">{{ description }}</div>
<p class="font-bold-24 item-title" v-if="direction">科研条件</p>
<div class="font-20" v-dompurify-html="direction" v-if="direction"></div>
<!-- <p class="font-bold-24 item-title" v-if="direction">科研条件</p>
<div class="font-20" v-dompurify-html="direction" v-if="direction"></div>-->
<p class="font-bold-24 item-title" v-if="list[0]">设备列表</p>
<div class="d-flex flex-wrap" v-if="list[0]">
@ -24,7 +24,17 @@
<p @click="jump(item.id)" class="font-16 baseColor item-more">了解更多</p>
</div>
</div>
<p
<div class="mt-5">
<!-- <a-button>直接申请</a-button> -->
<intention-model
:btn-name="btnName"
:type-data="typeData"
style="float: left; margin-right: 20px"
/>
<!-- <a-button type="primary">加入购物车</a-button> -->
<add-shopping :type-data="typeData" />
</div>
<!-- <p
class="font-bold-24 item-title"
v-if="teamHead.name !== '' || teamHead.name !== null"
>人才团队带头人情况</p>
@ -62,7 +72,7 @@
<p>{{ teamHead.workUnit }}</p>
<p>{{ teamHead.direction }}</p>
</div>
</div>
</div>-->
<p class="font-bold-24 item-title" v-if="obj !== null">团队成员信息</p>
<div style="background: #fff" v-if="obj !== null">
<div class="d-flex">
@ -97,9 +107,12 @@ import { selInstrumentByRes, teamSearch } from 'config/api';
// import Banner from 'components/Banner/Banner.vue';
import HNav from './../../components/HNav.vue';
import BreadCrumb from 'components/BreadCrumb/BreadCrumb.vue';
import AddShopping from 'components/Introduce/AddShopping.vue';
import IntentionModel from 'components/Introduce/IntentionModel.vue';
export default {
name: 'Institute',
components: { HNav, BreadCrumb },
components: { HNav, BreadCrumb, AddShopping, IntentionModel },
data() {
return {
id: 0,
@ -133,6 +146,11 @@ export default {
experiments: '', //
projectKind: '', //
vertify: '', //
typeData: {
type: 0,
Id: '',
},
btnName: '服务申请',
};
},
computed: mapState('home', ['LabId']),

10
src/views/Policy/Policy.vue

@ -6,9 +6,11 @@
<template>
<div class="inner">
<bread-crumb :arr="arr" />
<policy-list class="py-5 my-5" />
<!-- <policy-details v-else/> -->
<bread-crumb :arr="arr" class="py-1" />
<div>
<policy-list class="pb-5 mb-5" />
<!-- <policy-details v-else/> -->
</div>
</div>
</template>
@ -35,6 +37,6 @@ export default {
<style scoped lang="stylus">
.inner {
margin: 40px auto;
margin: 0 auto;
}
</style>

89
src/views/Policy/components/PolicyList.vue

@ -34,27 +34,35 @@
</a-input-group>
</div>
<div class="policy-box">
<div :key="index" v-for="(item, index) in lists">
<div class="date-box">
<div
:key="index"
class="list-box d-flex flex-row flex-nowrap align-center"
v-for="(item, index) in lists"
>
<div class="date-box d-flex flex-column">
<p class="date-mon">{{ monthEnglish[item.publishTime.split('-')[1] - 1] }}.</p>
<p class="date-day">{{ item.publishTime.split('-')[2] }}</p>
</div>
<p @click="LookSource(item.id)" class="item-title pointer">{{ item.title }}</p>
<p @click="LookSource(item.id)" class="item-content pointer">{{ item.intro }}</p>
<!-- <p class="item-content" v-html="item.content"></p> -->
<p class="source-time">
<span
@click="openWin(item.titleUrl)"
class="baseColor source"
>来源{{ item.publishDepartName }}</span>
<span class="time">{{ item.publishTime }}</span>
</p>
<p class="original baseColor">
<span @click="LookSource(item.id)">
了解更多
<a-icon type="arrow-right" />
</span>
</p>
<div class="d-flex flex-column flex-1">
<p @click="LookSource(item.id)" class="item-title pointer">{{ item.title }}</p>
<!-- <p @click="LookSource(item.id)" class="item-content pointer">{{ item.intro }}</p> -->
<!-- <p class="item-content" v-html="item.content"></p> -->
<div class="d-flex flex-nowrap justify-space-between">
<p class="source-time">
<span
@click="openWin(item.titleUrl)"
class="baseColor source"
>来源{{ item.publishDepartName }}</span>
<span class="time">{{ item.publishTime }}</span>
</p>
<p class="original baseColor">
<span @click="LookSource(item.id)">
了解更多
<a-icon type="arrow-right" />
</span>
</p>
</div>
</div>
</div>
</div>
<a-pagination
@ -80,7 +88,7 @@ export default {
str: '这是创新政策界面',
lists: [],
total: 0,
pageSize: 5,
pageSize: 20,
monthEnglish: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Spt', 'Oct', 'Nov', 'Dec'],
pCode: ['title', 'area', 'area'],
pStatus: {
@ -119,7 +127,7 @@ export default {
code: this.policyStatus.code,
input: this.policyStatus.iptCon,
pageNum: this.current,
pageSize: 5,
pageSize: 20,
sx: this.policyStatus.sx,
zg: this.policyStatus.zg,
ty: this.policyStatus.ty,
@ -171,7 +179,7 @@ export default {
<style scoped lang="stylus">
.box {
width: 100%;
min-height: 1037px;
margin-bottom: 100px;
overflow: hidden;
opacity: 1;
}
@ -192,32 +200,25 @@ export default {
}
.policy-box {
div {
position: relative;
.list-box {
width: 100%;
height: 238px;
overflow: hidden;
background: #fff;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
margin-top: 24px;
padding: 25px;
padding: 10px 25px;
}
}
.item-title {
margin-left: 200px;
overflow: hidden;
display: -webkit-box;
margin-bottom: 10px;
font-size: 24px;
color: rgba(0, 0, 0, 0.65);
font-family: Microsoft YaHei;
font-weight: bold;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
.item-content {
margin-left: 200px;
text-indent: 2em;
font-size: 16px;
line-height: 36px;
@ -246,9 +247,6 @@ export default {
}
.original {
position: absolute;
right: 25px;
bottom: 25px;
font-size: 14px;
font-family: Microsoft YaHei;
font-weight: 400;
@ -262,13 +260,11 @@ export default {
}
.date-box {
height: 188px !important;
width: 188px !important;
position: absolute !important;
top: 0 !important;
// box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
width: 160px !important;
text-align: center;
box-shadow: none !important;
margin-top: 0 !important;
padding: 0 !important;
p {
margin-bottom: 0 !important;
@ -276,25 +272,22 @@ export default {
}
.date-mon {
font-size: 40px;
height: 40px;
line-height: 40px;
font-size: 26px;
height: 26px;
line-height: 26px;
font-weight: 500;
color: #13ACC4;
}
.date-day {
font-size: 70px;
height: 80px;
line-height: 80px;
font-size: 46px;
height: 56px;
line-height: 56px;
font-weight: bold;
color: #13ACC4;
}
.source-time {
margin-left: 200px;
position: absolute;
bottom: 26px;
margin-bottom: 0;
}

Loading…
Cancel
Save