导入抄表记录
This commit is contained in:
24
components/input/index.js
Normal file
24
components/input/index.js
Normal file
@@ -0,0 +1,24 @@
|
||||
// components/input/index.js
|
||||
Component({
|
||||
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
|
||||
}
|
||||
})
|
6
components/input/index.json
Normal file
6
components/input/index.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-field": "@vant/weapp/field/index"
|
||||
}
|
||||
}
|
8
components/input/index.wxml
Normal file
8
components/input/index.wxml
Normal 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;"
|
||||
/>
|
1
components/input/index.wxss
Normal file
1
components/input/index.wxss
Normal file
@@ -0,0 +1 @@
|
||||
/* components/input/index.wxss */
|
Reference in New Issue
Block a user