Skip to content

Latest commit

 

History

History
80 lines (59 loc) · 1.6 KB

contribute.md

File metadata and controls

80 lines (59 loc) · 1.6 KB
layout title permalink
page
参与
/contribute/

贡献度排行

松饼ID 贡献度



只要拥有松饼社区 ID, 就可以通过 Bug 反馈众包任务 获得「贡献度」。

贡献度大于 0 的 ID 会出现在 app 封面上。

注册松饼社区 ID

<script src="/js/teru.js"></script> <script src="/js/spin.min.js"></script> <script> var spinner = new Spinner(); function setSpin(value) { var loading = document.getElementById("loading"); if (value) { spinner.spin(); document.getElementById("spinner").appendChild(spinner.el); loading.style.display = "block"; } else { spinner.stop(); loading.style.display = "none"; } } function renderTable(sc) { var table = document.getElementById('c-points'); if (sc.Entries) { for (var i = 0; i < sc.Entries.length; i++) { var row1 = table.insertRow(i + 1); var row1col1 = row1.insertCell(0); row1col1.innerHTML = "" + (i + 1); var row1col2 = row1.insertCell(1); row1col2.innerHTML = sc.Entries[i].Username; var row1col3 = row1.insertCell(2); row1col3.align = "right"; row1col3.innerHTML = sc.Entries[i].CPoint; } } setSpin(false); } setSpin(true); teru.send("GET", "/account/c-points", "", renderTable); </script>