brand-search.vue 942 Bytes
<template>
    <div class="search">
        <div v-else 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: #f6f6f6;
        text-align: center;

        .input {
            margin-left: auto;
            margin-right: auto;
            background-color: #fff;
            text-align: center;
            color: #b0b0b0;
            height: 56px;
            font-size: 28px;
            padding: 5px 0;
            border-radius: 8px;

            .search-text {
                margin-left: 16px;
            }
        }
    }
</style>
<script>
    const yoho = require('yoho');

    module.exports = {
        data() {
            return {
                yoho
            };
        }
    };
</script>