diff --git a/assets/screen.js b/assets/screen.js index db1d00c..eb41aa4 100755 --- a/assets/screen.js +++ b/assets/screen.js @@ -54,6 +54,13 @@ state = 1; i = 0; str.text = str.user + ' : ' + str.text; + if (str.origin != '') { + if (str.origin.type == 1) { + str.text += ' (转)@' + str.origin.user + ':' + str.origin.text; + }else{ + str.text += ' (评)//@' + str.origin.user + ':' + str.origin.text; + } + }; } break; case 1: @@ -61,9 +68,12 @@ el.html('' + settings.prefix + '' + str.text.substring(0, i)).append(sp); document.body.scrollTop = document.body.scrollHeight; if (i >= str.text.length) { + if (str.thumb != '') { + el.append('
'); + } state = 2; j = 0; - } + }; i ++; break; case 2: diff --git a/assets/style.css b/assets/style.css index c0319e0..a48bf74 100755 --- a/assets/style.css +++ b/assets/style.css @@ -9,7 +9,7 @@ body { .str { color: #000; width: 100%; - padding: 0 5px; + padding: 5px 5px; line-height: 35px; font-size: 25px; box-sizing: border-box; @@ -26,6 +26,12 @@ body { .head { color: #000; } +.str img{ + max-width: 60%; + max-height: 216px; + margin-left: 20%; + padding-bottom: 10px; +} .hide { background: transparent; diff --git a/manage.html b/manage.html index 3172c75..5f461e3 100644 --- a/manage.html +++ b/manage.html @@ -20,7 +20,7 @@ if (len > 0) { $.each(data.lists, function (i, list) { if (list.if_use == 1) { - html += ''+ list.weibo_nick +'取消'; + html += ''+ list.weibo_nick +'取消删除缓存'; }else{ html += ''+ list.weibo_nick +'选择'; }; @@ -57,11 +57,12 @@ }); // 选择微博用户 - $('a.cancel, a.select').live('click', function(){ + $('a.cancel, a.select, a.update').live('click', function(){ var obj = $(this); var type = 'select'; var item_id = obj.attr('id'); if (obj.hasClass('cancel')) { type = 'cancel'; } + if (obj.hasClass('update')) { type = 'update'; } $.ajax({ type : 'GET', url : base_url + 'list.php?method=' + type + '&item_id=' + item_id,