Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
work-log
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
高宇
work-log
Commits
6aab2ca2
Commit
6aab2ca2
authored
May 15, 2019
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复周末没有背景色问题;
parent
cfb7eb45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
fullCalendarGrid.vue
src/components/calendar/fullCalendarGrid.vue
+5
-8
No files found.
src/components/calendar/fullCalendarGrid.vue
View file @
6aab2ca2
...
@@ -102,6 +102,7 @@
...
@@ -102,6 +102,7 @@
$
(
'[data-toggle="tooltip"]'
).
tooltip
()
$
(
'[data-toggle="tooltip"]'
).
tooltip
()
},
},
eventRender
(
info
)
{
eventRender
(
info
)
{
// console.log(info)
// info.el = $('el-tooltip')
// info.el = $('el-tooltip')
info
.
el
.
setAttribute
(
'data-id'
,
info
.
event
.
id
)
info
.
el
.
setAttribute
(
'data-id'
,
info
.
event
.
id
)
info
.
el
.
setAttribute
(
'data-model'
,
info
.
event
.
extendedProps
.
nonstandard
.
model
)
info
.
el
.
setAttribute
(
'data-model'
,
info
.
event
.
extendedProps
.
nonstandard
.
model
)
...
@@ -122,13 +123,6 @@
...
@@ -122,13 +123,6 @@
})
})
this
.
$emit
(
'update:add'
,
info
,
this
.
$refs
.
fullCalendar
.
getApi
().
view
.
type
)
this
.
$emit
(
'update:add'
,
info
,
this
.
$refs
.
fullCalendar
.
getApi
().
view
.
type
)
},
},
// handleDateClick (info) {
// // info.jsEvent.preventDefault()
// this.$message({
// message: '添加'
// })
// this.$emit('update:add', info)
// },
eventClick
(
info
)
{
eventClick
(
info
)
{
info
.
jsEvent
.
preventDefault
()
info
.
jsEvent
.
preventDefault
()
this
.
$message
({
this
.
$message
({
...
@@ -185,7 +179,10 @@
...
@@ -185,7 +179,10 @@
@
import
'../../assets/css/tooltip.css'
;
@
import
'../../assets/css/tooltip.css'
;
</
style
>
</
style
>
<
style
>
<
style
>
.demo-app-calendar
.fc-day.fc-sat
,
.demo-app-calendar
.fc-day.fc-sun
{
background
:
#d7d7d7
;
opacity
:
.3
;
}
.tooltip
p
{
.tooltip
p
{
text-align
:
left
;
text-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