11.6fc75cf7.js
9.5 KB
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{269:function(t,v,r){"use strict";r.r(v);var _=r(38),a=Object(_.a)({},function(){var t=this,v=t.$createElement,r=t._self._c||v;return r("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[r("h1",{attrs:{id:"前端-frontend"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#前端-frontend","aria-hidden":"true"}},[t._v("#")]),t._v(" 前端 Frontend")]),t._v(" "),r("h2",{attrs:{id:"能力输出"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#能力输出","aria-hidden":"true"}},[t._v("#")]),t._v(" 能力输出")]),t._v(" "),r("ul",[r("li",[r("p",[t._v("微信小程序")])]),t._v(" "),r("li",[r("p",[t._v("支持全平台("),r("strong",[t._v("Windows")]),t._v("、"),r("strong",[t._v("Mac")]),t._v("、"),r("strong",[t._v("Linux")]),t._v(")的桌面客户端,以 "),r("code",[t._v("Windows")]),t._v(" 环境为例,客户端程序以 "),r("code",[t._v("exe")]),t._v(" 格式的可执行文件形式存在,不需要依赖浏览器运行,例如 QQ、Microsoft Office 等一系列可直接运行的桌面客户端")])]),t._v(" "),r("li",[r("p",[t._v("各类型网站,包含但不限于以下类型")]),t._v(" "),r("ul",[r("li",[t._v("管理平台")]),t._v(" "),r("li",[t._v("CMS 站点")]),t._v(" "),r("li",[t._v("企业门户综合网站")]),t._v(" "),r("li",[t._v("服务类型网站")]),t._v(" "),r("li",[t._v("设备嵌入网页")])]),t._v(" "),r("p",[t._v("网站可根据需求针对 "),r("code",[t._v("desktop")]),t._v("、"),r("code",[t._v("tablet")]),t._v("、"),r("code",[t._v("mobile")]),t._v(" 等不同尺寸设备进行适配")])])]),t._v(" "),r("h2",{attrs:{id:"项目构建说明"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#项目构建说明","aria-hidden":"true"}},[t._v("#")]),t._v(" 项目构建说明")]),t._v(" "),r("h3",{attrs:{id:"网站"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#网站","aria-hidden":"true"}},[t._v("#")]),t._v(" 网站")]),t._v(" "),r("p",[t._v("各类型网站、设备嵌入式网页等")]),t._v(" "),r("h4",{attrs:{id:"生产环境"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#生产环境","aria-hidden":"true"}},[t._v("#")]),t._v(" 生产环境")]),t._v(" "),r("p",[t._v("生产环境内容更新须严格按照计划安排执行")]),t._v(" "),r("p",[t._v("执行构建流程")]),t._v(" "),r("ol",[r("li",[t._v("测试小组确认当前版本已通过测试")]),t._v(" "),r("li",[t._v("项目负责人根据计划决定更新时间")]),t._v(" "),r("li",[t._v("执行构建前自动化测试(ESLint 语法检查扫描、单元测试、端对端测试等)\n"),r("ul",{staticClass:"contains-task-list"},[r("li",{staticClass:"task-list-item"},[r("input",{staticClass:"task-list-item-checkbox",attrs:{checked:"",disabled:"",type:"checkbox"}}),t._v(" ESLint 语法检查扫描")]),t._v(" "),r("li",{staticClass:"task-list-item"},[r("input",{staticClass:"task-list-item-checkbox",attrs:{disabled:"",type:"checkbox"}}),t._v(" 单元测试")]),t._v(" "),r("li",{staticClass:"task-list-item"},[r("input",{staticClass:"task-list-item-checkbox",attrs:{disabled:"",type:"checkbox"}}),t._v(" 端对端测试")])])]),t._v(" "),r("li",[t._v("执行项目构建")]),t._v(" "),r("li",[t._v("提交构建结果于运维人员并正式更新至生产环境")])]),t._v(" "),r("h4",{attrs:{id:"测试环境"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#测试环境","aria-hidden":"true"}},[t._v("#")]),t._v(" 测试环境")]),t._v(" "),r("p",[t._v("持续集成平台根据配置自动进行构建,用于测试小组测试功能完成情况")]),t._v(" "),r("div",{staticClass:"tip custom-block"},[r("p",[t._v("在所有使用持续集成的项目中,构建频率均为每天中午及凌晨两个时段")]),t._v(" "),r("ul",[r("li",[t._v("中午自动构建保证下午可以测试新的内容")]),t._v(" "),r("li",[t._v("凌晨自动构建保证第二天早晨可以测试新的内容")])])]),t._v(" "),r("h4",{attrs:{id:"开发环境"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#开发环境","aria-hidden":"true"}},[t._v("#")]),t._v(" 开发环境")]),t._v(" "),r("p",[t._v("开发环境使用本地环境进行构建及运行项目")]),t._v(" "),r("h3",{attrs:{id:"微信小程序"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#微信小程序","aria-hidden":"true"}},[t._v("#")]),t._v(" 微信小程序")]),t._v(" "),r("p",[t._v("微信小程序各版本发布流程说明")]),t._v(" "),r("h4",{attrs:{id:"线上版"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#线上版","aria-hidden":"true"}},[t._v("#")]),t._v(" 线上版")]),t._v(" "),r("ol",[r("li",[t._v("测试小组确认当前版本已通过测试")]),t._v(" "),r("li",[t._v("项目负责人根据计划决定更新时间")]),t._v(" "),r("li",[t._v("设置环境参数为线上版")]),t._v(" "),r("li",[t._v("上传代码至微信小程序平台")]),t._v(" "),r("li",[t._v("进入微信公众平台,在版本管理中将当前 "),r("strong",[t._v("体验版")]),t._v(" 提交为 "),r("strong",[t._v("线上版")])]),t._v(" "),r("li",[t._v("等待微信平台审核")]),t._v(" "),r("li",[t._v("微信平台审核通过,并会在微信中通知相关人员")]),t._v(" "),r("li",[t._v("进入微信公众平台,将审核通过的版本,发布为 "),r("strong",[t._v("线上版")])])]),t._v(" "),r("h4",{attrs:{id:"预览版"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#预览版","aria-hidden":"true"}},[t._v("#")]),t._v(" 预览版")]),t._v(" "),r("ol",[r("li",[t._v("设置环境参数为开发版")]),t._v(" "),r("li",[t._v("将开发完成的代码上传至微信小程序平台")]),t._v(" "),r("li",[t._v("通过扫描预览版二维码进行试用")])]),t._v(" "),r("h2",{attrs:{id:"项目环境要求"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#项目环境要求","aria-hidden":"true"}},[t._v("#")]),t._v(" 项目环境要求")]),t._v(" "),r("p",[r("strong",[t._v("浏览器及版本要求")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[r("img",{attrs:{src:"/frontend/browser/edge.png",alt:"IE / Edge",width:"48",height:"48"}}),r("br"),t._v("IE / Edge")]),t._v(" "),r("th",[r("img",{attrs:{src:"/frontend/browser/firefox.png",alt:"Firefox",width:"48",height:"48"}}),r("br"),t._v("Firefox")]),t._v(" "),r("th",[r("img",{attrs:{src:"/frontend/browser/chrome.png",alt:"Chrome",width:"48",height:"48"}}),r("br"),t._v("Chrome")]),t._v(" "),r("th",[r("img",{attrs:{src:"/frontend/browser/safari.png",alt:"Safari",width:"48",height:"48"}}),r("br"),t._v("Safari")]),t._v(" "),r("th",[r("img",{attrs:{src:"/frontend/browser/opera.png",alt:"Opera",width:"48",height:"48"}}),r("br"),t._v("Opera")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("IE10, IE11, Edge")]),t._v(" "),r("td",[t._v("Firefox 18+")]),t._v(" "),r("td",[t._v("Chrome 49+")]),t._v(" "),r("td",[t._v("Safari 10+")]),t._v(" "),r("td",[t._v("Opera 36+")])])])]),t._v(" "),r("p",[r("strong",[t._v("屏幕分辨率要求")])]),t._v(" "),r("p",[r("code",[t._v("1366 X 768")]),t._v(" 及以上")]),t._v(" "),r("p",[r("strong",[t._v("项目部署需求")])]),t._v(" "),r("ul",[r("li",[t._v("nginx")])]),t._v(" "),r("p",[r("br"),r("br")]),t._v(" "),r("h2",{attrs:{id:"项目技术组成"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#项目技术组成","aria-hidden":"true"}},[t._v("#")]),t._v(" 项目技术组成")]),t._v(" "),r("p",[t._v("管理平台")]),t._v(" "),r("ul",[r("li",[t._v("vue2")]),t._v(" "),r("li",[t._v("vue-router")]),t._v(" "),r("li",[t._v("vuex")]),t._v(" "),r("li",[t._v("axios")]),t._v(" "),r("li",[t._v("element-ui")])]),t._v(" "),r("p",[t._v("网页开放平台(专项提供移动端 WebView 嵌入、独立页提供)")]),t._v(" "),r("ul",[r("li",[t._v("vue2")]),t._v(" "),r("li",[t._v("vue-router")]),t._v(" "),r("li",[t._v("vuex")]),t._v(" "),r("li",[t._v("axios")])]),t._v(" "),r("p",[t._v("单元测试")]),t._v(" "),r("ul",[r("li",[t._v("vue-test-utils")]),t._v(" "),r("li",[t._v("mocha")]),t._v(" "),r("li",[t._v("cypress")]),t._v(" "),r("li",[t._v("chai")])]),t._v(" "),r("p",[t._v("小程序")]),t._v(" "),r("ul",[r("li",[t._v("微信小程序原生方式")])]),t._v(" "),r("p",[r("br"),r("br")]),t._v(" "),r("h2",{attrs:{id:"代码版本控制位置"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#代码版本控制位置","aria-hidden":"true"}},[t._v("#")]),t._v(" 代码版本控制位置")]),t._v(" "),r("p",[t._v("前端团队代码使用位置:"),r("a",{attrs:{href:"http://192.168.100.254:3000/frontend",target:"_blank",rel:"noopener noreferrer"}},[t._v("frontend"),r("OutboundLink")],1)]),t._v(" "),r("p",[t._v("以下为前端团队目前完成的项目")]),t._v(" "),r("h3",{attrs:{id:"网站、管理平台"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#网站、管理平台","aria-hidden":"true"}},[t._v("#")]),t._v(" 网站、管理平台")]),t._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"http://192.168.100.254:3000/zenghaili/vegetarian-plus",target:"_blank",rel:"noopener noreferrer"}},[t._v("素+管理平台"),r("OutboundLink")],1)]),t._v(" "),r("li",[r("a",{attrs:{href:"http://192.168.100.254:3000/zenghaili/admin-platform",target:"_blank",rel:"noopener noreferrer"}},[t._v("系统管理后台"),r("OutboundLink")],1)])]),t._v(" "),r("h3",{attrs:{id:"小程序"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#小程序","aria-hidden":"true"}},[t._v("#")]),t._v(" 小程序")]),t._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"http://192.168.100.254:3000/zenghaili/exam",target:"_blank",rel:"noopener noreferrer"}},[t._v("便捷答题"),r("OutboundLink")],1)]),t._v(" "),r("li",[t._v("票选小助手")]),t._v(" "),r("li",[t._v("海鲜干货人家")]),t._v(" "),r("li",[t._v("我的旺铺")])])])},[],!1,null,null,null);v.default=a.exports}}]);