lilei 4 年 前
コミット
c2173a6b40
1 ファイル変更2 行追加3 行削除
  1. 2 3
      components/mx-datepicker/mx-datepicker.vue

+ 2 - 3
components/mx-datepicker/mx-datepicker.vue

@@ -1,6 +1,5 @@
 <template>
 	<view v-if="isShow" class="picker">
-		<u-mask :show="isShow" @click="onCancel"></u-mask>
 		<!-- 日期选择器 -->
 		<view v-if="type!='time'" class="picker-modal">
 			<view class="picker-modal-header">
@@ -61,7 +60,7 @@
 			</view>
 		</view>
 		<!-- 时间选择器 -->
-		<view v-if="showTimePicker" class="picker">
+		<view v-if="showTimePicker">
 			<view class="picker-modal picker-time">
 				<view class="picker-modal-header">
 					<text class="picker-modal-header-title">选择日期</text>
@@ -585,7 +584,7 @@
 	.picker {
 		position: fixed;
 		z-index: $z-index;
-		background: rgba(255, 255, 255, 0);
+		background: rgba(0, 0, 0, 0.5);
 		left: 0;
 		top: 0;
 		width: 100%;