[go: nahoru, domu]

Skip to content

Commit

Permalink
优化文档
Browse files Browse the repository at this point in the history
  • Loading branch information
click33 committed May 6, 2024
1 parent 7384374 commit 1bbf127
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
31 changes: 31 additions & 0 deletions sa-token-doc/doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,5 +392,36 @@ <h1 class="logo-text">Sa-Token</h1>
}
</script>

<!-- 赞助效果图展示 -->
<script>
function showSyzz(){
layer.photos({
photos: {
title: '',
id: new Date().getTime(),
start: 0,
data: [
{
pid: 1,
alt: 'gitee 开源项目推广,日增 star 74',
src: 'https://oss.dev33.cn/sa-token/more/syzz-xg-1.png',
},
{
pid: 2,
alt: 'gitee 开源项目推广,日增 star 247',
src: 'https://oss.dev33.cn/sa-token/more/syzz-xg-2.png',
},
{
pid: 3,
alt: '某互联网公司线下活动,报名邀请',
src: 'https://oss.dev33.cn/sa-token/more/syzz-xg-3.png',
}
]
}
,anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
});
}
</script>

</body>
</html>
2 changes: 2 additions & 0 deletions sa-token-doc/more/sa-token-donate.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,5 @@ xxx 商品名称
- 1、目前不接受 Sa-Token 官网文档插入广告推广,只接受一次性商业赞助推广。
- 2、助力开源项目:如果您要推广的是一个开源项目,赞助金额可打五折,即:赞助 100 元即可。
- 3、如果你的开源项目集成了 Sa-Token,可以免费得到推广机会一次。**请大胆联系我们,不要害羞!**

<button class="syzz-show-btn" onclick="showSyzz()">部分推广效果截图(点击查看)</button>
2 changes: 2 additions & 0 deletions sa-token-doc/static/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ body {
.zz-btn-box button{padding: 5px 10px; cursor: pointer; border: 1px #ccc solid; color: #999; background-color: #FFF;}
.zz-btn-box button:hover{box-shadow: 0 0 10px #ddd;}

.syzz-show-btn{border: 1px #ccc solid; padding: 5px 10px; background-color: #FFF; color: #666; cursor: pointer;}
.syzz-show-btn:hover{box-shadow: 0 0 10px #ddd;}

/* ajax加载时的转圈圈样式 */
.ajax-layer-load.layui-layer-dialog{min-width: 0px !important; background-color: rgba(0,0,0,0.85);}
Expand Down

0 comments on commit 1bbf127

Please sign in to comment.