萧亮的打赏代码欢迎使用哟~~

作者 by Adminkylin / 2022-04-14 / 暂无评论 / 41 个足迹

<!-- 打赏开始 -->
<style>

}
.pos-f {
    position: fixed;
}
.left-100 {
    width: 100%;
    height: 100%;
}
.blur {
    -webkit-filter: blur(3px);
    filter: blur(3px);
}
.tr3 {
    transition: all .3s;
}
    background-size: 20px;
    border-radius: 35px;
    text-align: center;
    left: calc(50% - 120px);
    top: calc(50% - 60px);
    z-index: -1;
    transform: rotatez(-15deg );
}
#donateBox {
    left: calc(50% - 150px);
    top: calc(50% - 15px);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 299px;
    height: 28px;
    float: left;
    z-index: 1;
}
#donateBox li {
    width: 74px;
    float: left;
    text-align: center;
    border-left: 1px solid #ddd;
    background: no-repeat center center;
    background-color: rgba(204, 217, 220,0.1);
    background-size: 45px;
    transition: all .3s;
    cursor: pointer;
    overflow: hidden;
    line-height: 600px;
    height: 28px;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.5;
}
#donateBox li:hover {
    background-color: rgba(204, 217, 220,0.3);
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
}
#donateBox>li:first-child {
    border-width: 0;
}
#donateBox a {
    display: block;
}
#donateBox #PayPal {
    background-image: url(https://www.xladmin.com/xiaoliang/img/qq.svg);
}
#donateBox>#BTC {
    background-image: url(https://www.xladmin.com/xiaoliang/img/bitcoin.svg);
    line-height: 28px;
}
#donateBox>#BTC:hover {
    overflow: visible;
}
#BTC>button {
    opacity: 0;
    cursor: pointer;
}
#donateBox #AliPay {
    background-image: url(https://www.xladmin.com/xiaoliang/img/alipay.svg);
}
#donateBox #WeChat {
    background-image: url(https://www.xladmin.com/xiaoliang/img/wechat.svg);
}
#QRBox {
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(255,255,255,0.3);
    display: none;
    perspective: 400px;
}
#MainBox {
    cursor: pointer;
    position: absolute;
    text-align: center;
    width: 200px;
    height: 200px;
    left: calc(50% - 100px);
    top: calc(50% - 100px);
    background: #fff no-repeat center center;
    background-size: 190px;
    border-radius: 6px;
    box-shadow: 0px 2px 7px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 1s ease-in-out;
    transform-style: preserve-3d;
    transform-origin: center center;
    overflow: hidden;
}
#btc-key {
    opacity: 0;
    width: 2px;
    height: 8px;
    overflow: hidden;
    left: -2px;
    top: -8px;
}
#github {
    width: 24px;
    height: 24px;
    left: calc(50% + 135px);
    top: calc(50% - 30px);
    background: no-repeat center center url(https://cdn.jsdelivr.net/gh/nuoxianCN/cdn@1.0.4/pay/images/github.svg);
    background-size: contain;
    opacity: 0.3;
    transform: rotatez(15deg );
}
[data-footnote] {
    position: relative;
    overflow: hidden;
}
[data-footnote]:hover {
    overflow: visible;
}
[data-footnote]::before, [data-footnote]::after {
    position: absolute;
    transition: all .3s;
    transform: translate3d(-50%,0,0);
    opacity: 0;
    left: 37px;
    z-index: 10;
}
[data-footnote]::before {
    content: attr(data-footnote);
    border-radius: 6px;
    background-color: rgba(100,100,100,0.8);
    color: #fff;
    height: 24px;
    line-height: 24px;
    padding: 0 6px;
    font-size: 12px;
    white-space: nowrap;
    top: -24px;
    left: 37px;
}
[data-footnote]::after {
    content: '';
    border: 5px solid #333;
    border-color: rgba(100,100,100,0.8) transparent transparent transparent;
    top: 0;
    left: 37px;
}
[data-footnote]:hover::before,[data-footnote]:hover::after {
    opacity: 1;
}
[data-footnote]:hover::before,[data-footnote]:hover::after {
    transform: translate3d(-50%,-7px,0);
}

