开始做工作台,调整用电查询分页
This commit is contained in:
24
components/searchSelect/index.js
Normal file
24
components/searchSelect/index.js
Normal file
@@ -0,0 +1,24 @@
|
||||
// components/searchSelect/index.js
|
||||
Component({
|
||||
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
columns: ['杭州', '宁波', '温州', '嘉兴', '湖州'],
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
|
||||
}
|
||||
})
|
8
components/searchSelect/index.json
Normal file
8
components/searchSelect/index.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-overlay": "@vant/weapp/overlay/index",
|
||||
"van-picker": "@vant/weapp/picker/index"
|
||||
|
||||
}
|
||||
}
|
14
components/searchSelect/index.wxml
Normal file
14
components/searchSelect/index.wxml
Normal 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>
|
1
components/searchSelect/index.wxss
Normal file
1
components/searchSelect/index.wxss
Normal file
@@ -0,0 +1 @@
|
||||
/* components/searchSelect/index.wxss */
|
Reference in New Issue
Block a user