打赏排行榜源码 [独家] 图标

打赏排行榜源码 [独家]

1318 次浏览 分类:设计素材
网址
分类
收录时间
2025-10-22 13:57

数据统计

1318 浏览量
0 评论数
2025-10-22 收录时间
2025-10-22 更新时间


此打赏源码是二开别人的,想找原版的某度一下打赏源码应该就会有的,把付款页面和排行榜分离出来,又做了些细节上的改动,然后又花了66块钱叫人适配Wordpress侧边栏,哎 我真是钱多老是喜欢折腾网站,之前有几个管我要都没给,现在直接分享。 应该是可以适应其他网站的侧边栏的 不懂的话把侧边栏代码丢给AI,他能帮你搞定,其他也不知道说什么,不善于表达,看下方演示地址吧 

这个是原版 https://www.xkwo.com/thread-22219-1-1.html

演示地址:https://789bh.com/  我只加电脑端 手机端我去除了 请用电脑打开。

首页截图

打赏排行榜源码 [独家]

更多单独页面截图

打赏排行榜源码 [独家]

付款页面截图

打赏排行榜源码 [独家]

Wordpress自定义侧边栏代码


<style>
/* 顶部添加空格:保持之前微调后的高度 */
.top-spacing {
height: 8px;
}

.ranking-container {
margin-top: 15px; /* 保持容器顶部间距不变 */
}

@media (min-width: 768px) {
.ranking-container {
margin-top: 0;
}
}

.ranking-container .ranking-number {
font-weight: bold;
font-size: 0.9rem; /* 减小字体 */
}

.ranking-container .ranking-list {
max-height: 500px;
overflow-y: auto;
scrollbar-width: none;
scrollbar-color: #0d6efd #f8f9fa;
}

.ranking-container .ranking-list::-webkit-scrollbar {
width: 4px;
}

.ranking-container .ranking-list::-webkit-scrollbar-track {
background: #f8f9fa;
}

.ranking-container .ranking-list::-webkit-scrollbar-thumb {
background-color: #0d6efd;
border-radius: 3px;
}

.ranking-container .ranking-item {
padding: 6px 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
transition: background-color 0.3s;
}

.ranking-container .ranking-item:last-child {
border-bottom: none;
}

.ranking-container .ranking-item:hover {
background-color: rgba(13, 110, 253, 0.03);
}

.ranking-container .ranking-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
}

.ranking-container .ranking-info {
flex: 1;
min-width: 0;
margin: 0 10px;
}

.ranking-container .ranking-amount {
font-weight: 600;
color: #0d6efd;
white-space: nowrap;
font-size: 0.95rem; /* 保持原有大小 */
}

@media (max-width: 576px) {
.ranking-container .ranking-item {
padding: 10px 8px;
}

.ranking-container .ranking-avatar {
width: 35px;
height: 35px;
}

.ranking-container .ranking-info {
margin: 0 8px;
}

.ranking-container .ranking-amount {
font-size: 0.9rem; /* 保持原有大小 */
}

.ranking-container .ranking-number {
font-size: 0.8rem; /* 减小字体 */
min-width: 24px;
}

/* 手机端样式调整 */
.ranking-container {
margin: 0;
}

.ranking-container .card {
border-radius: 0;
margin: 0;
}

.ranking-container .card-body {
padding: 15px;
}

.ranking-container .ranking-list {
max-height: none;
overflow-y: visible;
}

.ranking-container .ranking-list::-webkit-scrollbar {
display: none;
}
}

.ranking-container .card {
border: none;
border-radius: 20px;
margin-bottom: 0px;
background: white;
box-shadow: unset;
overflow: hidden;
}

.ranking-container .card-body {
padding: 12px 16px; /* 保持卡片内边距不变 */
}

/* 顶部文字样式:仅减小标题底部间距,让下方展示更靠近顶部 */
.ranking-container .card-title {
color: #2c3e50;
font-weight: 700;
font-size: 1.1rem;
margin-bottom: 5px; /* 从12px减至8px,仅靠近一点点 */
display: flex;
justify-content: center;
align-items: center;
gap: 13px;
padding: 5px 0;
}

