Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
npm
/
glsx-components
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dc5d640b
authored
Dec 30, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:调整table行状态颜色
1 parent
068dd55a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
src/App.vue
src/packages/Table/src/index.vue
src/App.vue
View file @
dc5d640
...
...
@@ -275,7 +275,7 @@ export default {
label
:
'直播间名称'
,
prop
:
'name'
,
line
:
1
,
width
:
9
0
width
:
12
0
// children:[
// {
// label: '直播间名称1',
...
...
@@ -293,8 +293,8 @@ export default {
label
:
'状态'
,
prop
:
'status'
,
enum
:
[
{
label
:
'成功'
,
value
:
1
},
{
label
:
'进行中'
,
value
:
1
,
color
:
'#fdb757'
},
{
label
:
'成功'
,
value
:
1
,
color
:
'red'
},
{
label
:
'进行中'
,
value
:
2
,
color
:
'#fdb757'
},
{
label
:
'失败'
,
value
:
3
,
color
:
'#999'
}
],
searchProps
:
{
label
:
'label'
,
value
:
'value'
},
...
...
@@ -317,7 +317,7 @@ export default {
{
label
:
'直播状态'
,
prop
:
'liveStatus'
,
width
:
'
8
0'
,
width
:
'
12
0'
,
enum
:
[
{
label
:
'良好'
,
value
:
1
},
{
label
:
'一般'
,
value
:
2
},
...
...
@@ -1281,7 +1281,7 @@ export default {
padding-bottom
:
50px
;
height
:
2000px
;
font-size
:
14px
;
background-color
:
#f0f1f7
;
//
background-color
:
#f0f1f7
;
}
.colorred
{
color
:
red
;
...
...
src/packages/Table/src/index.vue
View file @
dc5d640
...
...
@@ -463,7 +463,7 @@ export default {
},
mounted
()
{
console
.
log
(
filterEnum
)
//
console.log(filterEnum)
this
.
tableInit
()
// 注册事件 -- 防抖
window
.
onresize
=
()
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment