<template>
	<view style="height: 100%;width: 100%;">
		<view style="border-bottom: 1rpx solid #cccccc;line-height: 100rpx;display: flex;">
			<mySelectTree class="mySelectTree" v-model="pdfValue" label="收文" :localdata="range" @change="change">
			</mySelectTree>
			<u-button style="float: right;line-height: 60rpx;height: 60rpx;margin-top: 10rpx;" size="medium" type="primary">
				重新加载
			</u-button>
			<uni-icons style="float: right;line-height: 40rpx;background-color: #bdc7d4;margin: 20rpx 20rpx;" type="left"
				size="20" color="#999" />
		</view>
		<scroll-view style="height: 100%;" scroll-y="true">
			<image style="width: 100%;height: 16000rpx;" src="../../static/pdf.png"></image>
		</scroll-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pdfValue: "",
				range: [{
					value: 0,
					text: "文档目录",
					file: [{
						value: 10,
						text: "PDF1",
						pageNum: 5
					}, {
						value: 12,
						text: "PDF222",
						pageNum: 8
					}]
				}, {
					value: 1,
					text: "附件",
					file: []
				}],
			}
		},
		methods: {
			change(e) {
				console.log("e:", e);
			},
		}
	}
</script>

<style>
</style>