forked from opentiny/tiny-vue
fix(cascader): [guide] add smb theme (#1584)
This commit is contained in:
parent
cb5e98b02b
commit
869449a7ae
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<tiny-cascader placeholder="试试搜索:安装" :options="options" filterable :debounce="1000">
|
||||
<template #empty>
|
||||
<div>没有选项</div>
|
||||
<div class="no-data">暂无数据</div>
|
||||
</template>
|
||||
</tiny-cascader>
|
||||
</template>
|
||||
|
@ -205,3 +205,10 @@ const options = ref([
|
|||
}
|
||||
])
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
.no-data {
|
||||
text-align: center;
|
||||
line-height: 240px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<tiny-cascader placeholder="试试搜索:安装" :options="options" filterable :debounce="1000">
|
||||
<template #empty>
|
||||
<div>没有选项</div>
|
||||
<div class="no-data">暂无数据</div>
|
||||
</template>
|
||||
</tiny-cascader>
|
||||
</template>
|
||||
|
@ -213,3 +213,10 @@ export default {
|
|||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
.no-data {
|
||||
text-align: center;
|
||||
line-height: 240px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -8,8 +8,9 @@ export const tinyCascaderNodeSmbTheme = {
|
|||
'ti-cascader-node-active-font-weight': 'bold',
|
||||
'ti-cascader-node-hover-text-color': '#191919',
|
||||
'ti-cascader-node-prefix-display': 'none',
|
||||
'ti-cascader-node-icon-color': '#191919',
|
||||
'ti-cascader-node-icon-font-size': '12px',
|
||||
'ti-cascader-node-icon-color': '#808080',
|
||||
'ti-cascader-node-text-color': '#191919',
|
||||
'ti-cascader-node-selectable-text-color': '#1476ff',
|
||||
'ti-cascader-node-icon-font-size': 'var(--ti-common-font-size-2)',
|
||||
'ti-cascader-node-active-icon-color': '#191919'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue