<!DOCTYPE html>
<html lang="en">





<head>
  <meta charset="UTF-8">
  <link rel="apple-touch-icon" sizes="76x76" href="/img/favicon.png">
  <link rel="icon" type="image/png" href="/img/favicon.png">
  <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  
  <meta name="theme-color" content="#2f4154">
  <meta name="description" content="My Personal Website For Blog">
  <meta name="author" content="黄宇辉">
  <meta name="keywords" content="learning note,hexo blog">
  <title>SSM整合项目:简易同学录 - 欢迎参观小灰灰的网站哟 ヾ(◍°∇°◍)ﾉﾞ ~</title>

  <link  rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.4.1/css/bootstrap.min.css" />


  <link  rel="stylesheet" href="https://cdn.staticfile.org/github-markdown-css/4.0.0/github-markdown.min.css" />
  <link  rel="stylesheet" href="/lib/hint/hint.min.css" />

  
    <link  rel="stylesheet" href="https://cdn.staticfile.org/highlight.js/10.0.0/styles/vs2015.min.css" />
  

  


<!-- 主题依赖的图标库，不要自行修改 -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_yg9cfy8wd6.css">

<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_pjno9b9zyxs.css">

<link  rel="stylesheet" href="/css/main.css" />

<!-- 自定义样式保持在最底部 -->


  <script  src="/js/utils.js" ></script>
</head>


<body>
  <header style="height: 70vh;">
    <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
  <div class="container">
    <a class="navbar-brand"
       href="/">&nbsp;<strong>ANONYMOUS</strong>&nbsp;</a>

    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <div class="animated-icon"><span></span><span></span><span></span></div>
    </button>

    <!-- Collapsible content -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto text-center">
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/">
                <i class="iconfont icon-home-fill"></i>
                Home
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/archives/">
                <i class="iconfont icon-archive-fill"></i>
                Archives
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/tags/">
                <i class="iconfont icon-tags-fill"></i>
                Tags
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/about/">
                <i class="iconfont icon-user-fill"></i>
                About
              </a>
            </li>
          
        
        
          <li class="nav-item" id="search-btn">
            <a class="nav-link" data-toggle="modal" data-target="#modalSearch">&nbsp;&nbsp;<i
                class="iconfont icon-search"></i>&nbsp;&nbsp;</a>
          </li>
        
      </ul>
    </div>
  </div>
</nav>

    <div class="view intro-2" id="background" parallax=true
         style="background: url('/img/default.png') no-repeat center center;
           background-size: cover;">
      <div class="full-bg-img">
        <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
          <div class="container text-center white-text fadeInUp">
            <span class="h2" id="subtitle">
              
            </span>

            
              
  <div class="mt-3 post-meta">
    <i class="iconfont icon-date-fill" aria-hidden="true"></i>
    <time datetime="2019-06-12 19:06">
      June 12, 2019 pm
    </time>
  </div>


<div class="mt-1">
  
    
    <span class="post-meta mr-2">
      <i class="iconfont icon-chart"></i>
      594 字
    </span>
  

  
    
    <span class="post-meta mr-2">
      <i class="iconfont icon-clock-fill"></i>
      
      
      8
       分钟
    </span>
  

  
  
</div>

            
          </div>

          
        </div>
      </div>
    </div>
  </header>

  <main>
    
      

<div class="container-fluid">
  <div class="row">
    <div class="d-none d-lg-block col-lg-2"></div>
    <div class="col-lg-8 nopadding-md">
      <div class="container nopadding-md" id="board-ctn">
        <div class="py-5" id="board">
          <div class="post-content mx-auto" id="post">
            
            <article class="markdown-body">
              <h2 id="A-Simple-Alumnn-Book"><a href="#A-Simple-Alumnn-Book" class="headerlink" title="A Simple Alumnn Book"></a>A Simple Alumnn Book</h2><ul>
