51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
<!--pages/workBench/components/tenement/components/bindMeter/index.wxml-->
|
|
<van-dialog
|
|
use-slot
|
|
title="{{title}}"
|
|
show="{{ visible }}"
|
|
show-cancel-button
|
|
bind:confirm="onSubmit"
|
|
bind:close="onClose"
|
|
>
|
|
<view class="modalContentWrapper">
|
|
<van-field
|
|
value="{{ time }}"
|
|
placeholder="请选择绑定时间"
|
|
label="时间"
|
|
readonly
|
|
border="{{ false }}"
|
|
use-button-slot
|
|
title-width="100rpx"
|
|
>
|
|
<van-button slot="button" size="small" type="info" bind:click="onTimeFocus">
|
|
选择
|
|
</van-button>
|
|
</van-field>
|
|
<van-field
|
|
value="{{ number }}"
|
|
placeholder="请输入读数"
|
|
label="读数"
|
|
type="digit"
|
|
border="{{ false }}"
|
|
title-width="100rpx"
|
|
>
|
|
</van-field>
|
|
</view>
|
|
|
|
</van-dialog>
|
|
|
|
<search-select
|
|
show="{{show}}"
|
|
title="{{title}}"
|
|
type="{{type}}"
|
|
park="{{park}}"
|
|
bindconfirm="onConfirm"
|
|
bindcancel="onCancel"
|
|
/>
|
|
|
|
<date-time-picker
|
|
show="{{dateTimeShow}}"
|
|
bind:confirm="dateTimeConfirm"
|
|
bind:cancel="dateTimeCancal"
|
|
/>
|