瑶都万能墙
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
851 B

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. <template>
  2. <view class="page pageList">
  3. <navbar title="工作" leftClick @leftClick="$utils.navigateBack" />
  4. <view
  5. style="padding: 10rpx 20rpx;">
  6. <uv-search
  7. bgColor="#fff"
  8. @search="getData"
  9. @custom="getData"
  10. searchIconSize="30rpx"
  11. placeholder="请输入搜索关键字..."
  12. v-model="title"></uv-search>
  13. </view>
  14. <workList ref="workList"/>
  15. </view>
  16. </template>
  17. <script>
  18. import workList from '../components/list/workList/index.vue'
  19. export default {
  20. components : {
  21. workList,
  22. },
  23. data() {
  24. return {
  25. title : '',
  26. }
  27. },
  28. onShow() {
  29. this.getData()
  30. },
  31. onPullDownRefresh() {
  32. this.getData()
  33. },
  34. onReachBottom() {
  35. this.$refs.workList.loadMoreData()
  36. },
  37. methods: {
  38. getData(){
  39. this.$refs.workList.getData(this.title)
  40. },
  41. }
  42. }
  43. </script>
  44. <style scoped lang="scss">
  45. </style>