<li><em>我的第一个<code>SSM</code>小项目 （づ￣3￣）づ╭❤～</em></li>
<li><em>赶紧来学习吧 ! 期待你的<code>issues</code>哟(っ•̀ω•́)っ✎⁾⁾~ 该项目地址 : <a href="https://github.com/YUbuntu0109/SSM-CURD-Alumni" target="_blank" rel="noopener">https://github.com/YUbuntu0109/SSM-CURD-Alumni</a></em></li>
</ul>
<h3 id="项目概述"><a href="#项目概述" class="headerlink" title="项目概述"></a>项目概述</h3><ul>
<li><em>一个简单的,基于SSM的同学录小项目,通过本项目可以学习SSM的整合及CURD操作的基本思路,同时也可以帮助你学习Intellij IEAD开发利器的使用哟,可以说非常适合初学SSM的同学啦~</em></li>
</ul>
<p><em>代码注释非常详细,思路也很清晰 :</em></p>
<div class="hljs"><pre><code class="hljs java">
 <span class="hljs-meta">@Autowired</span> <span class="hljs-comment">//注入业务对象</span>
 <span class="hljs-keyword">private</span> FriendService friendService;

 <span class="hljs-comment">//存储预返回给页面的对象数据</span>
 <span class="hljs-keyword">private</span> Map&lt;String, Object&gt; result = <span class="hljs-keyword">new</span> HashMap&lt;&gt;();
 
<span class="hljs-comment">/**
  * <span class="hljs-doctag">@description</span>: 分页查询: 获取所有好友信息,分页后返回给页面
  * <span class="hljs-doctag">@param</span>: page 当前页数
  * <span class="hljs-doctag">@param</span>: rows 每页行数
  * <span class="hljs-doctag">@date</span>: 2019-06-06 10:10 AM
  * <span class="hljs-doctag">@return</span>: java.util.List&lt;pers.huangyuhui.ssm.crud.bean.Friend&gt;
  */</span>
 <span class="hljs-meta">@RequestMapping</span>(<span class="hljs-string">"/getFriendList"</span>)
 <span class="hljs-meta">@ResponseBody</span> <span class="hljs-comment">//将Map转化为JSON数据</span>
 <span class="hljs-function"><span class="hljs-keyword">public</span> Map&lt;String, Object&gt; <span class="hljs-title">getFriendlist</span><span class="hljs-params">(Integer page, Integer rows)</span> </span>&#123;

     <span class="hljs-comment">//设置每页的记录数</span>
     PageHelper.startPage(page, rows);
     <span class="hljs-comment">//获取所有好友信息</span>
     List&lt;Friend&gt; list = friendService.selectAll();
     <span class="hljs-comment">//封装查询结果</span>
     PageInfo&lt;Friend&gt; pageInfo = <span class="hljs-keyword">new</span> PageInfo&lt;&gt;(list);
     <span class="hljs-comment">//获取总记录数</span>
     <span class="hljs-keyword">long</span> total = pageInfo.getTotal();
     <span class="hljs-comment">//获取当前页数据列表</span>
     List&lt;Friend&gt; friendList = pageInfo.getList();
     <span class="hljs-comment">//存储对象数据</span>
     result.put(<span class="hljs-string">"total"</span>, total);
     result.put(<span class="hljs-string">"rows"</span>, friendList);

     <span class="hljs-keyword">return</span> result;
 &#125;</code></pre></div>



