org.vue
833 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="org-content">
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<view>
<luyj-tree search-placeholder="请输入搜索内容" :is-check="true" :search-if="true" v-slot:default="{ item }" :max="max" :trees="tree">
<view>
<view class="content-item">
<view class="word">{{ item.name }}</view>
</view>
</view>
</luyj-tree>
</view>
<f-tabbar></f-tabbar>
</view>
</template>
<script>
import fTabbar from '@/components/module/f-tabbar/f-tabbar';
import dataList from '@/config/mockOrg.js';
export default {
components: {
fTabbar
},
data() {
return {
tree: dataList,
max: 5
};
},
onLoad(e) {
// 隐藏原生的tabbar
uni.hideTabBar();
}
};
</script>
<style lang="scss" scoped>
.org-content {
padding: 0 10rpx;
}
</style>