Commit 41d059df authored by Facius's avatar Facius

improve: 日期选择器

parent a13e4e20
......@@ -517,25 +517,32 @@
this.init(this.date)
}
this.show = true
// #ifdef APP-PLUS || H5
this.$nextTick(() => {
setTimeout(() => {
// #endif
this.aniMaskShow = true
// #ifdef APP-PLUS || H5
}, 50)
})
console.log('-----this-------',this.cale, this.calendar,this.selected, this.lunar, this.range)
// #endif
},
/**
* 关闭日历弹窗
*/
close() {
this.aniMaskShow = false
// #ifdef APP-PLUS || H5
this.$nextTick(() => {
setTimeout(() => {
// #endif
this.show = false
this.$emit('close')
// #ifdef APP-PLUS || H5
}, 300)
})
// #endif
},
/**
* 确认按钮
......
......@@ -542,7 +542,7 @@ export default {
}
.right-view {
border-radius: 8rpx;
background-color: rgba(24, 204, 100, 0.3);
background-color: rgba(255, 255, 255, 0.3);
height: 56rpx;
padding: 0rpx 16rpx;
display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment