vue中treeselect设置成和elementui的size=“mini“属性相同样式
element
A Vue.js 2.0 UI Toolkit for Web
项目地址:https://gitcode.com/gh_mirrors/eleme/element
免费下载资源
·
vue中treeselect设置成和elementui的size="mini"属性相同样式
<el-form-item label="分类" prop="wclassId" class="itemMain">
<treeselect
class="treeselect-main"
v-model="queryParams.wclassId"
:options="classOptions"
placeholder="请选择分类"
clearable
/>
</el-form-item>
<style scoped lang="scss">
.itemMain {
display: flex;
align-items: center;
flex-direction: row;
}
::v-deep .treeselect-main {
width: 193px;
height: 27px;
.vue-treeselect__placeholder {
line-height: 27px;
font-size: 12px;
margin-left: 5px;
margin-bottom: 2px;
}
.vue-treeselect__control {
height: 27px;
.vue-treeselect__single-value {
margin-left: 5px;
line-height: 27px;
color: #606266;
font-size: 12px;
}
}
.vue-treeselect__input-container {
line-height: 27px;
width: 193px;
height: 27px;
}
</style>
GitHub 加速计划 / eleme / element
54.06 K
14.63 K
下载
A Vue.js 2.0 UI Toolkit for Web
最近提交(Master分支:3 个月前 )
c345bb45
7 个月前
a07f3a59
* Update transition.md
* Update table.md
* Update transition.md
* Update table.md
* Update transition.md
* Update table.md
* Update table.md
* Update transition.md
* Update popover.md 7 个月前
更多推荐
已为社区贡献1条内容
所有评论(0)