Commit 1b31bc7a authored by 赵啸非's avatar 赵啸非

修改导航

parent 13f82c47
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
<el-row :span="24" type="flex" justify="center" align="middle" style="height: 80px;margin-top: 20px;"> <el-row :span="24" type="flex" justify="center" align="middle" style="height: 80px;margin-top: 20px;">
<el-col :span="4" > <el-col :span="4" >
<img src="../../../assets/images/logo_portal.png" style="width: 80%;float: right" alt=""> <img src="../../../assets/images/logo_portal.png" style="width: 80%;float: right;" alt="">
</el-col> </el-col>
<el-col :span="16" > <el-col :span="16" >
<el-menu router :default-active="$route.path" text-color="#111" active-text-color="#2f1ce5" mode="horizontal" > <el-menu style="margin-left: 100px" router :default-active="$route.path" text-color="#111" active-text-color="#2f1ce5" mode="horizontal" >
<el-menu-item style="width: 15% ;font-size: 16px;font-weight: bold" index="/index">网站首页</el-menu-item> <el-menu-item style="width: 15% ;font-size: 16px;font-weight: bold" index="/index">网站首页</el-menu-item>
<el-submenu style="width: 15%;font-weight: bold" index="/product"> <el-submenu style="width: 15%;font-weight: bold" index="/product">
<template slot="title" >产品中心</template> <template slot="title" >产品中心</template>
......
...@@ -16,10 +16,11 @@ ...@@ -16,10 +16,11 @@
<el-row type="flex" justify="center" v-for="(article,index) in articles.data" :key="index"> <el-row type="flex" justify="center" v-for="(article,index) in articles.data" :key="index">
<el-col :span="18" > <el-col :span="18" >
<div class="section--header">
<h1 class="section--title" style="text-align: center;"> <strong>{{article.title}}</strong></h1> <h1 class="section--title" style="text-align: center;"> <strong>{{article.title}}</strong></h1>
<p class="section--description" style="text-align: center;">{{article.author}}</p> <p class="section--description" style="text-align: center;">{{article.author}}</p>
<img :src="article.cover" style="width: 100%" alt="" /> <img :src="article.cover" style="width: 100%" alt="" />
</div>
</el-col> </el-col>
</el-row> </el-row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment