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

<template>
<view class="page pageList">
<navbar title="工作" leftClick @leftClick="$utils.navigateBack" />
<view
style="padding: 10rpx 20rpx;">
<uv-search
bgColor="#fff"
@search="getData"
@custom="getData"
searchIconSize="30rpx"
placeholder="请输入搜索关键字..."
v-model="title"></uv-search>
</view>
<workList ref="workList"/>
</view>
</template>
<script>
import workList from '../components/list/workList/index.vue'
export default {
components : {
workList,
},
data() {
return {
title : '',
}
},
onShow() {
this.getData()
},
onPullDownRefresh() {
this.getData()
},
onReachBottom() {
this.$refs.workList.loadMoreData()
},
methods: {
getData(){
this.$refs.workList.getData(this.title)
},
}
}
</script>
<style scoped lang="scss">
</style>