Browse Source

一些优化

pull/4/merge
xiaoz 4 years ago
parent
commit
d983ebaa4c
  1. 4
      templates/default/index.php
  2. 1
      templates/default/static/embed.js

4
templates/default/index.php

@ -112,7 +112,7 @@ @@ -112,7 +112,7 @@
</div>
<?php } ?>
<!-- 角标END -->
<a href="<?php echo $link['url']; ?>" target="_blank" title = "<?php echo $link['description']; ?>" class="xe-user-name overflowClip_1">
<a id = "id_<?php echo $link['id']; ?>" href="/index.php?c=click&id=<?php echo $link['id']; ?>" target="_blank" title = "<?php echo $link['description']; ?>">
<div class="mdui-card-primary" style = "padding-top:16px;">
<div class="mdui-card-primary-title link-title">
<img src="https://favicon.rss.ink/v1/<?php echo base64($link['url']); ?>" alt="HUAN" width="16" height="16">
@ -123,7 +123,7 @@ @@ -123,7 +123,7 @@
</a>
<!-- 卡片的内容 -->
<!-- 卡片的内容end -->
<div class="mdui-card-content mdui-text-color-black-disabled" style="padding-top:0px;"><span class="link-content"><?php echo $link['description']; ?></span></div>
</div>
<!--卡片END-->

1
templates/default/static/embed.js

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
function gotop(){
$("html,body").animate({scrollTop: '0px'}, 600);
}
//鼠标移动到链接修改为原始URL

Loading…
Cancel
Save