<h3 id="项目截图"><a href="#项目截图" class="headerlink" title="项目截图"></a>项目截图</h3><ul>
<li><em>欢迎页面</em></li>
</ul>
<p><img src="https://raw.githubusercontent.com/YUbuntu0109/SSM-CURD-Alumni/master/demonstration_picture/SSM-CURD-Alumni01.PNG" srcset="/img/loading.gif" alt></p>
<ul>
<li><em>好友列表</em></li>
</ul>
<p><img src="https://raw.githubusercontent.com/YUbuntu0109/SSM-CURD-Alumni/master/demonstration_picture/SSM-CURD-Alumni02.PNG" srcset="/img/loading.gif" alt></p>
<h3 id="IDEA截图"><a href="#IDEA截图" class="headerlink" title="IDEA截图"></a>IDEA截图</h3><ul>
<li><em>目录结构</em></li>
</ul>
<p><img src="https://raw.githubusercontent.com/YUbuntu0109/SSM-CURD-Alumni/master/demonstration_picture/Intellij-IDEA-Project-Alumni.PNG" srcset="/img/loading.gif" alt></p>
<ul>
<li><em>目录类型(<code>重点呦:IDEA可不同与Eclipse !</code>)</em></li>
</ul>
<p><img src="https://raw.githubusercontent.com/YUbuntu0109/SSM-CURD-Alumni/master/demonstration_picture/Intellij-IDEA-Folder-Alumni.PNG" srcset="/img/loading.gif" alt></p>
<ul>
<li><em><code>Jar</code>包依赖关系</em></li>
</ul>
<p><img src="https://raw.githubusercontent.com/YUbuntu0109/SSM-CURD-Alumni/master/demonstration_picture/SSM-CRUD-Alumni-Jar.png" srcset="/img/loading.gif" alt></p>
<h3 id="项目结构"><a href="#项目结构" class="headerlink" title="项目结构"></a>项目结构</h3><div class="hljs"><pre><code class="hljs css">└─<span class="hljs-selector-tag">SSM-CURD-Alumni</span>
    │  <span class="hljs-selector-tag">LICENSE</span>
    │  <span class="hljs-selector-tag">README</span><span class="hljs-selector-class">.md</span>
    │
    ├─<span class="hljs-selector-tag">database</span>
    │      <span class="hljs-selector-tag">ssm</span><span class="hljs-selector-class">.sql</span>
    │
    ├─<span class="hljs-selector-tag">demonstration_picture</span>
    │      <span class="hljs-selector-tag">Intellij-IDEA-Folder-Alumni</span><span class="hljs-selector-class">.PNG</span>
    │      <span class="hljs-selector-tag">Intellij-IDEA-Project-Alumni</span><span class="hljs-selector-class">.PNG</span>
    │      <span class="hljs-selector-tag">SSM-CRUD-Alumni-Jar</span><span class="hljs-selector-class">.png</span>
    │      <span class="hljs-selector-tag">SSM-CURD-Alumni01</span><span class="hljs-selector-class">.PNG</span>
    │      <span class="hljs-selector-tag">SSM-CURD-Alumni02</span><span class="hljs-selector-class">.PNG</span>
    │
    └─<span class="hljs-selector-tag">ssm_crud2</span>
        │  <span class="hljs-selector-tag">pom</span><span class="hljs-selector-class">.xml</span>
        │  <span class="hljs-selector-tag">ssm_crud_alumni</span><span class="hljs-selector-class">.iml</span>
        │
        ├─<span class="hljs-selector-class">.idea</span>
        │  │(略..)  
        │    
        │
        └─<span class="hljs-selector-tag">src</span>
            └─<span class="hljs-selector-tag">main</span>
                ├─<span class="hljs-selector-tag">java</span>
                │  └─<span class="hljs-selector-tag">pers</span>
                │      └─<span class="hljs-selector-tag">huangyuhui</span>
                │          └─<span class="hljs-selector-tag">ssm</span>
                │              └─<span class="hljs-selector-tag">crud</span>
                │                  ├─<span class="hljs-selector-tag">bean</span>
                │                  │      <span class="hljs-selector-tag">Friend</span><span class="hljs-selector-class">.java</span>
                │                  │
                │                  ├─<span class="hljs-selector-tag">controller</span>
                │                  │      <span class="hljs-selector-tag">FriendController</span><span class="hljs-selector-class">.java</span>
                │                  │
                │                  ├─<span class="hljs-selector-tag">dao</span>
                │                  │      <span class="hljs-selector-tag">FriendMapper</span><span class="hljs-selector-class">.java</span>
                │                  │
                │                  └─<span class="hljs-selector-tag">service</span>
                │                      │  <span class="hljs-selector-tag">FriendService</span><span class="hljs-selector-class">.java</span>
                │                      │
                │                      └─<span class="hljs-selector-tag">impl</span>
                │                         <span class="hljs-selector-tag">FriendServiceImpl</span><span class="hljs-selector-class">.java</span>
                │
                ├─<span class="hljs-selector-tag">resource</span>
                │  ├─<span class="hljs-selector-tag">database-conf</span>
                │  │      <span class="hljs-selector-tag">c3p0</span><span class="hljs-selector-class">.properties</span>
                │  │
                │  ├─<span class="hljs-selector-tag">mapper</span>
                │  │      <span class="hljs-selector-tag">FriendMapper</span><span class="hljs-selector-class">.xml</span>
                │  │
                │  ├─<span class="hljs-selector-tag">mybatis-conf</span>
                │  │      <span class="hljs-selector-tag">mybatis-config</span><span class="hljs-selector-class">.xml</span>
                │  │
                │  └─<span class="hljs-selector-tag">spring-conf</span>
                │          <span class="hljs-selector-tag">applicationContext</span><span class="hljs-selector-class">.xml</span>
                │          <span class="hljs-selector-tag">springmvc-config</span><span class="hljs-selector-class">.xml</span>
                │
                └─<span class="hljs-selector-tag">webapp</span>
                    │  <span class="hljs-selector-tag">friendInfo</span><span class="hljs-selector-class">.jsp</span>
                    │  <span class="hljs-selector-tag">index</span><span class="hljs-selector-class">.jsp</span>
                    │
                    ├─<span class="hljs-selector-tag">static</span>
                    │  └─<span class="hljs-selector-tag">easyui</span>
                    │      │(略..)
                    │      
                    │
                    └─<span class="hljs-selector-tag">WEB-INF</span>
                            <span class="hljs-selector-tag">web</span><span class="hljs-selector-class">.xml</span></code></pre></div>


