Permalink
Browse files

quickly submit

  • Loading branch information...
hxhb committed Apr 1, 2017
1 parent 055fed1 commit 292ffdfe1fb066ab6e908d1d8dbc0e3e76e16d31
@@ -325,12 +325,16 @@
{{ post.content }}
{% endif %}
</div>

<script src="//cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
{% if not is_index %}
{% if theme.postQR %}
<blockquote class="blockquote-center">全文完,若有不足之处请评论指正。<br/>
<div class="qr-code" onclick="return false">
<img src="https://encrypt.proxy.is26.com/qr?content={{ post.permalink }}" alt="">
<script src="/js/src/qrcode.min.js"></script>
<div id="qrcode"></div>
<script type="text/javascript">
new QRCode(document.getElementById("qrcode"), "{{ post.permalink }}");
</script>
<p>扫描二维码,移动端阅读</p>
</div>
</blockquote>
@@ -353,7 +357,6 @@
-->
<span>原始链接:</span><a href="{{ url_for(post.path) }}" title="{{ post.title }}">{{ post.permalink }}</a>
<span class="copy-path" data-clipboard-text="原文链接: {{ post.permalink }}  作者: {{ theme.author }}" title="点击复制文章链接"><i class="fa fa-clipboard"></i></span>
<script src="//cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<script src="//cdn.bootcss.com/clipboard.js/1.6.1/clipboard.min.js"></script>
<script> var clipboard = new Clipboard('.copy-path'); </script>
<br/>
@@ -99,8 +99,8 @@

.qr-code img{
display:block;
width:10rem;
height:10rem;
width:8rem;
height:8rem;
box-shadow:0 0 1px #e3e3e3
}
.qr-code img:active,.qr-code img:hover{
@@ -113,3 +113,4 @@
margin-top:.6rem;
text-align:center;color:#999
}

Oops, something went wrong.

0 comments on commit 292ffdf

Please sign in to comment.