customerService.html 15 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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/11.30b895bf.js" as="script"><link rel="prefetch" href="/docs/assets/js/10.9d1aad53.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/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" 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" aria-current="page" class="active sidebar-link">智能鞋客服系统</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/docs/currentProgram/customerService.html#说明" class="sidebar-link">说明</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/customerService.html#项目地址" class="sidebar-link">项目地址</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/customerService.html#项目域名" class="sidebar-link">项目域名</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/customerService.html#技术选型" class="sidebar-link">技术选型</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/customerService.html#最终的技术栈" class="sidebar-link">最终的技术栈</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/customerService.html#node版本" class="sidebar-link">node版本</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/customerService.html#项目架构" class="sidebar-link">项目架构</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/customerService.html#命令" class="sidebar-link">命令</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/customerService.html#备注" class="sidebar-link">备注</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/docs/currentProgram/customerService.html#开发架子" class="sidebar-link">开发架子</a></li><li class="sidebar-sub-header"><a href="/docs/currentProgram/customerService.html#关于客服" class="sidebar-link">关于客服</a></li></ul></li></ul></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>范肆智能鞋提供售前,售后服务的平台</p> <h2 id="项目地址"><a href="#项目地址" class="header-anchor">#</a> 项目地址</h2> <ul><li>svn://svn.webdev.ouj.com/biz/shoes/trunk/funlive2.0/frontend</li></ul> <h2 id="项目域名"><a href="#项目域名" class="header-anchor">#</a> 项目域名</h2> <table><thead><tr><th>环境</th> <th>域名</th></tr></thead> <tbody><tr><td>正式环境</td> <td><a href="https://admin-funlive.funfet.com/login" target="_blank" rel="noopener noreferrer">https://admin-funlive.funfet.com/login<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>目标:pc端</p></blockquote> <p>可选择的方案,(1)Vue (2)react</p> <p>最终由于技术人员对Vue更熟悉,即开发效率更高,最终选择了Vue</p> <h2 id="最终的技术栈"><a href="#最终的技术栈" class="header-anchor">#</a> 最终的技术栈</h2> <blockquote><p>vite(2.6.14) + Vue3(3.2.24) + TypeScript + sass(1.43.4) + element-plus(2.0.1)</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> <div class="language-Bash extra-class"><pre class="language-bash"><code>- build
  14. - mock
  15. - public
  16. - src <span class="token comment"># 项目源代码</span>
  17. - api <span class="token comment"># 请求 api</span>
  18. - assets <span class="token comment"># 字体、图片等静态资源</span>
  19. - components <span class="token comment"># 全局自定义公用组件</span>
  20. - config <span class="token comment"># 项目源代码全局配置</span>
  21. - directives <span class="token comment"># 全局自定义指令</span>
  22. - layout <span class="token comment"># 主要页面布局</span>
  23. - plugins <span class="token comment"># 处理一些主要库或者插件,导出更方便的api</span>
  24. - router <span class="token comment"># 路由配置</span>
  25. - store <span class="token comment"># 全局状态管理</span>
  26. - style <span class="token comment"># 全局样式</span>
  27. - utils <span class="token comment"># 全局工具方法</span>
  28. - views <span class="token comment"># 全局单页面组件</span>
  29. - Basic <span class="token comment"># 基础设置</span>
  30. - Chats <span class="token comment"># 客服咨询</span>
  31. - Custom <span class="token comment"># 客户管理</span>
  32. - Dashboard <span class="token comment"># 首页</span>
  33. - Eval <span class="token comment"># 评价管理</span>
  34. - Personal <span class="token comment"># 个人管理</span>
  35. - Record <span class="token comment"># 历史记录</span>
  36. - Shoes <span class="token comment"># 用户鞋库</span>
  37. - Suggest <span class="token comment"># 投诉管理</span>
  38. - System <span class="token comment"># 系统管理</span>
  39. - Viewprot <span class="token comment"># 窗口管理</span>
  40. - <span class="token number">401</span>.vue <span class="token comment"># 401页面</span>
  41. - <span class="token number">404</span>.vue <span class="token comment"># 404页面</span>
  42. - login.vue <span class="token comment"># 登录页面</span>
  43. - redirect.vue <span class="token comment"># 重定向</span>
  44. - App.vue <span class="token comment"># 入口页面</span>
  45. - main.ts <span class="token comment"># 入口文件</span>
  46. - types <span class="token comment"># 全局 TS 类型配置</span>
  47. - .editorconfig <span class="token comment"># 编辑器读取文件格式及样式定义配置</span>
  48. - .env <span class="token comment"># 全局环境变量配置</span>
  49. - .env.development <span class="token comment"># 开发环境变量配置</span>
  50. - .env.production <span class="token comment"># 生产环境变量配置</span>
  51. - .eslintignore <span class="token comment"># eslint 语法检查忽略文件</span>
  52. - .eslintrc.js <span class="token comment"># eslint 语法检查配置</span>
  53. - .gitignore <span class="token comment"># git 提交忽略文件</span>
  54. - .gitpod.yml(可选)
  55. - .markdownlint.json <span class="token comment"># markdown 格式检查配置</span>
  56. - .prettierrc.js <span class="token comment"># prettier 插件配置</span>
  57. - .stylelintignore <span class="token comment"># stylelint 插件检查忽略文件</span>
  58. - CHANGELOG.en_US.md(可选)
  59. - CHANGELOG.md(可选)
  60. - CHANGELOG.zh_CN.md <span class="token comment"># 改动日志记录</span>
  61. - commitlint.config.js <span class="token comment"># git 提交前检查配置</span>
  62. - index.html <span class="token comment"># html 主入口</span>
  63. - LICENSE <span class="token comment"># 证书</span>
  64. - package.json <span class="token comment"># 依赖包管理 JSON 文件</span>
  65. - pnpm-lock.yaml <span class="token comment"># 依赖包版本内容锁定文件(不要改动!)</span>
  66. - postcss.config.js <span class="token comment"># postcss 插件配置</span>
  67. - README.en-US.md(可选)
  68. - README.md <span class="token comment"># README</span>
  69. - stylelint.config.js <span class="token comment"># stylelint 插件配置</span>
  70. - tsconfig.json <span class="token comment"># ts 配置</span>
  71. - vite.config.ts <span class="token comment"># vite 配置</span>
  72. </code></pre></div><h2 id="命令"><a href="#命令" class="header-anchor">#</a> 命令</h2> <blockquote><p>打包与开发需使用pnpm,版本pnpm &gt;= 6</p></blockquote> <blockquote><p>开发:pnpm dev</p></blockquote> <blockquote><p>打包:pnpm build</p></blockquote> <h2 id="备注"><a href="#备注" class="header-anchor">#</a> 备注</h2> <h3 id="开发架子"><a href="#开发架子" class="header-anchor">#</a> 开发架子</h3> <ul><li>找的开源架子vue-pure-admin,具体可参考 <a href="http://yiming_chang.gitee.io/pure-admin-doc/" target="_blank" rel="noopener noreferrer">vue-pure-admin<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> <h3 id="关于客服"><a href="#关于客服" class="header-anchor">#</a> 关于客服</h3> <ol><li><p>根据需求,客服使用的是微信提供的客服sdk,客户可通过微信直接找到客服进行咨询。</p></li> <li><p>客服与窗口</p></li></ol> <ul><li><p>问题:根据微信sdk,发现每创建一个客服,微信端都会生成一个聊天窗口,不符合需求。</p></li> <li><p>解决:发现客服下可绑定多个接待人员,而接待人员才是我们真正的聊天服务人员,即原来的客服=聊天窗口,接待人员=聊天人员,聊天人员=后台登陆账号</p></li></ul> <ol start="3"><li>客服即是窗口,窗口是绑定到范肆商城小程序里的,<font color="#FF0000">误删!!!</font></li></ol></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
  73. <a href="/docs/currentProgram/uni-app-pro.html" class="prev">
  74. 智能鞋小程序商城
  75. </a></span> <span class="next"><a href="/docs/currentProgram/tank.html">
  76. 坦克专题
  77. </a>
  78. </span></p></div> </main></div><div class="global-ui"></div></div>
  79. <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/11.30b895bf.js" defer></script>
  80. </body>
  81. </html>