guide.html 10 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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/12.875be95c.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/13.5a9efc48.js"><link rel="prefetch" href="/docs/assets/js/14.b907632b.js"><link rel="prefetch" href="/docs/assets/js/15.4905f579.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" aria-current="page" class="active sidebar-link">智能鞋落地页</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/docs/currentProgram/guide.html#说明" class="sidebar-link">说明</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/guide.html#项目地址" class="sidebar-link">项目地址</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/guide.html#h5上线目录" class="sidebar-link">h5上线目录</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/guide.html#h5域名" class="sidebar-link">h5域名</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/guide.html#技术选型" class="sidebar-link">技术选型</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/guide.html#最终的技术栈" class="sidebar-link">最终的技术栈</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/guide.html#node版本" class="sidebar-link">node版本</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/guide.html#开发工具" class="sidebar-link">开发工具</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/guide.html#项目架构" class="sidebar-link">项目架构</a></li></ul></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" class="sidebar-link">坦克专题</a></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>文档编辑人员 冯垣玮(2022/10/28)</li></ul> <h2 id="说明"><a href="#说明" class="header-anchor">#</a> 说明</h2> <p>此项目主要用于智能鞋h5页面及智能鞋小程序,包括智能鞋App引用的h5页面</p> <h2 id="项目地址"><a href="#项目地址" class="header-anchor">#</a> 项目地址</h2> <ul><li>svn://svn.webdev.ouj.com/biz/shoes/trunk/guide/frontend</li></ul> <h2 id="h5上线目录"><a href="#h5上线目录" class="header-anchor">#</a> h5上线目录</h2> <ul><li>svn://svn.webdev.ouj.com/biz/shoes/trunk/xie-web</li></ul> <h2 id="h5域名"><a href="#h5域名" class="header-anchor">#</a> h5域名</h2> <table><thead><tr><th>环境</th> <th>域名</th></tr></thead> <tbody><tr><td>正式环境</td> <td><a href="https://xie-web.funfet.com/index.html#/" target="_blank" rel="noopener noreferrer">xie-web.funfet.com<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></td></tr></tbody></table> <h2 id="技术选型"><a href="#技术选型" class="header-anchor">#</a> 技术选型</h2> <blockquote><p>目标:微信小程序,h5页面</p></blockquote> <ol><li>由于项目存在跨端,不考虑小程序原生</li> <li>跨端可选择的方案,(1)uni-app,(2)taro</li></ol> <p>最终由于技术人员对Vue更熟悉,即开发效率更高,最终选择了基于Vue的跨端框架uni-app</p> <h2 id="最终的技术栈"><a href="#最终的技术栈" class="header-anchor">#</a> 最终的技术栈</h2> <blockquote><p>uniapp + scss + uviewui(2.0.31) + 原生小程序内置 Api</p></blockquote> <h2 id="node版本"><a href="#node版本" class="header-anchor">#</a> node版本</h2> <blockquote><p>&quot;node&quot;: &quot;16.13.0&quot;</p></blockquote> <h2 id="开发工具"><a href="#开发工具" class="header-anchor">#</a> 开发工具</h2> <blockquote><p>XBuilder X (3.6.3.20220917)</p></blockquote> <h2 id="项目架构"><a href="#项目架构" class="header-anchor">#</a> 项目架构</h2> <div class="language-Bash extra-class"><pre class="language-bash"><code>- api <span class="token comment"># http请求</span>
  14. - components <span class="token comment"># 公共组件(自定义)</span>
  15. - config <span class="token comment"># 项目变量配置文件</span>
  16. - mixins <span class="token comment"># 全局mixin</span>
  17. - node_modules
  18. - pages <span class="token comment"># 业务页面文件存放的目录</span>
  19. <span class="token operator">|</span>- <span class="token punctuation">..</span>.
  20. <span class="token operator">|</span>- Guide <span class="token comment"># 落地页相关</span>
  21. <span class="token operator">|</span>- Index <span class="token comment"># 项目首页</span>
  22. <span class="token operator">|</span>- Rules <span class="token comment"># 智能鞋游戏规则页</span>
  23. <span class="token operator">|</span>- <span class="token punctuation">..</span>.
  24. - static <span class="token comment"># 存放应用引用的本地静态资源</span>
  25. - store <span class="token comment"># 全局存储</span>
  26. - styles <span class="token comment"># 定义的全局scss</span>
  27. - utils <span class="token comment"># 工具类</span>
  28. - App.vue <span class="token comment"># 应用配置,用来配置App全局样式以及监听</span>
  29. - main.js <span class="token comment"># Vue初始化入口文件</span>
  30. - manifest.json <span class="token comment"># 配置应用名称、appid、logo、版本等打包信息</span>
  31. - pages.json <span class="token comment"># 配置页面路由、导航条、选项卡等页面类信息</span>
  32. - uni.scss <span class="token comment"># uni-app内置的全局常用样式变量 </span>
  33. </code></pre></div></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
  34. <a href="/docs/" class="prev router-link-active">
  35. 偶游前端(冯垣玮)
  36. </a></span> <span class="next"><a href="/docs/currentProgram/uni-app-pro.html">
  37. 智能鞋小程序商城
  38. </a>
  39. </span></p></div> </main></div><div class="global-ui"></div></div>
  40. <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/12.875be95c.js" defer></script>
  41. </body>
  42. </html>