Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
679d5d9b
Commit
679d5d9b
authored
May 16, 2023
by
caixingbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
4210cda4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
254 additions
and
5 deletions
+254
-5
README.md
dsk-operate-ui/README.md
+3
-3
index.scss
dsk-operate-ui/src/assets/styles/index.scss
+245
-0
variables.scss
dsk-operate-ui/src/assets/styles/variables.scss
+5
-1
index.vue
dsk-operate-ui/src/views/macro/nationalEconomies/index.vue
+1
-1
No files found.
dsk-operate-ui/README.md
View file @
679d5d9b
...
@@ -7,8 +7,8 @@ npm install
...
@@ -7,8 +7,8 @@ npm install
npm run dev
npm run dev
## 页面
## 页面
### http://localhost:8
088
/login 登录页面
### http://localhost:8
1
/login 登录页面
### http://localhost:8
088
/index 首页
### http://localhost:8
1
/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文件夹存。
...
...
dsk-operate-ui/src/assets/styles/index.scss
View file @
679d5d9b
...
@@ -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;*/
}
}
}
dsk-operate-ui/src/assets/styles/variables.scss
View file @
679d5d9b
...
@@ -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
}
}
dsk-operate-ui/src/views/macro/nationalEconomies/index.vue
View file @
679d5d9b
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
fit
fit
highlight-current-row
highlight-current-row
>
>
<el-table-column
label=
"序号"
width=
"
5
0"
align=
"left"
>
<el-table-column
label=
"序号"
width=
"
6
0"
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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment