zhuhao 2 vuotta sitten
vanhempi
commit
c91b588bee

+ 9 - 9
package-lock.json

@@ -4666,7 +4666,7 @@
     },
     "driver.js": {
       "version": "1.3.0",
-      "resolved": "https://registry.npmmirror.com/driver.js/-/driver.js-1.3.0.tgz",
+      "resolved": "https://registry.npmjs.org/driver.js/-/driver.js-1.3.0.tgz",
       "integrity": "sha512-ilUkVc5iMIYfMd8FdWy8n5Wv//gsJuRP+lo8QfWpwP9c0UGOgD7P9nVQMZwcdW84aqAZHHUHrV7GgiopAN6HUQ=="
     },
     "duplexer": {
@@ -12395,7 +12395,7 @@
     },
     "vue-loader-v16": {
       "version": "npm:vue-loader@16.8.3",
-      "resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz",
+      "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
       "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
       "dev": true,
       "optional": true,
@@ -12407,7 +12407,7 @@
       "dependencies": {
         "ansi-styles": {
           "version": "4.3.0",
-          "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
+          "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
           "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
           "dev": true,
           "optional": true,
@@ -12417,7 +12417,7 @@
         },
         "chalk": {
           "version": "4.1.2",
-          "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
+          "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
           "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
           "dev": true,
           "optional": true,
@@ -12428,7 +12428,7 @@
         },
         "color-convert": {
           "version": "2.0.1",
-          "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
+          "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
           "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
           "dev": true,
           "optional": true,
@@ -12438,21 +12438,21 @@
         },
         "color-name": {
           "version": "1.1.4",
-          "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
+          "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
           "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
           "dev": true,
           "optional": true
         },
         "has-flag": {
           "version": "4.0.0",
-          "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz",
+          "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
           "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
           "dev": true,
           "optional": true
         },
         "loader-utils": {
           "version": "2.0.4",
-          "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz",
+          "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",
           "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
           "dev": true,
           "optional": true,
@@ -12464,7 +12464,7 @@
         },
         "supports-color": {
           "version": "7.2.0",
-          "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz",
+          "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
           "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
           "dev": true,
           "optional": true,

BIN
src/assets/lun1.jpg


BIN
src/assets/lun2.jpg


BIN
src/assets/lun3.jpg


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 5 - 29
src/icons/icon/iconfont.css


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 1 - 1
src/icons/icon/iconfont.js


+ 5 - 47
src/icons/icon/iconfont.json

@@ -6,11 +6,11 @@
   "description": "",
   "glyphs": [
     {
-      "icon_id": "666885",
-      "name": "设置",
-      "font_class": "shezhi1",
-      "unicode": "e68f",
-      "unicode_decimal": 59023
+      "icon_id": "1920212",
+      "name": "微信方",
+      "font_class": "weixinfang",
+      "unicode": "e61b",
+      "unicode_decimal": 58907
     },
     {
       "icon_id": "3456457",
@@ -55,27 +55,6 @@
       "unicode_decimal": 58951
     },
     {
-      "icon_id": "10360970",
-      "name": "创建项目",
-      "font_class": "chuangjianxiangmu",
-      "unicode": "e61d",
-      "unicode_decimal": 58909
-    },
-    {
-      "icon_id": "14997319",
-      "name": "批注",
-      "font_class": "pizhu",
-      "unicode": "e611",
-      "unicode_decimal": 58897
-    },
-    {
-      "icon_id": "23008574",
-      "name": "批注",
-      "font_class": "a-24_nor",
-      "unicode": "e610",
-      "unicode_decimal": 58896
-    },
-    {
       "icon_id": "24889722",
       "name": "对比",
       "font_class": "duibi1",
@@ -83,20 +62,6 @@
       "unicode_decimal": 59086
     },
     {
-      "icon_id": "383629",
-      "name": "信息",
-      "font_class": "xinxi4",
-      "unicode": "e623",
-      "unicode_decimal": 58915
-    },
-    {
-      "icon_id": "7872852",
-      "name": "信息",
-      "font_class": "xinxi1",
-      "unicode": "e644",
-      "unicode_decimal": 58948
-    },
-    {
       "icon_id": "8289020",
       "name": "信息",
       "font_class": "xinxi2",
@@ -104,13 +69,6 @@
       "unicode_decimal": 59503
     },
     {
-      "icon_id": "12685022",
-      "name": "标记",
-      "font_class": "icon_huabanfuben",
-      "unicode": "e62f",
-      "unicode_decimal": 58927
-    },
-    {
       "icon_id": "23949533",
       "name": "信息",
       "font_class": "xinxi3",

BIN
src/icons/icon/iconfont.ttf


BIN
src/icons/icon/iconfont.woff


BIN
src/icons/icon/iconfont.woff2


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 492 - 492
src/router/index.js


+ 62 - 0
src/views/event/components/view/table.vue

@@ -0,0 +1,62 @@
+<template>
+  <div class="eventTable">
+    <div>
+      <el-table :data="tableData" border style="width: 100%" header-row-class-name="headerClass" :header-cell-style="{ background: '#316192', color: '#fff' }">
+        <el-table-column label="#" width="60" type="index" align="center">
+        </el-table-column>
+        <el-table-column prop="date" label="事件名称" align="center">
+        </el-table-column>
+        <el-table-column prop="name" label="相关报告数量" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="相关专题库数量" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="事件场景" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="事件时间" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="描述" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="创建人" align="center">
+        </el-table-column>
+        <el-table-column prop="time" label="创建时间" align="center">
+        </el-table-column>
+      </el-table>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {
+      tableData: [],
+      queryParams: {
+        size: 10,
+        current: 1,
+        total: 0,
+      },
+    };
+  },
+  mounted() {
+    // this.getList()
+  },
+  methods: {
+    getList() {
+      
+    },
+    // 分页
+    handleCurrentChange(val) {
+      this.queryParams.current = val
+      this.getList()
+    },
+  },
+};
+</script>
+<style lang="scss">
+  .eventTable{
+    .headerClass{
+      background: red;
+    }
+  }
+</style>
+<style lang="scss" scoped></style>

+ 15 - 0
src/views/event/index.vue

@@ -0,0 +1,15 @@
+<template>
+  <div>
+
+  </div>
+</template>
+
+<script>
+  export default {
+    
+  }
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 256 - 189
src/views/home/index.vue

@@ -1,229 +1,296 @@
 <template>
-  <div style="height:100%;width:80%;margin:0 auto;">
-    <div>
-      <div id="step1">
-        <carousel></carousel>
+  <div class="home">
+    <div class="main">
+      <div>
+        <el-carousel :interval="4000" type="card">
+          <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="item.src" class="medium"></el-image> -->
+            <el-button round class="btnImg" @click="solution(item)">寻找解决方案</el-button>
+          </el-carousel-item>
+        </el-carousel>
       </div>
-        <div class="imgDiv">
-          <img class="logo" src="@/assets/logo-3.png" alt="">
-        </div>
-      <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>
+        <h2>知识产权风控与组织记忆系统</h2>
+      </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>
+      <div>
+        <el-tabs v-model="activeName" @tab-click="handleClick">
+          <el-tab-pane label="事件" name="event">
+            <eventTable></eventTable>
+          </el-tab-pane>
+          <el-tab-pane label="专题库" name="project">
+            <projectTable></projectTable>
+          </el-tab-pane>
+          <el-tab-pane label="报告" name="report">
+            <reportTable></reportTable>
+          </el-tab-pane>
+        </el-tabs>
+      </div>
+      <div>
+        <el-link class="link" @click="seeMore">查看更多> > ></el-link>
+      </div>
     </div>
-    <div :style="{'margin-top':margin_top}">
-      <el-tabs v-model="activeName" @tab-click="handleClick">
-        <el-tab-pane label="事件" name="event">
-          <div style="background:white;padding:10px 0 20px;">
-            <QuestionTable @checkVisual="checkVisual" :show="true"></QuestionTable>
+    <!-- 底部 -->
+    <div class="footer" >
+      <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>
-        </el-tab-pane>
-        <el-tab-pane label="专题库" name="workspace">
-          <div style="background:white;padding:10px 0 20px;">
-            <Project @checkVisual="checkVisual" :show="true"></Project>
+        </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>
-        </el-tab-pane>
-        <el-tab-pane label="报告" name="report">
-          <div style="background:white;padding:10px 0 20px;">
-            <Report @checkVisual="checkVisual" :show="true"></Report>
+        </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>
-          
-        </el-tab-pane>
-      </el-tabs>
+        </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>
+      </div>
     </div>
-
-    <visualDialog ref="visualDialog"></visualDialog>
   </div>
 </template>
 
 <script>
-// import Project from './components/project.vue'
-import Project from '@/views/visual/components/drawer/components/project.vue';
-import Report from '@/views/visual/components/drawer/components/report.vue';
-// import Report from './components/report.vue'
-import QuestionTable from "@/views/questionEvent/components/questionIndex.vue";
-import visualDialog from './components/visualDialog.vue'
-import { openVisual } from './components/mixins';
-
-import carousel from './components/carousel.vue'
+import eventTable from '../event/components/view/table.vue';
+import projectTable from '../project/components/view/table.vue';
+import reportTable from '../report/components/view/table.vue';
 export default {
   components: {
-    Project,
-    Report,
-    visualDialog,
-    carousel,
-    QuestionTable
+    eventTable,
+    projectTable,
+    reportTable,
   },
-  props: {},
-  mixins:[openVisual],
   data() {
     return {
-      show:false,
-      margin_top:'0px',
-      activeName:'event',
-      options:[
-        {
-          label:'专题库',
-          value:'Workspace',
-          placeholder:'请输入专题库名称'
-        },
-        {
-          label:'专利',
-          value:'patentNo',
-          placeholder:'请输入专利'
-        },
-        {
-          label:'产品',
-          value:'Product',
-          placeholder:'请输入产品名称'
-        },
-        {
-          label:'事件',
-          value:'QuestionEvent',
-          placeholder:'请输入事件名称'
-        },
-        {
-          label:'报告',
-          value:'AllReport',
-          placeholder:'请输入报告名称'
-        },
+      srcList: [
+        // {src:'@/assets/lun1.jpg'},
+        // {src:'@/assets/lun2.jpg'},
+        // {src:'@/assets/lun3.jpg'},
+        {src:'lun1.jpg'},
+        {src:'lun2.jpg'},
+        {src:'lun3.jpg'},
+      ],
+      options: [
+        {value:0,label:'专题库'},
+        {value:1,label:'报告'},
+        {value:2,label:'事件'},
       ],
-      
       queryParams:{
-        content:'',
-        select:''
+        queryType: '',
+        query:'',
       },
-    };
+      activeName: "event",
+    }
   },
-  watch: {},
-  computed: {},
-  created() {},
   mounted() {
-    document.getElementsByClassName('el-main')[0].addEventListener("scroll", this.handleScroll)
+    
   },
   methods: {
-    //监听滚动条的位置
-    handleScroll(){
-      let demo = document.querySelector('.home_search')
-      const scrollTop = document.getElementsByClassName('el-main')[0].scrollTop
-      if(scrollTop >= 250 && !this.show) {
-        this.show =  true
-          demo.classList.add('fixHeader')
-          this.margin_top = '70px'
-      } else if(scrollTop < 250 && this.show){
-        this.show =  false
-          demo.classList.remove('fixHeader')
-          this.margin_top = '0px'
+    // 查看更多
+    seeMore() {
+      switch (this.activeName) {
+        case 'event'://事件
+          
+          break;
+        case 'project'://专题库
+          
+          break;
+        case 'report'://报告
+          
+          break;
+      
+        default:
+          break;
       }
-      // console.log('滚动条位置:', scrollTop);
     },
-    //切换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
+    // 切换tab
+    handleClick(tab, event) {
+      console.log(tab, event);
     },
-    //查询
-    search(){
-      if(!this.queryParams.select){
-        this.$message.error('请选择需要检索的信息')
-        return false
-      }
-      localStorage.searchContent = this.queryParams.content
-      this.$router.push({
-        name:this.queryParams.select,
-      })
-      setTimeout(function () {
-        localStorage.searchContent = ''
-      }, 1000);
+    // select change
+    selectChange(val) {
+      console.log(val);
+    },
+    // 搜索
+    query() {
+      console.log(this.queryParams);
     },
+    // 解决方案
+    solution(){},
   },
 };
 </script>
+
 <style lang="scss">
-  .el-carousel__item:nth-child(2n) {
-    background-color: #99a9bf;
+.home{
+  .el-carousel__container{
+    height: 200px;
   }
-  
-  .el-carousel__item:nth-child(2n+1) {
-    background-color: #d3dce6;
-  }
-  .fixHeader{
-    .input-with-select{
-      // min-width: 654px;
-      // width: 50%;
-      // margin-left:20px;
+  .serch{
+    // select整体颜色改变
+    .el-select .el-input__inner{
+      background: #316192;
+      border: 1px solid #316192;
+    }
+    // select中选中项颜色、上下角颜色改变
+    .el-select .el-input .el-select__caret{
+      color:#fff;
+    }
+    .special {
+      .el-input__inner{
+        border-radius: 0px;
+        color: aliceblue !important;
+      }
+    }
+    .queryInput{
+      .el-input__inner{
+        border-radius: 0px;
+      }
+    }
+    .el-button{
+      border-radius: 0px;
+      background: #316192;
+      border: 1px solid #316192;
     }
   }
+}
 </style>
 <style lang="scss" scoped>
-.small{
-  color: #475669;
-    font-size: 14px;
-    opacity: 0.75;
-    line-height: 150px;
-    margin: 0;
-}
-.fixHeader{
-  width:100% !important;
-  height: 50px;
-  background: white;
-  max-height: 50px;
-  position: fixed;
-  top:40px;
-  left:0;
-  right:0;
-  display: flex;
-  justify-content: center;
-  align-items: center;
-  z-index: 999;
-  margin:0 auto;
-  // .logo1{
-  //   // width:100px;
-  //   height: 40px;
-  //   margin-right:20px;
-  // }
-  .input_search{
-    width: 50%;
+.home{
+  .main{
+    width: 80%;
+    margin: auto;
+    .medium{
+      width: 100%; 
+      height: 260px;
+    }
+    .btnImg{
+      position: absolute;
+      top: 75%; 
+      left: 50%; 
+      transform: translate(-50%, 0px);
+    }
+    h2{
+      text-align: center;
+      color: #316192;
+    }
+    .serch{
+      min-width: 654px;
+      width: 50%;
+      display: flex;
+      margin: auto;
+      i{
+        color: aliceblue;
+      }
+    }
+    .link{
+      float: right;
+      margin-top: 10px;
+      color: #409EFF;
+    }
   }
-}
-.home_search{
-  
-  min-width: 654px;
-  width: 50%;
-  height: 50px;
-  // min-height: 50px;
-  // max-height: 510px;
-  // position:absolute;
-  // left: 0;
-  // right: 0;
-  // top: 0;
-  // bottom: 0;
-  margin:20px auto;
- 
-}
-.imgDiv{
-  display: flex;
-  justify-content: center;
-  margin-bottom:10px;
- 
-}
- .logo{
-    width:100px;
+  .footer{
+    width: 100%;
+    height: 200px;
+    margin-top: 80px;
+    background: #316192;
+    .footerDiv{
+      width: 1000px;
+      height: 100%
+      ;margin: auto;
+      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;
+          }
+        }
+        .bei{
+          color: aliceblue;
+        }
+      }
+      .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;
+          
+        }
+        .two_div2{
+          text-align: center;
+          position: absolute;
+          top: 50%;
+          left: 50%;
+          transform: translate(-50%,-50%);
+          .elLink1{
+            margin-bottom: 15px;
+            color: aliceblue ;
+          }
+          .elLink2{
+            color: aliceblue;
+          }
+        }
+      }
+    }
   }
-</style>
+}
+</style>

+ 229 - 0
src/views/home/index2.vue

@@ -0,0 +1,229 @@
+<template>
+  <div style="height:100%;width:80%;margin:0 auto;">
+    <div>
+      <div id="step1">
+        <carousel></carousel>
+      </div>
+        <div class="imgDiv">
+          <img class="logo" src="@/assets/logo-3.png" alt="">
+        </div>
+      <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 :style="{'margin-top':margin_top}">
+      <el-tabs v-model="activeName" @tab-click="handleClick">
+        <el-tab-pane label="事件" name="event">
+          <div style="background:white;padding:10px 0 20px;">
+            <QuestionTable @checkVisual="checkVisual" :show="true"></QuestionTable>
+          </div>
+        </el-tab-pane>
+        <el-tab-pane label="专题库" name="workspace">
+          <div style="background:white;padding:10px 0 20px;">
+            <Project @checkVisual="checkVisual" :show="true"></Project>
+          </div>
+        </el-tab-pane>
+        <el-tab-pane label="报告" name="report">
+          <div style="background:white;padding:10px 0 20px;">
+            <Report @checkVisual="checkVisual" :show="true"></Report>
+          </div>
+          
+        </el-tab-pane>
+      </el-tabs>
+    </div>
+
+    <visualDialog ref="visualDialog"></visualDialog>
+  </div>
+</template>
+
+<script>
+// import Project from './components/project.vue'
+import Project from '@/views/visual/components/drawer/components/project.vue';
+import Report from '@/views/visual/components/drawer/components/report.vue';
+// import Report from './components/report.vue'
+import QuestionTable from "@/views/questionEvent/components/questionIndex.vue";
+import visualDialog from './components/visualDialog.vue'
+import { openVisual } from './components/mixins';
+
+import carousel from './components/carousel.vue'
+export default {
+  components: {
+    Project,
+    Report,
+    visualDialog,
+    carousel,
+    QuestionTable
+  },
+  props: {},
+  mixins:[openVisual],
+  data() {
+    return {
+      show:false,
+      margin_top:'0px',
+      activeName:'event',
+      options:[
+        {
+          label:'专题库',
+          value:'Workspace',
+          placeholder:'请输入专题库名称'
+        },
+        {
+          label:'专利',
+          value:'patentNo',
+          placeholder:'请输入专利'
+        },
+        {
+          label:'产品',
+          value:'Product',
+          placeholder:'请输入产品名称'
+        },
+        {
+          label:'事件',
+          value:'QuestionEvent',
+          placeholder:'请输入事件名称'
+        },
+        {
+          label:'报告',
+          value:'AllReport',
+          placeholder:'请输入报告名称'
+        },
+      ],
+      
+      queryParams:{
+        content:'',
+        select:''
+      },
+    };
+  },
+  watch: {},
+  computed: {},
+  created() {},
+  mounted() {
+    document.getElementsByClassName('el-main')[0].addEventListener("scroll", this.handleScroll)
+  },
+  methods: {
+    //监听滚动条的位置
+    handleScroll(){
+      let demo = document.querySelector('.home_search')
+      const scrollTop = document.getElementsByClassName('el-main')[0].scrollTop
+      if(scrollTop >= 250 && !this.show) {
+        this.show =  true
+          demo.classList.add('fixHeader')
+          this.margin_top = '70px'
+      } else if(scrollTop < 250 && this.show){
+        this.show =  false
+          demo.classList.remove('fixHeader')
+          this.margin_top = '0px'
+      }
+      // console.log('滚动条位置:', scrollTop);
+    },
+    //切换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
+    },
+    //查询
+    search(){
+      if(!this.queryParams.select){
+        this.$message.error('请选择需要检索的信息')
+        return false
+      }
+      localStorage.searchContent = this.queryParams.content
+      this.$router.push({
+        name:this.queryParams.select,
+      })
+      setTimeout(function () {
+        localStorage.searchContent = ''
+      }, 1000);
+    },
+  },
+};
+</script>
+<style lang="scss">
+  .el-carousel__item:nth-child(2n) {
+    background-color: #99a9bf;
+  }
+  
+  .el-carousel__item:nth-child(2n+1) {
+    background-color: #d3dce6;
+  }
+  .fixHeader{
+    .input-with-select{
+      // min-width: 654px;
+      // width: 50%;
+      // margin-left:20px;
+    }
+  }
+</style>
+<style lang="scss" scoped>
+.small{
+  color: #475669;
+    font-size: 14px;
+    opacity: 0.75;
+    line-height: 150px;
+    margin: 0;
+}
+.fixHeader{
+  width:100% !important;
+  height: 50px;
+  background: white;
+  max-height: 50px;
+  position: fixed;
+  top:40px;
+  left:0;
+  right:0;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  z-index: 999;
+  margin:0 auto;
+  // .logo1{
+  //   // width:100px;
+  //   height: 40px;
+  //   margin-right:20px;
+  // }
+  .input_search{
+    width: 50%;
+  }
+}
+.home_search{
+  
+  min-width: 654px;
+  width: 50%;
+  height: 50px;
+  // min-height: 50px;
+  // max-height: 510px;
+  // position:absolute;
+  // left: 0;
+  // right: 0;
+  // top: 0;
+  // bottom: 0;
+  margin:20px auto;
+ 
+}
+.imgDiv{
+  display: flex;
+  justify-content: center;
+  margin-bottom:10px;
+ 
+}
+ .logo{
+    width:100px;
+  }
+</style>

+ 62 - 0
src/views/project/components/view/table.vue

@@ -0,0 +1,62 @@
+<template>
+  <div class="eventTable">
+    <div>
+      <el-table :data="tableData" border style="width: 100%" header-row-class-name="headerClass" :header-cell-style="{ background: '#316192', color: '#fff' }">
+        <el-table-column label="#" width="60" type="index" align="center">
+        </el-table-column>
+        <el-table-column prop="date" label="名称(专题库)" align="center">
+        </el-table-column>
+        <el-table-column prop="name" label="报告数量" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="事件" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="应用场景" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="专题库负责人" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="委托方" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="调查类型" align="center">
+        </el-table-column>
+        <el-table-column prop="time" label="技术主题" align="center">
+        </el-table-column>
+      </el-table>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {
+      tableData: [],
+      queryParams: {
+        size: 10,
+        current: 1,
+        total: 0,
+      },
+    };
+  },
+  mounted() {
+    // this.getList()
+  },
+  methods: {
+    getList() {
+      
+    },
+    // 分页
+    handleCurrentChange(val) {
+      this.queryParams.current = val
+      this.getList()
+    },
+  },
+};
+</script>
+<style lang="scss">
+  .eventTable{
+    .headerClass{
+      background: red;
+    }
+  }
+</style>
+<style lang="scss" scoped></style>

+ 0 - 0
src/views/project/index.vue


+ 62 - 0
src/views/report/components/view/table.vue

@@ -0,0 +1,62 @@
+<template>
+  <div class="eventTable">
+    <div>
+      <el-table :data="tableData" border style="width: 100%" header-row-class-name="headerClass" :header-cell-style="{ background: '#316192', color: '#fff' }">
+        <el-table-column label="#" width="60" type="index" align="center">
+        </el-table-column>
+        <el-table-column prop="date" label="名称" align="center">
+        </el-table-column>
+        <el-table-column prop="name" label="标的专利/产品" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="相关专题库" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="应用场景" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="负责人" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="客户" align="center">
+        </el-table-column>
+        <el-table-column prop="address" label="技术/产品" align="center">
+        </el-table-column>
+        <el-table-column prop="time" label="状态" align="center">
+        </el-table-column>
+      </el-table>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {
+      tableData: [],
+      queryParams: {
+        size: 10,
+        current: 1,
+        total: 0,
+      },
+    };
+  },
+  mounted() {
+    // this.getList()
+  },
+  methods: {
+    getList() {
+      
+    },
+    // 分页
+    handleCurrentChange(val) {
+      this.queryParams.current = val
+      this.getList()
+    },
+  },
+};
+</script>
+<style lang="scss">
+  .eventTable{
+    .headerClass{
+      background: red;
+    }
+  }
+</style>
+<style lang="scss" scoped></style>

+ 15 - 0
src/views/report/index.vue

@@ -0,0 +1,15 @@
+<template>
+  <div>
+
+  </div>
+</template>
+
+<script>
+  export default {
+    
+  }
+</script>
+
+<style lang="scss" scoped>
+
+</style>