Lu9693
关注
140884 号成员,2024-05-02 13:11:49 加入
55
个人主页 浏览
30h55m
在线时长
  • 求助集市分组以及隐藏引述块的角标

    2025-05-22 10:04

    大佬,代码有两个问题。
    ① 开关按钮偏上了。
    ② 右上的数量统计有。全部为 22(正确),关闭为 16(实际关闭为 6),开启为 6(实际开启为 16)。
    image.png

  • 求教 QueryView 插件日记热力图

    2025-05-15 16:14

    修改出来如下图。大佬可以分段把代码发上来吗?谢谢了
    image.png

  • 求教 QueryView 插件日记热力图

    2025-05-15 15:44

    大佬,两张半年的热力图怎么修改合并成一张呢

  • 关于有序列表阴影不对齐的解决方案

    2025-05-14 15:59

    我用的也是 QYL 主题

  • 关于有序列表阴影不对齐的解决方案

    2025-05-13 14:42

    大佬,修改后更对不齐了image.png

  • 插件点子征集:你最需要的插件是什么?

    2025-05-08 15:03

    共享代码或者是代码集市

  • 新建 Daily note 文件按周分类

    2025-04-18 22:31

    没看懂你这三层的文件。方便截图看看是哪三层吗

  • 新建 Daily note 文件按周分类

    2025-04-03 23:46

    这是我用其他大佬模板修改得到的,看下是否适合你。image.png

  • 新建 Daily note 文件按周分类

    2025-04-03 23:45
    .action{ $yearStartDate := now.Year | printf "%d-01-01" | toDate "2006-01-02" } .action{ $ysDateDuration := div ($yearStartDate.Sub (toDate "2006-01-02" $anchorSunday)).Hours 24 } .action{ $ysWeekDay := mod $ysDateDuration 7 } .action{ $yearStartWeek := add (div (sub $ysDateDuration 1) 7) 1 } .action{ if or (eq $ysWeekDay 0) (gt $ysWeekDay 4) } .action{ $yearStartWeek := add $yearStartWeek 1 } .action{ end } .action{ $nowWeek := add (div (div (now.Sub (toDate "2006-01-02" $anchorSunday)).Hours 24) 7) 1 } .action{ $week := add (sub $nowWeek $yearStartWeek) 1 } .action{$today:= (now | date "2006-01")} .action{$weekResult:= (list $today "Week" $week| join " ")} .action{$this_year :=now | date "2006"} .action{$this_year_first :=toDate "2006-01-02" ( nospace (cat $this_year "-01-01"))} .action{$this_year_last :=toDate "2006-01-02" ( nospace (cat $this_year "-12-31"))} .action{$dayDict := dict "Mon" 1 "Tue" 2 "Wed" 3 "Thu" 4 "Fri" 5 "Sat" 6 "Sun" 7} .action{$firstDay := get $dayDict ($this_year_first | date "Mon")} .action{$pass_days := div (now.Sub $this_year_first ).Hours 24} .action{$week := div (add $pass_days $firstDay) 7} .action{$remain :=mod (add $pass_days $firstDay) 7} .action{if not (eq $remain 0)} .action{$week = add $week 1} .action{end} .action{$all_days := div ($this_year_last.Sub $this_year_first ).Hours 24} .action{$all_week := div (add $all_days $firstDay) 7} .action{$remain :=mod (add $all_days $firstDay) 7} .action{if not (eq $remain 0)} .action{$all_week = add $all_week 1} .action{end} .action{$ini_date := toDate "2006-01-02" "2021-05-02"} .action{$now_date := now} .action{$day := mod (div ($now_date.Sub $ini_date).Hours 24) 7} .action{if eq $day 0} .action{$day = 7} .action{end} .action{$leftday :=mul (sub $day 1) 24} .action{$rightday :=mul (sub 7 $day) 24} .action{$leftHour :=nospace (cat "-" $leftday "h") } .action{$rightHour :=nospace (cat "+" $rightday "h")} {{{col {{{row 📌 日期:`.action{(now | date_modify $leftHour) | date "2006.01.02"}`~`.action {(now | date_modify $rightHour) | date "2006.01.02"}`}}} {{{row 🚴 第`.action {$week}`周/共`.action {$all_week}` 周 }}} }}} --- ## ✍ 本周总结 {{{col {{{row ###### 👩‍💻 工作总结 1. }}} {{{row ###### 🧠 学习总结 1. }}} }}} --- .action{/*今天距离周一有几天*/} .action{$ng_week := (mod (div ((toDate "2006-01-02" "2021-06-28").Sub now).Hours 24) 7) } .action{/*用于range循环,表示循环7次, 没什么实际意义*/} .action{$days := list "星期六" "星期五" "星期四" "星期三" "星期二" "星期一" "星期天"} .action{/*循环生成星期列表*/} .action{/*生成周一日期所需要修正的时长*/} .action{$monday:= mul 24 $ng_week} {{{col .action{range $index,$day:=$days} .action{/*布局*/} .action{$setColum:= mod (add $index 1) 3 } .action{if eq $setColum 1} {{{ .action{end} .action{/*迭代 每次增加24*/} .action{$after := mul 24 $index} .action{/*在周一的基础上,附加的时间*/} .action{$realdate:= add $monday $after} .action{/*生成以 h 为单位的 字符串*/} .action{$result:=(list $realdate "h" | join "")} .action{/*获取列表项*/} .action{$days_list := now | date_modify $result | date "2006-01-02"} ### .action {$days_list} .action {last (slice (list "星期一" "星期二" "星期三" "星期四" "星期五" "星期六" "星期日") 0 (add 1 $index ) )} {{select * from blocks where name=".action{$days_list}" and content="💻 工作安排" }} .action{/*布局*/} .action{$setColum:= mod (add $index 1) 1 } .action{if eq $setColum 2} }}} .action{else if eq $index 3} }}} .action{end} .action{$index := add $index 2} .action{end} }}} ### 日总结汇总 {{SELECT * from blocks where type='h' and content = '✍ 今日总结' and alias='.action{$weekResult}' }}
  • 新建 Daily note 文件按周分类

    2025-04-03 23:41

    周 emoji 是手动添加的

  • 任务管理数据库模版分享

    2025-03-28 15:04

    新建文档试了确实可以在文档里修改。最后发现在数据库修改后就不再关联文档信息的

  • 任务管理数据库模版分享

    2025-03-28 12:17

    大大,模板有个问题。把待办清单添加进数据库后,再修改文档的数据,数据库内的 TODO 列不会更新;
    或者在数据库 TODO 列修改,文档也不会随之更新
    image.png

  • 新建 Daily note 文件按周分类

    2025-03-28 08:29

    感谢,本来计划是手动调整跨月周日记的。看到你的建议直接决定改为取消月分类只用周分类了

  • 新建 Daily note 文件按周分类

    2025-03-27 22:18

    感谢大佬,牛

  • 标题图标大小

    2025-03-26 14:41

    大佬,顺便反馈给 QYL 主题的问题。标题折叠后鼠标不移开(图一),此时的展开三角形会偏上并且点击不能展开(图二);当鼠标移开后重新点击展开三角形时,三角形会居中并且可以展开(图三)。
    image.png
    image.png
    image.png

  • 标题图标大小

    2025-03-26 12:26

    请问除了集市,哪里可以下载整套的图标集呢。谢谢

  • 标题图标大小

    2025-03-26 12:25

    感谢,QYL 主题真的很好用 😄

  • 思源公益知识库分享计划

    2025-03-17 12:21

    支持崮生老哥 👍 👍 👍

  • QYL 主题(及 QYL-dark 主题)重大更新!

    2025-03-01 21:38

    文档树这三个字只剩下半个“树”了
    image.png

  • QYL 主题(及 QYL-dark 主题)重大更新!

    2025-03-01 21:36

    文件名栏有问题,文件名间的间隔大小不一。
    image.png

  • 建议增加第三方图标搜索

    2024-06-20 10:35

    可在软件内置免费的第三方图标库。软件现有的图标有些少

    image.png

  • 提议调整更新频率

    2024-06-19 15:15

    建议可以分成两种发布方式:增加新功能(月更);修改 BUG(两周更)。

    换算过来就是月底大更新,月中修复更新。

  • 强烈要求增加格式刷功能

    2024-06-12 17:10

    +1