-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9bfe6ad
Showing
31 changed files
with
2,191 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules/ | ||
*.zip | ||
dev/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "WxMoment-Workflow", | ||
"version": "0.0.1", | ||
"devDependencies": { | ||
"async": "^0.9.0", | ||
"browser-sync": "~2.6.4", | ||
"del": "^1.1.1", | ||
"gulp": "^3.8.10", | ||
"gulp-copy": "0.0.2", | ||
"gulp-ejs": "^1.1.0", | ||
"gulp-if": "^1.2.5", | ||
"gulp-imagemin": "^2.2.1", | ||
"gulp-less": "^3.0.1", | ||
"gulp-minify-css": "^1.1.0", | ||
"gulp-rename": "^1.2.2", | ||
"gulp-replace": "^0.5.3", | ||
"gulp-tmtsprite": "0.0.8", | ||
"gulp-uglify": "^1.2.0", | ||
"gulp-usemin2": "^0.2.4", | ||
"gulp-watch": "^4.2.4", | ||
"gulp-webp": "^2.2.0", | ||
"gulp-zip": "^3.0.0", | ||
"lodash": "^3.5.0", | ||
"rc": "^1.0.1", | ||
"tmt-ejs-helper": "^0.0.1" | ||
}, | ||
"dependencies": { | ||
"gulp-util": "^3.0.4", | ||
"rd": "0.0.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
|
||
"livereload": { | ||
"available": true, | ||
"port": 8080, | ||
"startPath": "html/index.html" | ||
}, | ||
|
||
"support_webp": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
var gulp = require('gulp'); | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
|
||
//注册 | ||
var deep = 3; | ||
run_tasks('tasks'); | ||
|
||
function run_tasks(tasks_path) { | ||
if (--deep < 0) { | ||
throw new Error('something wrong in require tasks!'); | ||
return; | ||
} | ||
|
||
tasks_path = path.join('../', tasks_path); | ||
|
||
if (fs.existsSync(tasks_path)) { | ||
require(tasks_path)(gulp); | ||
} else { | ||
run_tasks(tasks_path); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.footer { | ||
background: #000; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.head { | ||
background: #000; | ||
color: #fff; | ||
} | ||
|
||
.head__logo { | ||
font-size: 40px; | ||
color: #fff; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.office__excel { | ||
height: 64px; | ||
width: 64px; | ||
background-image: url(../slice/office/excel.png); | ||
} | ||
|
||
.office__project { | ||
height: 64px; | ||
width: 64px; | ||
background-image: url(../slice/office/project.png); | ||
} | ||
|
||
.office__publisher2 { | ||
height: 64px; | ||
width: 64px; | ||
background-image: url(../slice/office/publisher.png); | ||
} | ||
|
||
.office__publisher { | ||
height: 64px; | ||
width: 64px; | ||
background-image: url(../slice/office/publisher.png); | ||
} | ||
|
||
.office__word { | ||
height: 64px; | ||
width: 64px; | ||
background-image: url(../slice/office/word.png); | ||
} | ||
|
||
.office__word2 { | ||
height: 64px; | ||
width: 64px; | ||
background-image: url(../slice/office/word.png); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@import "lib-reset"; | ||
@import "head"; | ||
@import "office"; | ||
@import "footer"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh-CN"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>WxMoment-Workflow</title> | ||
<link rel="stylesheet" href="../css/style-workflow.css"> | ||
</head> | ||
<body> | ||
|
||
<div class="main"> | ||
<div>WxMoment-Workflow Content</div> | ||
<img src="../img/avatar.png" alt=""/> | ||
<h2>雪原图合并</h2> | ||
<div> | ||
<div class="office__excel"></div> | ||
<div class="office__project"></div> | ||
<div class="office__publisher"></div> | ||
<div class="office__word"></div> | ||
<!--同一张图片被两次引用--> | ||
<div class="office__word2"></div> | ||
</div> | ||
</div> | ||
<!-- build:js ../js/build.js --> | ||
<script src="../js/zepto_modify.js"></script> | ||
<script src="../js/pxloader.js"></script> | ||
<!-- endbuild --> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* Created by littledu on 15/4/24. | ||
*/ | ||
;(function(){ | ||
console.log('lib.js run'); | ||
})(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* Created by littledu on 15/4/24. | ||
*/ | ||
;(function(){ | ||
console.log('workflow.js run'); | ||
})(); |
Oops, something went wrong.