<template>
    <Container :needPadding="true">
        <template v-slot:header>
            <WlHeader :needBottomBorder="true">WlSearch 搜索</WlHeader>
        </template>
        <template v-slot:main>
            <Title>基础用法</Title>
            <WlSearch />
            <Title>搜索默认值</Title>
            <WlSearch v-model="searchVal" closable />
        </template>
    </Container>
</template>

<script>
import Title from "../components/Title";
import Container from "../components/Container";
export default {
    name: "WlSearch-Example",
    components: { Title, Container },
    data() {
        return {
            searchVal: "默认搜索内容"
        }
    }
};
</script>
