diff --git a/static/css/menunav.css b/static/css/menunav.css index eb97e7c..9d9e39f 100644 --- a/static/css/menunav.css +++ b/static/css/menunav.css @@ -52,6 +52,7 @@ input[id*="joacims-menu"] ~ nav a:nth-child(3) { box-shadow:5px 0 0 #e67e22; tra input[id*="joacims-menu"] ~ nav a:nth-child(4) { box-shadow:5px 0 0 #c0392b; transition-delay:.20s; } input[id*="joacims-menu"] ~ nav a:nth-child(5) { box-shadow:5px 0 0 #2c3e50; transition-delay:.25s; } input[id*="joacims-menu"] ~ nav a:nth-child(6) { box-shadow:5px 0 0 #f1c40f; transition-delay:.30s; } +input[id*="joacims-menu"] ~ nav a:nth-child(7) { box-shadow:5px 0 0 #222222; transition-delay:.35s; } input[id*="joacims-menu"]:checked ~ nav a { margin-left:0px; diff --git a/views/note.html b/views/note.html index 408fcf3..a4d43c2 100644 --- a/views/note.html +++ b/views/note.html @@ -110,9 +110,9 @@ @@ -160,7 +161,7 @@ - + @@ -317,7 +318,7 @@ content: '/iframe/note.html' //iframe的url }); }) - $("#newNoteColl").click(function () { + function newNoteColl(){ layer.prompt({title: '请输入文件夹名称'}, function (val, index) { if (val.trim().length < 3) { layer.msg('文件夹名称最低三个字哦', function () { @@ -362,6 +363,13 @@ } }, 'json') }); + } + $("#newNoteColl").click(function () { + newNoteColl(); + }) + + $("#nullNoteColl").click(function () { + newNoteColl(); }) $("#delNote").click(function () {