index.wxml
1.13 KB
<van-dialog use-slot use-title-slot show="{{ show }}" show-cancel-button="{{showCancelButton}}" confirm-button-text="{{confirmText}}" cancel-button-text="{{cancelText}}" confirm-button-color="#347BFF" cancel-button-color="#1B233D" bindconfirm="confirm" bindcancel="cancel">
<view class="dialog">
<view class="icon">
日期选择
</view>
<view class="label">选择该员工调店日期</view>
<!-- <picker mode="date" value="{{startEffectiveTime}}" start="{{start}}" bindchange="bindDateChange" picker-options="{{options}}"> -->
<view class="time" bind:tap="showPop">
<view class="value">{{startEffectiveTime?startEffectiveTime:'请选择'}}</view>
<image class="solidArrow" src="/tabIndex/images/arrSolid.png" />
</view>
<!-- </picker> -->
</view>
</van-dialog>
<!-- <van-popup show="{{ timeShow }}" position="bottom" custom-style="height: 20%;" bind:close="onClose"> -->
<view class="footer" wx:if="{{timeShow}}">
<van-datetime-picker type="date" value="{{ currentDate }}" bind:confirm="bindDateChange" bind:cancel="calcelDate" min-date="{{ start }}" />
</view>
<!-- </van-popup> -->