<h4 id="项目结构说明-数据库文件"><a href="#项目结构说明-数据库文件" class="headerlink" title="项目结构说明-数据库文件"></a>项目结构说明-<code>数据库文件</code></h4><div class="hljs"><pre><code class="hljs pgsql"><span class="hljs-keyword">database</span>/ssm.<span class="hljs-keyword">sql</span></code></pre></div>

<h4 id="项目结构说明-数据库配置信息"><a href="#项目结构说明-数据库配置信息" class="headerlink" title="项目结构说明-数据库配置信息"></a>项目结构说明-<code>数据库配置信息</code></h4><div class="hljs"><pre><code class="hljs awk">ssm_crud2<span class="hljs-regexp">/src/m</span>ain<span class="hljs-regexp">/resource/</span>database-conf<span class="hljs-regexp">/c3p0.properties</span></code></pre></div>

<h4 id="项目结构说明-EasyUI-Framework"><a href="#项目结构说明-EasyUI-Framework" class="headerlink" title="项目结构说明-EasyUI Framework"></a>项目结构说明-<code>EasyUI Framework</code></h4><div class="hljs"><pre><code class="hljs gradle">ssm_crud2<span class="hljs-regexp">/src/m</span>ain<span class="hljs-regexp">/webapp/</span><span class="hljs-keyword">static</span><span class="hljs-regexp">/easyui/</span></code></pre></div>

<h4 id="项目结构说明-Spring-核心配置文件"><a href="#项目结构说明-Spring-核心配置文件" class="headerlink" title="项目结构说明-Spring 核心配置文件"></a>项目结构说明-<code>Spring 核心配置文件</code></h4><div class="hljs"><pre><code class="hljs awk">ssm_crud2<span class="hljs-regexp">/src/m</span>ain<span class="hljs-regexp">/resource/</span>spring-conf<span class="hljs-regexp">/applicationContext.xml</span></code></pre></div>

<h4 id="项目结构说明-Spring-MVC-核心配置文件"><a href="#项目结构说明-Spring-MVC-核心配置文件" class="headerlink" title="项目结构说明-Spring MVC 核心配置文件"></a>项目结构说明-<code>Spring MVC 核心配置文件</code></h4><div class="hljs"><pre><code class="hljs awk">ssm_crud2<span class="hljs-regexp">/src/m</span>ain<span class="hljs-regexp">/resource/</span>spring-conf<span class="hljs-regexp">/springmvc-config.xml</span></code></pre></div>

<h4 id="项目结构说明-MyBatis-核心配置文件"><a href="#项目结构说明-MyBatis-核心配置文件" class="headerlink" title="项目结构说明-MyBatis 核心配置文件"></a>项目结构说明-<code>MyBatis 核心配置文件</code></h4><div class="hljs"><pre><code class="hljs awk">ssm_crud2<span class="hljs-regexp">/src/m</span>ain<span class="hljs-regexp">/resource/my</span>batis-conf<span class="hljs-regexp">/mybatis-config.xml</span></code></pre></div>

