Skip to content

Commit

Permalink
1、解决 yd-popup 组件中center默认不支持固定高度问题。
Browse files Browse the repository at this point in the history
2、解决 yd-search 组件result传入对象数组导致出错问题。
3、解决 yd-accordion 组件三角形箭头位置颠倒问题。
4、将 ydui.js 文件名修改为 ydui.rem.js,以方便非rem时使用。
  • Loading branch information
ydcss committed Jan 9, 2018
1 parent 4ff8ebd commit 726a168
Show file tree
Hide file tree
Showing 91 changed files with 133 additions and 146 deletions.
10 changes: 2 additions & 8 deletions build/build.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,16 @@ gulp.task('css:ydui', function () {
});

gulp.task('js:ydui', function () {
gulp.src('../dist/ydui.js')
gulp.src('../dist/ydui.rem.js')
.pipe(replaceRem2Px())
.pipe(rename('ydui.px.js'))
.pipe(gulp.dest('../dist'));
});

gulp.task('copy:ydui', function () {
gulp.src('../dist/ydui.js')
.pipe(rename('ydui.rem.js'))
.pipe(gulp.dest('../dist'));
});

gulp.task('flexible', function () {
gulp.src('../src/ydui.flexible.js')
.pipe(require('gulp-uglify')())
.pipe(gulp.dest('../dist'));
});

gulp.task('default', ['css:base', 'css:ydui', 'js:ydui', 'copy:ydui', 'flexible']);
gulp.task('default', ['css:base', 'css:ydui', 'js:ydui', 'flexible']);
2 changes: 1 addition & 1 deletion build/webpack.dist.prod.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const distCommonWebpackConfig = require('./webpack.dist.common.conf');

module.exports = merge(distCommonWebpackConfig, {
entry: {
ydui: './src/ydui.js'
'ydui.rem': './src/ydui.js'
},
vue: {
loaders: {
Expand Down
4 changes: 2 additions & 2 deletions dist/lib.px/accordion/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib.px/actionsheet/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib.px/backtop/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib.px/badge/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib.px/button/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib.px/cell/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib.px/checkbox/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib.px/checklist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib.px/cityselect/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lib.px/countdown/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/lib.px/countup/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/lib.px/datetime/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib.px/dialog/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit 726a168

Please sign in to comment.