mirror of https://github.com/1099438829/apeblog
修正copy
This commit is contained in:
parent
53b1bcdc0c
commit
ecaf36533e
|
|
@ -109,7 +109,7 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="copyright">
|
<div class="copyright">
|
||||||
Power by HulaCWMS © <a href="http://www.zhuopro.com" target="_blank">灼灼文化</a>
|
{:web_config("copyright")}
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function () {
|
(function () {
|
||||||
|
|
|
||||||
|
|
@ -85,20 +85,3 @@ if ($(".btn-copy-pwd").length > 0) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($(".btn-copy-pwd").length > 0) {
|
|
||||||
var copy_pwd = new ClipboardJS('.btn-copy-pwd', {
|
|
||||||
text: function (trigger) {
|
|
||||||
copynotmsg = 1;
|
|
||||||
return $(trigger).parent().find('.c-downbtn-pwd-key').text();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
copy_pwd.on('success', function (e) {
|
|
||||||
$(e.trigger).toggleClass('fal fa-clone')
|
|
||||||
$(e.trigger).toggleClass('fal fa-check')
|
|
||||||
setTimeout(function () {
|
|
||||||
$(e.trigger).toggleClass('fal fa-clone')
|
|
||||||
$(e.trigger).toggleClass('fal fa-check')
|
|
||||||
}, 2000);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="footer-info">Copyright © {:web_config("copyright")}</div>
|
<div class="footer-info">{:web_config("copyright")}</div>
|
||||||
<div class="footer-info"><span class="footer-icp">{:web_config("icp")}</span></div>
|
<div class="footer-info"><span class="footer-icp">{:web_config("icp")}</span></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue