2074.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. <!DOCTYPE html>
  2. <html lang="en" data-default-color-scheme=auto>
  3. <head><!-- hexo injector head_begin start -->
  4. <script async src="https://analytics.umami.is/script.js" data-website-id="e59ec28a-c9a7-4104-9e62-a9f7eb3fac0b"></script>
  5. <!-- hexo injector head_begin end -->
  6. <meta charset="UTF-8">
  7. <link rel="apple-touch-icon" sizes="76x76" href="https://img.limour.top/2023/08/29/64ee07361815a.webp">
  8. <link rel="icon" href="https://img.limour.top/2023/08/29/64ee07361815a.webp">
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
  10. <meta http-equiv="x-ua-compatible" content="ie=edge">
  11. <meta name="theme-color" content="#2f4154">
  12. <meta name="author" content="Limour">
  13. <meta name="keywords" content="">
  14. <meta name="description" content="癫痫是一种突然发生的、阵发性、短暂性、反复发作的大脑功能障碍,发作时常伴有脑电的异常。惊厥是中枢神经系统过度兴奋的一种症状,表现为突发性的全身性或局限性肌群强直性或阵挛性抽搐。常用的抗惊厥药物包括巴比妥类、苯二氮䓬类中的部分药物、水合氯醛及硫酸镁。 癫痫小发作,首选乙琥胺,抑T钙通道局限发作大发作,卡马西平加二苯皮质激素肌阵挛,持续状态用安定慢加剂量停药渐,坚持用药防骤停苯妥英钠大仑丁,小无效,三">
  15. <meta property="og:type" content="article">
  16. <meta property="og:title" content="药理四:中枢神经系统药物之抗癫痫和抗惊厥">
  17. <meta property="og:url" content="https://b.limour.top/2074.html">
  18. <meta property="og:site_name" content="Limour&#39;s Blog">
  19. <meta property="og:description" content="癫痫是一种突然发生的、阵发性、短暂性、反复发作的大脑功能障碍,发作时常伴有脑电的异常。惊厥是中枢神经系统过度兴奋的一种症状,表现为突发性的全身性或局限性肌群强直性或阵挛性抽搐。常用的抗惊厥药物包括巴比妥类、苯二氮䓬类中的部分药物、水合氯醛及硫酸镁。 癫痫小发作,首选乙琥胺,抑T钙通道局限发作大发作,卡马西平加二苯皮质激素肌阵挛,持续状态用安定慢加剂量停药渐,坚持用药防骤停苯妥英钠大仑丁,小无效,三">
  20. <meta property="og:locale" content="en_US">
  21. <meta property="article:published_time" content="2022-10-29T23:47:40.000Z">
  22. <meta property="article:modified_time" content="2023-09-01T13:32:01.141Z">
  23. <meta property="article:author" content="Limour">
  24. <meta name="twitter:card" content="summary_large_image">
  25. <title>药理四:中枢神经系统药物之抗癫痫和抗惊厥 - Limour&#39;s Blog</title>
  26. <link rel="stylesheet" href="https://jscdn.limour.top/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" />
  27. <link rel="stylesheet" href="https://jscdn.limour.top/npm/github-markdown-css@4.0.0/github-markdown.min.css" />
  28. <link rel="stylesheet" href="https://jscdn.limour.top/npm/hint.css@2.7.0/hint.min.css" />
  29. <link rel="stylesheet" href="https://lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.css" />
  30. <!-- 主题依赖的图标库,不要自行修改 -->
  31. <!-- Do not modify the link that theme dependent icons -->
  32. <link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css">
  33. <link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">
  34. <link rel="stylesheet" href="/css/main.css" />
  35. <link id="highlight-css" rel="stylesheet" href="/css/highlight.css" />
  36. <link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css" />
  37. <link rel="stylesheet" href="/theme-inject/custom.css">
  38. <script id="fluid-configs">
  39. var Fluid = window.Fluid || {};
  40. Fluid.ctx = Object.assign({}, Fluid.ctx)
  41. var CONFIG = {"hostname":"b.limour.top","root":"/","version":"1.9.5-a","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":"§"},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"right","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"https://jscdn.limour.top/gh/Limour-dev/Sakurairo_Vision/load_svg/inload.svg","onlypost":false,"offset_factor":2},"web_analytics":{"enable":false,"follow_dnt":true,"baidu":null,"google":{"measurement_id":null},"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null,"path":"window.location.pathname","ignore_local":false}},"search_path":"/local-search.xml","include_content_in_search":true};
  42. if (CONFIG.web_analytics.follow_dnt) {
  43. var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
  44. Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
  45. }
  46. </script>
  47. <script src="/js/utils.js" ></script>
  48. <script src="/js/color-schema.js" ></script>
  49. <meta name="generator" content="Hexo 6.3.0"></head>
  50. <body>
  51. <header>
  52. <div class="header-inner" style="height: 70vh;">
  53. <nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
  54. <div class="container">
  55. <a class="navbar-brand" href="/">
  56. <strong>Limour&#39;s Blog</strong>
  57. </a>
  58. <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
  59. data-target="#navbarSupportedContent"
  60. aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  61. <div class="animated-icon"><span></span><span></span><span></span></div>
  62. </button>
  63. <!-- Collapsible content -->
  64. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  65. <ul class="navbar-nav ml-auto text-center">
  66. <li class="nav-item">
  67. <a class="nav-link" href="/">
  68. <i class="iconfont icon-home-fill"></i>
  69. <span>Home</span>
  70. </a>
  71. </li>
  72. <li class="nav-item">
  73. <a class="nav-link" href="/archives/">
  74. <i class="iconfont icon-archive-fill"></i>
  75. <span>Archives</span>
  76. </a>
  77. </li>
  78. <li class="nav-item" id="search-btn">
  79. <a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
  80. <i class="iconfont icon-search"></i>
  81. </a>
  82. </li>
  83. <li class="nav-item" id="color-toggle-btn">
  84. <a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">
  85. <i class="iconfont icon-dark" id="color-toggle-icon"></i>
  86. </a>
  87. </li>
  88. </ul>
  89. </div>
  90. </div>
  91. </nav>
  92. <div id="banner" class="banner" parallax=true
  93. style="background: url('https://img.limour.top/2023/08/29/64ee08e108638.webp') no-repeat center center; background-size: cover;">
  94. <div class="full-bg-img">
  95. <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
  96. <div class="banner-text text-center fade-in-up">
  97. <div class="h2">
  98. <span id="subtitle" data-typed-text="药理四:中枢神经系统药物之抗癫痫和抗惊厥"></span>
  99. </div>
  100. <div class="mt-3">
  101. <span class="post-meta">
  102. <i class="iconfont icon-date-fill" aria-hidden="true"></i>
  103. <time datetime="2022-10-30 07:47" pubdate>
  104. October 30, 2022 am
  105. </time>
  106. </span>
  107. </div>
  108. <div class="mt-1">
  109. <span class="post-meta mr-2">
  110. <i class="iconfont icon-chart"></i>
  111. 2.4k words
  112. </span>
  113. <span class="post-meta mr-2">
  114. <i class="iconfont icon-clock-fill"></i>
  115. 20 mins
  116. </span>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. </header>
  124. <main>
  125. <div class="container-fluid nopadding-x">
  126. <div class="row nomargin-x">
  127. <div class="side-col d-none d-lg-block col-lg-2">
  128. </div>
  129. <div class="col-lg-8 nopadding-x-md">
  130. <div class="container nopadding-x-md" id="board-ctn">
  131. <div id="board">
  132. <article class="post-content mx-auto">
  133. <h1 id="seo-header">药理四:中枢神经系统药物之抗癫痫和抗惊厥</h1>
  134. <div class="markdown-body">
  135. <p>癫痫是一种突然发生的、阵发性、短暂性、反复发作的大脑功能障碍,发作时常伴有脑电的异常。惊厥是中枢神经系统过度兴奋的一种症状,表现为突发性的全身性或局限性肌群强直性或阵挛性抽搐。常用的抗惊厥药物包括巴比妥类、苯二氮䓬类中的部分药物、水合氯醛及硫酸镁。</p>
  136. <p>癫痫小发作,首选乙琥胺,抑T钙通道<br>局限发作大发作,卡马西平加二苯<br>皮质激素肌阵挛,持续状态用安定<br>慢加剂量停药渐,坚持用药防骤停<br>苯妥英钠<br>大仑丁,小无效,三坐舌咽室性常<br>膜稳定,阻钠钙,口慢不肌静脉给,小十一级大零级<br>碱刺激,齿龈增,低钙贫血男女症,补D补钙补叶酸<br>卡马西平<br>单局性,三舌咽,锂盐无效躁狂症<br>阻滞钠,升GABA,骨髓抑制肝损伤<br>丙戊酸钠<br>大小并,顽固性,GABA生成代谢少<br>抑制钠T钙通道,广谱抗癫痫病药<br>硫酸镁<br>效用主要看途径,泻下利胆用口服<br>消炎去肿外热敷,注射用药抑中枢<br>高压危象急救用,子痫抽搐破伤风 </p>
  137. <h2 id="乙琥胺"><a href="#乙琥胺" class="headerlink" title="乙琥胺"></a>乙琥胺</h2><p>口服吸收完全,血浆蛋白结合率低,儿童半衰期30小时,成人半衰期40~50小时</p>
  138. <p>抑制丘脑T型钙通道,抑制3Hz异常放电,高浓度可抑制钠钾泵和GABA转氨酶</p>
  139. <p>治疗小发作的首选药(对其他类型无效),抗戊四氮引起的阵挛性惊厥,提高电惊厥阈值</p>
  140. <p>毒性低,但可引起肠胃道反应、中枢神经系统症状(精神病患者慎用)</p>
  141. <p>偶见粒细胞缺乏症,严重者发生再生障碍性贫血。</p>
  142. <h2 id="苯妥英钠(大仑丁)"><a href="#苯妥英钠(大仑丁)" class="headerlink" title="苯妥英钠(大仑丁)"></a>苯妥英钠(大仑丁)</h2><p>口服吸收不规则,起效慢,不宜作肌内注射。静脉注射用于治疗癫痫的持续状态。药物消除速率与血药浓度密切相关,<10μg&#x2F;mg按一级动力学消除,半衰期为20小时;大于10μg&#x2F;mg按零级动力学消除,半衰期>60小时。有条件监测血药浓度,调整剂量。</p>
  143. <p>具有膜稳定作用,阻止病灶放电向正常组织扩散,主要通过:阻断电压依赖性Na+通道,阻断电压依赖性Ca2+通道,影响钙调素激酶系统。</p>
  144. <p>抗癫痫 抗大发作、局限性发作首选,但对小发作无效,甚至会增加发作次数</p>
  145. <p>治疗中枢性疼痛综合征及外周神经痛:三叉神经、坐骨神经、舌咽神经痛</p>
  146. <p>抗心律失常 室性,特别是强心苷中毒</p>
  147. <p>局部刺激、齿龈增生</p>
  148. <p>神经系统反应 20 共济失调,40 精神错乱, 50 昏迷</p>
  149. <p>血液系统反应 巨幼红细胞性贫血</p>
  150. <p>骨骼系统反应 低钙血症</p>
  151. <p>过敏反应</p>
  152. <p>其他反应 男性乳房增大、女性多毛症、淋巴结肿大、致畸,久用突然停药可致癫痫发作加剧</p>
  153. <p>药物相互作用 肝药酶诱导剂、血浆蛋白</p>
  154. <h2 id="卡马西平(酰胺咪嗪)"><a href="#卡马西平(酰胺咪嗪)" class="headerlink" title="卡马西平(酰胺咪嗪)"></a>卡马西平(酰胺咪嗪)</h2><p>口服吸收缓慢、不规则,血浆蛋白质结合率为75%<del>80%,单次给药半衰期为15</del>20小时。</p>
  155. <p>与苯妥英钠相似,治疗浓度阻滞Na+通道,阻止放电扩散,并可提高脑内GABA浓度,增强其中枢抑制作用。</p>
  156. <p>抗癫痫 为有效的广谱抗癫痫药,治疗单纯性局限性发作和大发作的首选之一,还可抗复合性局限性发作和小发作</p>
  157. <p>对中枢性疼痛(三叉、舌咽)的疗效优于苯妥英钠</p>
  158. <p>对锂盐无效的躁狂症有效</p>
  159. <p>常见眩晕、视物模糊、恶心、呕吐、共济失调、手指震颤、水钠潴留等不良反应</p>
  160. <p>严重不良反应有骨髓抑制、过敏反应(肝损伤)、心律失常等</p>
  161. <p>药物相互作用 肝药酶诱导剂</p>
  162. <h2 id="苯巴比妥(鲁米那)"><a href="#苯巴比妥(鲁米那)" class="headerlink" title="苯巴比妥(鲁米那)"></a>苯巴比妥(鲁米那)</h2><p>既能抑制病灶的异常放电又能阻止放电扩散,主要通过:促进GABA与GABAA受体结合,延长Cl-通道开放时间,产生中枢抑制作用;阻断突触前膜Ca2+摄取,减少Ca2+依赖性神经递质的释放;较高浓度可阻断Na+和Ca2+通道。</p>
  163. <p>可用于癫痫的大发作和持续状态,对单纯的局限性发作和精神运动性发作也有效,但对小发作效果差</p>
  164. <p>中枢抑制作用强,不作为长期维持用药</p>
  165. <p>用药初期易出现嗜睡、精神萎靡</p>
  166. <p>长期使用产生耐受性</p>
  167. <p>药物相互作用 肝药酶诱导剂</p>
  168. <p>药物相互作用 肝药酶诱导剂</p>
  169. <h2 id="扑米酮(去氧苯巴比妥)"><a href="#扑米酮(去氧苯巴比妥)" class="headerlink" title="扑米酮(去氧苯巴比妥)"></a>扑米酮(去氧苯巴比妥)</h2><p>体内代谢为苯巴比妥和苯乙基丙二酰胺</p>
  170. <p>对部分性发作和大发作疗效好(不能耐受二苯的大发作),对小发作无效</p>
  171. <p>常见的不良反应包括中枢症状和血液系统毒性</p>
  172. <h2 id="丙戊酸钠"><a href="#丙戊酸钠" class="headerlink" title="丙戊酸钠"></a>丙戊酸钠</h2><p>口服吸收完全迅速,血浆蛋白质结合率高,半衰期约为15小时</p>
  173. <p>阻止放电扩散,使GABA生成增加、代谢减少,增加GABA能神经突触后抑制作用,抑制Na+通道和T型Ca2+通道,抑制3Hz异常放电</p>
  174. <p>广谱抗癫痫药,尤其对小发作效果好,但有肝毒性,不作为小发作的首选药</p>
  175. <p>是大发作合并小发作时的首选药,对其他药物不能控制的顽固性癫痫也有效</p>
  176. <p>消化系统症状 恶心、呕吐、腹痛等</p>
  177. <p>肝毒性</p>
  178. <p>偶见皮疹、脱发、血小板减少及聚集障碍</p>
  179. <h2 id="苯二氮䓬类"><a href="#苯二氮䓬类" class="headerlink" title="苯二氮䓬类"></a>苯二氮䓬类</h2><p>可以阻止放电扩散,但不能消除病灶的异常放电</p>
  180. <p>地西泮首选用于癫痫持续状态,静脉注射起效快,但需要注意其对呼吸的抑制作用</p>
  181. <p>硝西泮主要用于癫痫的小发作,肌阵挛性发作、婴儿痉挛</p>
  182. <p>氯硝西泮抗癫痫谱广,但易耐受,久用突然停药会加剧癫痫发作</p>
  183. <h2 id="氟桂利嗪"><a href="#氟桂利嗪" class="headerlink" title="氟桂利嗪"></a>氟桂利嗪</h2><p>口服易吸收,半衰期19~22天,血浆蛋白质结合率高(99%)</p>
  184. <p>可以阻断T型和L型Ca2+通道及电压依赖性Na+通道</p>
  185. <p>对局限性发作、大发作效果好</p>
  186. <p>常见不良反应是困倦、体重增加。</p>
  187. <h2 id="拉莫三嗪"><a href="#拉莫三嗪" class="headerlink" title="拉莫三嗪"></a>拉莫三嗪</h2><p>口服吸收完全,生物利用度98%,血浆蛋白质结合率55%,半衰期12.6小时</p>
  188. <p>阻断电压依赖性Na+通道,阻止病灶的异常放电</p>
  189. <p>多与其他抗癫痫药合用,治疗难治性癫痫</p>
  190. <p>中枢系统反应 头痛、头晕、嗜睡、视物模糊、复视、共济失调</p>
  191. <p>胃肠道反应 恶性、呕吐、便秘</p>
  192. <p>偶见皮肤水肿及弥散性血管内凝血</p>
  193. <h2 id="托吡酯"><a href="#托吡酯" class="headerlink" title="托吡酯"></a>托吡酯</h2><p>可以阻断电压依赖性Na+通道,增强GABA活性,并抑制谷氨酸介导的兴奋作用</p>
  194. <p>主要用于局限性发作和大发作,特别是辅助治疗难治性癫痫</p>
  195. <p>常见的不良反应是中枢系统反应,孕妇慎用</p>
  196. <h2 id="硫酸镁"><a href="#硫酸镁" class="headerlink" title="硫酸镁"></a>硫酸镁</h2><p>不同给药途径产生不同的药理作用,口服泻下和利胆作用,外用热敷消炎去肿,注射产生全身作用</p>
  197. <p>可能是由于Mg2+可以特异性地与Ca2+竞争Ca2+受体,拮抗Ca2+作用,从而发挥肌松及降压作用,而Mg2+作用于中枢神经系统,则引起感觉及意识丧失。</p>
  198. <p>主要用于子痫、破伤风等惊厥,也常用于高血压危象。</p>
  199. <p>注射给药的安全范围窄,血镁过高会引发呼吸抑制、血压骤降和心搏骤停</p>
  200. <p>肌腱反射消失是呼吸抑制的先兆,连续注射需监测</p>
  201. <p>急性中毒时应立即进行人工呼吸,注射氯化钙和葡萄糖酸钙解毒</p>
  202. </div>
  203. <hr/>
  204. <div>
  205. <div class="post-metas my-3">
  206. <div class="post-meta mr-3 d-flex align-items-center">
  207. <i class="iconfont icon-category"></i>
  208. <span class="category-chains">
  209. <span class="category-chain">
  210. <a href="/categories/uncategorized/" class="category-chain-item">uncategorized</a>
  211. </span>
  212. </span>
  213. </div>
  214. </div>
  215. <div class="license-box my-3">
  216. <div class="license-title">
  217. <div>药理四:中枢神经系统药物之抗癫痫和抗惊厥</div>
  218. <div>https://b.limour.top/2074.html</div>
  219. </div>
  220. <div class="license-meta">
  221. <div class="license-meta-item">
  222. <div>Author</div>
  223. <div>Limour</div>
  224. </div>
  225. <div class="license-meta-item license-meta-date">
  226. <div>Posted on</div>
  227. <div>October 30, 2022</div>
  228. </div>
  229. <div class="license-meta-item">
  230. <div>Licensed under</div>
  231. <div>
  232. <a class="print-no-link" target="_blank" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
  233. <span class="hint--top hint--rounded" aria-label="BY - Attribution">
  234. <i class="iconfont icon-by"></i>
  235. </span>
  236. </a>
  237. <a class="print-no-link" target="_blank" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
  238. <span class="hint--top hint--rounded" aria-label="NC - Non-commercial">
  239. <i class="iconfont icon-nc"></i>
  240. </span>
  241. </a>
  242. <a class="print-no-link" target="_blank" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
  243. <span class="hint--top hint--rounded" aria-label="SA - Share-alike">
  244. <i class="iconfont icon-sa"></i>
  245. </span>
  246. </a>
  247. </div>
  248. </div>
  249. </div>
  250. <div class="license-icon iconfont"></div>
  251. </div>
  252. <div class="post-prevnext my-3">
  253. <article class="post-prev col-6">
  254. <a href="/2075.html" title="药理五:中枢神经系统药物之治疗退行疾病">
  255. <i class="iconfont icon-arrowleft"></i>
  256. <span class="hidden-mobile">药理五:中枢神经系统药物之治疗退行疾病</span>
  257. <span class="visible-mobile">Previous</span>
  258. </a>
  259. </article>
  260. <article class="post-next col-6">
  261. <a href="/2073.html" title="药理三:中枢神经系统药物之镇静催眠">
  262. <span class="hidden-mobile">药理三:中枢神经系统药物之镇静催眠</span>
  263. <span class="visible-mobile">Next</span>
  264. <i class="iconfont icon-arrowright"></i>
  265. </a>
  266. </article>
  267. </div>
  268. </div>
  269. <article id="comments" lazyload>
  270. <div id="waline"></div>
  271. <script type="text/javascript">
  272. Fluid.utils.loadComments('#waline', function() {
  273. Fluid.utils.createCssLink('https://cdn.staticfile.org/waline/2.15.5/waline.min.css')
  274. Fluid.utils.createScript('https://cdn.staticfile.org/waline/2.15.5/waline.min.js', function() {
  275. var options = Object.assign(
  276. {"serverURL":"https://comments.limour.top","path":"window.location.pathname","meta":["nick","mail","link"],"requiredMeta":["nick"],"lang":"zh-CN","emoji":["https://jscdn.limour.top/gh/walinejs/emojis/weibo"],"dark":"html[data-user-color-scheme=\"dark\"]","wordLimit":0,"pageSize":10},
  277. {
  278. el: '#waline',
  279. path: window.location.pathname
  280. }
  281. )
  282. Waline.init(options);
  283. Fluid.utils.waitElementVisible('#waline .vcontent', () => {
  284. var imgSelector = '#waline .vcontent img:not(.vemoji)';
  285. Fluid.plugins.imageCaption(imgSelector);
  286. Fluid.plugins.fancyBox(imgSelector);
  287. })
  288. });
  289. });
  290. </script>
  291. <noscript>Please enable JavaScript to view the comments</noscript>
  292. </article>
  293. </article>
  294. </div>
  295. </div>
  296. </div>
  297. <div class="side-col d-none d-lg-block col-lg-2">
  298. <aside class="sidebar" style="margin-left: -1rem">
  299. <div id="toc">
  300. <p class="toc-header">
  301. <i class="iconfont icon-list"></i>
  302. <span>Table of Contents</span>
  303. </p>
  304. <div class="toc-body" id="toc-body"></div>
  305. </div>
  306. </aside>
  307. </div>
  308. </div>
  309. </div>
  310. <a id="scroll-top-button" aria-label="TOP" href="#" role="button">
  311. <i class="iconfont icon-arrowup" aria-hidden="true"></i>
  312. </a>
  313. <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
  314. aria-hidden="true">
  315. <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
  316. <div class="modal-content">
  317. <div class="modal-header text-center">
  318. <h4 class="modal-title w-100 font-weight-bold">Search</h4>
  319. <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
  320. <span aria-hidden="true">&times;</span>
  321. </button>
  322. </div>
  323. <div class="modal-body mx-3">
  324. <div class="md-form mb-5">
  325. <input type="text" id="local-search-input" class="form-control validate">
  326. <label data-error="x" data-success="v" for="local-search-input">Keyword</label>
  327. </div>
  328. <div class="list-group" id="local-search-result"></div>
  329. </div>
  330. </div>
  331. </div>
  332. </div>
  333. </main>
  334. <footer>
  335. <div class="footer-inner">
  336. <div class="footer-content">
  337. <a target="_blank" rel="nofollow noopener" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43130202000203"><img src="https://img.limour.top/2023/08/27/64eadeb81d6a0.webp" srcset="https://jscdn.limour.top/gh/Limour-dev/Sakurairo_Vision/load_svg/inload.svg" lazyload>湘公网安备 43130202000203号 </a> <a target="_blank" rel="nofollow noopener" href="https://beian.miit.gov.cn/">湘ICP备20008299号 </a> <a target="_blank" rel="nofollow noopener" href="https://icp.gov.moe/?keyword=20210128">萌ICP备20210128号</a> <br> <a href="https://www.foreverblog.cn/" target="_blank"> <img src="https://img.foreverblog.cn/logo_en_default.png" srcset="https://jscdn.limour.top/gh/Limour-dev/Sakurairo_Vision/load_svg/inload.svg" lazyload alt="" style="width:auto;height:24px"> </a> <br> <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/limour-blog/archives-b" target="_blank" rel="nofollow noopener"><span>SRC</span></a>
  338. </div>
  339. </div>
  340. </footer>
  341. <!-- Scripts -->
  342. <script src="https://jscdn.limour.top/npm/nprogress@0.2.0/nprogress.min.js" ></script>
  343. <link rel="stylesheet" href="https://jscdn.limour.top/npm/nprogress@0.2.0/nprogress.min.css" />
  344. <script>
  345. NProgress.configure({"showSpinner":false,"trickleSpeed":100})
  346. NProgress.start()
  347. window.addEventListener('load', function() {
  348. NProgress.done();
  349. })
  350. </script>
  351. <script src="https://jscdn.limour.top/npm/jquery@3.6.4/dist/jquery.min.js" ></script>
  352. <script src="https://jscdn.limour.top/npm/bootstrap@4.6.1/dist/js/bootstrap.min.js" ></script>
  353. <script src="/js/events.js" ></script>
  354. <script src="/js/plugins.js" ></script>
  355. <script src="https://lib.baomitu.com/typed.js/2.0.12/typed.min.js" ></script>
  356. <script>
  357. (function (window, document) {
  358. var typing = Fluid.plugins.typing;
  359. var subtitle = document.getElementById('subtitle');
  360. if (!subtitle || !typing) {
  361. return;
  362. }
  363. var text = subtitle.getAttribute('data-typed-text');
  364. typing(text);
  365. })(window, document);
  366. </script>
  367. <script src="/js/img-lazyload.js" ></script>
  368. <script>
  369. Fluid.utils.createScript('https://jscdn.limour.top/npm/tocbot@4.20.1/dist/tocbot.min.js', function() {
  370. var toc = jQuery('#toc');
  371. if (toc.length === 0 || !window.tocbot) { return; }
  372. var boardCtn = jQuery('#board-ctn');
  373. var boardTop = boardCtn.offset().top;
  374. window.tocbot.init(Object.assign({
  375. tocSelector : '#toc-body',
  376. contentSelector : '.markdown-body',
  377. linkClass : 'tocbot-link',
  378. activeLinkClass : 'tocbot-active-link',
  379. listClass : 'tocbot-list',
  380. isCollapsedClass: 'tocbot-is-collapsed',
  381. collapsibleClass: 'tocbot-is-collapsible',
  382. scrollSmooth : true,
  383. includeTitleTags: true,
  384. headingsOffset : -boardTop,
  385. }, CONFIG.toc));
  386. if (toc.find('.toc-list-item').length > 0) {
  387. toc.css('visibility', 'visible');
  388. }
  389. Fluid.events.registerRefreshCallback(function() {
  390. if ('tocbot' in window) {
  391. tocbot.refresh();
  392. var toc = jQuery('#toc');
  393. if (toc.length === 0 || !tocbot) {
  394. return;
  395. }
  396. if (toc.find('.toc-list-item').length > 0) {
  397. toc.css('visibility', 'visible');
  398. }
  399. }
  400. });
  401. });
  402. </script>
  403. <script src=https://lib.baomitu.com/clipboard.js/2.0.11/clipboard.min.js></script>
  404. <script>Fluid.plugins.codeWidget();</script>
  405. <script>
  406. Fluid.utils.createScript('https://jscdn.limour.top/npm/anchor-js@4.3.1/anchor.min.js', function() {
  407. window.anchors.options = {
  408. placement: CONFIG.anchorjs.placement,
  409. visible : CONFIG.anchorjs.visible
  410. };
  411. if (CONFIG.anchorjs.icon) {
  412. window.anchors.options.icon = CONFIG.anchorjs.icon;
  413. }
  414. var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');
  415. var res = [];
  416. for (var item of el) {
  417. res.push('.markdown-body > ' + item.trim());
  418. }
  419. if (CONFIG.anchorjs.placement === 'left') {
  420. window.anchors.options.class = 'anchorjs-link-left';
  421. }
  422. window.anchors.add(res.join(', '));
  423. Fluid.events.registerRefreshCallback(function() {
  424. if ('anchors' in window) {
  425. anchors.removeAll();
  426. var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');
  427. var res = [];
  428. for (var item of el) {
  429. res.push('.markdown-body > ' + item.trim());
  430. }
  431. if (CONFIG.anchorjs.placement === 'left') {
  432. anchors.options.class = 'anchorjs-link-left';
  433. }
  434. anchors.add(res.join(', '));
  435. }
  436. });
  437. });
  438. </script>
  439. <script>
  440. Fluid.utils.createScript('https://lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.js', function() {
  441. Fluid.plugins.fancyBox();
  442. });
  443. </script>
  444. <script>Fluid.plugins.imageCaption();</script>
  445. <script src="/js/local-search.js" ></script>
  446. <!-- 主题的启动项,将它保持在最底部 -->
  447. <!-- the boot of the theme, keep it at the bottom -->
  448. <script src="/js/boot.js" ></script>
  449. <noscript>
  450. <div class="noscript-warning">Blog works best with JavaScript enabled</div>
  451. </noscript>
  452. <!-- hexo injector body_end start -->
  453. <script defer src="/theme-inject/timeliness.js"></script>
  454. <!-- hexo injector body_end end --></body>
  455. </html>