diff --git a/views/note.html b/views/note.html index b9e5ca2..7bd2712 100644 --- a/views/note.html +++ b/views/note.html @@ -113,6 +113,7 @@
  • 新增文件夹
  • +
  • 新增笔记
  • {{range .NoteColls}}
  • {{.Title}} @@ -313,6 +314,16 @@ content: '/iframe/note.html' //iframe的url }); }) + $("#nullNote").click(function () { + layer.open({ + type: 2, + title: '新增笔记', + shadeClose: true, + shade: 0.8, + area: ['360px', '280px'], + content: '/iframe/note.html' //iframe的url + }); + }) function newNoteColl(){ layer.prompt({title: '请输入文件夹名称'}, function (val, index) { if (val.trim().length < 3) {