You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
549 B
36 lines
549 B
<template>
|
|
<div class="pt-4">
|
|
<el-input
|
|
v-model="searchRef"
|
|
placeholder="搜索"
|
|
:prefix-icon="Search"
|
|
></el-input>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
|
|
import {ref} from 'vue'
|
|
const searchRef = ref('')
|
|
|
|
</script>
|
|
|
|
<style lang="less">
|
|
|
|
.el-search{
|
|
padding: 0;
|
|
}
|
|
.el-search__content{
|
|
border: 1px solid #ccc;
|
|
background-color: #fff;
|
|
height:1.85rem;
|
|
border-radius:0.2rem
|
|
}
|
|
.el-field__left-icon{
|
|
margin-right: var(--el-padding-base);
|
|
width: 45%;
|
|
padding-left: 40%;
|
|
}
|
|
|
|
|
|
</style>
|
|
|