File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ var revCollector = require('gulp-rev-collector');
2626//- 路径替换
2727
2828
29+ //删除文件夹中的内容
30+ gulp . task ( 'clean' , function ( ) {
31+ del ( [ "./dist/" ] ) ;
32+ } ) ;
33+
2934//压缩js
3035gulp . task ( 'minifyCommonJS' , function ( ) {
3136
Original file line number Diff line number Diff line change 44 "description" : " React blog" ,
55 "main" : " index.js" ,
66 "scripts" : {
7+ "clean" :" gulp clean" ,
78 "test" : " mocha tests/.setup.js tests/**/*-test.js --compilers css:mocha-compiler.js" ,
89 "start" : " node server" ,
910 "build" : " webpack --config ./bin/webpack.config.js" ,
Original file line number Diff line number Diff line change 163163 .cp-reply-cc {
164164 float : left ;
165165 margin-left : 55px ;
166- width : 93 % ;
166+ margin-right : 10 px ;
167167 font-family :SimSun, " Arial Narrow" , HELVETICA ;
168168 .cc-header {
169169 color : @NAME_COLOR ;
204204 border-top :1px dotted @BOTTOM_LINE_COLOR ;
205205 padding-top : 20px ;
206206
207-
208-
209207 .cc-floorNumber {
210- float : right ;
211208 font-size : 12px ;
212- font-family : SimSun;
213209 color : @GRAY_COLOR ;
210+ top : 20px ;
211+ right : 0px ;
212+ position : absolute ;
214213 }
215214
216215 .cc-ipAddr {
217216 font-size : 12px ;
218- font-family : SimSun;
219217 color : @GRAY_COLOR ;
220218 display : inline-block ;
221219 margin-left : 20px ;
You can’t perform that action at this time.
0 commit comments