#MainBox.showQR {
    opacity: 1;
    animation-name:showQR;
    animation-duration:3s;
    animation-timing-function:ease-in-out;
    animation-iteration-count:1;
    animation-fill-mode:forwards;
    -webkit-animation:showQR 3s ease-in-out 0s 1 normal forwards;
}
@keyframes showQR {
    from {
        transform: rotateX(90deg);
    }
    8% {
        opacity: 1;
        transform: rotateX(-60deg);
    }
    18% {
        opacity: 1;
        transform: rotateX(40deg);
    }
    34% {
        opacity: 1;
        transform: rotateX(-28deg);
    }
    44% {
        opacity: 1;
        transform: rotateX(18deg);
    }
    58% {
        opacity: 1;
        transform: rotateX(-12deg);
    }
    72% {
        opacity: 1;
        transform: rotateX(9deg);
    }
    88% {
        opacity: 1;
        transform: rotateX(-5deg);
    }
    96% {
        opacity: 1;
        transform: rotateX(2deg);
    }
    to {
        opacity: 1;
    }
}
#MainBox.hideQR {
    opacity: 1;
    animation-name:hideQR;
    animation-duration:0.5s;
    animation-timing-function:ease-in-out;
    animation-iteration-count:1;
    animation-fill-mode:forwards;
    -webkit-animation:hideQR 0.5s ease-in-out 0s 1 normal forwards;
}
@keyframes hideQR {
    from {
    }
    20%,50% {
        transform: scale(1.08,1.08);
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: rotateZ(40deg) scale(0.6,0.6);
    }
}
</style>

<script src="https://www.xladmin.com/xiaoliang/jquery.min.js"></script>
<script src="https://www.xladmin.com/xiaoliang/clipboard.min.js"></script>

<script>
    jQuery(document).ready(function() {
    var QRBox    =    $('#QRBox');
    var MainBox    =    $('#MainBox');
    var BTCQR    =    'https://www.xladmin.com/jieshaoyetupian/qrcode224.jpg';
    var AliPayQR    =    'http://www.xladmin.com/usr/uploads/2022/02/831752695.png';
    var WeChanQR    =    'http://www.xladmin.com/usr/uploads/2022/02/2880446591.png';
    var PayPalQR    =    "http://www.xladmin.com/usr/uploads/2022/02/4041619839.png";

    

    function showQR(QR) {
        if (QR) {
            MainBox.css('background-image','url('+QR+')');
        }
        $('#DonateText,#donateBox,#github').addClass('blur');
        QRBox.fadeIn(300,function(argument) {
            MainBox.addClass('showQR');
        });
    }

    $('#donateBox>li').click(function(event) {
        var thisID    =    $(this).attr('id');
        if (thisID === 'BTC') {
            showQR(BTCQR);
            new Clipboard('#BTCBn');
        } else if (thisID === 'AliPay') {
            showQR(AliPayQR);
        } else if (thisID === 'WeChat') {
            showQR(WeChanQR);
        } else if (thisID === 'PayPal') {
            showQR(PayPalQR);
        }
    });

    MainBox.click(function(event) {
        MainBox.removeClass('showQR').addClass('hideQR');
        setTimeout (function(a) {
            QRBox.fadeOut(300,function(argument) {
                MainBox.removeClass('hideQR');
            });
            $('#DonateText,#donateBox,#github').removeClass('blur');
        },600);

    });
});
</script>
</head>