<h4 id="项目结构说明-Mapper-接口映射文件"><a href="#项目结构说明-Mapper-接口映射文件" class="headerlink" title="项目结构说明-Mapper 接口映射文件"></a>项目结构说明-<code>Mapper 接口映射文件</code></h4><div class="hljs"><pre><code class="hljs awk">ssm_crud2<span class="hljs-regexp">/src/m</span>ain<span class="hljs-regexp">/resource/m</span>apper<span class="hljs-regexp">/FriendMapper.xml</span></code></pre></div>

            </article>
            <hr>
            <div>
              <div class="post-metas mb-3">
                
                
                  <div class="post-meta">
                    <i class="iconfont icon-tags"></i>
                    
                      <a class="hover-with-bg" href="/tags/JSP/">JSP</a>
                    
                      <a class="hover-with-bg" href="/tags/MySQL/">MySQL</a>
                    
                      <a class="hover-with-bg" href="/tags/jQuery/">jQuery</a>
                    
                      <a class="hover-with-bg" href="/tags/Ajax/">Ajax</a>
                    
                      <a class="hover-with-bg" href="/tags/EasyUI/">EasyUI</a>
                    
                      <a class="hover-with-bg" href="/tags/SSM/">SSM</a>
                    
                  </div>
                
              </div>
              
                <p class="note note-warning">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh" target="_blank" rel="nofollow noopener noopener">CC BY-SA 4.0 协议</a> ，转载请注明出处！</p>
              
              
                <div class="post-prevnext row">
                  <div class="post-prev col-6">
                    
                    
                      <a href="/2019/06/22/SSM%E9%A1%B9%E7%9B%AE-%E5%AD%A6%E7%94%9F%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F/">
                        <i class="iconfont icon-arrowleft"></i>
                        <span class="hidden-mobile">SSM项目:学生管理系统</span>
                        <span class="visible-mobile">Previous</span>
                      </a>
                    
                  </div>
                  <div class="post-next col-6">
                    
                    
                      <a href="/2019/06/12/Java-web%E9%A1%B9%E7%9B%AE-%E5%AD%A6%E7%94%9F%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F/">
                        <span class="hidden-mobile">Java web项目:学生管理系统</span>
                        <span class="visible-mobile">Next</span>
                        <i class="iconfont icon-arrowright"></i>
                      </a>
                    
                  </div>
                </div>
              
            </div>

            
          </div>
        </div>
      </div>
    </div>
    
      <div class="d-none d-lg-block col-lg-2 toc-container" id="toc-ctn">
        <div id="toc">
  <p class="toc-header"><i class="iconfont icon-list"></i>&nbsp;TOC</p>
  <div id="tocbot"></div>
</div>

      </div>
    
  </div>
</div>

<!-- Custom -->


    
  </main>

  
    <a id="scroll-top-button" href="#" role="button">
      <i class="iconfont icon-arrowup" aria-hidden="true"></i>
    </a>
  

  
    <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
     aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header text-center">
        <h4 class="modal-title w-100 font-weight-bold">Search</h4>
        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body mx-3">
        <div class="md-form mb-5">
          <input type="text" id="local-search-input" class="form-control validate">
          <label data-error="x" data-success="v"
                 for="local-search-input">keyword</label>
        </div>
        <div class="list-group" id="local-search-result"></div>
      </div>
    </div>
  </div>
</div>
  

  

  

  <footer class="mt-5">
  <div class="text-center py-3">
    <div>
      <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>
    </div>
    
  <div class="statistics">
    
    

    
      
        <!-- 不蒜子统计PV -->
        <span id="busuanzi_container_site_pv" style="display: none">
            总访问量 
            <span id="busuanzi_value_site_pv"></span>
             次
          </span>
      
      
        <!-- 不蒜子统计UV -->
        <span id="busuanzi_container_site_uv" style="display: none">
            总访客数 
            <span id="busuanzi_value_site_uv"></span>
             人
          </span>
      
    
  </div>


    

    
  </div>
</footer>

<!-- SCRIPTS -->
<script  src="https://cdn.staticfile.org/jquery/3.4.1/jquery.min.js" ></script>
<script  src="https://cdn.staticfile.org/twitter-bootstrap/4.4.1/js/bootstrap.min.js" ></script>
<script  src="/js/debouncer.js" ></script>
<script  src="/js/main.js" ></script>

