Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
ybf
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
xulili
ybf
Commits
32dd7a90
Commit
32dd7a90
authored
Jan 08, 2020
by
Z
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
💄
Z: Style: table style in element is change.
parent
969e05e4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15435 additions
and
151 deletions
+15435
-151
index.css
ybf_admin/src/assets/elementYbf02/theme/index.css
+15232
-1
index.vue
ybf_admin/src/pages/task/bar/index.vue
+203
-150
No files found.
ybf_admin/src/assets/elementYbf02/theme/index.css
View file @
32dd7a90
This diff is collapsed.
Click to expand it.
ybf_admin/src/pages/task/bar/index.vue
View file @
32dd7a90
...
...
@@ -47,6 +47,7 @@
></el-option>
</el-select>
</el-form-item>
<!--
</el-col>
-->
<!-- 关键字 -->
...
...
@@ -73,8 +74,8 @@
tooltip-effect=
"dark"
style=
"width: 100%"
@
selection-change=
"listPick"
:header-cell-style=
"setListsHeadStyle"
>
<!-- :header-cell-style="setListsHeadStyle"-->
<el-table-column
type=
"selection"
width=
"60"
></el-table-column>
<el-table-column
prop=
"taskName"
label=
"任务名"
align=
"center"
width=
"200"
></el-table-column>
<el-table-column
prop=
"taskType"
label=
"任务类型"
align=
"center"
width=
"120"
></el-table-column>
...
...
@@ -105,173 +106,225 @@
:total=
"400"
></el-pagination>
</div>
<div
class=
"dialogs"
>
<el-dialog
title=
"创建任务"
:visible
.
sync=
"cache.status.createDialog"
width=
"60%"
:before-close=
"dialogCreateBeforeClose"
>
<div
class=
"dialogMain"
>
<span>
会当凌绝顶,一览众山小。
</span>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"dialogCreateCancel"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"dialogCreateSubmit"
>
保 存
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"dialogCreateSubmitSend"
>
保存并发布
</el-button>
</span>
</el-dialog>
</div>
</div>
</template>
<
script
>
import
TaskBar
from
"../bar/index"
;
import
TaskCom
from
"../com/index"
;
import
TaskCount
from
"../count/index"
;
import
TaskBar
from
"../bar/index"
;
import
TaskCom
from
"../com/index"
;
import
TaskCount
from
"../count/index"
;
export
default
{
components
:
{},
data
()
{
return
{
list
:
{
main
:
[
{
id
:
"1001"
,
taskName
:
"2019年男装销售任务"
,
taskType
:
"拉新"
,
bar
:
"男装"
,
taskContent
:
"任务内容任务内容任务内容..."
,
sendDate
:
"2019/02/08"
},
{
id
:
"1002"
,
taskName
:
"2019年男装销售任务"
,
taskType
:
"拉新"
,
bar
:
"男装"
,
taskContent
:
"任务内容任务内容任务内容..."
,
sendDate
:
"2019/02/08"
},
{
id
:
"1003"
,
taskName
:
"2019年男装销售任务"
,
taskType
:
"拉新"
,
bar
:
"男装"
,
taskContent
:
"任务内容任务内容任务内容..."
,
sendDate
:
"2019/02/08"
export
default
{
components
:
{},
data
()
{
return
{
cache
:
{
status
:
{
createDialog
:
false
}
]
,
search
:
{
bar
:
[
}
,
list
:
{
main
:
[
{
id
:
"1"
,
name
:
"全部"
id
:
"1001"
,
taskName
:
"2019年男装销售任务"
,
taskType
:
"拉新"
,
bar
:
"男装"
,
taskContent
:
"任务内容任务内容任务内容..."
,
sendDate
:
"2019/02/08"
},
{
id
:
"2"
,
name
:
"测试"
}
],
taskType
:
[
{
id
:
"1"
,
name
:
"全部"
id
:
"1002"
,
taskName
:
"2019年男装销售任务"
,
taskType
:
"拉新"
,
bar
:
"男装"
,
taskContent
:
"任务内容任务内容任务内容..."
,
sendDate
:
"2019/02/08"
},
{
id
:
"2"
,
name
:
"测试"
id
:
"1003"
,
taskName
:
"2019年男装销售任务"
,
taskType
:
"拉新"
,
bar
:
"男装"
,
taskContent
:
"任务内容任务内容任务内容..."
,
sendDate
:
"2019/02/08"
}
]
],
search
:
{
bar
:
[
{
id
:
"1"
,
name
:
"全部"
},
{
id
:
"2"
,
name
:
"测试"
}
],
taskType
:
[
{
id
:
"1"
,
name
:
"全部"
},
{
id
:
"2"
,
name
:
"测试"
}
]
}
},
data
:
{
search
:
{
bar
:
""
,
taskType
:
""
,
date
:
""
,
keys
:
""
},
page
:
{
nowPageNum
:
4
}
}
};
},
created
()
{
},
methods
:
{
listPick
()
{
},
data
:
{
search
:
{
bar
:
""
,
taskType
:
""
,
date
:
""
,
keys
:
""
},
page
:
{
nowPageNum
:
4
testButtonClick
()
{
},
pagesSizeChange
()
{
},
pagesNowPageChange
()
{
},
setListsHeadStyle
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
rowIndex
===
0
)
{
return
"background-color: #0B0F32; border-right: 1px solid white;color: white;"
;
}
else
{
return
""
;
}
}
};
},
created
()
{},
methods
:
{
listPick
()
{},
testButtonClick
()
{},
pagesSizeChange
()
{},
pagesNowPageChange
()
{},
setListsHeadStyle
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
rowIndex
===
0
)
{
return
"background-color: #0B0F32; border-right: 1px solid white;color: white;"
;
}
else
{
return
""
;
}
},
dialogCreateBeforeClose
()
{
},
dialogCreateCancel
()
{
},
dialogCreateSubmit
()
{
},
dialogCreateSubmitSend
()
{
},
}
}
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
.main
{
// border: 2px solid orange;
height
:
100vh
;
.main
{
// border: 2px solid orange;
height
:
100vh
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
flex-start
;
}
.searchs
{
// border: 2px solid red;
height
:
40px
;
width
:
100%
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
align-items
:
center
;
}
display
:
flex
;
flex-direction
:
column
;
justify-content
:
flex-start
;
}
.searchs
{
// border: 2px solid red;
height
:
40px
;
width
:
100%
;
.buttons
{
// border: 2px solid darkcyan;
// width: 30%;
// min-width: 266px;
width
:
266px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
flex-start
;
}
.buttonlight
{
background-color
:
#e8e9fe
;
color
:
#4e59c7
;
border
:
1px
solid
#4e59c7
;
box-sizing
:
border-box
;
}
.buttonlight
:hover
{
}
.buttondark
{
background-color
:
#4e59c7
;
color
:
#ffffff
;
border
:
1px
solid
#4e59c7
;
box-sizing
:
border-box
;
}
.buttondark
:hover
{
}
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
align-items
:
center
;
}
.buttons
{
// border: 2px solid darkcyan;
// width: 30%;
// min-width: 266px;
width
:
266px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
flex-start
;
}
.buttonlight
{
background-color
:
#e8e9fe
;
color
:
#4e59c7
;
border
:
1px
solid
#4e59c7
;
box-sizing
:
border-box
;
}
.buttonlight
:hover
{
}
.buttondark
{
background-color
:
#4e59c7
;
color
:
#ffffff
;
border
:
1px
solid
#4e59c7
;
box-sizing
:
border-box
;
}
.buttondark
:hover
{
}
.searchzone
{
// border: 2px solid orange;
height
:
40px
;
width
:
auto
;
min-width
:
654px
;
.searchzone
{
// border: 2px solid orange;
height
:
40px
;
width
:
auto
;
min-width
:
654px
;
// display: flex;
// flex-direction: row;
// justify-content: space-between;
// align-items: center;
}
.lists
{
// border: 2px solid greenyellow;
height
:
auto
;
// min-height: 400px;
min-height
:
70%
;
width
:
100%
;
margin-top
:
20px
;
}
.list
{
// border: 1px solid red;
}
.listButtonRed
{
// border: 2px solid green;
color
:
red
;
}
.pages
{
// border: 2px solid steelblue;
height
:
40px
;
width
:
100%
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
flex-end
;
align-items
:
center
;
}
// display: flex;
// flex-direction: row;
// justify-content: space-between;
// align-items: center;
}
.lists
{
/*border: 2px solid greenyellow;*/
height
:
auto
;
// min-height: 400px;
min-height
:
70%
;
width
:
100%
;
margin-top
:
20px
;
}
.list
{
// border: 1px solid red;
}
.listButtonRed
{
// border: 2px solid green;
color
:
red
;
}
.pages
{
// border: 2px solid steelblue;
height
:
40px
;
width
:
100%
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
flex-end
;
align-items
:
center
;
}
</
style
>
<
style
lang=
"scss"
scoped
>
.dialogMain
{
border
:
2px
solid
red
;
height
:
100%
;
}
</
style
>
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