<div class="div"><!--打赏开始 -->
<style>

}
.pos-f {
    position: fixed;
}
.left-100 {
    width: 100%;
    height: 100%;
}
.blur {
    -webkit-filter: blur(3px);
    filter: blur(3px);
}
.tr3 {
    transition: all .3s;
}
#DonateText {
    position: fixed;
    font-size: 12px;
    width: 70px;
    height: 70px;
    line-height: 70px;
    color: #fff;
    background: #ffd886 url(https://cdn.jsdelivr.net/gh/nuoxianCN/cdn@1.0.4/pay/images/like.svg) no-repeat center 10px;
    background-size: 20px;
    border-radius: 35px;
    text-align: center;
    left: calc(50% - 120px);
    top: calc(50% - 60px);
    z-index: -1;
    transform: rotatez(-15deg );
}
#donateBox {
    left: calc(50% - 150px);
    top: calc(50% - 15px);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 299px;
    height: 28px;
    float: left;
    z-index: 1;
}
#donateBox li {
    width: 74px;
    float: left;
    text-align: center;
    border-left: 1px solid #ddd;
    background: no-repeat center center;
    background-color: rgba(204, 217, 220,0.1);
    background-size: 45px;
    transition: all .3s;
    cursor: pointer;
    overflow: hidden;
    line-height: 600px;
    height: 28px;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.5;
}
#donateBox li:hover {
    background-color: rgba(204, 217, 220,0.3);
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
}
#donateBox>li:first-child {
    border-width: 0;
}
#donateBox a {
    display: block;
}
#donateBox #PayPal {
    background-image: url(https://www.xladmin.com/xiaoliang/img/qq.svg);
}
#donateBox>#BTC {
    background-image: url(https://www.xladmin.com/xiaoliang/img/bitcoin.svg);
    line-height: 28px;
}
#donateBox>#BTC:hover {
    overflow: visible;
}
#BTC>button {
    opacity: 0;
    cursor: pointer;
}
#donateBox #AliPay {
    background-image: url(https://www.xladmin.com/xiaoliang/img/alipay.svg);
}
#donateBox #WeChat {
    background-image: url(https://www.xladmin.com/xiaoliang/img/wechat.svg);
}
#QRBox {
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(255,255,255,0.3);
    display: none;
    perspective: 400px;
}
#MainBox {
    cursor: pointer;
    position: absolute;
    text-align: center;
    width: 200px;
    height: 200px;
    left: calc(50% - 100px);
    top: calc(50% - 100px);
    background: #fff no-repeat center center;
    background-size: 190px;
    border-radius: 6px;
    box-shadow: 0px 2px 7px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 1s ease-in-out;
    transform-style: preserve-3d;
    transform-origin: center center;
    overflow: hidden;
}
#btc-key {
    opacity: 0;
    width: 2px;
    height: 8px;
    overflow: hidden;
    left: -2px;
    top: -8px;
}
#github {
    width: 24px;
    height: 24px;
    left: calc(50% + 135px);
    top: calc(50% - 30px);
    background: no-repeat center center url(https://cdn.jsdelivr.net/gh/nuoxianCN/cdn@1.0.4/pay/images/github.svg);
    background-size: contain;
    opacity: 0.3;
    transform: rotatez(15deg );
}
[data-footnote] {
    position: relative;
    overflow: hidden;
}
[data-footnote]:hover {
    overflow: visible;
}
[data-footnote]::before, [data-footnote]::after {
    position: absolute;
    transition: all .3s;
    transform: translate3d(-50%,0,0);
    opacity: 0;
    left: 37px;
    z-index: 10;
}
[data-footnote]::before {
    content: attr(data-footnote);
    border-radius: 6px;
    background-color: rgba(100,100,100,0.8);
    color: #fff;
    height: 24px;
    line-height: 24px;
    padding: 0 6px;
    font-size: 12px;
    white-space: nowrap;
    top: -24px;
    left: 37px;
}
[data-footnote]::after {
    content: '';
    border: 5px solid #333;
    border-color: rgba(100,100,100,0.8) transparent transparent transparent;
    top: 0;
    left: 37px;
}
[data-footnote]:hover::before,[data-footnote]:hover::after {
    opacity: 1;
}
[data-footnote]:hover::before,[data-footnote]:hover::after {
    transform: translate3d(-50%,-7px,0);
}

