瑶都万能墙
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.

68 lines
1.5 KiB

4 months ago
3 months ago
3 months ago
3 months ago
4 months ago
3 months ago
4 months ago
3 months ago
4 months ago
3 months ago
4 months ago
3 months ago
4 months ago
3 months ago
4 months ago
4 months ago
3 months ago
4 months ago
4 months ago
3 months ago
3 months ago
4 months ago
4 months ago
3 months ago
4 months ago
3 months ago
4 months ago
4 months ago
4 months ago
3 months ago
3 months ago
3 months ago
3 months ago
  1. <template>
  2. <view class="page pageList">
  3. <navbar title="工作" bgColor="#5baaff" color="#fff" leftClick @leftClick="$utils.navigateBack" />
  4. <view class="top-bg"></view>
  5. <view style="padding: 10rpx 30rpx 0 30rpx;">
  6. <uv-search bgColor="#fff" @search="getData" :showAction="false" searchIconSize="30rpx"
  7. placeholder="请输入搜索关键字..." v-model="queryParams.title"></uv-search>
  8. </view>
  9. <view class="">
  10. <screenSearch @clickItem="clickItem" />
  11. </view>
  12. <!-- <workList ref="workList"/> -->
  13. <view class="list">
  14. <workItem @click="$utils.navigateTo('/pages_order/work/workDetail?id=' + item.id)" :key="index"
  15. v-for="(item, index) in list" :item="item" />
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. import mixinsList from '@/mixins/list.js'
  21. import workItem from '../components/list/workList/workItem.vue'
  22. import screenSearch from '../components/screen/screenSearch.vue'
  23. export default {
  24. mixins: [mixinsList],
  25. components: {
  26. screenSearch,
  27. workItem,
  28. },
  29. data() {
  30. return {
  31. mixinsListApi: 'getJobPage',
  32. }
  33. },
  34. methods: {
  35. clickItem(result) {
  36. this.queryParams = {
  37. pageNo: 1,
  38. pageSize: 10,
  39. }
  40. result.forEach(n => {
  41. this.queryParams[n.name] = n.value
  42. })
  43. this.getData()
  44. },
  45. }
  46. }
  47. </script>
  48. <style scoped lang="scss">
  49. .page {
  50. min-height: 100vh;
  51. background-color: #fff;
  52. }
  53. .top-bg{
  54. position: absolute;
  55. height: 500rpx;
  56. width: 100%;
  57. background: linear-gradient($uni-color, #fff);
  58. }
  59. </style>