brand-search.vue 1009 Bytes
<template>
    <div class="search">
        <div class="input" @click='yoho.goSearch()'>
            <span class="icon icon-search"></span><span class="search-text">Search</span>
        </div>
    </div>
</template>
<style>
    .search {
        width: 100%;
        height: 88px;
        padding: 15px 16px;
        background-color: #fff;
        text-align: center;
        border-bottom: 1px solid #f6f6f6;

        .input {
            margin-left: auto;
            margin-right: auto;
            background-color: #f6f6f6;
            text-align: center;
            color: #b0b0b0;
            height: 56px;
            line-height: 56px;
            font-size: 28px;

            /* padding: 5px 0; */

            border-radius: 8px;

            .search-text {
                margin-left: 16px;
            }
        }
    }
</style>
<script>
    import yoho from 'yoho';

    export default {
        data() {
            return {
                yoho
            };
        }
    };
</script>