grouping.vue
829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<template>
<view class="page">
<qianziyu-select :show="show" type="radio" :popupTitle="popupTitle" name="cworkStationName"
:dataLists="dataLists" placeholder="输入工站名称搜索" @cancel="show=false" @search="selectSearch" @submit=""
</qianziyu-select>
</view>
</template>
<script>
import qianziyuSelect from '@/components/qianziyu-select/qianziyu-select.vue'
export default {
components: {
qianziyuSelect
},
data() {
return {
dataLists: [{
"name": "测试数据1",
"id": "1",
"cid": "cid"
}, {
"name": "测试数据2",
"id": "2",
"cid": "cid"
}]
}
},
methods: {
},
}
</script>
<style lang="scss" scoped>
.main-box {
display: flex;
margin: 20rpx;
justify-content: space-between;
background: #f7f7f7;
padding: 30rpx;
}
</style>