111
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user