+ 咦?没有文件哦
+
+ 空目录吗?复制照片目录或文件到目录后点右上角“刷新”图标清空缓存。
+
+ 如果不是空目录,点右上角“刷新”图标清空缓存,网页有 10 分钟缓存。
+
+
+eof;
+ }
+
+
echo '';
diff --git a/www/css/beauty.css b/www/css/beauty.css
index 779c8b5..d65bbe9 100644
--- a/www/css/beauty.css
+++ b/www/css/beauty.css
@@ -127,7 +127,7 @@ a:link{text-decoration:none}
.gap-hr{position:relative}
.gap-hr .btn-dir-ext{position:absolute;left:50%;top:50%;margin-top:-11px;margin-left:-26px}
-.gap-hr .btn-dir-ext img{width:13px}
+.gap-hr .btn-dir-ext img{width:13px;vertical-align:text-bottom}
#qrimg{width:160px;height:160px;margin:0 auto 20px auto;background-color:#FFF;padding:5px;border:1px solid #EEE;border-radius:5px;overflow:hidden}
@@ -139,7 +139,10 @@ a:link{text-decoration:none}
.video_previewer{display:none;position:fixed;right:4px;bottom:4px;width:200px;height:112px;overflow:hidden;z-index:1000}
.mt-2{margin-top:2em}
+.mt-1{margin-top:1em}
.mr-1{margin-right:1em}
+.ml-1{margin-left:1em}
+.mb-1{margin-bottom:1em}
@media screen and (max-width: 1199px) {
.im_item {
diff --git a/www/js/beauty.js b/www/js/beauty.js
index 27e3901..137b9b7 100644
--- a/www/js/beauty.js
+++ b/www/js/beauty.js
@@ -21,6 +21,9 @@ if ($('#image_site').get(0)) {
on: {
startSlideshow: function(fancybox) {
//console.log('startSlideshow', arguments);
+ },
+ endSlideshow: function(fancybox) {
+ console.log('current', fancybox.getSlide());
}
}
});
@@ -530,19 +533,21 @@ if ($('#my-player').length > 0 && typeof(videojs) != 'undefined') {
//目录收拢、展开
$('.btn-dir-ext').click(function(evt) {
var cookieKey = 'dir_ext_status';
- var status = $('.btn-dir-ext').attr('data-status');
+ var status = $('.btn-dir-ext').attr('data-status'),
+ opened_title = $('.btn-dir-ext').attr('data-opened-title'),
+ closed_title = $('.btn-dir-ext').attr('data-closed-title');
if (status == 'opened') {
$('.btn-dir-ext').attr('data-status', 'closed');
$('.btn-dir-ext').parents('.gap-hr').prev('.im_mainl').addClass('hide');
$('.btn-dir-ext').find('img').attr('src', '/img/arrow-down.svg');
- $('.btn-dir-ext').find('span').text('展开');
+ $('.btn-dir-ext').find('span').text(closed_title);
Cookies.set(cookieKey, 'closed', { expires: 1 });
}else {
$('.btn-dir-ext').attr('data-status', 'opened');
$('.btn-dir-ext').parents('.gap-hr').prev('.im_mainl').removeClass('hide');
$('.btn-dir-ext').find('img').attr('src', '/img/arrow-up.svg');
- $('.btn-dir-ext').find('span').text('收拢');
+ $('.btn-dir-ext').find('span').text(opened_title);
Cookies.set(cookieKey, 'opened', { expires: 1 });
}