You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
1021 B
17 lines
1021 B
<view class="timelist">
|
|
<view wx:for="{{timelist}}" class="{{index === intervalSel?'active':''}}" wx:key="index" data-index="{{index}}" bindtap="priceSel">{{item}}
|
|
</view>
|
|
</view>
|
|
<view wx:if="{{show}}" class="t-list">
|
|
<van-cell title="选择开始时间" is-link value="{{ start }}" bind:click="onDisplay" />
|
|
<van-cell title="选择结束时间" is-link value="{{ end }}" bind:click="onDisplay1" />
|
|
<van-popup show="{{ show1 }}" position="bottom">
|
|
<van-datetime-picker type="datetime" value="{{startTime}}" bind:input="onInput" bind:confirm="onConfirm" bind:cancel="onCancel" />
|
|
</van-popup>
|
|
<van-popup show="{{ show2 }}" position="bottom">
|
|
<van-datetime-picker type="datetime" value="{{endTime}}" bind:input="onInput1" bind:confirm="onConfirm1" bind:cancel="onCancel1" />
|
|
</van-popup>
|
|
<van-dialog use-slot title="注意" show="{{ showDialog }}" bind:confirm="cdialog">
|
|
<view class="tc-d-t">结束时间不能小于开始时间</view>
|
|
</van-dialog>
|
|
</view> |