<!-- Plugins -->


  
    <script  src="/js/lazyload.js" ></script>
  



  <script defer src="https://cdn.staticfile.org/clipboard.js/2.0.6/clipboard.min.js" ></script>
  <script  src="/js/clipboard-use.js" ></script>



  <script defer src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" ></script>





  <script  src="https://cdn.staticfile.org/tocbot/4.11.1/tocbot.min.js" ></script>
  <script>
    $(document).ready(function () {
      var boardCtn = $('#board-ctn');
      var boardTop = boardCtn.offset().top;

      tocbot.init({
        tocSelector: '#tocbot',
        contentSelector: 'article.markdown-body',
        headingSelector: 'h1,h2,h3,h4,h5,h6',
        linkClass: 'tocbot-link',
        activeLinkClass: 'tocbot-active-link',
        listClass: 'tocbot-list',
        isCollapsedClass: 'tocbot-is-collapsed',
        collapsibleClass: 'tocbot-is-collapsible',
        collapseDepth: 0,
        scrollSmooth: true,
        headingsOffset: -boardTop
      });
      if ($('.toc-list-item').length > 0) {
        $('#toc').css('visibility', 'visible');
      }
    });
  </script>



  <script  src="https://cdn.staticfile.org/typed.js/2.0.11/typed.min.js" ></script>
  <script>
    var typed = new Typed('#subtitle', {
      strings: [
        '  ',
        "SSM整合项目:简易同学录&nbsp;",
      ],
      cursorChar: "_",
      typeSpeed: 70,
      loop: false,
    });
    typed.stop();
    $(document).ready(function () {
      $(".typed-cursor").addClass("h2");
      typed.start();
    });
  </script>



  <script  src="https://cdn.staticfile.org/anchor-js/4.2.2/anchor.min.js" ></script>
  <script>
    anchors.options = {
      placement: "right",
      visible: "hover",
      
    };
    var el = "h1,h2,h3,h4,h5,h6".split(",");
    var res = [];
    for (item of el) {
      res.push(".markdown-body > " + item)
    }
    anchors.add(res.join(", "))
  </script>



  <script  src="/js/local-search.js" ></script>
  <script>
    var path = "/local-search.xml";
    var inputArea = document.querySelector("#local-search-input");
    inputArea.onclick = function () {
      searchFunc(path, 'local-search-input', 'local-search-result');
      this.onclick = null
    }
  </script>



  <script  src="https://cdn.staticfile.org/fancybox/3.5.7/jquery.fancybox.min.js" ></script>
  <link  rel="stylesheet" href="https://cdn.staticfile.org/fancybox/3.5.7/jquery.fancybox.min.css" />

  <script>
    $('#post img:not(.no-zoom img, img[no-zoom]), img[zoom]').each(
      function () {
        var element = document.createElement('a');
        $(element).attr('data-fancybox', 'images');
        $(element).attr('href', $(this).attr('src'));
        $(this).wrap(element);
      }
    );
  </script>







  
  
    <script>
      !function (e, t, a) {
        function r() {
          for (var e = 0; e < s.length; e++) s[e].alpha <= 0 ? (t.body.removeChild(s[e].el), s.splice(e, 1)) : (s[e].y--, s[e].scale += .004, s[e].alpha -= .013, s[e].el.style.cssText = "left:" + s[e].x + "px;top:" + s[e].y + "px;opacity:" + s[e].alpha + ";transform:scale(" + s[e].scale + "," + s[e].scale + ") rotate(45deg);background:" + s[e].color + ";z-index:99999");
          requestAnimationFrame(r)
        }

        function n() {
          var t = "function" == typeof e.onclick && e.onclick;
          e.onclick = function (e) {
            t && t(), o(e)
          }
        }

        function o(e) {
          var a = t.createElement("div");
          a.className = "heart", s.push({
            el: a,
            x: e.clientX - 5,
            y: e.clientY - 5,
            scale: 1,
            alpha: 1,
            color: c()
          }), t.body.appendChild(a)
        }

        function i(e) {
          var a = t.createElement("style");
          a.type = "text/css";
          try {
            a.appendChild(t.createTextNode(e))
          } catch (t) {
            a.styleSheet.cssText = e
          }
          t.getElementsByTagName("head")[0].appendChild(a)
        }

        function c() {
          return "rgb(" + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + ")"
        }

        var s = [];
        e.requestAnimationFrame = e.requestAnimationFrame || e.webkitRequestAnimationFrame || e.mozRequestAnimationFrame || e.oRequestAnimationFrame || e.msRequestAnimationFrame || function (e) {
          setTimeout(e, 1e3 / 60)
        }, i(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"), n(), r()
      }(window, document);
    </script>
  














</body>
</html>
