毕业设计:Vue3+FastApi+Python+Neo4j实现主题知识图谱网页应用

您所在的位置:网站首页 vue知识图谱前端展示 毕业设计:Vue3+FastApi+Python+Neo4j实现主题知识图谱网页应用

毕业设计:Vue3+FastApi+Python+Neo4j实现主题知识图谱网页应用

2024-07-01 02:29| 来源: 网络整理| 查看: 265

简介

资源链接:https://download.csdn.net/download/m0_46573428/87796553

详细信息请看:https://blog.csdn.net/m0_46573428/article/details/130071302

这一部分的网页结构相对简单,主要是css的内容和router-link的跳转。

效果如下。

主要的CSS效果

所有的tab通过li来排列。【float: left;】使所有tab横向排列。

.tab { float: left; height: 60px; line-height: 60px; text-align: center; padding-left: 20px; padding-right: 20px; }

移动到tab上,会有上横线出现。

.tab:hover { border-top: #486E53 solid 3px; }

点击选中后字体会加粗。

.tab_all>a>li:hover { color: #486E53; }

页面跳转

通过router-link进行页面跳转。

图谱展示 主要代码 App.vue logo IME 数据管理 数据处理 数据爬虫 知识问答 新闻热点 词条检索 图谱展示 export default { name: "App", components: {}, methods: {}, };  index.css #app { font-family: Avenir, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #2c3e50; } * { margin: 0; padding: 0; color: #555; font-size: 17px; /* background-size: 100% 100%; */ } body { background-image: url('./assets/background.jpg'); background-size: cover; /* height: 1200px; */ } a { text-decoration: none; } ._active { font-weight: bolder; color: #486E53; } #header { z-index: 1; float: left; position: fixed; height: 55px; width: 100%; background: #F2F2F2; border-bottom: none; box-shadow: 0px 3px 5px rgb(0 0 0 / 14%); } #header>div>img { float: left; height: 30px; width: auto; padding: 10px 10px 15px 15px; margin-left: 30px; } #header>div>h1 { float: left; font-size: 30px; margin: 10px 0px 0px 0px; color: #558161; } #header>div>div { float: left; width: 8%; height: 100%; text-align: center; /* line-height: 100%; */ } #header>div>div>span { color: #486E53; line-height: 60px; } .tab { float: left; height: 60px; line-height: 60px; text-align: center; padding-left: 20px; padding-right: 20px; } .tab:hover { border-top: #486E53 solid 3px; } .tab_all>a>li:hover { color: #486E53; } .side_nav { height: 600px; width: 250px; background-color: rgba(250, 250, 250, 0.6); box-sizing: border-box; border-width: 1px; border-style: solid; border-color: rgba(242, 242, 242, 1); border-radius: 10px; box-shadow: none; } .side_tab { padding: 20px; } .side_tab:hover span { color: #486E53; cursor: pointer; } .side_tab:hover { border-left: 5px solid #486E53; }

 

 ./assets/logo.png



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3