index.vue 713 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <view class="content-box">
  3. <uni-nav-bar
  4. fixed="true"
  5. statusBar="true"
  6. left-icon="back"
  7. title="搜索"
  8. @clickLeft="back"
  9. >
  10. <!--右菜单-->
  11. <template slot="right">
  12. <u-button
  13. type="success"
  14. size="small"
  15. class="u-reset-button"
  16. @click="$refs.treePicker._show()"
  17. text="选择分类"
  18. ></u-button>
  19. </template>
  20. </uni-nav-bar>
  21. </view>
  22. </template>
  23. <script>
  24. export default {
  25. data() {
  26. return {
  27. }
  28. },
  29. methods: {
  30. }
  31. }
  32. </script>
  33. <style lang="scss" scoped>
  34. .content-box {
  35. height: 100vh;
  36. overflow: hidden;
  37. display: flex;
  38. flex-direction: column;
  39. background-color: $page-bg;
  40. }
  41. </style>