导入抄表记录

This commit is contained in:
2025-09-09 17:33:56 +08:00
parent 70737fa2b8
commit b1cca8f8a5
16 changed files with 337 additions and 12 deletions

24
components/input/index.js Normal file
View File

@@ -0,0 +1,24 @@
// components/input/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"van-field": "@vant/weapp/field/index"
}
}

View File

@@ -0,0 +1,8 @@
<!--components/input/index.wxml-->
<van-field
value="{{ value }}"
placeholder="请输入本次读数"
bind:change="onChange"
border="{{false}}"
custom-style="border: 1rpx solid #ccc; padding: 2px 14rpx; font-size: 32rpx; border-radius: 10rpx;"
/>

View File

@@ -0,0 +1 @@
/* components/input/index.wxss */