├── .babelrc ├── src ├── components │ └── empty │ │ ├── index.js │ │ ├── index.html │ │ └── index.less ├── images │ ├── empty.png │ ├── feng.jpg │ ├── logo.png │ ├── avatar.png │ └── avatar_bg.png ├── pages │ ├── center │ │ ├── center.less │ │ ├── center.html │ │ └── center.js │ └── index │ │ ├── index.less │ │ ├── index.js │ │ └── index.html ├── utils │ └── util.js ├── libs │ ├── bootstrap │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ ├── js │ │ │ ├── html5shiv.min.js │ │ │ ├── respond.min.js │ │ │ └── bootstrap.min.js │ │ └── config.json │ ├── template │ │ ├── es5-sham.min.js │ │ ├── json3.min.js │ │ ├── template.min.js │ │ └── es5-shim.min.js │ └── es6 │ │ └── polyfill.min.js ├── common │ ├── header │ │ ├── index.less │ │ ├── index.js │ │ └── index.html │ └── footer │ │ ├── index.less │ │ ├── index.js │ │ └── index.html └── styles │ ├── main.less │ └── iconfont │ └── iconfont.css ├── favicon.ico ├── .eslintignore ├── .gitignore ├── .editorconfig ├── .eslintrc.js ├── package.json ├── README.md └── gulpfile.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/env"], 3 | "plugins": [] 4 | } -------------------------------------------------------------------------------- /src/components/empty/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // import './empty.less' 4 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shiguang0116/gulp3-project/HEAD/favicon.ico -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | # ESLint总是忽略 /node_modules/* 和 /bower_components/* 中的文件 2 | 3 | /dist/ 4 | /src/libs/ -------------------------------------------------------------------------------- /src/images/empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shiguang0116/gulp3-project/HEAD/src/images/empty.png -------------------------------------------------------------------------------- /src/images/feng.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shiguang0116/gulp3-project/HEAD/src/images/feng.jpg -------------------------------------------------------------------------------- /src/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shiguang0116/gulp3-project/HEAD/src/images/logo.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | /dist 4 | /node_modules 5 | rev-manifest.json 6 | npm-debug.log 7 | 8 | *.zip -------------------------------------------------------------------------------- /src/images/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shiguang0116/gulp3-project/HEAD/src/images/avatar.png -------------------------------------------------------------------------------- /src/images/avatar_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shiguang0116/gulp3-project/HEAD/src/images/avatar_bg.png -------------------------------------------------------------------------------- /src/pages/center/center.less: -------------------------------------------------------------------------------- 1 | #center_page{ 2 | .less{ 3 | font-size: 14px; 4 | &-child{ 5 | font-size: 16px; 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /src/utils/util.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @description: js通用工具类 3 | * 4 | * @download: npm i sg-utils -S 5 | * @github: https://github.com/shiguang0116/sg-utils 6 | */ 7 | -------------------------------------------------------------------------------- /src/libs/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shiguang0116/gulp3-project/HEAD/src/libs/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/libs/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shiguang0116/gulp3-project/HEAD/src/libs/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/libs/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shiguang0116/gulp3-project/HEAD/src/libs/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/libs/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shiguang0116/gulp3-project/HEAD/src/libs/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /src/common/header/index.less: -------------------------------------------------------------------------------- 1 | // header 2 | .header{ 3 | background: #163149; 4 | height: 30px; 5 | line-height: 30px; 6 | color: white; 7 | letter-spacing: 1.2px; 8 | } -------------------------------------------------------------------------------- /src/components/empty/index.html: -------------------------------------------------------------------------------- 1 |
{{message}}
4 |
16 |