# 传世心经 **Repository Path**: yuyuhappy/cs_heart ## Basic Information - **Project Name**: 传世心经 - **Description**: 传世心经,内部移动端软件。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-07-11 - **Last Updated**: 2021-02-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # lianlian > vue yuyu ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification(正式环境) npm run build # test for production with (测试环境) npm run test # build for production and view the bundle analyzer report npm run build --report ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). 喻煜 2018.7.31 环境问题: 测试环境和正式环境发布的时候记得修改wx.html文件的接口地址。 项目发布地址问题: 因为接口都是线上的所以不需要解决跨域问题。 config/dev.env.js本地测试环境url config/prod.env.js build生产环境url 项目文件夹components分了7块 businessTrip----文件夹放了出差模块的列表/表单/详情页 dealt ----文件夹放了我的待办的列表/详情页 index ----放了首页 login ----放了登录首页,设置页面,修改密码,重置密码 reimbursement---放了报销的列表/表单/详情页 workOvertime ---放了加班的列表/表单/详情页 share ----放了项目所使用的所有组件 attachment----详情页中的电子附件组件,主要过滤非图片的文件,只展示图片。 detailCtxBusTrip---出差的详情页文本内容模块 detailCtxOvertime--加班的详情页文本内容模块 detailCtxReireimbursement---报销详情页文本内容模块 detailUser----详情页头部内容,含有用户头像姓名信息 listCard----所有列表页公用组件(含有出差、报销、加班、待办) listTimeRange---列表页头部使用了时间删选的组件 progress----所有详情页操作流程时间轴的组件 uploaderImg----表单上传图片组件 userImg----用户头像组件,因为需要判断用户性别展示不同头像。