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.

73 lines
1.3 KiB

3 years ago
<template>
<div class="department">
<div class="container">
<div class="title">
<div class="title__text">所有部门</div>
<el-input placeholder="请输入内容" v-model="input" class="title__input">
<template #append>
<el-button class="title__input--btn" icon="el-icon-search"></el-button>
</template>
</el-input>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
input: ''
}
},
methods: {},
computed: {},
}
</script>
<style scoped lang="scss">
.department {
background: #f8f8f8;
padding: 31px 18.75%;
}
.container {
background: #fff;
border-radius: 2px;
box-shadow: 0 0 15px 0 rgba(130,127,126,0.1);
padding: 24px 23px 59px 22px;
.title {
display: flex;
justify-content: space-between;
align-items: center;
&__text {
padding-left: 5px;
}
&__input {
width: 207px;
& ::v-deep .el-input__inner {
height: 35px;
}
&--btn {
width: 48px;
height: 35px;
background: #3788D6;
color: #fff;
border: none;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
display: flex;
justify-content: center;
align-items: center;
}
}
}
}
</style>