#MainBox.showQR {
    opacity: 1;
    animation-name:showQR;
    animation-duration:3s;
    animation-timing-function:ease-in-out;
    animation-iteration-count:1;
    animation-fill-mode:forwards;
    -webkit-animation:showQR 3s ease-in-out 0s 1 normal forwards;
}
@keyframes showQR {
    from {
        transform: rotateX(90deg);
    }
    8% {
        opacity: 1;
        transform: rotateX(-60deg);
    }
    18% {
        opacity: 1;
        transform: rotateX(40deg);
    }
    34% {
        opacity: 1;
        transform: rotateX(-28deg);
    }
    44% {
        opacity: 1;
        transform: rotateX(18deg);
    }
    58% {
        opacity: 1;
        transform: rotateX(-12deg);
    }
    72% {
        opacity: 1;
        transform: rotateX(9deg);
    }
    88% {
        opacity: 1;
        transform: rotateX(-5deg);
    }
    96% {
        opacity: 1;
        transform: rotateX(2deg);
    }
    to {
        opacity: 1;
    }
}
#MainBox.hideQR {
    opacity: 1;
    animation-name:hideQR;
    animation-duration:0.5s;
    animation-timing-function:ease-in-out;
    animation-iteration-count:1;
    animation-fill-mode:forwards;
    -webkit-animation:hideQR 0.5s ease-in-out 0s 1 normal forwards;
}
@keyframes hideQR {
    from {
    }
    20%,50% {
        transform: scale(1.08,1.08);
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: rotateZ(40deg) scale(0.6,0.6);
    }
}
</style>

<script src="https://www.xladmin.com/xiaoliang/jquery.min.js"></script>
<script src="https://www.xladmin.com/xiaoliang/clipboard.min.js"></script>

<script>
    jQuery(document).ready(function() {
    var QRBox    =    $('#QRBox');
    var MainBox    =    $('#MainBox');
    var BTCQR    =    'https://www.xladmin.com/jieshaoyetupian/qrcode224.jpg';
    var AliPayQR    =    'http://www.xladmin.com/usr/uploads/2022/02/831752695.png';
    var WeChanQR    =    'http://www.xladmin.com/usr/uploads/2022/02/2880446591.png';
    var PayPalQR    =    "http://www.xladmin.com/usr/uploads/2022/02/4041619839.png";

    

    function showQR(QR) {
        if (QR) {
            MainBox.css('background-image','url('+QR+')');
        }
        $('#DonateText,#donateBox,#github').addClass('blur');
        QRBox.fadeIn(300,function(argument) {
            MainBox.addClass('showQR');
        });
    }

    $('#donateBox>li').click(function(event) {
        var thisID    =    $(this).attr('id');
        if (thisID === 'BTC') {
            showQR(BTCQR);
            new Clipboard('#BTCBn');
        } else if (thisID === 'AliPay') {
            showQR(AliPayQR);
        } else if (thisID === 'WeChat') {
            showQR(WeChanQR);
        } else if (thisID === 'PayPal') {
            showQR(PayPalQR);
        }
    });

    MainBox.click(function(event) {
        MainBox.removeClass('showQR').addClass('hideQR');
        setTimeout (function(a) {
            QRBox.fadeOut(300,function(argument) {
                MainBox.removeClass('hideQR');
            });
            $('#DonateText,#donateBox,#github').removeClass('blur');
        },600);

    });
});
</script>
</head>

    <!-- Bitcoin -->
    

    
    <ul id="donateBox" class="list pos-f tr3">
        <li id="BTC" data-footnote="
本文作者:萧亮 Blog
本文链接:萧亮的打赏代码欢迎使用哟~~ - https://yundoudong.com/index.php/archives/253/
版权声明:如无特别声明,本文即为原创文章,仅代表个人观点,版权归 遇见数据仓库-自媒体运维工具-萧亮的程序屋-全球节点-素材工具下载-抖音数据分析-影视搜索 所有,未经允许不得转载!
本文最后更新于2022年04月14日,已超过121天没有更新。如果文章内容或图片资源失效,请告知!谢谢!下面为随机推送文章!

评论已开启

阅读足迹:41 阅读 网页时间代码编写
平台代码自适应源代码-博主已经去除了本站平台导航功能,需要自己去探索吧