小程序介绍
小程序介绍和体验: https://licoy.cn/puock-mp.html
现活动期间,价格有很大优惠,另大家可以扫介绍里面的二维码进行体验,本小程序也可以独立使用,也可以搭配 Puock 开源主题 使用,搭配 Puock 开源主题 效果最好
抽奖
- 抽奖规则:即时起至 2023 年 01 月 08 日 14:00 点,根据回复的总楼层数浏览器端 Math.random ,如果大家有更好的方式可以评论贴出。
- 奖品:一个域名的 PuockMP 正版授权,包含一年更新服务(不可更换域名)。
- 抽奖代码:
(function(){
const replies = $("[id^=r_]");
const usernames = [];
$.each(replies, (_,el)=>{
const name = $(el).find("strong").text();
if(!usernames.includes(name)){
usernames.push(name)
}
})
const index = Math.floor(usernames.length * Math.random())
console.log("恭喜"+usernames[index]+"获得奖励!")
})()