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