v1.3.0 — 钉钉日历同步
- 早间立志卡片新增日历同步按钮 - /api/calendar-sync 从缓存读取当日钉钉会议 - 自动填入立志:去重防重复,保留时间+地点格式 - 日历缓存: ~/.workbuddy/data/ziwei-power/calendar_cache.json
This commit is contained in:
@@ -535,6 +535,26 @@ body {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
/* 日历同步按钮 */
|
||||
.btn-cal-sync {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--text-muted);
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.btn-cal-sync:hover {
|
||||
background: var(--success-light);
|
||||
color: var(--success);
|
||||
}
|
||||
|
||||
/* 编辑模式下才显示的元素 */
|
||||
.edit-only { display: none; }
|
||||
.card.editing .edit-only { display: flex; }
|
||||
|
||||
Reference in New Issue
Block a user