51 lines
1.6 KiB
Markdown
51 lines
1.6 KiB
Markdown
---
|
||
Aliases:
|
||
Banner: "https://image.pkugsm.cf/i/2023/07/28/64c3c1f1e27f2.jpg"
|
||
Banner_y: 0.25
|
||
Banner_lock: true
|
||
Created: 2023-07-03 12:17:55
|
||
---
|
||
|
||
<div style="margin-top: -110px;"> <div style="float:left"><%+ tp.date.now("欢迎回来,克樊道人,今天是YYYY年M月Do dddd")%></div> <iframe style="float:right; margin-top:3px" width="300" scrolling="no" height="20" frameborder="0" allowtransparency="true" src="https://i.tianqi.com?c=code&id=34&color=%23C6C6C6&bdc=%23&icon=4&site=12"></iframe> </div><br>
|
||
|
||
---
|
||
|
||
>[!attention] 未名之约
|
||
>```dataviewjs
|
||
>const targetDate_1 = '2023-08-25'
|
||
>const prefix_1 = '距离 CPA 考试还有 '
|
||
>const suffix_1 = ' 天'
|
||
>const targetDate_2 = '2023-12-25'
|
||
>const prefix_2 = '距离研究生考试还有 '
|
||
>const suffix_2 = ' 天'
|
||
>const days_1 = Math.ceil((new Date(targetDate_1.replace(/-/g, '/'))-Date.now())/864e5)
|
||
>dv.span(prefix_1+'**'+days_1+'**'+suffix_1+" | ")
|
||
>const days_2 = Math.ceil((new Date(targetDate_2.replace(/-/g, '/'))-Date.now())/864e5)
|
||
>dv.span(prefix_2+'**'+days_2+'**'+suffix_2)
|
||
>```
|
||
|
||
>[!col]
|
||
>
|
||
>>[!summary] 无限进步
|
||
>>```dataview
|
||
>>table without id file.link as 项目, Completed as 完成数, Total as 总数,"<progress max=100 value=" + round((Completed/Total)*100) + "></progress> " as 总进度
|
||
>>from #Task
|
||
>>sort file.name
|
||
>>```
|
||
>
|
||
>>[!info] 运筹帷幄
|
||
>>```dataview
|
||
>>table without id file.link as 导航栏
|
||
>>From "Atlas"
|
||
>>Where file.name != "Amadeus"
|
||
>>```
|
||
>
|
||
>>[!example] 今日待办
|
||
>>```tasks
|
||
>>not done
|
||
>>due in today
|
||
>>path includes Calendar
|
||
>>hide backlink
|
||
>>hide edit button
|
||
>>short mode
|
||
>>``` |