1
0

leftView.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <template>
  2. <view style="height: 100%;width: 100%;">
  3. <view style="border-bottom: 1rpx solid #cccccc;line-height: 100rpx;display: flex;">
  4. <mySelectTree class="mySelectTree" v-model="pdfValue" label="收文" :localdata="range" @change="change">
  5. </mySelectTree>
  6. <u-button style="float: right;line-height: 60rpx;height: 60rpx;margin-top: 10rpx;" size="medium" type="primary">
  7. 重新加载
  8. </u-button>
  9. <uni-icons style="float: right;line-height: 40rpx;background-color: #bdc7d4;margin: 20rpx 20rpx;" type="left"
  10. size="20" color="#999" />
  11. </view>
  12. <scroll-view style="height: 100%;" scroll-y="true">
  13. <image style="width: 100%;height: 16000rpx;" src="../../static/pdf.png"></image>
  14. </scroll-view>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. data() {
  20. return {
  21. pdfValue: "",
  22. range: [{
  23. value: 0,
  24. text: "文档目录",
  25. file: [{
  26. value: 10,
  27. text: "PDF1",
  28. pageNum: 5
  29. }, {
  30. value: 12,
  31. text: "PDF222",
  32. pageNum: 8
  33. }]
  34. }, {
  35. value: 1,
  36. text: "附件",
  37. file: []
  38. }],
  39. }
  40. },
  41. methods: {
  42. change(e) {
  43. console.log("e:", e);
  44. },
  45. }
  46. }
  47. </script>
  48. <style>
  49. </style>