tank.html 7.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html>
  2. <html lang="en-US">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1">
  6. <title>坦克世界专题 | 偶游前端</title>
  7. <meta name="generator" content="VuePress 1.9.7">
  8. <meta name="description" content="">
  9. <link rel="preload" href="/docs/assets/css/0.styles.d94ea0ab.css" as="style"><link rel="preload" href="/docs/assets/js/app.2431a00a.js" as="script"><link rel="preload" href="/docs/assets/js/2.f7777874.js" as="script"><link rel="preload" href="/docs/assets/js/15.4905f579.js" as="script"><link rel="prefetch" href="/docs/assets/js/10.9d1aad53.js"><link rel="prefetch" href="/docs/assets/js/11.30b895bf.js"><link rel="prefetch" href="/docs/assets/js/12.875be95c.js"><link rel="prefetch" href="/docs/assets/js/13.5a9efc48.js"><link rel="prefetch" href="/docs/assets/js/14.b907632b.js"><link rel="prefetch" href="/docs/assets/js/16.76ac9ec7.js"><link rel="prefetch" href="/docs/assets/js/17.2ddbc696.js"><link rel="prefetch" href="/docs/assets/js/18.38ed2bd0.js"><link rel="prefetch" href="/docs/assets/js/19.29f587ce.js"><link rel="prefetch" href="/docs/assets/js/20.fedca497.js"><link rel="prefetch" href="/docs/assets/js/21.70316301.js"><link rel="prefetch" href="/docs/assets/js/22.d06b9c4f.js"><link rel="prefetch" href="/docs/assets/js/23.cfe38809.js"><link rel="prefetch" href="/docs/assets/js/24.ca50f3c1.js"><link rel="prefetch" href="/docs/assets/js/3.a1131818.js"><link rel="prefetch" href="/docs/assets/js/4.d31729fa.js"><link rel="prefetch" href="/docs/assets/js/5.4e04916d.js"><link rel="prefetch" href="/docs/assets/js/6.91b60684.js"><link rel="prefetch" href="/docs/assets/js/7.467cbd0c.js"><link rel="prefetch" href="/docs/assets/js/8.de63b438.js"><link rel="prefetch" href="/docs/assets/js/9.d353de00.js">
  10. <link rel="stylesheet" href="/docs/assets/css/0.styles.d94ea0ab.css">
  11. </head>
  12. <body>
  13. <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/docs/" class="home-link router-link-active"><!----> <span class="site-name">偶游前端</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <!----></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><!----> <ul class="sidebar-links"><li><a href="/docs/" aria-current="page" class="sidebar-link">偶游前端(冯垣玮)</a></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>项目</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/docs/currentProgram/guide.html" class="sidebar-link">智能鞋落地页</a></li><li><a href="/docs/currentProgram/uni-app-pro.html" class="sidebar-link">智能鞋小程序商城</a></li><li><a href="/docs/currentProgram/customerService.html" class="sidebar-link">智能鞋客服系统</a></li><li><a href="/docs/currentProgram/tank.html" aria-current="page" class="active sidebar-link">坦克专题</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/docs/currentProgram/tank.html#项目地址" class="sidebar-link">项目地址</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/tank.html#技术选型" class="sidebar-link">技术选型</a></li></ul></li><li><a href="/docs/currentProgram/hiydMini.html" class="sidebar-link">hi运动教练小程序</a></li><li><a href="/docs/currentProgram/hiydShop.html" class="sidebar-link">hi运动商城</a></li><li><a href="/docs/currentProgram/webGame.html" class="sidebar-link">多玩游戏大厅</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="坦克世界专题"><a href="#坦克世界专题" class="header-anchor">#</a> 坦克世界专题</h1> <blockquote><p>请编辑过的人员留下你的姓名</p></blockquote> <ul><li>文档编辑人员 杜文华(2021/3/12)</li></ul> <h2 id="项目地址"><a href="#项目地址" class="header-anchor">#</a> 项目地址</h2> <p>http://svn.ouj.com:3000/FED/oyweb-fe/src/master/special/%e5%9d%a6%e5%85%8b%e4%b8%96%e7%95%8c</p> <h2 id="技术选型"><a href="#技术选型" class="header-anchor">#</a> 技术选型</h2> <ul><li><a href="https://parceljs.org/" target="_blank" rel="noopener noreferrer">parcel<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <p>parcel 的理念是 HTML 为主入口的,然后专题专区也是以 HTML 为主入口进去的,而且 parcel 是零配置的,可以直接上手</p> <ul><li>简单的构建</li></ul> <div class="language-JavaScript extra-class"><pre class="language-javascript"><code>
  14. <span class="token string-property property">&quot;build&quot;</span><span class="token operator">:</span> <span class="token string">&quot;rm -rf ./dist/* &amp;&amp; parcel build ./src/index.html --public-url //pub.ouj.com/newzt/200416tksjlist/ --no-source-maps&quot;</span>
  15. <span class="token comment">// public-url: 公共资源要去复制过去 然后 newzt是新的branch 然后 后面接日期 和文件名 </span>
  16. </code></pre></div><ul><li>简单的架构</li></ul> <div class="language-Bash extra-class"><pre class="language-bash"><code>
  17. - assets 图片资源
  18. - styles css
  19. - scripts js
  20. - index.html 主入口
  21. - parcel.config.js 是用来配置的 本来想配置的好点 但是后来发现好像有点困难 就先放这了,有兴趣可以研究一下怎么build的更好
  22. </code></pre></div></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
  23. <a href="/docs/currentProgram/customerService.html" class="prev">
  24. 智能鞋客服系统
  25. </a></span> <span class="next"><a href="/docs/currentProgram/hiydMini.html">
  26. hi运动教练小程序
  27. </a>
  28. </span></p></div> </main></div><div class="global-ui"></div></div>
  29. <script src="/docs/assets/js/app.2431a00a.js" defer></script><script src="/docs/assets/js/2.f7777874.js" defer></script><script src="/docs/assets/js/15.4905f579.js" defer></script>
  30. </body>
  31. </html>