diff --git a/src/admin/js/album.js b/src/admin/js/album.js index a9392c03..7c2eafc4 100644 --- a/src/admin/js/album.js +++ b/src/admin/js/album.js @@ -11,6 +11,34 @@ function checkSubmitAlb() { $("#albums").val(JSON.stringify(albums)); return true; } +function checkMuList(psid, cmid) { + if ($Obj('pagestyle3').checked) { + $Obj('cfgmulist').style.display = 'table-row'; + $Obj('spagelist').style.display = 'none'; + } else if ($Obj('pagestyle1').checked) { + $Obj('cfgmulist').style.display = 'none'; + $Obj('spagelist').style.display = 'table-row'; + } else { + $Obj('cfgmulist').style.display = 'none'; + $Obj('spagelist').style.display = 'none'; + } +} +//删除已经上传的图片 +function delAlbPic(pid) { + var tgobj = $Obj('atlasok' + pid); + fetch('swfupload.php?dopost=del&id=' + pid).then(resp => resp.text()).then((d) => { + tgobj.innerHTML = d; + $Obj('gallery').removeChild(tgobj); + }); +} +//删除已经上传的图片修改时用 +function delAlbPicOld(picfile, pid) { + var tgobj = $Obj('albold' + pid); + fetch('swfupload.php?dopost=delold&picfile=' + picfile).then(resp => resp.text()).then((d) => { + tgobj.innerHTML = d; + $Obj('galleryedit').removeChild(tgobj); + }); +} function seePicNewAlb(f, imgdid, frname, hpos, acname) { var newobj = null; if (f.value == '') return; @@ -45,32 +73,4 @@ function seePicNewAlb(f, imgdid, frname, hpos, acname) { nForm.dopost.value = 'save'; nForm.target = ''; nForm.litpic.disabled = true; -} -function checkMuList(psid, cmid) { - if ($Obj('pagestyle3').checked) { - $Obj('cfgmulist').style.display = 'table-row'; - $Obj('spagelist').style.display = 'none'; - } else if ($Obj('pagestyle1').checked) { - $Obj('cfgmulist').style.display = 'none'; - $Obj('spagelist').style.display = 'table-row'; - } else { - $Obj('cfgmulist').style.display = 'none'; - $Obj('spagelist').style.display = 'none'; - } -} -//删除已经上传的图片 -function delAlbPic(pid) { - var tgobj = $Obj('atlasok' + pid); - fetch('swfupload.php?dopost=del&id=' + pid).then(resp=>resp.text()).then((d)=>{ - tgobj.innerHTML = d; - $Obj('gallery').removeChild(tgobj); - }); -} -//删除已经上传的图片修改时用 -function delAlbPicOld(picfile, pid) { - var tgobj = $Obj('albold' + pid); - fetch('swfupload.php?dopost=delold&picfile=' + picfile).then(resp=>resp.text()).then((d)=>{ - tgobj.innerHTML = d; - $Obj('galleryedit').removeChild(tgobj); - }); } \ No newline at end of file diff --git a/src/admin/templets/soft_edit.htm b/src/admin/templets/soft_edit.htm index 4cbadd91..83aadec4 100644 --- a/src/admin/templets/soft_edit.htm +++ b/src/admin/templets/soft_edit.htm @@ -405,7 +405,7 @@
更新时间: | diff --git a/src/static/web/css/style.css b/src/static/web/css/style.css index 598065cf..c810a899 100644 --- a/src/static/web/css/style.css +++ b/src/static/web/css/style.css @@ -403,7 +403,7 @@ input[type=file] { .cke_top,.item-theme-img img,.list-article-img img,.article-hot-img img { border-radius:.5rem .5rem 0 0!important } -.cke_bottom,.list-article-body { +.cke_bottom,.list-article-radius { border-radius:0 0 .5rem .5rem!important } #validateimg,.btn-send { diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php index b64faf83..f6f55973 100755 --- a/src/system/archive/archives.class.php +++ b/src/system/archive/archives.class.php @@ -781,7 +781,7 @@ class Archives $i++; } } else { - $revalue = "