mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
官网首页新增赞助者名单
This commit is contained in:
parent
dbf3cff2bb
commit
03bcf61fb5
@ -235,11 +235,54 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- ------------ 赞助者名单 ------------- -->
|
||||
<div style="margin-top: -30px;">
|
||||
<div class="feature-z">
|
||||
<h2 class="s-title">赞助者名单(感谢!感谢!感谢!)</h2>
|
||||
<div class="">
|
||||
<div class="zanzhu-box s-width">
|
||||
<div class="zanzhu-sort-box">
|
||||
<span class="zanzhu-sort-btn zz-sort-native" sort-value="1">日期排序</span>
|
||||
<span> | </span>
|
||||
<span class="zanzhu-sort-btn" sort-value="2">赞助额排序</span>
|
||||
</div>
|
||||
<table class="zanzhu-table" cellspacing="0" border="1" bordercolor="e9e9e9">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>赞助人</th>
|
||||
<th>赞助金额</th>
|
||||
<th>留言</th>
|
||||
<th>时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- <tr>
|
||||
<td>时间很快</td>
|
||||
<td>赞助金额</td>
|
||||
<td>感谢您的开源项目!</td>
|
||||
<td>2023-10-27</td>
|
||||
</tr> -->
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- 一些按钮 -->
|
||||
<div class="zz-btn-box">
|
||||
<button onclick="prevPageRDT()"> < </button>
|
||||
<span class="zz-pageInfo">第 1/1 页</span>
|
||||
<button onclick="nextPageRDT()"> > </button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- ------------ 开源案例 ------------- -->
|
||||
<div>
|
||||
<div class="feature-z s-width">
|
||||
<!-- <div class="s-fenge"></div> -->
|
||||
<h2 class="s-title" style="margin-top: 40px;">优秀开源集成案例</h2>
|
||||
<div class="s-fenge"></div>
|
||||
<h2 class="s-title" style="margin-top: 80px;">优秀开源集成案例</h2>
|
||||
<div class="feature-box s-case-box">
|
||||
<!-- Snowy 6.1K -->
|
||||
<div class="s-case">
|
||||
@ -317,6 +360,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- ------------ 使用公司 ------------- -->
|
||||
<div>
|
||||
<div class="com-box-f s-width">
|
||||
@ -849,6 +893,8 @@
|
||||
<!-- 悬浮效果 -->
|
||||
<script src="static/jquery.min.js"></script>
|
||||
<script src="static/layer-v3.1.1/layer.js"></script>
|
||||
<script src="static/donate/donate-list.js"></script>
|
||||
<script src="static/index.js"></script>
|
||||
<script type="text/javascript">
|
||||
// 鼠标悬浮在友情链接时,提示信息
|
||||
$(".com-box-you a img").hover(function() {
|
||||
|
993
sa-token-doc/static/donate/donate-list.js
Normal file
993
sa-token-doc/static/donate/donate-list.js
Normal file
@ -0,0 +1,993 @@
|
||||
// 赞助者名单
|
||||
var donateList = [
|
||||
{
|
||||
"name": "省长",
|
||||
"link": "https://gitee.com/click33",
|
||||
"money": 10,
|
||||
"msg": "java中最好用的权限认证框架!",
|
||||
"date": "2020-12-15"
|
||||
},
|
||||
{
|
||||
"name": "知知",
|
||||
"link": "https://gitee.com/double_zhi",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2020-12-15"
|
||||
},
|
||||
{
|
||||
"name": "zhangjiaxiaozhuo",
|
||||
"link": "https://gitee.com/zhangjiaxiaozhuo",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2020-12-15"
|
||||
},
|
||||
{
|
||||
"name": "RockMan",
|
||||
"link": "https://gitee.com/njx33",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2020-12-17"
|
||||
},
|
||||
{
|
||||
"name": "whcrow",
|
||||
"link": "https://gitee.com/whcrow",
|
||||
"money": 20,
|
||||
"msg": "军师加油!",
|
||||
"date": "2021-03-16"
|
||||
},
|
||||
{
|
||||
"name": "xue1992wz",
|
||||
"link": "https://gitee.com/xue1992wz",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-03-16"
|
||||
},
|
||||
{
|
||||
"name": "萧瑟",
|
||||
"link": "https://gitee.com/fengduidui",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-03-16"
|
||||
},
|
||||
{
|
||||
"name": "二范先生",
|
||||
"link": "https://gitee.com/mr-er-fan",
|
||||
"money": 20,
|
||||
"msg": "省长加油啊 喝杯茶",
|
||||
"date": "2021-03-16"
|
||||
},
|
||||
{
|
||||
"name": "Wizzer",
|
||||
"link": "https://gitee.com/wizzer",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-05-22"
|
||||
},
|
||||
{
|
||||
"name": "孔孔的空空",
|
||||
"link": "https://gitee.com/kongmr",
|
||||
"money": 500,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-07-30"
|
||||
},
|
||||
{
|
||||
"name": "xiaoyan",
|
||||
"link": "https://gitee.com/l-yun",
|
||||
"money": 50,
|
||||
"msg": "be better",
|
||||
"date": "2021-07-31"
|
||||
},
|
||||
{
|
||||
"name": "xiaoyan",
|
||||
"link": "https://gitee.com/l-yun",
|
||||
"money": 200,
|
||||
"msg": "好的作者理应被认可",
|
||||
"date": "2021-08-24"
|
||||
},
|
||||
{
|
||||
"name": "苏永晓",
|
||||
"link": "https://gitee.com/suyongxiao",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-09-01"
|
||||
},
|
||||
{
|
||||
"name": "永夜",
|
||||
"link": "https://gitee.com/cn-src",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-09-18"
|
||||
},
|
||||
{
|
||||
"name": "apifox001",
|
||||
"link": "https://gitee.com/apifox001",
|
||||
"money": 200,
|
||||
"msg": "<a href=\"https://apifox.com/\" target=\"_blank\" rel=\"noopener\">Apifox:API 文档、API 调试、API Mock、API 自动化测试</a>",
|
||||
"date": "2021-10-15"
|
||||
},
|
||||
{
|
||||
"name": "xiaoyan",
|
||||
"link": "https://gitee.com/l-yun",
|
||||
"money": 200,
|
||||
"msg": "节日快乐",
|
||||
"date": "2021-10-24"
|
||||
},
|
||||
{
|
||||
"name": "ithorns",
|
||||
"link": "https://gitee.com/ithorns",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-10-25"
|
||||
},
|
||||
{
|
||||
"name": "songfazhun",
|
||||
"link": "https://gitee.com/fzsong",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-10-28"
|
||||
},
|
||||
{
|
||||
"name": "孔孔的空空",
|
||||
"link": "https://gitee.com/kongmr",
|
||||
"money": 100,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-11-02"
|
||||
},
|
||||
{
|
||||
"name": "铂赛东",
|
||||
"link": "https://gitee.com/bryan31",
|
||||
"money": 20,
|
||||
"msg": "开源加油!",
|
||||
"date": "2021-11-08"
|
||||
},
|
||||
{
|
||||
"name": "公子骏",
|
||||
"link": "https://gitee.com/dt_flys",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-11-08"
|
||||
},
|
||||
{
|
||||
"name": "Taller",
|
||||
"link": "https://gitee.com/evilatom",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-11-13"
|
||||
},
|
||||
{
|
||||
"name": "万声鹉",
|
||||
"link": "https://gitee.com/wanshengwu",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-11-15"
|
||||
},
|
||||
{
|
||||
"name": "yijunzhao",
|
||||
"link": "https://gitee.com/yijunzhao",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-11-21"
|
||||
},
|
||||
{
|
||||
"name": "xiaoyan",
|
||||
"link": "https://gitee.com/l-yun",
|
||||
"money": 200,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-11-26"
|
||||
},
|
||||
{
|
||||
"name": "luyuan",
|
||||
"link": "https://gitee.com/meitesi",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-11-29"
|
||||
},
|
||||
{
|
||||
"name": "图灵谷",
|
||||
"link": "https://gitee.com/stephenson37",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-11-30"
|
||||
},
|
||||
{
|
||||
"name": "fuhouyin",
|
||||
"link": "https://gitee.com/fuhouyin",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-12-01"
|
||||
},
|
||||
{
|
||||
"name": "liu",
|
||||
"link": "https://gitee.com/liuliuliu123456",
|
||||
"money": 50,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-12-15"
|
||||
},
|
||||
{
|
||||
"name": "duyiliu",
|
||||
"link": "https://gitee.com/duyiliu",
|
||||
"money": 10,
|
||||
"msg": "化繁为简,是门艺术。",
|
||||
"date": "2021-12-16"
|
||||
},
|
||||
{
|
||||
"name": "MrXionGe",
|
||||
"link": "https://gitee.com/MrXionGe",
|
||||
"money": 10,
|
||||
"msg": "SA加油~~",
|
||||
"date": "2021-12-17"
|
||||
},
|
||||
{
|
||||
"name": "周周周杨",
|
||||
"link": "https://gitee.com/ChaoGeWanJiu",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-12-18"
|
||||
},
|
||||
{
|
||||
"name": "网络小渣渣",
|
||||
"link": "https://gitee.com/a9777",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2021-12-24"
|
||||
},
|
||||
{
|
||||
"name": "刚子 (微信打赏)",
|
||||
"link": "",
|
||||
"money": 50,
|
||||
"msg": "微信打赏",
|
||||
"date": "2021-12-27"
|
||||
},
|
||||
{
|
||||
"name": "两岁 (微信打赏)",
|
||||
"link": "",
|
||||
"money": 188,
|
||||
"msg": "微信打赏",
|
||||
"date": "2021-12-27"
|
||||
},
|
||||
{
|
||||
"name": "前世男友",
|
||||
"link": "https://gitee.com/lanbaba666",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-02-17"
|
||||
},
|
||||
{
|
||||
"name": "赵津 (微信打赏)",
|
||||
"link": "",
|
||||
"money": 16,
|
||||
"msg": "微信打赏",
|
||||
"date": "2022-02-20"
|
||||
},
|
||||
{
|
||||
"name": "老杨",
|
||||
"link": "https://gitee.com/yangs914",
|
||||
"money": 6.66,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-03-01"
|
||||
},
|
||||
{
|
||||
"name": "晓辉",
|
||||
"link": "https://gitee.com/zxhShow",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-03-07"
|
||||
},
|
||||
{
|
||||
"name": "Charles7c",
|
||||
"link": "https://gitee.com/Charles7c",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!希望 SSO 模块越来越好!",
|
||||
"date": "2022-03-17"
|
||||
},
|
||||
{
|
||||
"name": "黎子豪 (微信打赏)",
|
||||
"link": "",
|
||||
"money": 18.88,
|
||||
"msg": "请你喝杯咖啡",
|
||||
"date": "2022-03-21"
|
||||
},
|
||||
{
|
||||
"name": "秦政 (微信打赏)",
|
||||
"link": "",
|
||||
"money": 6.66,
|
||||
"msg": "微信打赏",
|
||||
"date": "2022-03-22"
|
||||
},
|
||||
{
|
||||
"name": "秦政 (微信打赏)",
|
||||
"link": "",
|
||||
"money": 20,
|
||||
"msg": "微信打赏",
|
||||
"date": "2022-03-22"
|
||||
},
|
||||
{
|
||||
"name": "刘嘉威",
|
||||
"link": "https://gitee.com/liu_jiawei",
|
||||
"money": 6.66,
|
||||
"msg": "真滴好用~",
|
||||
"date": "2022-03-23"
|
||||
},
|
||||
{
|
||||
"name": "Robin Tin (微信打赏)",
|
||||
"link": "",
|
||||
"money": 28.88,
|
||||
"msg": "微信打赏",
|
||||
"date": "2022-03-24"
|
||||
},
|
||||
{
|
||||
"name": "lele",
|
||||
"link": "https://gitee.com/lelez",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-03-29"
|
||||
},
|
||||
{
|
||||
"name": "alkinn",
|
||||
"link": "https://gitee.com/alkinn",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-03-29"
|
||||
},
|
||||
{
|
||||
"name": "yukihane",
|
||||
"link": "https://gitee.com/yukihane",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-04-07"
|
||||
},
|
||||
{
|
||||
"name": "xq584",
|
||||
"link": "https://gitee.com/xq584",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-04-08"
|
||||
},
|
||||
{
|
||||
"name": "行长 (微信打赏)",
|
||||
"link": "",
|
||||
"money": 20,
|
||||
"msg": "微信打赏",
|
||||
"date": "2022-04-15"
|
||||
},
|
||||
{
|
||||
"name": "阿文",
|
||||
"link": "https://gitee.com/qq921124136",
|
||||
"money": 20,
|
||||
"msg": "很好的框架,在开发文档里学到了很多知识点",
|
||||
"date": "2022-04-21"
|
||||
},
|
||||
{
|
||||
"name": "Horatio201",
|
||||
"link": "https://gitee.com/horatio201",
|
||||
"money": 20,
|
||||
"msg": "太牛了!",
|
||||
"date": "2022-04-25"
|
||||
},
|
||||
{
|
||||
"name": "乡村阿土哥",
|
||||
"link": "https://gitee.com/895995040",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-04-29"
|
||||
},
|
||||
{
|
||||
"name": "李洪星",
|
||||
"link": "https://gitee.com/li_hong_xing",
|
||||
"money": 10,
|
||||
"msg": "解决了很多之前项目中遇到的问题。感谢您的开源项目!",
|
||||
"date": "2022-04-29"
|
||||
},
|
||||
{
|
||||
"name": "别处理",
|
||||
"link": "https://gitee.com/zshnb",
|
||||
"money": 10,
|
||||
"msg": "非常好的项目,希望能一直做下去",
|
||||
"date": "2022-05-01"
|
||||
},
|
||||
{
|
||||
"name": "cray",
|
||||
"link": "https://gitee.com/hyy6300",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-05-10"
|
||||
},
|
||||
{
|
||||
"name": "LZ",
|
||||
"link": "https://gitee.com/FUNKBOY",
|
||||
"money": 6.66,
|
||||
"msg": "感谢您的开源项目!顺便踩一脚Spring Security,sa加油!",
|
||||
"date": "2022-05-18"
|
||||
},
|
||||
{
|
||||
"name": "sun_2020",
|
||||
"link": "https://gitee.com/sun-two-thousand-and-twenty",
|
||||
"money": 50,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-06-08"
|
||||
},
|
||||
{
|
||||
"name": "yuncai929",
|
||||
"link": "https://gitee.com/null_448_5562",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-06-10"
|
||||
},
|
||||
{
|
||||
"name": "刘时立",
|
||||
"link": "https://gitee.com/liu-shili",
|
||||
"money": 10,
|
||||
"msg": "非常棒的开源项目!",
|
||||
"date": "2022-06-13"
|
||||
},
|
||||
{
|
||||
"name": "qiuyue",
|
||||
"link": "https://gitee.com/bmlt",
|
||||
"money": 10,
|
||||
"msg": "satoken牛逼",
|
||||
"date": "2022-06-16"
|
||||
},
|
||||
{
|
||||
"name": "风如歌",
|
||||
"link": "https://gitee.com/the-wind-is-like-a-song",
|
||||
"money": 10,
|
||||
"msg": "这个框架简直满足了我所有对于安全框架的需求,赞一个,加油sa-token加油中国开源!",
|
||||
"date": "2022-06-17"
|
||||
},
|
||||
{
|
||||
"name": "zhihong",
|
||||
"link": "https://gitee.com/zzh13520704819",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-06-20"
|
||||
},
|
||||
{
|
||||
"name": "jwc_gitee",
|
||||
"link": "https://gitee.com/jwc-gitee",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-07-07"
|
||||
},
|
||||
{
|
||||
"name": "小北宸呀",
|
||||
"link": "https://gitee.com/a_aas",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!我就喜欢你这种把我当白痴的官方文档",
|
||||
"date": "2022-07-08"
|
||||
},
|
||||
{
|
||||
"name": "jerrydo",
|
||||
"link": "https://gitee.com/jerrydo",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!很强大!",
|
||||
"date": "2022-08-10"
|
||||
},
|
||||
{
|
||||
"name": "邱道长",
|
||||
"link": "https://gitee.com/qiudaozhang",
|
||||
"money": 20,
|
||||
"msg": "优秀的项目,赞",
|
||||
"date": "2022-09-09"
|
||||
},
|
||||
{
|
||||
"name": "BlueRose",
|
||||
"link": "https://gitee.com/Bluerose_2",
|
||||
"money": 20,
|
||||
"msg": "感谢您的付出,项目非常棒!",
|
||||
"date": "2022-09-22"
|
||||
},
|
||||
{
|
||||
"name": "西东",
|
||||
"link": "https://gitee.com/noear_admin",
|
||||
"money": 99,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-10-05"
|
||||
},
|
||||
{
|
||||
"name": "xueshize",
|
||||
"link": "https://gitee.com/xueshize",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-10-12"
|
||||
},
|
||||
{
|
||||
"name": "feyong",
|
||||
"link": "https://gitee.com/feyong",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-10-18"
|
||||
},
|
||||
{
|
||||
"name": "王文博",
|
||||
"link": "https://gitee.com/rl520",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-10-24"
|
||||
},
|
||||
{
|
||||
"name": "就眠儀式",
|
||||
"link": "https://gitee.com/Jmysy",
|
||||
"money": 50,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-10-26"
|
||||
},
|
||||
{
|
||||
"name": "laruui",
|
||||
"link": "https://gitee.com/laruui",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-10-28"
|
||||
},
|
||||
{
|
||||
"name": "feel",
|
||||
"link": "https://gitee.com/xujiahuim",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-11-17"
|
||||
},
|
||||
{
|
||||
"name": "IlovePea",
|
||||
"link": "https://gitee.com/IlovePea",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-11-22"
|
||||
},
|
||||
{
|
||||
"name": "ThatYear",
|
||||
"link": "https://gitee.com/wangmuqing",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-11-24"
|
||||
},
|
||||
{
|
||||
"name": "时间很快",
|
||||
"link": "https://gitee.com/frsimple",
|
||||
"money": 50,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-11-29"
|
||||
},
|
||||
{
|
||||
"name": "刘涛",
|
||||
"link": "https://gitee.com/doILike",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-12-13"
|
||||
},
|
||||
{
|
||||
"name": "ken",
|
||||
"link": "https://gitee.com/affction",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-12-19"
|
||||
},
|
||||
{
|
||||
"name": "Peter Z",
|
||||
"link": "https://gitee.com/zj1995",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2022-12-26"
|
||||
},
|
||||
{
|
||||
"name": "SWmachine",
|
||||
"link": "https://gitee.com/SWmachine",
|
||||
"money": 10,
|
||||
"msg": "您的开源很好用!",
|
||||
"date": "2023-01-07"
|
||||
},
|
||||
{
|
||||
"name": "tsing",
|
||||
"link": "https://gitee.com/tsing666",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-01-08"
|
||||
},
|
||||
{
|
||||
"name": "不问烟雨",
|
||||
"link": "https://gitee.com/xiaominfagui",
|
||||
"money": 10,
|
||||
"msg": "牛",
|
||||
"date": "2023-01-12"
|
||||
},
|
||||
{
|
||||
"name": "熊孩子",
|
||||
"link": "https://gitee.com/xhz1230",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-02-17"
|
||||
},
|
||||
{
|
||||
"name": "陈乾",
|
||||
"link": "https://gitee.com/qianpou",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-03-05"
|
||||
},
|
||||
{
|
||||
"name": "陈乾",
|
||||
"link": "https://gitee.com/qianpou",
|
||||
"money": 50,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-03-07"
|
||||
},
|
||||
{
|
||||
"name": "李一博",
|
||||
"link": "https://gitee.com/haust_lyb",
|
||||
"money": 8.88,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-03-07"
|
||||
},
|
||||
{
|
||||
"name": "空空(微信打赏)",
|
||||
"link": "",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-03-08"
|
||||
},
|
||||
{
|
||||
"name": "Java_小生",
|
||||
"link": "https://gitee.com/zhang_hanzhe",
|
||||
"money": 10,
|
||||
"msg": "感谢Sa-Token让我不用去B站肯几十个小时的教程,框架很优秀文档更优秀",
|
||||
"date": "2023-03-09"
|
||||
},
|
||||
{
|
||||
"name": "zhou",
|
||||
"link": "https://gitee.com/mrzhou1",
|
||||
"money": 50,
|
||||
"msg": "感谢答疑",
|
||||
"date": "2023-03-29"
|
||||
},
|
||||
{
|
||||
"name": "F(微信打赏)",
|
||||
"link": "",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-04-09"
|
||||
},
|
||||
{
|
||||
"name": "王宁波",
|
||||
"link": "https://gitee.com/wang-ningbo",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-04-10"
|
||||
},
|
||||
{
|
||||
"name": "Admin",
|
||||
"link": "https://gitee.com/jinan-jimeng-network_0",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-04-12"
|
||||
},
|
||||
{
|
||||
"name": "李广龙",
|
||||
"link": "https://gitee.com/ak47-b",
|
||||
"money": 20,
|
||||
"msg": "跟大哥学习一辈子学不完",
|
||||
"date": "2023-04-14"
|
||||
},
|
||||
{
|
||||
"name": "hurumo",
|
||||
"link": "https://gitee.com/hurumo",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-04-17"
|
||||
},
|
||||
{
|
||||
"name": "c(微信打赏)",
|
||||
"link": "",
|
||||
"money": 100,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-04-17"
|
||||
},
|
||||
{
|
||||
"name": "bootx",
|
||||
"link": "https://gitee.com/bootx",
|
||||
"money": 100,
|
||||
"msg": "<a href=\"https://gitee.com/bootx/bootx-platform\" target=\"_blank\" rel=\"noopener\">Bootx-Platform:支付收单、三方对接、后端基于 Spring Boot、Spring Cloud 应用脚手架</a>",
|
||||
"date": "2023-04-18"
|
||||
},
|
||||
{
|
||||
"name": "gdl",
|
||||
"link": "https://gitee.com/gdl97",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!作者牛逼!",
|
||||
"date": "2023-04-29"
|
||||
},
|
||||
{
|
||||
"name": "SummerHy",
|
||||
"link": "https://gitee.com/hurumo",
|
||||
"money": 10,
|
||||
"msg": "国产,就是棒,:)",
|
||||
"date": "2023-05-07"
|
||||
},
|
||||
{
|
||||
"name": "BeckJin",
|
||||
"link": "https://gitee.com/beckjin666",
|
||||
"money": 100,
|
||||
"msg": "<a href=\"https://mingdao.com?s=st\" target=\"_blank\" rel=\"noopener\">明道云-零代码开发平台,快速响应业务需求。从“IT背锅侠”,变成“IT英雄”。</a>",
|
||||
"date": "2023-05-08"
|
||||
},
|
||||
{
|
||||
"name": "xc_Moving",
|
||||
"link": "https://gitee.com/fireZhang",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!感谢SA-token帮我度过项目的难关",
|
||||
"date": "2023-05-11"
|
||||
},
|
||||
{
|
||||
"name": "砰嚓嚓(QQ打赏)",
|
||||
"link": "",
|
||||
"money": 20,
|
||||
"msg": "一点打赏不成敬意",
|
||||
"date": "2023-05-15"
|
||||
},
|
||||
{
|
||||
"name": "dyjgitdyjgit",
|
||||
"link": "https://gitee.com/qtinfogit",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-05-22"
|
||||
},
|
||||
{
|
||||
"name": "javahuang",
|
||||
"link": "https://gitee.com/javahrp",
|
||||
"money": 200,
|
||||
"msg": "<a href=\"https://gitee.com/surveyking/surveyking\" target=\"_blank\" rel=\"noopener\">SurveyKing:功能最强大的调查问卷系统和考试系统,开源</a>",
|
||||
"date": "2023-06-08"
|
||||
},
|
||||
{
|
||||
"name": "SP",
|
||||
"link": "https://gitee.com/LSP1999",
|
||||
"money": 10,
|
||||
"msg": "就是需要这种简单上手的项目",
|
||||
"date": "2023-06-15"
|
||||
},
|
||||
{
|
||||
"name": "Dear胜哥",
|
||||
"link": "https://gitee.com/DearShengGe",
|
||||
"money": 10,
|
||||
"msg": "有幸在摸鱼时间认真看完了全文档,感觉很是不错。开源不易,望作者继续扩展该框架功能!",
|
||||
"date": "2023-06-30"
|
||||
},
|
||||
{
|
||||
"name": "吴其敏(微信打赏)",
|
||||
"link": "",
|
||||
"money": 200,
|
||||
"msg": "<a href=\"https://github.com/dianping/cat\" target=\"_blank\" rel=\"noopener\">CAT 是基于 Java 开发的实时应用监控平台,为美团点评提供了全面的实时监控告警服务。</a>",
|
||||
"date": "2023-07-11"
|
||||
},
|
||||
{
|
||||
"name": "mikeinshanghai",
|
||||
"link": "https://gitee.com/mikeinshanghai",
|
||||
"money": 50,
|
||||
"msg": "Sa-Token, MeterSphere共成长, 共辉煌! ",
|
||||
"date": "2023-07-14"
|
||||
},
|
||||
{
|
||||
"name": "张兆伟",
|
||||
"link": "https://gitee.com/zhang865700",
|
||||
"money": 50,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-07-24"
|
||||
},
|
||||
{
|
||||
"name": "XiaoYi",
|
||||
"link": "https://gitee.com/getianit",
|
||||
"money": 100,
|
||||
"msg": "<a href=\"https://www.asiayun.com/cart?action=configureproduct&pid=300\" target=\"_blank\" rel=\"noopener\">亚洲云深圳BGP云服务器</a>",
|
||||
"date": "2023-07-24"
|
||||
},
|
||||
{
|
||||
"name": "好心肠的老哥",
|
||||
"link": "https://gitee.com/ntdm",
|
||||
"money": 10,
|
||||
"msg": "非常好的开源项目,希望越来越好!",
|
||||
"date": "2023-08-02"
|
||||
},
|
||||
{
|
||||
"name": "结弦奏(微信打赏)",
|
||||
"link": "",
|
||||
"money": 50,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-08-07"
|
||||
},
|
||||
{
|
||||
"name": "失败女神",
|
||||
"link": "https://gitee.com/failedgoddess",
|
||||
"money": 50,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-08-03"
|
||||
},
|
||||
{
|
||||
"name": "快快乐乐小码农",
|
||||
"link": "https://gitee.com/happy-little-farmer",
|
||||
"money": 1,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-08-17"
|
||||
},
|
||||
{
|
||||
"name": "刘斌",
|
||||
"link": "https://gitee.com/xuanfather",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-08-17"
|
||||
},
|
||||
{
|
||||
"name": "Meteor",
|
||||
"link": "https://gitee.com/meteoroc",
|
||||
"money": 2.5,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-08-23"
|
||||
},
|
||||
{
|
||||
"name": "T_T",
|
||||
"link": "https://gitee.com/wm26hua",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-09-07"
|
||||
},
|
||||
{
|
||||
"name": "huni",
|
||||
"link": "https://gitee.com/simin_sizi",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-09-11"
|
||||
},
|
||||
{
|
||||
"name": "lostyue",
|
||||
"link": "https://gitee.com/lostyue",
|
||||
"money": 20,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-09-14"
|
||||
},
|
||||
{
|
||||
"name": "shenlicao",
|
||||
"link": "https://gitee.com/shenlicao",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-09-15"
|
||||
},
|
||||
{
|
||||
"name": "明道云",
|
||||
"link": "https://gitee.com/lunan-yn",
|
||||
"money": 200,
|
||||
"msg": "明道云2023年伙伴大会,<a href=\"https://www.mingdao.com/event/mpc/2023\" target=\"_blank\" rel=\"noopener\">报名链接</a>",
|
||||
"date": "2023-09-25"
|
||||
},
|
||||
{
|
||||
"name": "yang",
|
||||
"link": "https://gitee.com/hansdm",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-09-27"
|
||||
},
|
||||
{
|
||||
"name": "lee",
|
||||
"link": "https://gitee.com/cngeeklee",
|
||||
"money": 10,
|
||||
"msg": "真正的轻量级权限安全框架,希望继续更新",
|
||||
"date": "2023-10-06"
|
||||
},
|
||||
{
|
||||
"name": "yangs2w",
|
||||
"link": "https://gitee.com/yangs2w",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-10-10"
|
||||
},
|
||||
{
|
||||
"name": "ly-chn",
|
||||
"link": "https://gitee.com/ly-chn",
|
||||
"money": 99,
|
||||
"msg": "一定的资金支持有助于开源项目走的更加长远",
|
||||
"date": "2023-10-17"
|
||||
},
|
||||
{
|
||||
"name": "PotatoLoofah",
|
||||
"link": "https://gitee.com/PotatoLoofah",
|
||||
"money": 10,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-10-27"
|
||||
},
|
||||
{
|
||||
"name": "立秋",
|
||||
"link": "https://gitee.com/code_wh",
|
||||
"money": 2.5,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-10-27"
|
||||
},
|
||||
{
|
||||
"name": "时间很快",
|
||||
"link": "https://gitee.com/frsimple",
|
||||
"money": 220,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-10-27"
|
||||
},
|
||||
{
|
||||
"name": "flydongdong",
|
||||
"link": "https://gitee.com/flydongdong",
|
||||
"money": 10.0,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-10-31"
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"name": "MetaLowCode",
|
||||
"link": "https://gitee.com/meta_low_code_admin",
|
||||
"money": 220.0,
|
||||
"msg": "可能是最适合Java程序员的低代码平台 -- 美乐低代码 https://melecode.com/",
|
||||
"date": "2023-11-23"
|
||||
},
|
||||
{
|
||||
"name": "rednettle",
|
||||
"link": "https://gitee.com/rednettle",
|
||||
"money": 5.0,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-11-24"
|
||||
},
|
||||
{
|
||||
"name": "郑志强",
|
||||
"link": "https://gitee.com/zhi_qiang_zheng",
|
||||
"money": 20.0,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-12-01"
|
||||
},
|
||||
{
|
||||
"name": "Justin Chia",
|
||||
"link": "https://gitee.com/justin-chia",
|
||||
"money": 218.0,
|
||||
"msg": "可以二开的国产低代码表单 https://vform666.com/",
|
||||
"date": "2023-12-05"
|
||||
},
|
||||
{
|
||||
"name": "asalan570",
|
||||
"link": "https://gitee.com/asalan570",
|
||||
"money": 2.0,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-12-12"
|
||||
},
|
||||
{
|
||||
"name": "guwq",
|
||||
"link": "https://gitee.com/guweiqiang2016",
|
||||
"money": 10.0,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2023-12-14"
|
||||
},
|
||||
{
|
||||
"name": "少年",
|
||||
"link": "https://gitee.com/tingfengBlog",
|
||||
"money": 10.0,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2024-01-10"
|
||||
},
|
||||
{
|
||||
"name": "mshk",
|
||||
"link": "https://gitee.com/yueguangshuiyan",
|
||||
"money": 50.0,
|
||||
"msg": "Thank you for your open source repository!",
|
||||
"date": "2024-02-21"
|
||||
},
|
||||
{
|
||||
"name": "CSpy",
|
||||
"link": "https://gitee.com/cspy",
|
||||
"money": 10.0,
|
||||
"msg": "希望在线文档网站能有个“我已点赞”的跳过按钮,互相尊重一下,谢谢。",
|
||||
"date": "2024-03-07"
|
||||
},
|
||||
{
|
||||
"name": "EtSKY",
|
||||
"link": "https://gitee.com/ecoiyun",
|
||||
"money": 10.0,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2024-03-08"
|
||||
},
|
||||
{
|
||||
"name": "李富康",
|
||||
"link": "https://gitee.com/li-fukang0719",
|
||||
"money": 5.0,
|
||||
"msg": "感谢您的开源项目!",
|
||||
"date": "2024-03-15"
|
||||
},
|
||||
|
||||
]
|
@ -138,6 +138,26 @@ body{font-size: 16px; color: #34495E; font-family: "Source Sans Pro","Helvetica
|
||||
}
|
||||
|
||||
|
||||
/* -------- 赞助者名单 --------- */
|
||||
.zanzhu-box{}
|
||||
.zanzhu-table{width: 100%; margin-top: 20px; /* border-color: #fff; */ font-size: 14px; text-align: left; color: #333;}
|
||||
.zanzhu-table th,.zanzhu-table td{padding: 5px 10px;}
|
||||
.zanzhu-table tr:nth-child(even){background: #F8F8F8;}
|
||||
.zanzhu-table .zanzhu-money{color: red;}
|
||||
.zanzhu-table .zanzhu-name a{text-decoration: none; color: #333;}
|
||||
.zanzhu-table .zanzhu-name a:hover{text-decoration: underline; color: blue;}
|
||||
/* 赞助排序盒子 */
|
||||
.zanzhu-sort-box{font-size: 14px; margin-top: -10px;}
|
||||
.zanzhu-sort-box .zanzhu-sort-btn{text-decoration: none; color: #999; cursor: pointer;}
|
||||
.zanzhu-sort-box .zanzhu-sort-btn:hover{text-decoration: underline; color: #55a;}
|
||||
.zanzhu-sort-box .zanzhu-sort-btn.zz-sort-native{text-decoration: underline; color: #55a;}
|
||||
/* 底部按钮盒子 */
|
||||
.zz-btn-box{text-align: center; margin-top: 20px; font-size: 14px;}
|
||||
.zz-btn-box button{padding: 5px 10px; cursor: pointer; border: 1px #ccc solid; color: #999;}
|
||||
.zz-btn-box button:hover{box-shadow: 0 0 10px #ddd;}
|
||||
|
||||
|
||||
|
||||
/* -------- 使用公司 --------- */
|
||||
.com-box-f{padding: 1em 1em; padding-bottom: 30px; text-align: center;}
|
||||
.com-box-f h2{font-size: 30px; color: #000; font-weight: 400;}
|
||||
@ -258,3 +278,10 @@ body{font-size: 16px; color: #34495E; font-family: "Source Sans Pro","Helvetica
|
||||
border-radius: 1px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ajax加载时的转圈圈样式 */
|
||||
.ajax-layer-load.layui-layer-dialog{min-width: 0px !important; background-color: rgba(0,0,0,0.85);}
|
||||
.ajax-layer-load.layui-layer-dialog .layui-layer-content{padding: 10px 20px 10px 40px; color: #FFF;}
|
||||
.ajax-layer-load.layui-layer-dialog .layui-layer-content .layui-layer-ico{width: 20px; height: 20px; background-size: 20px 20px; top: 12px; }
|
||||
|
183
sa-token-doc/static/index.js
Normal file
183
sa-token-doc/static/index.js
Normal file
@ -0,0 +1,183 @@
|
||||
|
||||
// --------------------- 工具方法 ---------------------
|
||||
|
||||
// 打开 loading
|
||||
loadingIcon = function(msg) {
|
||||
layer.closeAll(); // 开始前先把所有弹窗关了
|
||||
return layer.msg(msg, {icon: 16, shade: 0.3, time: 1000 * 20, skin: 'ajax-layer-load' });
|
||||
};
|
||||
|
||||
// 隐藏 loading
|
||||
hideLoadingIcon = function() {
|
||||
layer.closeAll();
|
||||
};
|
||||
|
||||
|
||||
// --------------------- 渲染赞助者名单 ---------------------
|
||||
|
||||
// 返回赞助者名单副本
|
||||
function getCopyDonateList() {
|
||||
var arr = [];
|
||||
for (var i = 0; i < donateList.length; i++) {
|
||||
var item = donateList[i];
|
||||
// 时间转时间戳,方便排序
|
||||
item.dateT = new Date(item.date).getTime();
|
||||
// 金额补 .0
|
||||
item.moneyS = item.money + '';
|
||||
if(item.moneyS.indexOf('.') == -1) {
|
||||
item.moneyS = item.moneyS + '.0';
|
||||
}
|
||||
arr.push(item);
|
||||
}
|
||||
return arr;
|
||||
}
|
||||
// 返回赞助者名单副本,根据日期倒叙排列
|
||||
function getCopyDonateListByDateSort() {
|
||||
var arr = getCopyDonateList();
|
||||
arr.sort(function(a, b){
|
||||
var value = b.dateT - a.dateT;
|
||||
if(value == 0) {
|
||||
value = -1;
|
||||
}
|
||||
return value;
|
||||
})
|
||||
return arr;
|
||||
}
|
||||
// 返回赞助者名单副本,根据赞助金额倒叙排列
|
||||
function getCopyDonateListByMoneySort() {
|
||||
var arr = getCopyDonateList();
|
||||
arr.sort(function(a, b){
|
||||
var value = b.money - a.money;
|
||||
if(value == 0) {
|
||||
value = b.dateT - a.dateT;
|
||||
}
|
||||
return value;
|
||||
})
|
||||
return arr;
|
||||
}
|
||||
console.log(getCopyDonateListByMoneySort());
|
||||
|
||||
|
||||
// 赞助配置
|
||||
var zzCfg = {
|
||||
curr: 1, // 当前页
|
||||
size: 15, // 页大小
|
||||
pageCount: 0, // 页总数
|
||||
dataCount: 0, // 数据总数
|
||||
sort: 1, // 排序方式(1=按照日期倒叙,2=按照金额倒叙)
|
||||
}
|
||||
|
||||
// 将赞助者名单渲染到页面上
|
||||
function renderDonateTable() {
|
||||
// 先清空旧数据
|
||||
$('.zanzhu-table tbody').empty();
|
||||
|
||||
// 拼接 tr 字符串
|
||||
var trArrStr = '';
|
||||
var arr = zzCfg.sort == 1 ? getCopyDonateListByDateSort() : getCopyDonateListByMoneySort();
|
||||
|
||||
// 按照页参数进行遍历
|
||||
let index = (zzCfg.curr - 1) * zzCfg.size; // 起始索引
|
||||
let end = index + zzCfg.size; // 结束索引
|
||||
if(end > arr.length) {
|
||||
end = arr.length;
|
||||
}
|
||||
zzCfg.pageCount = parseInt(arr.length / zzCfg.size); // 页总数
|
||||
if(arr.length % zzCfg.size != 0) {
|
||||
zzCfg.pageCount++;
|
||||
}
|
||||
zzCfg.dataCount = arr.length; // 数据总数
|
||||
|
||||
// 开始拼接字符串
|
||||
for (let i = index; i < end; i++) {
|
||||
// console.log(item);
|
||||
let item = arr[i];
|
||||
let name = item.name;
|
||||
if(item.link) {
|
||||
name = '<a href="' + item.link + '" target="_blank">' + name + '</a>'
|
||||
}
|
||||
var trStr = `
|
||||
<tr>
|
||||
<td class="zanzhu-name">${name}</td>
|
||||
<td class="zanzhu-money">¥ ${item.moneyS}</td>
|
||||
<td>${item.msg}</td>
|
||||
<td>${item.date}</td>
|
||||
</tr>
|
||||
`;
|
||||
trArrStr += trStr;
|
||||
}
|
||||
|
||||
// 渲染到 table 里
|
||||
$('.zanzhu-table tbody').html(trArrStr);
|
||||
|
||||
// 重置分页信息
|
||||
const pageInfo = `第 ${zzCfg.curr}/${zzCfg.pageCount} 页(共${zzCfg.dataCount}位)`;
|
||||
$('.zz-pageInfo').text(pageInfo);
|
||||
}
|
||||
// 带动画的渲染
|
||||
function renderDonateTable2() {
|
||||
// 模拟ajax的延时
|
||||
loadingIcon('努力加载中...');
|
||||
setTimeout(function() {
|
||||
hideLoadingIcon(); // 隐藏掉转圈圈
|
||||
renderDonateTable();
|
||||
}, 300);
|
||||
}
|
||||
renderDonateTable();
|
||||
|
||||
// 上一页
|
||||
function prevPageRDT(){
|
||||
if(zzCfg.curr <= 1) {
|
||||
return layer.msg('达咩,不能再往前了');
|
||||
}
|
||||
zzCfg.curr--;
|
||||
renderDonateTable2();
|
||||
}
|
||||
// 下一页
|
||||
function nextPageRDT(){
|
||||
if(zzCfg.curr >= zzCfg.pageCount) {
|
||||
return layer.msg('嘿,到底了');
|
||||
}
|
||||
zzCfg.curr++;
|
||||
renderDonateTable2();
|
||||
}
|
||||
|
||||
// 切换排序
|
||||
$('.zanzhu-sort-btn').click(function(){
|
||||
// 切换 class
|
||||
$('.zz-sort-native').removeClass('zz-sort-native');
|
||||
$(this).addClass('zz-sort-native');
|
||||
|
||||
// 切换数据
|
||||
zzCfg.curr = 1; // 重置为第1页
|
||||
zzCfg.sort = parseInt($(this).attr('sort-value'));
|
||||
renderDonateTable2();
|
||||
})
|
||||
|
||||
|
||||
// 读取 sa-token-donate 页数据为 json
|
||||
function readDataToJson() {
|
||||
var arr = [];
|
||||
var trList = $('.zanzhu-box table tbody tr');
|
||||
for (let tr of trList) {
|
||||
var tdArr = $(tr).find('td');
|
||||
var item = {
|
||||
name: $(tdArr[0]).text(),
|
||||
link: $(tdArr[0]).find('a').attr('href') || '',
|
||||
money: parseFloat($(tdArr[1]).text().replaceAll('¥', '')),
|
||||
msg: $(tdArr[2]).html(),
|
||||
date: $(tdArr[3]).text(),
|
||||
};
|
||||
arr.push(item);
|
||||
}
|
||||
return arr;
|
||||
}
|
||||
function readDataToJsonStr() {
|
||||
var arr = readDataToJson();
|
||||
var str = '';
|
||||
for (let item of arr) {
|
||||
str = JSON.stringify(item) + ',' + str;
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user