广州大学华软软件学院 2015 项目实训——软件工程系信息工程移动互联网方向 2 班『沙县小吃』队伍作品。
$ git clone [email protected]:djyde/HR-Training.git
$ cd HR-Training/
$ npm install
Gulp task:
$ gulp # Default task. Listening the change of all static files.
$ gulp jade # Compile jade files
$ gulp css # Concat all the style fils into dist/global.css
$ gulp scripts # Concat all the scripts files into dist/global.js
我们不建议你直接打开 index.html
,而是使用静态服务器运行。
在 osx 或 Linux 中,你可以使用 python 的 SimpleHTTPServer 轻松地搭建一个静态 Server:
$ python -m SimpleHTTPServer [端口号]
在 windows 中,建议你直接进入 演示地址
本项目使用 Semantic UI 前端框架,使用 Gulp 进行自动化构建。
在 临时购物车 部分,使用 localStorage 进行数据存储,操作交由 MVVM 框架 Vue.js 处理。
- Jade Template Engine
- localStorage (HTML5)
- Gulp
- Vue.js (MVVM)
- Semantic UI
- OS X 10.10.0
- Chrome 43.0.2357.130 (64-bit)
- Sublime Text 3
- 我们不建议你将此项目运行在不符合 W3C 标准的浏览器(如 IE)上
- 此项目没有完成『浮动广告』相关的代码,是因为我们抵制将 JavaScript 被滥用于此类途径。
MIT License