| 
						 | 
						- <template>
 - 	<view class="page pageList">
 - 		<navbar title="找车" bgColor="#5baaff" color="#fff" leftClick @leftClick="$utils.navigateBack" />
 - 		
 - 		<view class="top-bg"></view>
 - 		
 - 		<view style="padding: 10rpx 30rpx 0 30rpx;">
 - 			<uv-search bgColor="#fff" @search="getData" :showAction="false" searchIconSize="30rpx"
 - 				placeholder="请输入搜索关键字..." v-model="queryParams.title"></uv-search>
 - 		</view>
 - 		
 - 		<!-- <view class="LabelOptions">
 - 			<uv-tabs :list="tabs" 
 - 			:activeStyle="{color : '#fff', fontWeight : 900}"
 - 			:inactiveStyle="{color : '#eee'}"
 - 			lineColor="#fff"
 - 			lineHeight="8rpx"
 - 			lineWidth="50rpx"
 - 			:scrollable="false"
 - 			@click="tabsClick"></uv-tabs>
 - 		</view> -->
 - 
 - 		<view class="">
 - 			<screenSearch @clickItem="clickItem" />
 - 		</view>
 - 
 - 		<view class="list">
 - 			<cartItem :key="index" v-for="(item, index) in list" :item="item"
 - 				@click="$utils.navigateTo('/pages_order/car/carListDetail?id=' + item.id)" />
 - 		</view>
 - 		
 - 
 - 	</view>
 - </template>
 - 
 - <script>
 - 	import mixinsList from '@/mixins/list.js'
 - 	import screenSearch from '../components/screen/screenSearch.vue'
 - 	import cartItem from '../components/list/cart/cartItem.vue'
 - 	export default {
 - 		mixins: [mixinsList],
 - 		components: {
 - 			cartItem,
 - 			screenSearch,
 - 		},
 - 		data() {
 - 			return {
 - 				mixinsListApi: 'getCatPage',
 - 				tabs : [
 - 					{
 - 						name : "车找人",
 - 					},
 - 					{
 - 						name : "人找车",
 - 					},
 - 				],
 - 			}
 - 		},
 - 		methods: {
 - 			clickItem(result) {
 - 				this.queryParams = {
 - 					pageNo: 1,
 - 					pageSize: 10,
 - 				}
 - 				result.forEach(n => {
 - 					this.queryParams[n.name] = n.value
 - 				})
 - 				this.getData()
 - 			},
 - 		}
 - 	}
 - </script>
 - 
 - <style scoped lang="scss">
 - 	.page {
 - 		.list {
 - 			padding: 0 20rpx;
 - 		}
 - 		.LabelOptions{
 - 			position: relative;
 - 		}
 - 	}
 - 
 - 	.top-bg {
 - 		position: absolute;
 - 		height: 500rpx;
 - 		width: 100%;
 - 		background: linear-gradient($uni-color, #fff);
 - 	}
 - </style>
 
 
  |