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