/* 按钮样式:保持之前调整好的尺寸 */
.card-title .donate,
.card-title .more {
font-size: 12px;
transform: none;
padding: 3px 8px;
color: #F1404A !important;
border: 0.5px solid #F1404A;
border-radius: 5px;
display: inline-block;
transition: all 0.2s ease;
}

.card-title .donate:hover,
.card-title .more:hover {
background-color: rgba(241, 64, 74, 0.1);
}

/* 标题图标颜色加深 */
.card-title .text-warning {
color: #fd7e14 !important;
}

@media (max-width: 768px) {
.ranking-container {
margin: 0;
}

.ranking-container .card {
border-radius: 0;
margin: 0;
}

.ranking-container .card-body {
padding: 15px;
}

.ranking-container .ranking-list {
margin-bottom: 0;
}

.ranking-container .ranking-item {
padding-bottom: 8px;
}

/* 移动端顶部文字适配:同步减小标题底部间距 */
.ranking-container .card-title {
gap: 9px;
font-size: 1rem;
margin-bottom: 8px;
}
}

.ranking-container .ranking-list::-webkit-scrollbar {
width: 4px;
}

.io-black-mode .ranking-container .card {
background: #2c2e2f;
}

.io-black-mode .ranking-container .card-title {
color: #fff;
}

/* 深色模式按钮样式:保持不变 */
.io-black-mode .card-title .donate,
.io-black-mode .card-title .more {
font-size: 12px;
padding: 3px 8px;
color: #ff6b6b !important;
border: 0.5px solid #ff6b6b;
border-radius: 5px;
}

.io-black-mode .card-title .donate:hover,
.io-black-mode .card-title .more:hover {
background-color: rgba(255, 107, 107, 0.1);
}

/* 新增渐变动画样式 */
@keyframes rainbow-gradient {
0% {
background-position: 100% 50%;
}
100% {
background-position: -100% 50%;
}
}

.gradient-text {
background: linear-gradient(to left, red, orange, yellow, green, blue, indigo, violet);
background-size: 200% 100%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: rainbow-gradient 3s linear infinite;
}

/* 调整其他字体大小 */
.ranking-info .fw-bold {
font-size: 0.9rem; /* 减小用户名字体 */
white-space: nowrap; /* 强制在一行显示 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 溢出部分显示省略号 */
}

.ranking-info small {
font-size: 0.78rem; /* 减小网址字体 */
white-space: nowrap; /* 强制在一行显示 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 溢出部分显示省略号 */
display: block; /* 确保占据一行 */
}
</style>

<div class="top-spacing"></div> <!-- 顶部空格区域保持不变 -->

<div>
<div class="ranking-container">
<!-- 排行榜前的固定文字 -->
<div class="card">
<div class="card-body">
<h5 class="card-title text-center mb-4">
<a href="https://789bh.com/12345-2" class="more gradient-text" target="_blank">查看更多</a>
<span><i class="fas fa-crown text-warning me-2"></i>捐赠排行榜</span>
<a href="https://789bh.com/ds/" class="donate gradient-text" target="_blank">支持一下</a>
</h5>
<div id="rankingList" class="ranking-list">
<!-- 排行榜将通过 JavaScript 动态加载 -->
</div>
</div>
</div>
<!-- 排行榜后的固定文字 -->
</div>
</div>

<script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js"></script>
<script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/bootstrap/5.1.3/js/bootstrap.bundle.min.js"></script>
<script>
$(document).ready(function () {
/* 加载排行榜数据 */
function loadRanking() {
$.get('https://789bh.com/ds/api/get_ranking.php', function (response) {
if (response.code === 0) {
const { rankings, statistics } = response.data;

/* 更新排行榜 */
const rankingHtml = rankings.map((rank, index) => {
let url = rank.website;
let urlText = url? `感谢${url}` : '暂无网址信息';
return `
<div class="ranking-item d-flex align-items-center">
<img src="${rank.avatar}" class="ranking-avatar" alt="头像"
style="border: 2px solid ${index < 3? '#ffd700' : '#e9ecef'}">
<div class="ranking-info">
<div class="text-truncate fw-bold">${rank.qq}</div>
<small class="text-muted"><a href="${url || '#'}" target="_blank" class="gradient-text">${urlText}</a></small>
</div>
<div class="ranking-amount">
¥${rank.total_amount.toFixed(2)}
</div>
</div>
`;
}).join('');

$('#rankingList').html(rankingHtml);
}
});
}

/* 初始加载排行榜 */
loadRanking();
/* 每60秒刷新一次排行榜 */
setInterval(loadRanking, 60000);
});
</script>


