diff --git a/src/admin/templets/album_add.htm b/src/admin/templets/album_add.htm index 7e9be0e3..ffdd0b2e 100644 --- a/src/admin/templets/album_add.htm +++ b/src/admin/templets/album_add.htm @@ -296,7 +296,7 @@ - +
手工上传: 选择本地图片(支持多选)上传图片(支持多选)
diff --git a/src/admin/templets/album_edit.htm b/src/admin/templets/album_edit.htm index 317c552b..7d87d58f 100644 --- a/src/admin/templets/album_edit.htm +++ b/src/admin/templets/album_edit.htm @@ -315,9 +315,8 @@ $fhtml .= ""; $fhtml .= ""; $fhtml .= ""; - $fhtml .= "
删除
"; - $fhtml .= "
名称:
"; - $fhtml .= "
更换:
"; + $fhtml .= "
名称:
"; + $fhtml .= "
更换删除
"; $fhtml .= ""; echo $fhtml; $j++; @@ -337,8 +336,8 @@ - - + +
增加新图片: 选择本地图片(支持多选)增加图片:上传图片(支持多选)
diff --git a/src/install/install.html b/src/install/install.html index 3a7731ad..47ccb189 100644 --- a/src/install/install.html +++ b/src/install/install.html @@ -43,15 +43,14 @@ - 数据库设置 + 数据库设置
- + -
数据库类型一般为MySQL,类型SQLite用于开发调试,不建议生产中使用
@@ -66,9 +65,8 @@
- + -
请注意DedeV6数据表前缀默认为biz_
@@ -78,7 +76,7 @@
- 站点设置 + 站点设置
@@ -89,18 +87,16 @@
- + -
请使用[0-9a-zA-Z_@!.-]以内范围字符
- + -
根目录安装时不必理会
diff --git a/src/static/web/css/admin.css b/src/static/web/css/admin.css index 13dceffc..970464ad 100644 --- a/src/static/web/css/admin.css +++ b/src/static/web/css/admin.css @@ -55,6 +55,11 @@ input { border-radius:.2rem; transition:all .3s } +input[type=file] { + padding:0; + height:auto; + border:0 +} input[type=button],input[type=submit],input[type=reset] { padding:.25rem .65rem; height:auto; @@ -64,9 +69,6 @@ input[type=button],input[type=submit],input[type=reset] { border:0; transition:all .3s } -input[type=file] { - border:0 -} input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkbox]:focus { height:auto; box-shadow:none; @@ -513,17 +515,17 @@ span.page-link { padding:.65rem; vertical-align:middle } -.fa { - font-size:14px!important; - color:inherit -} .btn-xs { padding:2px; line-height:12px; font-size:12px } .btn+.btn,.btn-text+.btn-text { - margin-left:1rem + margin-left:10px +} +.fa { + font-size:14px!important; + color:inherit } .admin-win { background:#f5f5f5; @@ -590,6 +592,16 @@ span.page-link { height:20px; border-radius:.2rem } +.file-relative { + position:relative +} +.file-absolute { + position:absolute; + top:0; + right:0; + opacity:0; + cursor:pointer +} #browsehappy { padding:20px 30px; font-size:14px; diff --git a/src/static/web/css/style.css b/src/static/web/css/style.css index 6240ee9d..9dd3e762 100644 --- a/src/static/web/css/style.css +++ b/src/static/web/css/style.css @@ -43,6 +43,11 @@ form.search { display:flex; width:100% } +input[type=file] { + padding:0; + height:auto; + border:0 +} .body-bg { background:#f5f5f5 } @@ -299,11 +304,16 @@ form.search { .form-control,.btn,.fa { font-size:14px!important } -.btn+.btn,.btn-text+.btn-text { - margin-left:1rem +.dedebiz-file { + position:absolute; + top:0; + right:0; + margin:0; + opacity:0; + cursor:pointer } -.rounded-md { - border-radius:30px!important +.btn+.btn,.btn-text+.btn-text { + margin-left:10px } .login-from { margin:6rem 0 @@ -337,9 +347,8 @@ form.search { border-bottom:1px solid #eee } .user-img { - margin-right:10px; - width:30px; - height:30px; + width:36px; + height:36px; border-radius:50%; border:1px solid #dee2e6 } @@ -370,8 +379,22 @@ form.search { background:#fff } .thumbnail-md { - max-width:200px; - max-height:120px + max-width:280px; + max-height:168px +} +.album-imgs img { + max-width:260px; + max-height:156px +} +.file-relative { + position:relative +} +.file-absolute { + position:absolute; + top:0; + right:0; + opacity:0; + cursor:pointer } #btnScrollTop { display:none; diff --git a/src/theme/dedebiz/foot.htm b/src/theme/dedebiz/foot.htm index 88f104f2..9861ce88 100644 --- a/src/theme/dedebiz/foot.htm +++ b/src/theme/dedebiz/foot.htm @@ -16,7 +16,7 @@ $.get("{dede:global.cfg_cmsurl/}/user/api.php?format=json",function(data) { let result = JSON.parse(data); if (result.code === 200) { - $("#_login").html(`${result.data.username}${result.data.username}`); + $("#_login").html(`${result.data.username}${result.data.username}`); $("#iptUsername").val(result.data.username); $("#iptUsername").attr("disabled", "disabled"); $(".areaValidate").hide(); diff --git a/src/theme/dedebiz/top.htm b/src/theme/dedebiz/top.htm index 35541418..0d932a53 100644 --- a/src/theme/dedebiz/top.htm +++ b/src/theme/dedebiz/top.htm @@ -1,10 +1,10 @@