开始做工作台,调整用电查询分页

This commit is contained in:
2024-11-08 18:24:05 +08:00
parent 08ef87ce33
commit b9d1ee34a7
32 changed files with 384 additions and 16 deletions

View File

@@ -0,0 +1,24 @@
// components/searchSelect/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
columns: ['杭州', '宁波', '温州', '嘉兴', '湖州'],
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@@ -0,0 +1,8 @@
{
"component": true,
"usingComponents": {
"van-overlay": "@vant/weapp/overlay/index",
"van-picker": "@vant/weapp/picker/index"
}
}

View File

@@ -0,0 +1,14 @@
<!--components/searchSelect/index.wxml-->
<van-popup
show="{{ true }}"
bind:click="onClickHide"
>
<!-- <view style="height: 100%; width: 100%; display: flex;align-items: center; justify-content: center;">
<van-picker
custom-style="width: 100%;"
columns="{{ columns }}"
bind:change="onChange"
/>
</view> -->
111
</van-popup>

View File

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