对页面排版或美化不满意可以找AI,遇事不觉找AI


AI聚合签到系统源码 图标

AI聚合签到系统源码

现在做 AI 工具的人,手机上同时装着 WorkBuddy、扣子、Trae、Qoder、智谱清言、即梦、豆包、WPS 灵犀……每个平台每天都有积分、额度、签到奖励。问题是:平台太多,记不住谁签了谁没签有的在网页、有的在小程序,入口天天变断签一次连签记录清零,白攒想帮同事/家人代管几个号,只能来回切登录手动签一轮,十几分钟;忘了签,一个月白干。这套系统干的事就一件:把「每天点一下」变成「永远不用点」。无需数据库,虚拟主机也能搭建,无加密下载地址:https://share.weiyun.com/w
小K信誉系统骗子查询系统源码分享 图标

小K信誉系统骗子查询系统源码分享

在今年年初的时候发布过但是一天后就删除了,拿到咸鱼上面很好卖,一共在咸鱼上面卖188一套一共卖了12套,感觉卖不动了今天就分享给大家!小K团队开发的骗子查询系统开源版本,有需要二开的欢迎咨询站长小KQQ:46505 ...&nbsp;在今年年初的时候发布过但是一天后就删除了,拿到咸鱼上面很好卖,一共在咸鱼上面卖188一套一共卖了12套,感觉卖不动了今天就分享给大家!
机房远程维护系统v1.3  图标

机房远程维护系统v1.3

学校的机房较多,每次有问题都去现场,太麻烦。所以问chatglm做了一套系统,客户端是无界面的exe,服务端是Python做的flask,可以显示所有的客户端。选中指定的客户端,能远程操作桌面和关机、重启。在使用过程中多次更新:v1.0 查看画面,文本框发送字符串,关机、重启。v1.1 增加键盘及时输入,增加了客户端画面全屏显示。v1.2 优化了一点cpp编译时候的问题,解决了DPI缩放以及分辨率不一致导致的鼠标点击时坐标错位的问题。v1.3 增加功能:鼠标左键点住窗口标题栏时候可以移动标题栏。
 discuz论坛百度、必应seo优化插件 图标

discuz论坛百度、必应seo优化插件

小K自己写的必应亲测非常有效,百度他就是始终不收录可能是我域名的问题,但是必应提交后过几个小时就能收录!必应是亲测有效昨天写出来的!必应的提交规则是最新帖子7天内自动提交,需要在宝塔里面创建计划任务如图所示:百度推送的就是你每天有好多额度就推送好多,推送不了的就第二天继续推送!
听听DJ音乐网系统源码/带后台 图标

听听DJ音乐网系统源码/带后台

简介:听听DJ音乐网系统源码/带后台环境要求MySQL 5.7MongoDB 10PHP 7.4~8.2PHP扩展:pdo_mysql、pdo_sqlite、mbstring、fileinfo、gd、openssl、json技术栈原生HTML、CSS、JS、MySQL、MongoDB、PHP,支持Nginx、Apache。无框架,包含XSS、SQL、CSRF、Token等防护,SQL 80%不存在注入问题,使用PDO预处理。XSS、CSRF、Token等防护已经完成一半。安装教程步骤源码上传到根
东方商城系统3.0正式开启内测,全功能模块抢先体验 图标

东方商城系统3.0正式开启内测,全功能模块抢先体验

各位创业者、电商运营者们,大家好!经过长时间的打磨与重构,东方商城系统3.0正式开启内测。本次3.0版本在底层架构上进行了全面升级,功能模块覆盖了电商运营的各个环节。最重要的是,本次内测完全免费,不收取任何费用。以下是根据后台实际界面梳理的核心功能矩阵:核心功能模块· 数据看板:核心经营数据实时展示,为运营决策提供数据支撑。· 云端服务:提供云端底层支持,保障系统稳定运行。· 商品管理:支持多规格、多品类商品的精细化上架与库存管理。· 订单管理:全链路订单追踪,发货、售后、退款流程清晰高效。·
评论
还没有评论,来发表第一条吧。
发表评论