This commit is contained in:
wangjiahai
2023-11-23 17:37:31 +08:00
parent 6a3cd66ac7
commit d67d03382e

View File

@@ -1,5 +1,5 @@
<template>
<cover-view class="uni-date">
<view class="uni-date">
<view class="uni-date-editor" @click="show">
<slot>
<view class="uni-date-editor--x"
@@ -109,7 +109,7 @@
:startPlaceholder="startPlaceholder" :endPlaceholder="endPlaceholder" :default-value="defaultValue"
:pleStatus="endMultipleStatus" :showMonth="false" :range="isRange" :hasTime="hasTime" :insert="false"
:hideSecond="hideSecond" @confirm="mobileChange" @maskClose="close" />
</cover-view>
</view>
</template>
<script>
/**
@@ -482,6 +482,7 @@
if (this.isPhone) {
setTimeout(() => {
this.$refs.mobile.open()
this.$emit('showing', true)
}, 0);
return
}
@@ -496,7 +497,6 @@
}).exec()
setTimeout(() => {
this.pickerVisible = !this.pickerVisible
this.$emit('showing', this.pickerVisible)
if (!this.isPhone && this.isRange && this.isFirstShow) {
this.isFirstShow = false
const {
@@ -843,7 +843,6 @@
.uni-date {
width: 100%;
flex: 1;
z-index: 999;
}
.uni-date-x {