docs: 文档优化

This commit is contained in:
click33
2026-04-04 16:46:12 +08:00
parent b736f8a4f4
commit c30da2ceb9
2 changed files with 12 additions and 35 deletions

View File

@@ -200,13 +200,17 @@
</div>
<!-- 万维广告div -->
<div class="wwads-cn wwads-horizontal" data-id="88"
style="min-height: 0px; border: 1px #eee solid; margin-bottom: 12px;"></div>
<!-- <div class="wwads-cn wwads-horizontal" data-id="88"
style="min-height: 0px; border: 1px #eee solid; margin-bottom: 12px;"></div> -->
</div>
<!-- help 按钮 -->
<!-- <div class="help-btn">❤️ 技术求助</div> -->
<!-- 企业开发咨询服务 按钮 -->
<div class="help-btn">
<a href="https://sa-pro.yun94.cn/index-st.html?way=st_qyzx" target="_blank">
❤️ Sa-Token 企业开发咨询服务
</a>
</div>
<!-- ew-wa -->
<div class="ew-wa">
<p>
@@ -418,7 +422,7 @@
</script>
<!-- 万维广告 -->
<script data-mode="hash" type="text/javascript" src="https://cdn.wwads.cn/js/makemoney.js" async></script>
<!-- <script data-mode="hash" type="text/javascript" src="https://cdn.wwads.cn/js/makemoney.js" async></script> -->
<!-- 百度统计 -->
<script>
@@ -442,35 +446,6 @@
<!-- 小助手提示 -->
<script>
$('.help-btn').click(function() {
var str = `
<div class="xiaozhushou-intro">
<h2>报错了?搞不懂?别急、莫慌</h2>
<div style="margin-top: 20px; color: green;">
<p>👉 你的问题可能很多人都碰到过了!这有一份高频报错速查文档:<a href="doc.html#/more/common-questions" onclick="layer.closeAll()">常见问题排查</a></p>
<p>👉 几乎每个功能点都有对应的最简示例 Demo或许可以给你一份参考<a href="https://gitee.com/dromara/sa-token/tree/master/sa-token-demo" target="_blank" >sa-token-demo</a></p>
<p>👉 复杂功能玩不转?来看看这些优秀开源案例是怎么集成 Sa-Token 的:<a href="https://gitee.com/sa-tokens/awesome-sa-token" target="_blank" >awesome-sa-token</a></p>
</div>
<div style="margin-top: 20px; color: red;">上述方案没有解决你的问题?那你可以来“麻烦”一下我们的小助手了:</div>
<p>1、你在使用 Sa-Token 时遇到任何技术难题,可以向 < sa-token 小助手 > 求助咨询。</p>
<p>2、该小助手不属于商业运营求助咨询完全免费。</p>
<p>3、目前该小助手属于试运营阶段每天只能提供大约 1 小时的求助时间。</p>
<p>4、根据运营效果反馈我们日后可能会提高求助时间但也可能关闭此功能。</p>
<p>5、该小助手由企业微信提供平台支持感谢企业微信。</p>
<p>6、不是 AI 是真人,不是 AI 是真人,不是 AI 是真人,重说三!</p>
<p style="margin-top: 30px;">打开方式:</p>
<p>1、如果你是使用 PC 端微信,请点此链接:<a href="https://work.weixin.qq.com/kfid/kfcdd45c432fee9655f" target="_blank">https://work.weixin.qq.com/kfid/kfcdd45c432fee9655f</a></p>
<p>2、如果你是使用手机端微信请扫码</p>
<p><img src="/big-file/contact/sa-token-xiaozhushou.jpg" width="200px"></p>
<p>如果您的问题已解决,我们希望您能够花费一点时间将解决方案发布在:<a href="https://gitee.com/dromara/sa-token/issues/I9I9CY" target="_blank">踩坑记录征集</a>,帮助以后遇到同样问题的开发者快速排查,感激不尽!🌹🌹🌹</p>
</div>
`;
layer.alert(str, {
title: '技术求助',
area: '680px',
offset: '7%',
})
})
// setTimeout(function(){
// try{
// // 给个小提示

View File

@@ -484,7 +484,9 @@ body {
/* 帮助按钮 */
.help-btn{transition: all 0.5s; text-align: center; border: 1px #42b983 solid; background-color: rgba(255, 255, 255, 0.5); cursor: pointer; font-size: 13px; color: #42b983; line-height: 40px;}
.help-btn{transition: all 0.5s; text-align: center; background-color: rgba(255, 255, 255, 0.5); cursor: pointer; font-size: 13px; line-height: 40px;}
.help-btn{ margin-top: 20px; border: 1px #42b983 solid; color: green;}
.help-btn a{ text-decoration: none !important; color: inherit; height: 100%; width: 100%; display: inline-block; }
.help-btn:hover{box-shadow: 0 0 20px #D1EEE1 !important;}
.xiaozhushou-intro p{line-height: 14px;}