ui库和web端产品库合并版本(还需修复细节)

This commit is contained in:
2022-11-29 18:27:14 +08:00
parent 5e4bd93238
commit 8bf6c57668
151 changed files with 28267 additions and 49 deletions

View File

@@ -0,0 +1,52 @@
<template>
<section class="AiSearch">
<slot v-if="$slots.label" name="label"/>
<span v-else>{{ label }}</span>
<div class="content">
<slot/>
</div>
</section>
</template>
<script>
export default {
name: "AiSearch",
props: {
label: {default: ""}
}
}
</script>
<style lang="scss" scoped>
.AiSearch {
display: flex;
span {
background: #F5F5F5;
font-size: 14px;
color: #666;
border: 1px solid #D0D4DC;
border-right: none;
padding: 0 8px;
white-space: nowrap;
display: flex;
align-items: center;
justify-content: center;
}
::v-deep .el-input__inner {
border-radius: 0;
}
.content {
display: flex;
align-items: center;
* + * {
.el-input__inner {
margin-left: -1px;
}
}
}
}
</style>