Compare commits

..

No commits in common. "9c581ce3464ad37451e9d8ac516a8b99391ef9ab" and "564f2c13e60b33bd5325ba157e5f649c2b24257d" have entirely different histories.

24 changed files with 19 additions and 26 deletions

@ -1,27 +1,27 @@
{ {
"monero": { "monero": {
"address": "85z2KvhGAsqP3CqB4PngKZCPYRrSX6pMBEcfzhZpVb8n1bzo8NvwhxbaagjPJpnDfJPXL5WQQ8aMBTDwWTH2hfqbCvMcnxS", "address": "85z2KvhGAsqP3CqB4PngKZCPYRrSX6pMBEcfzhZpVb8n1bzo8NvwhxbaagjPJpnDfJPXL5WQQ8aMBTDwWTH2hfqbCvMcnxS",
"qr": "img/qr/xmr-1.png", "qr": "qr/xmr-1.png",
"icon": "img/icon/blockchain/xmr.png" "icon": "icons/xmr.png"
}, },
"bitcoin": { "bitcoin": {
"address": "bc1pfx4a7n6fuyum4dv6rjmg9nsuj7t9wdepjjgsp67d6n8hsdp8w47qw228fy", "address": "bc1pfx4a7n6fuyum4dv6rjmg9nsuj7t9wdepjjgsp67d6n8hsdp8w47qw228fy",
"qr": "img/qr/btc-taproot.png", "qr": "qr/btc-taproot.png",
"icon": "img/icon/blockchain/btc.png" "icon": "icons/btc.png"
}, },
"eth": { "eth": {
"address": "0x75aa91c8a00966bAc3a1a4371C8588D018Dbd7c4", "address": "0x75aa91c8a00966bAc3a1a4371C8588D018Dbd7c4",
"qr": "img/qr/eth.png", "qr": "qr/eth.png",
"icon": "img/icon/blockchain/eth.png" "icon": "icons/eth.png"
}, },
"tron": { "tron": {
"address": "TEMzQqABo7ttKioED8CVtTFkLz57cBSYc7", "address": "TEMzQqABo7ttKioED8CVtTFkLz57cBSYc7",
"qr": "img/qr/trx.png", "qr": "qr/trx.png",
"icon": "img/icon/blockchain/trx.png" "icon": "icons/trx.png"
}, },
"solana": { "solana": {
"address": "BDL89QkYohoU1zdx2wZtw2zDkcx6xth1ecrV6bhPja2a", "address": "BDL89QkYohoU1zdx2wZtw2zDkcx6xth1ecrV6bhPja2a",
"qr": "img/qr/sol.png", "qr": "qr/sol.png",
"icon": "img/icon/blockchain/sol.png" "icon": "icons/sol.png"
} }
} }

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -11,7 +11,7 @@
<div class="container"> <div class="container">
<div class="card"> <div class="card">
<h1> <h1>
<img id="title-icon" src="img/ui/logo.png" alt="" /><span id="title-text" <img id="title-icon" src="logo.png" alt="" /><span id="title-text"
>捐赠加密货币</span >捐赠加密货币</span
> >
</h1> </h1>
@ -20,16 +20,16 @@
<div class="select-wrapper"> <div class="select-wrapper">
<select id="blockchain" onchange="updateDonationInfo()"></select> <select id="blockchain" onchange="updateDonationInfo()"></select>
<div id="icon-wrapper"> <div id="icon-wrapper">
<img id="blockchain-icon" src="img/icon/blockchain/btc.png" alt="Blockchain Icon" /> <img id="blockchain-icon" src="icons/btc.png" alt="Blockchain Icon" />
</div> </div>
</div> </div>
<div id="donation-info"> <div id="donation-info">
<img id="qr-code" src="img/qr/btc-taproot.png" alt="QR Code" /> <img id="qr-code" src="qr/btc-taproot.png" alt="QR Code" />
<p id="address"> <p id="address">
bc1pfx4a7n6fuyum4dv6rjmg9nsuj7t9wdepjjgsp67d6n8hsdp8w47qw228fy bc1pfx4a7n6fuyum4dv6rjmg9nsuj7t9wdepjjgsp67d6n8hsdp8w47qw228fy
</p> </p>
<button onclick="copyAddress()"> <button onclick="copyAddress()">
<img id="copyIcon" src="img/ui/copy-white.png" alt="" /><span <img id="copyIcon" src="img/copy-white.png" alt="" /><span
id="copyAddress" id="copyAddress"
>复制地址</span >复制地址</span
> >
@ -45,25 +45,25 @@
<a href="https://github.com/earthjasonlin" target="_blank" <a href="https://github.com/earthjasonlin" target="_blank"
><img ><img
class="social-icon" class="social-icon"
src="img/icon/social/github.svg" src="img/social/github.svg"
alt="GitHub" alt="GitHub"
/></a> /></a>
<a href="https://x.com/earthjasonlin" target="_blank" <a href="https://x.com/earthjasonlin" target="_blank"
><img ><img
class="social-icon" class="social-icon"
src="img/icon/social/twitter.svg" src="img/social/twitter.svg"
alt="X" alt="X"
/></a> /></a>
<a href="https://t.me/zcl1103" target="_blank" <a href="https://t.me/zcl1103" target="_blank"
><img ><img
class="social-icon" class="social-icon"
src="img/icon/social/telegram.svg" src="img/social/telegram.svg"
alt="Telegram" alt="Telegram"
/></a> /></a>
<a href="mailto:earthjasonlin@126.com" target="_blank" <a href="mailto:earthjasonlin@126.com" target="_blank"
><img ><img
class="social-icon" class="social-icon"
src="img/icon/social/email.svg" src="img/social/email.svg"
alt="e-Mail" alt="e-Mail"
/></a> /></a>
</div> </div>

BIN
logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Before

Width:  |  Height:  |  Size: 277 KiB

After

Width:  |  Height:  |  Size: 277 KiB

Before

Width:  |  Height:  |  Size: 258 KiB

After

Width:  |  Height:  |  Size: 258 KiB

Before

Width:  |  Height:  |  Size: 233 KiB

After

Width:  |  Height:  |  Size: 233 KiB

Before

Width:  |  Height:  |  Size: 214 KiB

After

Width:  |  Height:  |  Size: 214 KiB

Before

Width:  |  Height:  |  Size: 284 KiB

After

Width:  |  Height:  |  Size: 284 KiB

@ -2,19 +2,11 @@ let currentLang = "zh";
let data, i18n; let data, i18n;
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {
setRandomBackground();
loadData("data.json", loadBlockchainOptions); loadData("data.json", loadBlockchainOptions);
changeLanguage(currentLang); changeLanguage(currentLang);
updateCopyrightYear(); updateCopyrightYear();
}); });
function setRandomBackground() {
const images = ['1.jpg', '2.jpg'];
const randomIndex = Math.floor(Math.random() * images.length);
const selectedImage = images[randomIndex];
document.body.style.backgroundImage = `url('img/bg/${selectedImage}')`;
}
function updateCopyrightYear() { function updateCopyrightYear() {
const currentYear = new Date().getFullYear(); const currentYear = new Date().getFullYear();
let copyrightText; let copyrightText;

@ -1,6 +1,7 @@
body { body {
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: bold; font-weight: bold;
background-image: url("img/bg.jpg");
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;