<!--miniprogram/pages/applog/applog.wxml--> <van-cell-group> <van-field required clearable data-id="devcode" label="设备编号" placeholder="请扫描设备条形码添加" use-icon-slot bind:blur="confirm" bind:click-icon="scan"> <van-icon name="scan" size="50rpx" slot="right-icon" /> </van-field> <van-field data-id="devtype" label="设备类型" bind:blur="confirm" /> <van-cell title="安装时间" value="{{installtimeFmt}}" bind:click="onDisplay" /> <van-calendar show="{{ show }}" bind:close="onClose" default-date show-confirm="{{ false }}" bind:confirm="onConfirm" /> <van-row> <van-col span="12"> <van-field disabled label="所属项目" border="{{ false }}" /> </van-col> <van-col span="12"> <van-dropdown-menu> <van-dropdown-item value="{{ projectvalue }}" options="{{ projectoption }}" bind:change="selectprojectValue" /> </van-dropdown-menu> </van-col> </van-row> <van-button type="primary" bind:click="query" block color="#EEB422" >查询</van-button> </van-cell-group>