mirror of
https://github.com/Tencent/weui.git
synced 2026-03-13 08:02:03 +08:00
fix: 修复msg组件英文词间断行、picker组件适配darkmode、toast组件的旧版loading图标大小问题
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
### v2.4.2 (2020-11-25)
|
||||
|
||||
#### Bugfixes
|
||||
* fix: 修复picker组件darkmode下的背景色适配问题
|
||||
* fix: 修复toast组件的旧版loading图标大小
|
||||
* fix: 修复msg组件英文文本词间断行问题
|
||||
|
||||
|
||||
### v2.4.1 (2020-11-05)
|
||||
|
||||
#### Features
|
||||
|
||||
21
dist/style/weui.css
vendored
21
dist/style/weui.css
vendored
File diff suppressed because one or more lines are too long
2
dist/style/weui.min.css
vendored
2
dist/style/weui.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -14,6 +14,7 @@ var browserSync = require('browser-sync');
|
||||
var childProcess = require('child_process');
|
||||
var pkg = require('./package.json');
|
||||
var convertCssVar = require('gulp-convert-css-var');
|
||||
var exec = require('child_process').exec;
|
||||
|
||||
var yargs = require('yargs').options({
|
||||
w: {
|
||||
@@ -199,6 +200,11 @@ gulp.task('server', function() {
|
||||
});
|
||||
});
|
||||
|
||||
gulp.task('tag', function() {
|
||||
const tag = `v${pkg.version}`;
|
||||
exec(`git tag ${tag}`);
|
||||
});
|
||||
|
||||
// 参数说明
|
||||
// -w: 实时监听
|
||||
// -s: 启动服务器
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "weui",
|
||||
"version": "2.4.1",
|
||||
"version": "2.4.2",
|
||||
"description": "A UI library by WeChat official design team, includes the most useful widgets/modules in mobile web applications.",
|
||||
"keywords": [
|
||||
"weui",
|
||||
@@ -18,8 +18,7 @@
|
||||
"test": "gulp build",
|
||||
"changelog": "picklog -l -w CHANGELOG.md",
|
||||
"build": "gulp build",
|
||||
"version": "git add -A .",
|
||||
"postversion": "git push && git push --tags",
|
||||
"release": "gulp tag && git add -A . && git push && git push --tags",
|
||||
"lint": "stylelint src",
|
||||
"lint:fix": "stylelint src --fix"
|
||||
},
|
||||
|
||||
@@ -50,21 +50,15 @@
|
||||
font-weight: 700;
|
||||
font-size: 22px;
|
||||
color: @weuiTextColorTitle;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
}
|
||||
.weui-msg__desc {
|
||||
font-size: 17px;
|
||||
color: @weuiTextColorTitle;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.weui-msg__desc-primary {
|
||||
font-size: 14px;
|
||||
color: @weuiTextColorDesc;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.weui-msg__opr-area {
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
z-index: 3;
|
||||
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6)), linear-gradient(0deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6));
|
||||
.dark({
|
||||
background-image: linear-gradient(180deg, rgba(35, 35, 35, 0.95), rgba(35, 35, 35, 0.6)), linear-gradient(0deg, rgba(35, 35, 35, 0.95), rgba(35, 35, 35, 0.6));
|
||||
background-image: linear-gradient(180deg, rgba(25, 25, 25, 0.95), rgba(25, 25, 25, 0.6)), linear-gradient(0deg, rgba(25, 25, 25, 0.95), rgba(25, 25, 25, 0.6));
|
||||
});
|
||||
|
||||
background-position: top, bottom;
|
||||
|
||||
@@ -55,6 +55,10 @@
|
||||
&.weui-icon-warn {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
&.weui-loading {
|
||||
width:36px;
|
||||
height:36px;
|
||||
}
|
||||
&.weui-primary-loading {
|
||||
.setWeuiPrimaryLoading(36px);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user