|
@@ -1,43 +1,39 @@
|
|
<template>
|
|
<template>
|
|
<div class="home">
|
|
<div class="home">
|
|
<div class="main">
|
|
<div class="main">
|
|
- <div>
|
|
|
|
|
|
+ <div id="step1">
|
|
<el-carousel :interval="4000" type="card">
|
|
<el-carousel :interval="4000" type="card">
|
|
- <el-carousel-item v-for="item in srcList" :key="item.src" >
|
|
|
|
|
|
+ <el-carousel-item v-for="item in srcList" :key="item.src">
|
|
<el-image :src="require('../../assets/' + item.src)" class="medium"></el-image>
|
|
<el-image :src="require('../../assets/' + item.src)" class="medium"></el-image>
|
|
- <!-- <el-image :src="item.src" class="medium"></el-image> -->
|
|
|
|
- <el-button round class="btnImg" @click="solution(item)">寻找解决方案</el-button>
|
|
|
|
</el-carousel-item>
|
|
</el-carousel-item>
|
|
</el-carousel>
|
|
</el-carousel>
|
|
</div>
|
|
</div>
|
|
- <div>
|
|
|
|
|
|
+ <div class="title">
|
|
<h2>知识产权风控与组织记忆系统</h2>
|
|
<h2>知识产权风控与组织记忆系统</h2>
|
|
</div>
|
|
</div>
|
|
- <div class="serch" >
|
|
|
|
- <el-select v-model="queryParams.queryType" placeholder="请选择" :change="selectChange" class="special">
|
|
|
|
- <el-option
|
|
|
|
- v-for="item in options"
|
|
|
|
- :key="item.value"
|
|
|
|
- :label="item.label"
|
|
|
|
- :value="item.value">
|
|
|
|
- </el-option>
|
|
|
|
- </el-select>
|
|
|
|
- <el-input placeholder="请输入内容" v-model="queryParams.query" clearable class="queryInput"></el-input>
|
|
|
|
- <el-button @click="query">
|
|
|
|
- <i class="el-icon-search"></i>
|
|
|
|
- </el-button>
|
|
|
|
-
|
|
|
|
|
|
+ <div class="home_search">
|
|
|
|
+ <div class="input_search" id="step2">
|
|
|
|
+ <el-input :placeholder="getPlaceholder()" v-model="queryParams.content" class="input-with-select">
|
|
|
|
+ <el-select v-model="queryParams.select" slot="prepend" placeholder="请选择" style="width:100px">
|
|
|
|
+ <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ <el-button slot="append" icon="el-icon-search" @click="search"></el-button>
|
|
|
|
+ </el-input>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div>
|
|
|
|
|
|
+ <div id="step3">
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
<el-tab-pane label="事件" name="event">
|
|
<el-tab-pane label="事件" name="event">
|
|
- <eventTable></eventTable>
|
|
|
|
|
|
+ <eventTable :isOperate="'首页'"></eventTable>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
<el-tab-pane label="专题库" name="project">
|
|
<el-tab-pane label="专题库" name="project">
|
|
- <projectTable></projectTable>
|
|
|
|
|
|
+ <projectTable :isOperate="'首页'"></projectTable>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
<el-tab-pane label="报告" name="report">
|
|
<el-tab-pane label="报告" name="report">
|
|
- <reportTable></reportTable>
|
|
|
|
|
|
+ <reportTable :isOperate="'首页'"></reportTable>
|
|
|
|
+ </el-tab-pane>
|
|
|
|
+ <el-tab-pane label="我的任务" name="task">
|
|
|
|
+ <taskTable></taskTable>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
</el-tabs>
|
|
</el-tabs>
|
|
</div>
|
|
</div>
|
|
@@ -45,44 +41,44 @@
|
|
<el-link class="link" @click="seeMore">查看更多> > ></el-link>
|
|
<el-link class="link" @click="seeMore">查看更多> > ></el-link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <!-- 底部 -->
|
|
|
|
- <div class="footer" >
|
|
|
|
|
|
+ <div class="footer">
|
|
<div class="footerDiv">
|
|
<div class="footerDiv">
|
|
- <div class="footerDiv_one">
|
|
|
|
- <div class="one_div1">
|
|
|
|
- <div class="logo">
|
|
|
|
- <img class="img" src="@/assets/logo-3.png" style="background: #fff;"/>
|
|
|
|
- <h4>知识产权风控与组织记忆系统</h4>
|
|
|
|
- </div>
|
|
|
|
- <el-link class="bei">粤IPC备010101010101</el-link>
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <div class="logo">
|
|
|
|
+ <img class="img" src="@/assets/logo-3.png" />
|
|
|
|
+ <span class="title">知识产权风控与组织记忆系统</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="bei">
|
|
|
|
+ <el-link class="elLink">粤<span class="en">IPC</span>备010101010101</el-link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="footerDiv_two">
|
|
|
|
- <div class="two_div1"></div>
|
|
|
|
- <div class="two_div2">
|
|
|
|
- <el-link class="elLink1">联系我们</el-link>
|
|
|
|
- <el-link class="elLink2" >反馈建议</el-link>
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <div>
|
|
|
|
+ <el-link class="elLink">联系我们</el-link>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <el-link class="elLink">反馈建议</el-link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="footerDiv_two">
|
|
|
|
- <div class="two_div1"></div>
|
|
|
|
- <div class="two_div2">
|
|
|
|
- <el-link class="elLink1" href="">官方网站</el-link>
|
|
|
|
- <el-link class="elLink2" href="">xswip.cn</el-link>
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <div>
|
|
|
|
+ <el-link class="elLink" href="">官方网站</el-link>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <el-link class="elLink en" href="">xswip.cn</el-link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="footerDiv_two">
|
|
|
|
- <div class="two_div1"></div>
|
|
|
|
- <div class="two_div2" style="">
|
|
|
|
- <el-link class="elLink1">实时动态</el-link>
|
|
|
|
- <div class="elLink2">
|
|
|
|
- <i class="iconfont icon-weixinfang "></i>
|
|
|
|
- </div>
|
|
|
|
- <!-- <el-link class="elLink2" href=""></el-link> -->
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <div>
|
|
|
|
+ <el-link class="elLink">实时动态</el-link>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="elLink">
|
|
|
|
+ <i class="iconfont icon-weixinfang "></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -90,207 +86,220 @@
|
|
import eventTable from '../event/components/view/table.vue';
|
|
import eventTable from '../event/components/view/table.vue';
|
|
import projectTable from '../project/components/view/table.vue';
|
|
import projectTable from '../project/components/view/table.vue';
|
|
import reportTable from '../report/components/view/table.vue';
|
|
import reportTable from '../report/components/view/table.vue';
|
|
|
|
+import taskTable from '../task/components/view/table.vue';
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
eventTable,
|
|
eventTable,
|
|
projectTable,
|
|
projectTable,
|
|
reportTable,
|
|
reportTable,
|
|
|
|
+ taskTable,
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
srcList: [
|
|
srcList: [
|
|
- // {src:'@/assets/lun1.jpg'},
|
|
|
|
- // {src:'@/assets/lun2.jpg'},
|
|
|
|
- // {src:'@/assets/lun3.jpg'},
|
|
|
|
- {src:'lun1.jpg'},
|
|
|
|
- {src:'lun2.jpg'},
|
|
|
|
- {src:'lun3.jpg'},
|
|
|
|
|
|
+ { src: 'lun1.jpg' },
|
|
|
|
+ { src: 'lun2.jpg' },
|
|
|
|
+ { src: 'lun3.jpg' },
|
|
],
|
|
],
|
|
|
|
+ activeName: 'event',
|
|
options: [
|
|
options: [
|
|
- {value:0,label:'专题库'},
|
|
|
|
- {value:1,label:'报告'},
|
|
|
|
- {value:2,label:'事件'},
|
|
|
|
|
|
+ {
|
|
|
|
+ label: '专题库',
|
|
|
|
+ value: 'Workspace',
|
|
|
|
+ placeholder: '请输入专题库名称'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: '专利',
|
|
|
|
+ value: 'patentNo',
|
|
|
|
+ placeholder: '请输入专利'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: '产品',
|
|
|
|
+ value: 'Product',
|
|
|
|
+ placeholder: '请输入产品名称'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: '事件',
|
|
|
|
+ value: 'QuestionEvent',
|
|
|
|
+ placeholder: '请输入事件名称'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: '报告',
|
|
|
|
+ value: 'AllReport',
|
|
|
|
+ placeholder: '请输入报告名称'
|
|
|
|
+ },
|
|
],
|
|
],
|
|
- queryParams:{
|
|
|
|
- queryType: '',
|
|
|
|
- query:'',
|
|
|
|
|
|
+ queryParams: {
|
|
|
|
+ content: '',
|
|
|
|
+ select: ''
|
|
},
|
|
},
|
|
- activeName: "event",
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- mounted() {
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
methods: {
|
|
methods: {
|
|
- // 查看更多
|
|
|
|
|
|
+ // 点击查看更多
|
|
seeMore() {
|
|
seeMore() {
|
|
- switch (this.activeName) {
|
|
|
|
- case 'event'://事件
|
|
|
|
-
|
|
|
|
- break;
|
|
|
|
- case 'project'://专题库
|
|
|
|
-
|
|
|
|
- break;
|
|
|
|
- case 'report'://报告
|
|
|
|
-
|
|
|
|
- break;
|
|
|
|
-
|
|
|
|
- default:
|
|
|
|
- break;
|
|
|
|
- }
|
|
|
|
},
|
|
},
|
|
- // 切换tab
|
|
|
|
- handleClick(tab, event) {
|
|
|
|
- console.log(tab, event);
|
|
|
|
- },
|
|
|
|
- // select change
|
|
|
|
- selectChange(val) {
|
|
|
|
- console.log(val);
|
|
|
|
- },
|
|
|
|
- // 搜索
|
|
|
|
- query() {
|
|
|
|
- console.log(this.queryParams);
|
|
|
|
|
|
+ // 点击搜索
|
|
|
|
+ search(){},
|
|
|
|
+ //切换tag
|
|
|
|
+ handleClick() { },
|
|
|
|
+ //获取提示信息
|
|
|
|
+ getPlaceholder() {
|
|
|
|
+ if (this.queryParams.select) {
|
|
|
|
+ var a = this.options.find(item => {
|
|
|
|
+ return item.value == this.queryParams.select
|
|
|
|
+ }).placeholder
|
|
|
|
+ } else {
|
|
|
|
+ var a = '请输入内容'
|
|
|
|
+ }
|
|
|
|
+ return a
|
|
},
|
|
},
|
|
- // 解决方案
|
|
|
|
- solution(){},
|
|
|
|
- },
|
|
|
|
-};
|
|
|
|
|
|
+ }
|
|
|
|
+}
|
|
</script>
|
|
</script>
|
|
-
|
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
-.home{
|
|
|
|
- .el-carousel__container{
|
|
|
|
|
|
+.home {
|
|
|
|
+ .el-carousel__container {
|
|
height: 200px;
|
|
height: 200px;
|
|
}
|
|
}
|
|
- .serch{
|
|
|
|
- // select整体颜色改变
|
|
|
|
- .el-select .el-input__inner{
|
|
|
|
- background: #316192;
|
|
|
|
- border: 1px solid #316192;
|
|
|
|
|
|
+
|
|
|
|
+ .input_search {
|
|
|
|
+ .el-input-group__append, .el-input-group__prepend{
|
|
|
|
+ background: var(--bg);
|
|
}
|
|
}
|
|
// select中选中项颜色、上下角颜色改变
|
|
// select中选中项颜色、上下角颜色改变
|
|
.el-select .el-input .el-select__caret{
|
|
.el-select .el-input .el-select__caret{
|
|
- color:#fff;
|
|
|
|
|
|
+ color:var(--color);
|
|
}
|
|
}
|
|
- .special {
|
|
|
|
- .el-input__inner{
|
|
|
|
- border-radius: 0px;
|
|
|
|
- color: aliceblue !important;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .queryInput{
|
|
|
|
- .el-input__inner{
|
|
|
|
- border-radius: 0px;
|
|
|
|
- }
|
|
|
|
|
|
+ .el-input-group__prepend div.el-select .el-input__inner{
|
|
|
|
+ color: var(--color) !important;
|
|
}
|
|
}
|
|
- .el-button{
|
|
|
|
|
|
+ .el-button {
|
|
border-radius: 0px;
|
|
border-radius: 0px;
|
|
- background: #316192;
|
|
|
|
- border: 1px solid #316192;
|
|
|
|
|
|
+ background: var(--bg);
|
|
|
|
+ border: 1px solid var(--bg);
|
|
|
|
+ color: var(--color);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
-.home{
|
|
|
|
- .main{
|
|
|
|
|
|
+.home {
|
|
|
|
+ --minHeight:150px;
|
|
|
|
+ --marginTop:50px;
|
|
|
|
+ .main {
|
|
width: 80%;
|
|
width: 80%;
|
|
- margin: auto;
|
|
|
|
- .medium{
|
|
|
|
- width: 100%;
|
|
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ position: relative;
|
|
|
|
+ min-height: calc(100% - var(--minHeight) - var(--marginTop));
|
|
|
|
+ .medium {
|
|
|
|
+ width: 100%;
|
|
height: 260px;
|
|
height: 260px;
|
|
}
|
|
}
|
|
- .btnImg{
|
|
|
|
- position: absolute;
|
|
|
|
- top: 75%;
|
|
|
|
- left: 50%;
|
|
|
|
- transform: translate(-50%, 0px);
|
|
|
|
- }
|
|
|
|
- h2{
|
|
|
|
|
|
+
|
|
|
|
+ .title {
|
|
text-align: center;
|
|
text-align: center;
|
|
- color: #316192;
|
|
|
|
|
|
+ color: var(--bg);
|
|
|
|
+ font-family: 迷你简汉真广标;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .home_search {
|
|
|
|
+ width: 100%;
|
|
|
|
+ background: var(--color);
|
|
|
|
+ z-index: 999;
|
|
|
|
+ margin: 20px auto;
|
|
|
|
+ position: sticky;
|
|
|
|
+ top: 0;
|
|
}
|
|
}
|
|
- .serch{
|
|
|
|
|
|
+
|
|
|
|
+ .input_search {
|
|
min-width: 654px;
|
|
min-width: 654px;
|
|
width: 50%;
|
|
width: 50%;
|
|
- display: flex;
|
|
|
|
- margin: auto;
|
|
|
|
- i{
|
|
|
|
- color: aliceblue;
|
|
|
|
- }
|
|
|
|
|
|
+ height: 100%;
|
|
|
|
+ margin: 0 auto;
|
|
}
|
|
}
|
|
- .link{
|
|
|
|
|
|
+
|
|
|
|
+ .link {
|
|
float: right;
|
|
float: right;
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
color: #409EFF;
|
|
color: #409EFF;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .footer{
|
|
|
|
|
|
+
|
|
|
|
+ .footer {
|
|
width: 100%;
|
|
width: 100%;
|
|
- height: 200px;
|
|
|
|
- margin-top: 80px;
|
|
|
|
- background: #316192;
|
|
|
|
- .footerDiv{
|
|
|
|
- width: 1000px;
|
|
|
|
- height: 100%
|
|
|
|
- ;margin: auto;
|
|
|
|
|
|
+ min-height: var(--minHeight);
|
|
|
|
+ margin-top: var(--marginTop);
|
|
|
|
+ background: var(--bg);
|
|
|
|
+
|
|
|
|
+ .footerDiv {
|
|
|
|
+ max-width: 80%;
|
|
|
|
+ width: 800px;
|
|
|
|
+ margin: auto;
|
|
|
|
+ padding: 10px 0 20px;
|
|
display: flex;
|
|
display: flex;
|
|
- .footerDiv_one{
|
|
|
|
- width: 400px;
|
|
|
|
- position: relative;
|
|
|
|
- .one_div1{
|
|
|
|
- position: absolute;
|
|
|
|
- top: 50%;
|
|
|
|
- left: 50%;
|
|
|
|
- transform: translate(-50%,-50%);
|
|
|
|
- }
|
|
|
|
- .logo{
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
- justify-content: center;
|
|
|
|
- .img{
|
|
|
|
- width: 100px;
|
|
|
|
- height: 50px;
|
|
|
|
- }
|
|
|
|
- h4{
|
|
|
|
- width: 220px;
|
|
|
|
- margin-left: 10px;
|
|
|
|
- color: aliceblue;
|
|
|
|
- }
|
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
+
|
|
|
|
+ &>div {
|
|
|
|
+ min-width: 140px;
|
|
|
|
+ padding: 10px 0;
|
|
|
|
+ color: var(--color);
|
|
|
|
+ font-family: 仿宋_GB2312 !important;
|
|
|
|
+ border-right: 2px solid var(--color);
|
|
|
|
+
|
|
|
|
+ div {
|
|
|
|
+ padding: 10px 30px;
|
|
|
|
+ text-align: center;
|
|
}
|
|
}
|
|
- .bei{
|
|
|
|
- color: aliceblue;
|
|
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ &>div:last-child {
|
|
|
|
+ border-right: none;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ &>div:first-child {
|
|
|
|
+ min-width: 330px;
|
|
|
|
+
|
|
|
|
+ &:last-child {
|
|
|
|
+ text-align: left !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .footerDiv_two{
|
|
|
|
- width: 200px;
|
|
|
|
- position: relative;
|
|
|
|
- .two_div1{
|
|
|
|
- width: 100%;
|
|
|
|
- height: 50px;
|
|
|
|
- position: absolute;
|
|
|
|
- top: 50%;
|
|
|
|
- left: 50%;
|
|
|
|
- transform: translate(-50%,-50%);
|
|
|
|
- border-left: 2px solid aliceblue;
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ .bei {
|
|
|
|
+ text-align: left !important;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .title {
|
|
|
|
+ font-weight: bolder;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .en {
|
|
|
|
+ font-family: Arial !important;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .logo {
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+
|
|
|
|
+ .img {
|
|
|
|
+ height: 20px;
|
|
|
|
+ margin-right: 20px;
|
|
|
|
+ background: #fff;
|
|
}
|
|
}
|
|
- .two_div2{
|
|
|
|
- text-align: center;
|
|
|
|
- position: absolute;
|
|
|
|
- top: 50%;
|
|
|
|
- left: 50%;
|
|
|
|
- transform: translate(-50%,-50%);
|
|
|
|
- .elLink1{
|
|
|
|
- margin-bottom: 15px;
|
|
|
|
- color: aliceblue ;
|
|
|
|
- }
|
|
|
|
- .elLink2{
|
|
|
|
- color: aliceblue;
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .elLink {
|
|
|
|
+ color: var(--color);
|
|
|
|
+ font-family: inherit;
|
|
|
|
+
|
|
|
|
+ i {
|
|
|
|
+ font-size: 20px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|