左上角去掉学校名称,显示固定logo等

ui1
Jo 3 years ago
parent 62947f6b0c
commit a478c891e8
  1. 5
      src/layouts/header/index.vue
  2. 2
      src/layouts/navbar/index.vue
  3. 20
      src/pages/data/list/index.vue
  4. 6
      src/pages/index/list/index.vue
  5. 2
      src/pages/role/list/index.vue
  6. 2
      src/pages/user/list/index.vue
  7. 17
      src/styles/common.scss

@ -1,7 +1,8 @@
<template>
<div class="header">
<a class="logo" @click="toIndex">
<span v-if="token && isManager && !showSetting">{{schoolName}}</span>
<!-- <span v-if="token && isManager && !showSetting">{{schoolName}}</span> -->
<img src="@/assets/img/logo.png" alt="">
</a>
<div class="inner">
<div style="height: 64px;"></div>
@ -240,7 +241,7 @@ export default {
.logo{
position: absolute;
top: 0;
left: 30px;
left: 80px;
font-size: 28px;
color: #568DF2;
line-height: $height;

@ -112,7 +112,7 @@ export default {
.nav{
position: absolute;
top: 0;
left: 250px;
left: 280px;
display: flex;
li{
padding: 0 15px;

@ -106,18 +106,18 @@
<el-table-column type="index" width="100" label="序号" align="center"></el-table-column>
<el-table-column prop="showName" label="数据表名称" align="center"></el-table-column>
<el-table-column prop="dataTotal" label="数据总量" width="90" align="center"></el-table-column>
<el-table-column label="起止时间" width="190" align="center">
<el-table-column label="起止时间" width="220" align="center">
<template slot-scope="scope">
{{scope.row.startTime}}-{{scope.row.endTime}}
{{scope.row.startTime.slice(0, 10)}} ~ {{scope.row.endTime.slice(0, 10)}}
</template>
</el-table-column>
<el-table-column prop="dataSize" label="数据大小" width="110" align="center">
<el-table-column prop="dataSize" label="数据大小" width="90" align="center">
<template slot-scope="scope">
{{scope.row.dataSize}}M
</template>
</el-table-column>
<el-table-column prop="updateTime" label="更新时间" width="170" align="center"></el-table-column>
<el-table-column label="操作" width="120" align="center">
<el-table-column label="操作" width="140">
<template slot-scope="scope">
<el-button type="text" @click="preview(scope.row)">预览</el-button>
<el-button type="text" @click="download(scope.row)">下载</el-button>
@ -570,10 +570,6 @@ export default {
max-width: calc(100% - 220px);
.page{
margin-bottom: 20px;
.desc{
margin-bottom: 20px;
color: #333;
}
.source {
margin-bottom: 12px;
color: #7EB1F3;
@ -582,7 +578,7 @@ export default {
}
.desc{
padding: 9px 12px;
margin: 30px 0 10px;
margin: 20px 0 10px;
font-size: 12px;
color: #333;
background-color: #FAFAFA;
@ -596,8 +592,8 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
width: 300px;
height: 50px;
width: 345px;
height: 34px;
padding: 7px 10px;
margin: 0 auto;
background-color: #fff;
@ -605,7 +601,7 @@ export default {
border-radius: 5px;
input{
width: 195px;
width: 260px;
margin-left: 10px;
font-size: 14px;
color: #333;

@ -1,5 +1,5 @@
<template>
<div class="wrap" :class="{index: !keyword}">
<div class="wrap" :class="{index: !keyword, result: keyword}">
<div class="banner">
<div class="title" v-if="!keyword">准确多元海量数据</div>
<div class="search-wrap">
@ -36,7 +36,7 @@
</template>
</el-table-column>
<el-table-column prop="createTime" label="更新时间" align="center"></el-table-column>
<el-table-column label="操作" width="180" align="center">
<el-table-column label="操作" width="180">
<template slot-scope="scope">
<el-button type="text" @click="preview(scope.row)">预览</el-button>
<el-button type="text" @click="download(scope.row)">下载</el-button>
@ -350,7 +350,7 @@ export default {
}
}
}
&.pd{
&.result{
.banner{
padding: 46px 0;
}

@ -27,7 +27,7 @@
<el-input disabled placeholder="该角色用于管理全部功能权限" v-model="scope.row.remark "></el-input>
</template>
</el-table-column>
<el-table-column label="操作" width="180" align="center">
<el-table-column label="操作" width="180">
<template slot-scope="scope">
<el-button type="text" @click="showRole(scope.row)" v-auth>查看</el-button>
<template v-if="scope.row.roleName != '超级管理员'">

@ -66,7 +66,7 @@
</template>
</el-table-column>
<el-table-column prop="lastLoginTime" label="上次登录时间" width="160" align="center"></el-table-column>
<el-table-column label="操作" align="center" width="260">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button type="text" @click="show(scope.row)" v-auth>查看</el-button>
<el-button type="text" @click="edit(scope.row)" v-auth>编辑</el-button>

@ -177,13 +177,13 @@
.el-table{
border-radius: 4px;
.cell{
font-size: 14px;
font-size: 12px;
.el-checkbox{
&:before{
content: '全选';
margin-right: 5px;
color: #222326;
font-size: 14px;
font-size: 12px;
opacity: 0;
}
}
@ -192,7 +192,7 @@
background: #E8F0FF !important;
.cell{
color: #222326;
font-size: 14px;
font-size: 12px;
font-weight: normal;
.el-checkbox{
&:before{
@ -201,7 +201,13 @@
}
}
}
th, td{
padding: 10px 0;
border-bottom-color: #E1E6F2;
}
&.el-table--striped .el-table__body tr.el-table__row--striped td{
background-color: #FAFBFF;
}
.el-checkbox__inner{
border-radius: 4px;
transition: none !important;
@ -227,6 +233,9 @@
.el-switch__label--right span{
font-size: 12px;
}
.el-button--text{
padding: 0;
}
}
.tabs{

Loading…
Cancel
Save