-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
5,808 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><title>javascript判断两个多边形相交 [ 点我达前端博客 ]</title><link rel="stylesheet" href="/css/Dwd-Fe.css"><link rel="icon" href="/img/favicon.png"></head><body><header id="menu-outer"><a href="/"><div class="logo"><img src="./../[email protected]"></div></a><nav id="menu-inner"><a href="/">首页</a><a href="/archives">分类</a><a href="/about">关于我们</a><a href="https://github.com/dwd-fe">Github</a></nav></header><div id="content-outer"><div id="content-inner"><article id="post"><h1>javascript判断两个多边形相交</h1><p>最近在业务中有个需求是用高德api绘制多个多边形,且多边形不能有重合的地方。高德并没有提供这种api,所以自己尝试着实现了一个算法。</p> | ||
</article><nav id="pagination"><a href="/2016/05/05/test3/" class="prev">← Prev</a></nav></div></div><div id="bottom-outer"><div id="bottom-inner"><span>Site construction by</span><span> Ken Huang </span><span>using</span><a href="http://hexo.io"><span>hexo blog framework</span></a><span>.</span><br><a href="/">Home</a></div></div><script src="/js/Dwd-Fe.js"></script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><title>几种方法export你的模块(兼容AMD, CommonJS, Node.js等) [ 点我达前端博客 ]</title><link rel="stylesheet" href="/css/Dwd-Fe.css"><link rel="icon" href="/img/favicon.png"></head><body><header id="menu-outer"><a href="/"><div class="logo"><img src="./../[email protected]"></div></a><nav id="menu-inner"><a href="/">首页</a><a href="/archives">分类</a><a href="/about">关于我们</a><a href="https://github.com/dwd-fe">Github</a></nav></header><div id="content-outer"><div id="content-inner"><article id="post"><h1>几种方法export你的模块(兼容AMD, CommonJS, Node.js等)</h1><p>模块化是前端这几年提的比较多的技术点,前端代码不像后端代码,Javascript不是一种模块化编程语言,直到es6才开始支持class和module。为了让大家能方便的加载各种模块,出现了一些Javascript的模板规范,如 CommonJS 和 AMD 。</p> | ||
</article><nav id="pagination"><a href="/2016/07/24/test1/" class="prev">← Prev</a><a href="/2016/04/26/test2/" class="next">Next →</a></nav></div></div><div id="bottom-outer"><div id="bottom-inner"><span>Site construction by</span><span> Ken Huang </span><span>using</span><a href="http://hexo.io"><span>hexo blog framework</span></a><span>.</span><br><a href="/">Home</a></div></div><script src="/js/Dwd-Fe.js"></script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><title>一个简单的react native menu button组件 [ 点我达前端博客 ]</title><link rel="stylesheet" href="/css/Dwd-Fe.css"><link rel="icon" href="/img/favicon.png"></head><body><header id="menu-outer"><a href="/"><div class="logo"><img src="./../[email protected]"></div></a><nav id="menu-inner"><a href="/">首页</a><a href="/archives">分类</a><a href="/about">关于我们</a><a href="https://github.com/dwd-fe">Github</a></nav></header><div id="content-outer"><div id="content-inner"><article id="post"><h1>一个简单的react native menu button组件</h1><p>最近我司有一个内部轻app由我们前端开发,技术选型不假思索的选择了react-native。谁叫react-native这么火呢。如今此app已经开始使用了,开发过程中有一个又一个的坑,下次专门写篇博文聊一聊踩坑。</p> | ||
</article><nav id="pagination"><a href="/2016/07/24/test4/" class="prev">← Prev</a><a href="/2016/05/05/test3/" class="next">Next →</a></nav></div></div><div id="bottom-outer"><div id="bottom-inner"><span>Site construction by</span><span> Ken Huang </span><span>using</span><a href="http://hexo.io"><span>hexo blog framework</span></a><span>.</span><br><a href="/">Home</a></div></div><script src="/js/Dwd-Fe.js"></script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><title>动手写一个react native的date picker组件 [ 点我达前端博客 ]</title><link rel="stylesheet" href="/css/Dwd-Fe.css"><link rel="icon" href="/img/favicon.png"></head><body><header id="menu-outer"><a href="/"><div class="logo"><img src="./../[email protected]"></div></a><nav id="menu-inner"><a href="/">首页</a><a href="/archives">分类</a><a href="/about">关于我们</a><a href="https://github.com/dwd-fe">Github</a></nav></header><div id="content-outer"><div id="content-inner"><article id="post"><h1>动手写一个react native的date picker组件</h1><p>上一篇博文我写了一个react native的menu button组件,享受到了组件化开发的乐趣。在写app的过程中需要很多的组件,其中选择日期的组件算是很常用的。一开始我们在网上找了一些现成的组件,但是由于react native不像css一样有z-index属性,所以那些组件在使用中经常出现前后的位置不对的问题。</p> | ||
</article><nav id="pagination"><a href="/2016/09/25/hello-world/" class="prev">← Prev</a><a href="/2016/07/24/test1/" class="next">Next →</a></nav></div></div><div id="bottom-outer"><div id="bottom-inner"><span>Site construction by</span><span> Ken Huang </span><span>using</span><a href="http://hexo.io"><span>hexo blog framework</span></a><span>.</span><br><a href="/">Home</a></div></div><script src="/js/Dwd-Fe.js"></script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="X-UA-Compatible" content="IE=edge"><title> 点我达前端博客</title><meta name="description" content="A Blog Powered By Hexo"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/css/Dwd-Fe.css"><link rel="icon" href="/img/favicon.png"></head><body><div class="wrapper"><header id="menu-outer"><a href="/"><div class="logo"><img src="http://7xtb3a.com2.z0.glb.clouddn.com/[email protected]"></div></a><nav id="menu-inner"><a href="/">首页</a><a href="/archives">分类</a><a href="/about">关于我们</a><a href="https://github.com/dwd-fe">Github</a></nav></header><div id="content-outer"><div id="content-inner"><article id="post"><div class="post-header"><div class="post-space"><div class="post-title"><h1>这是一个测试</h1><h2>by 黄凯羿 on 2016-07-24</h2><h2><span>分类 </span><a class="tags-link" href="/tags/javascript/">javascript</a></h2></div></div><img src="http://7xtb3a.com2.z0.glb.clouddn.com/test.png" class="post-back"></div><div class="post-content"><p>下面是一段代码测试</p> | ||
<pre><code><figure class="highlight javascript"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div><div class="line">27</div><div class="line">28</div><div class="line">29</div><div class="line">30</div><div class="line">31</div><div class="line">32</div><div class="line">33</div><div class="line">34</div><div class="line">35</div><div class="line">36</div></pre></td><td class="code"><pre><div class="line"><span class="keyword">import</span> React, { Component } <span class="keyword">from</span> <span class="string">'react'</span>;</div><div class="line"><span class="keyword">import</span> {</div><div class="line"> AppRegistry,</div><div class="line"> StyleSheet,</div><div class="line"> Text,</div><div class="line"> View</div><div class="line">} <span class="keyword">from</span> <span class="string">'react-native'</span>;</div><div class="line"></div><div class="line"><span class="keyword">import</span> Picker <span class="keyword">from</span> <span class="string">'react-native-modal-date-picker'</span></div><div class="line"><span class="keyword">import</span> moment <span class="keyword">from</span> <span class="string">'moment'</span></div><div class="line"></div><div class="line"><span class="class"><span class="keyword">class</span> <span class="title">AwesomeProject</span> <span class="keyword">extends</span> <span class="title">Component</span> </span>{</div><div class="line"> <span class="keyword">constructor</span>(props) {</div><div class="line"> <span class="keyword">super</span>(props);</div><div class="line"> <span class="keyword">this</span>.state = {</div><div class="line"> <span class="attr">value</span>: moment(<span class="keyword">new</span> <span class="built_in">Date</span>).format(<span class="string">'YYYY-MM-DD'</span>)</div><div class="line"> };</div><div class="line"> }</div><div class="line"> onSelect (value) {</div><div class="line"> <span class="keyword">this</span>.setState({<span class="attr">value</span>:value}) </div><div class="line"> }</div><div class="line"></div><div class="line"> render() {</div><div class="line"> <span class="keyword">return</span> (</div><div class="line"> <View style={{marginTop:40}}></div><div class="line"> <Picker selectData={this.state.value} onSelect={this.onSelect.bind(this)} formater="YYYY-MM-DD hh:mm:ss" cancleText="cancle" finishText="finish" title="title" modalColor="#000" keepShowModal={true} pickerHeight={400} pickerColor="#fff" buttonColor="#000"/></div><div class="line"> </View></div><div class="line"> );</div><div class="line"> }</div><div class="line">}</div><div class="line"></div><div class="line">const styles = StyleSheet.create({</div><div class="line"></div><div class="line">});</div><div class="line"></div><div class="line">AppRegistry.registerComponent('AwesomeProject', () => AwesomeProject);</div></pre></td></tr></table></figure> | ||
</code></pre><p>下面是图片测试:<br><img src="http://7xtb3a.com2.z0.glb.clouddn.com/book.png" alt=""></p> | ||
<p>下面是链接测试:<br>Welcome to <a href="https://hexo.io/" target="_blank" rel="external">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="external">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://hexo.io/docs/troubleshooting.html" target="_blank" rel="external">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="external">GitHub</a>.</p> | ||
<span id="return-to-top"></span></div></article><nav id="post-pagination"><a href="/2016/10/10/hello-world/" class="prev"></a></nav></div></div><div class="copyright"><small>点我达FE 版权所有 ©️点我达FE all rights reserved. powered by <a href="https://hexo.io/" target="_blank">Hexo</a>.</small></div></div><script src="/js/Dwd-Fe.js"></script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><title>Hello World [ 点我达前端博客 ]</title><link rel="stylesheet" href="/css/Dwd-Fe.css"><link rel="icon" href="/img/favicon.png"></head><body><header id="menu-outer"><a href="/"><div class="logo"><img src="./../[email protected]"></div></a><nav id="menu-inner"><a href="/">首页</a><a href="/archives">分类</a><a href="/about">关于我们</a><a href="https://github.com/dwd-fe">Github</a></nav></header><div id="content-outer"><div id="content-inner"><article id="post"><h1>Hello World</h1><p>Welcome to <a href="https://hexo.io/" target="_blank" rel="external">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="external">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://hexo.io/docs/troubleshooting.html" target="_blank" rel="external">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="external">GitHub</a>.</p> | ||
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo new <span class="string">"My New Post"</span></div></pre></td></tr></table></figure> | ||
<p>More info: <a href="https://hexo.io/docs/writing.html" target="_blank" rel="external">Writing</a></p> | ||
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo server</div></pre></td></tr></table></figure> | ||
<p>More info: <a href="https://hexo.io/docs/server.html" target="_blank" rel="external">Server</a></p> | ||
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo generate</div></pre></td></tr></table></figure> | ||
<p>More info: <a href="https://hexo.io/docs/generating.html" target="_blank" rel="external">Generating</a></p> | ||
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo deploy</div></pre></td></tr></table></figure> | ||
<p>More info: <a href="https://hexo.io/docs/deployment.html" target="_blank" rel="external">Deployment</a></p> | ||
</article><nav id="pagination"><a href="/2016/07/24/test4/" class="next">Next →</a></nav></div></div><div id="bottom-outer"><div id="bottom-inner"><span>Site construction by</span><span> Ken Huang </span><span>using</span><a href="http://hexo.io"><span>hexo blog framework</span></a><span>.</span><br><a href="/">Home</a></div></div><script src="/js/Dwd-Fe.js"></script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="X-UA-Compatible" content="IE=edge"><title> 点我达前端博客</title><meta name="description" content="A Blog Powered By Hexo"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/css/Dwd-Fe.css"><link rel="icon" href="/img/favicon.png"></head><body><div class="wrapper"><header id="menu-outer"><a href="/"><div class="logo"><img src="http://7xtb3a.com2.z0.glb.clouddn.com/[email protected]"></div></a><nav id="menu-inner"><a href="/">首页</a><a href="/archives">分类</a><a href="/about">关于我们</a><a href="https://github.com/dwd-fe">Github</a></nav></header><div id="content-outer"><div id="content-inner"><article id="post"><div class="post-header"><div class="post-space"><div class="post-title"><h1>Hello World</h1><h2>by 黄凯羿 on 2016-10-10</h2><h2><span>分类 </span><a class="tags-link" href="/tags/其他/">其他</a></h2></div></div><img src="http://7xtb3a.com2.z0.glb.clouddn.com/test.png" class="post-back"></div><div class="post-content"><p>Welcome to <a href="https://hexo.io/" target="_blank" rel="external">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="external">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://hexo.io/docs/troubleshooting.html" target="_blank" rel="external">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="external">GitHub</a>.</p> | ||
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo new <span class="string">"My New Post"</span></div></pre></td></tr></table></figure> | ||
<p>More info: <a href="https://hexo.io/docs/writing.html" target="_blank" rel="external">Writing</a></p> | ||
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo server</div></pre></td></tr></table></figure> | ||
<p>More info: <a href="https://hexo.io/docs/server.html" target="_blank" rel="external">Server</a></p> | ||
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo generate</div></pre></td></tr></table></figure> | ||
<p>More info: <a href="https://hexo.io/docs/generating.html" target="_blank" rel="external">Generating</a></p> | ||
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo deploy</div></pre></td></tr></table></figure> | ||
<p>More info: <a href="https://hexo.io/docs/deployment.html" target="_blank" rel="external">Deployment</a></p> | ||
<span id="return-to-top"></span></div></article><nav id="post-pagination"><a href="/2016/07/24/这是一个测试/" class="next"></a></nav></div></div><div class="copyright"><small>点我达FE 版权所有 ©️点我达FE all rights reserved. powered by <a href="https://hexo.io/" target="_blank">Hexo</a>.</small></div></div><script src="/js/Dwd-Fe.js"></script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="X-UA-Compatible" content="IE=edge"><title> 点我达前端博客</title><meta name="description" content="A Blog Powered By Hexo"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/css/Dwd-Fe.css"><link rel="icon" href="/img/favicon.png"></head><body><div class="wrapper"><header id="menu-outer"><a href="/"><div class="logo"><img src="http://7xtb3a.com2.z0.glb.clouddn.com/[email protected]"></div></a><nav id="menu-inner"><a href="/">首页</a><a href="/archives">分类</a><a href="/about">关于我们</a><a href="https://github.com/dwd-fe">Github</a></nav></header><div id="content-outer"><div id="content-inner"><div class="post-header"><div class="post-space"><div class="post-title"><h1>关于我们</h1><h2>About Us</h2></div></div><img src="http://7xtb3a.com2.z0.glb.clouddn.com/about.png" class="post-back"></div></div></div><div class="copyright"><small>点我达FE 版权所有 ©️点我达FE all rights reserved. powered by <a href="https://hexo.io/" target="_blank">Hexo</a>.</small></div></div><script src="/js/Dwd-Fe.js"></script></body></html> |
Oops, something went wrong.