<template>
	<view class="shopTourRecord-wrap">
		<!-- 顶部筛选条件 -->
		<u-dropdown ref="uDropdown" class="uDropdown">
			<u-dropdown-item v-model="searchForm.isAll" title="全部" :options="options1"></u-dropdown-item>
			<u-dropdown-item v-model="searchForm.inspectionMethod" title="检查方式" :options="options2"></u-dropdown-item>
			<u-dropdown-item v-model="searchForm.state" title="状态" :options="options2"></u-dropdown-item>
			<u-dropdown-item title="筛选">
				<view class="slot-content" style="background-color: #FFFFFF;">
					<scroll-view scroll-y="true" style="height: 200upx;">
						<view class="u-text-center u-content-color u-m-t-20 u-m-b-20">无言独上西楼</view>
						<view class="u-text-center u-content-color u-m-t-20 u-m-b-20">月如钩</view>
						<view class="u-text-center u-content-color u-m-t-20 u-m-b-20">寂寞梧桐深院锁清秋</view>
						<view class="u-text-center u-content-color u-m-t-20 u-m-b-20">剪不断</view>
						<view class="u-text-center u-content-color u-m-t-20 u-m-b-20">理还乱</view>
						<view class="u-text-center u-content-color u-m-t-20 u-m-b-20">是离愁</view>
						<view class="u-text-center u-content-color u-m-t-20 u-m-b-20">别是一般滋味在心头</view>
					</scroll-view>
					<u-button type="primary" @click="closeDropdown">确定</u-button>
				</view>
			</u-dropdown-item>
		</u-dropdown>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				value1: 1,
				value2: 2,
				options1: [
					{ label: '默认排序', value: 1, },
					{ label: '距离优先', value: 2, },
					{ label: '价格优先', value: 3, }
				],
				options2: [
					{ label: '去冰', value: 1, },
					{ label: '加冰', value: 2, },
				],
				searchForm: {
					isAll: '',
					inspectionMethod: '',
					state: '',
					screen: ''
				}
			}
		},
		methods: {
			closeDropdown() {
				this.$refs.uDropdown.close()
			}
		}
	}
</script>

<style lang="scss" scoped>
	page {
		background-color: #f8f8f8;
		height: calc(100vh - 44px);
	}
	.shopTourRecord-wrap{
		.uDropdown{
			
		}
	}
</style>
