mirror of
https://gitee.com/vant-contrib/vant.git
synced 2026-06-05 18:08:10 +08:00
Compare commits
No commits in common. "c3f08f4637cc07c5e464811feab6d641b7b4471f" and "e3c0c7ea46327dc78a1348961754f864441b3cd5" have entirely different histories.
c3f08f4637
...
e3c0c7ea46
@ -16,21 +16,6 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
|
|||||||
|
|
||||||
## Details
|
## Details
|
||||||
|
|
||||||
### [v3.2.3](https://github.com/youzan/vant/compare/v3.2.2...v3.2.3)
|
|
||||||
|
|
||||||
`2021-09-12`
|
|
||||||
|
|
||||||
**Bug Fixes**
|
|
||||||
|
|
||||||
- Button: should support CSS vars gradient background color [#9454](https://github.com/youzan/vant/issues/9454)
|
|
||||||
- Calendar: fix disabled date selection [#9361](https://github.com/youzan/vant/issues/9361)
|
|
||||||
- Field: fix user-select input issue in iOS [#9418](https://github.com/youzan/vant/issues/9418)
|
|
||||||
- FIeld: field-error-message-font-size var name [#9394](https://github.com/youzan/vant/issues/9394)
|
|
||||||
- Popup: failed to autoplay when activated [#9452](https://github.com/youzan/vant/issues/9452)
|
|
||||||
- Theme: remove less tilde [a7ab2f](https://github.com/youzan/vant/commit/a7ab2f8049b7c18d2a2f74aeac26f72dfbadaf6f)
|
|
||||||
- slider: fix empty range value [#9409](https://github.com/youzan/vant/issues/9409)
|
|
||||||
- Uploader: uploader-delete-icon-size should affect icon size [#9453](https://github.com/youzan/vant/issues/9453)
|
|
||||||
|
|
||||||
### [v3.2.2](https://github.com/youzan/vant/compare/v3.2.1...v3.2.2)
|
### [v3.2.2](https://github.com/youzan/vant/compare/v3.2.1...v3.2.2)
|
||||||
|
|
||||||
`2021-09-02`
|
`2021-09-02`
|
||||||
|
|||||||
@ -16,21 +16,6 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
|||||||
|
|
||||||
## 更新内容
|
## 更新内容
|
||||||
|
|
||||||
### [v3.2.3](https://github.com/youzan/vant/compare/v3.2.2...v3.2.3)
|
|
||||||
|
|
||||||
`2021-09-12`
|
|
||||||
|
|
||||||
**Bug Fixes**
|
|
||||||
|
|
||||||
- Button: 修复无法通过 CSS 变量设置渐变背景色的问题 [#9454](https://github.com/youzan/vant/issues/9454)
|
|
||||||
- Calendar: 日历组件已经禁用部分日期依然可以选择日期区间的问题 [#9361](https://github.com/youzan/vant/issues/9361)
|
|
||||||
- Field: 修复全局设置 user-select: none 时 IOS 下无法输入的问题 [#9418](https://github.com/youzan/vant/issues/9418)
|
|
||||||
- FIeld: 修复 field-error-message-font-size 变量名称错误的问题 [#9394](https://github.com/youzan/vant/issues/9394)
|
|
||||||
- Popup: 修复在 keep-alive 下激活时无法开启自动轮播的问题 [#9452](https://github.com/youzan/vant/issues/9452)
|
|
||||||
- Theme: 移除了内部 less import 的波浪号 [a7ab2f](https://github.com/youzan/vant/commit/a7ab2f8049b7c18d2a2f74aeac26f72dfbadaf6f)
|
|
||||||
- slider: 修复双滑块情况下,传入空数组无法滑动的问题 [#9409](https://github.com/youzan/vant/issues/9409)
|
|
||||||
- Uploader: 修复 --van-uploader-delete-icon-size 变量未正确生效的问题 [#9453](https://github.com/youzan/vant/issues/9453)
|
|
||||||
|
|
||||||
### [v3.2.2](https://github.com/youzan/vant/compare/v3.2.1...v3.2.2)
|
### [v3.2.2](https://github.com/youzan/vant/compare/v3.2.1...v3.2.2)
|
||||||
|
|
||||||
`2021-09-02`
|
`2021-09-02`
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "vant",
|
"name": "vant",
|
||||||
"version": "3.2.3",
|
"version": "3.2.2",
|
||||||
"description": "Mobile UI Components built on Vue",
|
"description": "Mobile UI Components built on Vue",
|
||||||
"main": "lib/vant.js",
|
"main": "lib/index.js",
|
||||||
"module": "lib/vant.es.js",
|
"module": "es/index.js",
|
||||||
"style": "lib/index.css",
|
"style": "lib/index.css",
|
||||||
"typings": "lib/index.d.ts",
|
"typings": "lib/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
|
|||||||
@ -58,7 +58,7 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: var(--van-black);
|
background-color: var(--van-black);
|
||||||
border: inherit;
|
border: inherit;
|
||||||
border-color: var(--van-black);
|
border-color: var(--van-black);
|
||||||
border-radius: inherit; /* inherit parent's border radius */
|
border-radius: inherit; /* inherit parent's border radius */
|
||||||
@ -80,41 +80,41 @@
|
|||||||
|
|
||||||
&--default {
|
&--default {
|
||||||
color: var(--van-button-default-color);
|
color: var(--van-button-default-color);
|
||||||
background: var(--van-button-default-background-color);
|
background-color: var(--van-button-default-background-color);
|
||||||
border: var(--van-button-border-width) solid
|
border: var(--van-button-border-width) solid
|
||||||
var(--van-button-default-border-color);
|
var(--van-button-default-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
&--primary {
|
&--primary {
|
||||||
color: var(--van-button-primary-color);
|
color: var(--van-button-primary-color);
|
||||||
background: var(--van-button-primary-background-color);
|
background-color: var(--van-button-primary-background-color);
|
||||||
border: var(--van-button-border-width) solid
|
border: var(--van-button-border-width) solid
|
||||||
var(--van-button-primary-border-color);
|
var(--van-button-primary-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
&--success {
|
&--success {
|
||||||
color: var(--van-button-success-color);
|
color: var(--van-button-success-color);
|
||||||
background: var(--van-button-success-background-color);
|
background-color: var(--van-button-success-background-color);
|
||||||
border: var(--van-button-border-width) solid
|
border: var(--van-button-border-width) solid
|
||||||
var(--van-button-success-border-color);
|
var(--van-button-success-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
&--danger {
|
&--danger {
|
||||||
color: var(--van-button-danger-color);
|
color: var(--van-button-danger-color);
|
||||||
background: var(--van-button-danger-background-color);
|
background-color: var(--van-button-danger-background-color);
|
||||||
border: var(--van-button-border-width) solid
|
border: var(--van-button-border-width) solid
|
||||||
var(--van-button-danger-border-color);
|
var(--van-button-danger-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
&--warning {
|
&--warning {
|
||||||
color: var(--van-button-warning-color);
|
color: var(--van-button-warning-color);
|
||||||
background: var(--van-button-warning-background-color);
|
background-color: var(--van-button-warning-background-color);
|
||||||
border: var(--van-button-border-width) solid
|
border: var(--van-button-border-width) solid
|
||||||
var(--van-button-warning-border-color);
|
var(--van-button-warning-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
&--plain {
|
&--plain {
|
||||||
background: var(--van-button-plain-background-color);
|
background-color: var(--van-button-plain-background-color);
|
||||||
|
|
||||||
&.van-button--primary {
|
&.van-button--primary {
|
||||||
color: var(--van-button-primary-background-color);
|
color: var(--van-button-primary-background-color);
|
||||||
|
|||||||
@ -279,8 +279,6 @@ export default defineComponent({
|
|||||||
children.forEach((swipe) => {
|
children.forEach((swipe) => {
|
||||||
swipe.setOffset(0);
|
swipe.setOffset(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
autoplay();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const resize = () => initialize(state.active);
|
const resize = () => initialize(state.active);
|
||||||
@ -419,7 +417,7 @@ export default defineComponent({
|
|||||||
);
|
);
|
||||||
|
|
||||||
watch(count, () => initialize(state.active));
|
watch(count, () => initialize(state.active));
|
||||||
watch(() => props.autoplay, autoplay);
|
watch([count, () => props.autoplay], autoplay);
|
||||||
watch([windowSize.width, windowSize.height], resize);
|
watch([windowSize.width, windowSize.height], resize);
|
||||||
watch(usePageVisibility(), (visible) => {
|
watch(usePageVisibility(), (visible) => {
|
||||||
if (visible === 'visible') {
|
if (visible === 'visible') {
|
||||||
|
|||||||
@ -115,12 +115,12 @@
|
|||||||
|
|
||||||
&-icon {
|
&-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: -2px;
|
||||||
right: 0;
|
right: -2px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
color: var(--van-uploader-delete-color);
|
color: var(--van-uploader-delete-color);
|
||||||
font-size: var(--van-uploader-delete-icon-size);
|
font-size: 16px;
|
||||||
transform: scale(0.7) translate(10%, -10%);
|
transform: scale(0.5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user