From 870cb21ca349df408e6fb7a6e9a5cd1d0b48551e Mon Sep 17 00:00:00 2001 From: "mail_yanpeng@163.com" Date: Wed, 15 May 2019 09:15:04 +0800 Subject: [PATCH] =?UTF-8?q?layui=20=E7=89=88=E6=9C=AC:=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/note.html | 11 +++++++++++ 1 file changed, 11 insertions(+) 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) {