org.vue 833 Bytes
<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>