Commit 679d5d9b authored by caixingbing's avatar caixingbing

*

parent 4210cda4
...@@ -7,8 +7,8 @@ npm install ...@@ -7,8 +7,8 @@ npm install
npm run dev npm run dev
## 页面 ## 页面
### http://localhost:8088/login 登录页面 ### http://localhost:81/login 登录页面
### http://localhost:8088/index 首页 ### http://localhost:81/index 首页
## 开发规范及注意事项 ## 开发规范及注意事项
...@@ -16,7 +16,7 @@ npm run dev ...@@ -16,7 +16,7 @@ npm run dev
2* 所有图片文件均放在src/assets/images文件夹下,图片命名规范:(1)直接小写(2)驼峰命名(3)带下划线,三种均可。公用图片直接放在images下,单独栏目板块下的图片要单独建文件夹存放。 2* 所有图片文件均放在src/assets/images文件夹下,图片命名规范:(1)直接小写(2)驼峰命名(3)带下划线,三种均可。公用图片直接放在images下,单独栏目板块下的图片要单独建文件夹存放。
3* svg栏目图标统一存放位置:src/icons/svg。 3* svg栏目图标统一存放位置:src/assets/icons/svg。
4* 组件引用:公用组件存放目录src/components;单独引用的组件存放目录可在页面同级目录下建component文件夹存。 4* 组件引用:公用组件存放目录src/components;单独引用的组件存放目录可在页面同级目录下建component文件夹存。
......
...@@ -180,3 +180,248 @@ aside { ...@@ -180,3 +180,248 @@ aside {
margin-bottom: 10px; margin-bottom: 10px;
} }
} }
// 自定义全局样式
.flex-box {
display: flex !important;
flex-direction: row;
align-items: center;
}
.a-link{
color: #0081FF;
&:hover{
color: #0081FF;
text-decoration: underline;
}
}
.text-cl1{
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
ul, li {
list-style: none;
padding: 0;
margin: 0;
}
.app-container {
margin: 12px 24px;
background: #FFFFFF;
.el-input__inner{
border-color: #D9D9D9;
color: #232323;
&::placeholder {
color: rgba(35,35,35,0.5);
}
}
.el-select .el-input .el-select__caret{
color: #232323;
}
.query-box{
justify-content: space-between;
}
.query-params {
.form-content-width {
width: 160px;
}
.el-form{
&.el-form--inline .el-form-item{
margin-right: 16px;
}
.el-form-item--mini.el-form-item, .el-form-item--small.el-form-item{
margin-bottom: 8px;
margin-top: 8px;
}
}
}
.query-ability{
span{
font-size: 14px;
color: #232323;
line-height: initial;
margin-left: 20px;
cursor: pointer;
&:hover{
color: #0081FF;
}
&:first-child{
margin-left: 0;
}
img{
width: 18px;
height: 18px;
margin-right: 5px;
}
}
}
}
.container-box {
padding: 16px;
}
.table-item{
width: 100%;
.el-table{
font-size: 12px;
color: #232323;
.cell{
padding-right: 12px !important;
padding-left: 12px !important;
line-height: 18px;
}
thead{
color: rgba(35,35,35,0.7);
}
.sort-caret.ascending{
border-bottom-color: rgba(0,129,255,0.5);
}
.ascending .sort-caret.ascending{
border-bottom-color: #0081FF;
}
.sort-caret.descending{
border-top-color: rgba(0,129,255,0.5);
}
.descending .sort-caret.descending{
border-top-color: #0081FF;
}
.el-table__header-wrapper{
th{
background: #F0F3FA;
text-align: left;
}
}
.el-table__body-wrapper{
&::-webkit-scrollbar {
width: 16px; //竖轴宽度
height: 16px; //横轴宽度
}
&::-webkit-scrollbar-track {
background-color: #F3F4F5;
border-radius: 0;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(98,110,126,0.2);
border: 4px solid #F3F4F5;
border-radius: 10px;
}
&::-webkit-scrollbar-corner {
background: #F3F4F5;
/*border-left: 1px solid #E0EAF2;*/
}
tr{
&.current-row>td{
background-color: initial;
}
&:nth-child(2n) {
background: #F8FBFF;
}
}
}
}
}
.common-title{
font-size: 16px;
color: #232323;
font-weight: 700;
line-height: 0.9;
position: relative;
padding: 0 0 0 8px;
&:before{
position: absolute;
left: 0;
top: 0;
width: 2px;
height: 14px;
background: #445781;
content:"";
}
}
.pagination-box{
text-align: right;
padding: 16px 0;
.el-pagination{
font-weight: normal;
padding: 0;
button, span:not([class*=suffix]){
height: 24px;
line-height: 24px;
}
&.is-background .btn-next,
&.is-background .btn-prev,
&.is-background .el-pager li{
height: 24px;
line-height: 24px;
min-width: 24px;
padding: 0 6px;
margin: 0 4px;
font-size: 12px;
color: rgba(35,35,35,0.7);
background-color: #F3F4F5;
}
&.is-background .el-pager li:not(.disabled):hover{
background-color: rgba(0,129,255,0.3);
color: #FFFFFF;
}
&.is-background{
.el-pager{
li:not(.disabled){
&.active{
background-color: $systemColor;
color: #FFFFFF;
}
}
}
.el-pagination__jump{
margin-left: 8px;
color: #3D3D3D;
.el-input{
font-size: 12px;
}
.el-pagination__editor{
height: 24px;
margin: 0 8px;
}
.el-pagination__editor.el-input .el-input__inner{
height: 24px;
border-color: #CDD1D9;
border-radius: 2px;
}
}
}
}
}
.el-drawer{
.el-drawer__header{
padding: 16px 2px 16px 16px;
margin-bottom: 0;
border-bottom: 1px solid #E1E1E1;
}
.el-drawer__body{
overflow-y: auto;
&::-webkit-scrollbar {
width: 16px; //竖轴宽度
height: 16px; //横轴宽度
}
&::-webkit-scrollbar-track {
background-color: #F3F4F5;
border-radius: 0;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(98,110,126,0.2);
border: 4px solid #F3F4F5;
border-radius: 10px;
}
&::-webkit-scrollbar-corner {
background: #F3F4F5;
/*border-left: 1px solid #E0EAF2;*/
}
}
}
...@@ -38,6 +38,9 @@ $base-sub-menu-hover:#001528; ...@@ -38,6 +38,9 @@ $base-sub-menu-hover:#001528;
$base-sidebar-width: 200px; $base-sidebar-width: 200px;
//系统默认颜色
$systemColor:#0081FF;
// the :export directive is the magic sauce for webpack // the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
:export { :export {
...@@ -50,5 +53,6 @@ $base-sidebar-width: 200px; ...@@ -50,5 +53,6 @@ $base-sidebar-width: 200px;
subMenuHover: $base-sub-menu-hover; subMenuHover: $base-sub-menu-hover;
sideBarWidth: $base-sidebar-width; sideBarWidth: $base-sidebar-width;
logoTitleColor: $base-logo-title-color; logoTitleColor: $base-logo-title-color;
logoLightTitleColor: $base-logo-light-title-color logoLightTitleColor: $base-logo-light-title-color;
systemColor: $systemColor
} }
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
fit fit
highlight-current-row highlight-current-row
> >
<el-table-column label="序号" width="50" align="left"> <el-table-column label="序号" width="60" align="left">
<template slot-scope="scope">{{ pageIndex * pageSize - pageSize + scope.$index + 1 }}</template> <template slot-scope="scope">{{ pageIndex * pageSize - pageSize + scope.$index + 1 }}</template>
</el-table-column> </el-table-column>
<el-table-column label="地区" min-width="70" align="left"> <el-table-column label="地区" min-width="70" align="left">
......
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