init: sxbh.ltd 官网初始提交

- nginx 安全加固 (CSP, HSTS, 缓存策略)
- 共享 style.css
- 138个页面全部接入

Co-authored-by: Hermes AI <agent@hermes>
This commit is contained in:
Hermes CI Fix
2026-07-11 17:29:24 +08:00
co-authored by Hermes AI
commit e1a9b25afa
177 changed files with 21447 additions and 0 deletions
@@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>《论语》中让现代人受益的5条交往法则 - 博海视角</title>
<meta name="description" content="《论语》中让现代人受益的5条交往法则">
<style>
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background:#f8f9fa;color:#1a1a2e;line-height:1.8}
.article-container{max-width:800px;margin:0 auto;padding:20px}
.article-header{text-align:center;padding:60px 20px 40px;background:linear-gradient(135deg,#0f172a,#1e3a5f);color:#fff;border-radius:16px;margin-bottom:30px}
.article-header h1{font-size:28px;font-weight:700;line-height:1.4}
.article-header .meta{margin-top:12px;font-size:14px;color:rgba(255,255,255,.5)}
.article-body{background:#fff;border-radius:16px;padding:40px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.article-body img{max-width:100%;height:auto;border-radius:8px;margin:20px 0}
.article-body h2{font-size:22px;margin:30px 0 15px;color:#1a1a2e}
.article-body h3{font-size:18px;margin:20px 0 10px;color:#2d3748}
.article-body p{margin:12px 0;text-indent:2em}
.article-body blockquote p{text-indent:0}
.article-body hr + p{text-indent:0}
.article-body blockquote{border-left:4px solid #06b6d4;padding:10px 20px;margin:15px 0;background:#f0fdfe;border-radius:0 8px 8px 0}
.article-body code{background:#f1f5f9;padding:2px 6px;border-radius:4px;font-size:14px}
.article-body pre{background:#1e293b;color:#e2e8f0;padding:16px;border-radius:8px;overflow-x:auto}
.article-body table{width:100%;border-collapse:collapse;margin:15px 0}
.article-body td,.article-body th{border:1px solid #e2e8f0;padding:8px 12px;text-align:left}
.article-body th{background:#f8fafc;font-weight:600}
.back-link{display:inline-flex;align-items:center;gap:6px;padding:10px 20px;background:#06b6d4;color:#fff;text-decoration:none;border-radius:8px;font-weight:500;font-size:14px;transition:background .2s}
.back-link:hover{background:#0891b2}
.article-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:30px;padding:20px 0;border-top:1px solid #e2e8f0}
.share-bar{display:flex;align-items:center;gap:8px}
.share-bar .share-btn{display:inline-flex;align-items:center;gap:5px;padding:8px 16px;border:none;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none}
.share-btn.web-share{background:#06b6d4;color:#fff}
.share-btn.web-share:hover{background:#0891b2}
.share-btn.copy-link{background:#f1f5f9;color:#1a1a2e}
.share-btn.copy-link:hover{background:#e2e8f0}
.share-btn.qr-code{background:#f1f5f9;color:#1a1a2e}
.share-btn.qr-code:hover{background:#e2e8f0}
.share-toast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);background:#1a1a2e;color:#fff;padding:10px 24px;border-radius:8px;font-size:14px;opacity:0;transition:opacity .3s;pointer-events:none;z-index:999}
.share-toast.show{opacity:1}
.qr-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1000;align-items:center;justify-content:center}
.qr-modal.show{display:flex}
.qr-modal-content{background:#fff;border-radius:16px;padding:30px;text-align:center;max-width:320px}
.qr-modal-content img{width:200px;height:200px;border-radius:8px}
.qr-modal-content .qr-close{margin-top:16px;padding:8px 24px;border:none;border-radius:6px;background:#f1f5f9;cursor:pointer;font-size:14px}
@media(max-width:640px){.article-container{padding:10px}.article-header{padding:30px 15px}.article-header h1{font-size:22px}.article-body{padding:20px}}
</style>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<div class="article-container">
<div class="article-header">
<h1>《论语》中让现代人受益的5条交往法则</h1>
<div class="meta">2026-07-01</div>
</div>
<div class="article-body">
<h1 class="toc-header" id="论语中让现代人受益的5条交往法则"><a href="#论语中让现代人受益的5条交往法则" class="toc-anchor"></a> 《论语》中让现代人受益的5条交往法则</h1>
<blockquote>
<p>发布日期: 2026-06-20 08:57<br>
来源: 品宣BOT · 一切皆如</p>
</blockquote>
<hr>
<p>《论语》中让现代人受益的5条交往法则</p>
<p>咱们先聊句实话:现代人最累的,不是加班,不是房贷,是“和人打交道”。30岁到50岁,上有领导,下有同事,外有客户,内有家人,每天在不同角色里切换。很多人累在明明心里不痛快,还得笑脸相迎;明明想拒绝,还得硬着头皮答应。其实,两千多年前的《论语》早把人际交往的智慧说透了。今天聊聊五条最接地气的法则,拿来就能用。</p>
<p>第一条:己所不欲,勿施于人。这句话耳熟能详,但真正做到的人少。意思是,你自己不愿被对待的方式,别对别人用。比如,你讨厌被背后议论,就别议论别人;反感被突然点名批评,就别这样对下属。很多职场矛盾源于“双标”。你加班希望领导理解,但任务没完成却埋怨他苛刻,这就是“己所不欲,却施于人”。孔子不是教当圣人,而是让你换位思考。你让别人舒服,别人才让你舒服。下回争执前,问自己:“如果我是他,我会怎么想?”火气瞬间消了。</p>
<p>第二条:君子和而不同,小人同而不和。这八个字是处理关系的大智慧。“和而不同”是保持友好,但允许不同看法。你和朋友吃饭聊天,他投资保守,你激进,不影响友谊。“同而不和”是表面和气,背地使绊子。职场上最怕这种“老好人”,开会不说,会后抱怨。孔子说,真正成熟是容忍差异。同事风格不同,别急着否定,先看有无道理。你能容纳多少不同的人,圈子就有多宽。</p>
<p>第三条:不患人之不己知,患不知人也。适合“内卷”时代。很多人焦虑,是因太在意别人看法:领导怎么评价?同事觉得我差?客户不信任?孔子说,别总担心别人不了解你,该担心你不了解别人。与其琢磨自己印象,不如观察对方需求。领导催进度,因他也有压力;客户改方案,因他怕担责。把注意力从“我怎么表现”转到“他需要什么”,焦虑减半,效率翻倍。下回沟通,先问“您最急的是什么”,而不是急着展示自己。</p>
<p>第四条:躬自厚而薄责于人,则远怨矣。这是处理冲突的黄金法则。对自己要求严,对别人责备轻,远离怨恨。普通人易“严于律人,宽于待己”。项目出问题,先找别人毛病;夫妻吵架,总觉得对方不讲理。孔子说,先问自己:我有没有做得不够?哪怕10%责任,主动认了,对方气消大半。我体会深,以前带团队,下属出错我火冒三丈。后来改问:“我提醒到位了吗?”对方反而更愿认错。责人先责己,不是示弱,是高手。</p>
<p>第五条:道不同不相为谋。不是排斥异己,而是教做减法。人到中年,时间最贵。不需和所有人成朋友,也不需说服所有人。价值观、做事方式不同,保持距离,客客气气,别争对错。比如,身边有占小便宜、说闲话的同事,讲道理没用,越较真越来劲。最好“不相为谋”——工作配合,私下保持距离,不深交、不结仇。孔子提醒:精力有限,留给值得的人。花时间跟三观不合的人纠缠,不如回家陪孩子读书。</p>
<p>这五条法则,核心是尊重别人,也尊重自己。尊重不同,不强人所难;尊重自己时间和精力,不在烂人烂事上消耗。现代人活得累,往往不是事多,而是心里装了太多不该装的人和事。两千多年前的智慧,现在看依然管用。</p>
<p>你觉得呢?哪一条对你启发最大?评论区聊聊。</p>
<hr>
<p><em>本文由博海品宣BOT自动生成,同步至博海视角</em></p>
</div>
<div class="article-footer">
<a href="/perspective/" class="back-link">← 返回博海视角</a>
<div class="share-bar">
<button class="share-btn web-share" onclick="shareWeb()">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"/><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"/></svg>
分享
</button>
<button class="share-btn copy-link" onclick="copyLink()">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>
复制链接
</button>
<button class="share-btn qr-code" onclick="showQR()">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/><line x1="3" y1="14" x2="7" y2="14"/></svg>
二维码
</button>
</div>
</div>
</div>
<div id="shareToast" class="share-toast"></div>
<div id="qrModal" class="qr-modal" onclick="this.classList.remove('show')">
<div class="qr-modal-content" onclick="event.stopPropagation()">
<img id="qrImg" src="" alt="二维码">
<p style="margin:12px 0 0;font-size:13px;color:#64748b">扫码分享到微信</p>
<button class="qr-close" onclick="document.getElementById('qrModal').classList.remove('show')">关闭</button>
</div>
</div>
<script>
function shareWeb(){if(navigator.share){navigator.share({title:document.title,url:window.location.href}).catch(function(e){})}else{alert('请使用手机浏览器或复制链接分享')}}
function copyLink(){var i=document.createElement('input');i.value=window.location.href;document.body.appendChild(i);i.select();document.execCommand('copy');document.body.removeChild(i);var t=document.getElementById('shareToast');t.textContent='✅ 链接已复制';t.classList.add('show');setTimeout(function(){t.classList.remove('show')},2000)}
function showQR(){var m=document.getElementById('qrModal');var img=document.getElementById('qrImg');img.src='https://api.qrserver.com/v1/create-qr-code/?size=200x200&data='+encodeURIComponent(window.location.href);m.classList.add('show')}
</script>
</body></html>