Merge branch 'develop' of github.com:Tencent/tdesign-vue-next-starter into main

This commit is contained in:
Uyarn 2023-02-19 00:58:30 +08:00
commit 753cfeb282
3 changed files with 13 additions and 11 deletions

View File

@ -30,7 +30,7 @@
"qrcode.vue": "^3.3.3", "qrcode.vue": "^3.3.3",
"qs": "^6.11.0", "qs": "^6.11.0",
"tdesign-icons-vue-next": "^0.1.7", "tdesign-icons-vue-next": "^0.1.7",
"tdesign-vue-next": "^1.0.0", "tdesign-vue-next": "^1.0.8",
"tvision-color": "^1.5.0", "tvision-color": "^1.5.0",
"vue": "^3.2.45", "vue": "^3.2.45",
"vue-clipboard3": "^2.0.0", "vue-clipboard3": "^2.0.0",

View File

@ -214,7 +214,9 @@ watchEffect(() => {
if (formData.value.brandTheme) settingStore.updateConfig(formData.value); if (formData.value.brandTheme) settingStore.updateConfig(formData.value);
}); });
</script> </script>
<style lang="less" scoped> <!-- teleport导致drawer scoped样式问题无法生效 先规避下 -->
<!-- eslint-disable-next-line vue-scoped-css/enforce-style-type -->
<style lang="less">
.tdesign-setting { .tdesign-setting {
z-index: 100; z-index: 100;
position: fixed; position: fixed;
@ -297,14 +299,14 @@ watchEffect(() => {
.setting-container { .setting-container {
padding-bottom: 100px; padding-bottom: 100px;
} }
:deep(.t-radio-group.t-size-m) { .t-radio-group.t-size-m {
min-height: 32px; min-height: 32px;
width: 100%; width: 100%;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
:deep(.t-radio-group.t-size-m .t-radio-button) { .t-radio-group.t-size-m .t-radio-button {
height: auto; height: auto;
} }
@ -314,7 +316,7 @@ watchEffect(() => {
align-items: center; align-items: center;
margin-bottom: 16px; margin-bottom: 16px;
:deep(.t-radio-button) { .t-radio-button {
display: inline-flex; display: inline-flex;
max-height: 78px; max-height: 78px;
padding: 8px; padding: 8px;
@ -325,22 +327,22 @@ watchEffect(() => {
} }
} }
:deep(.t-is-checked) { .t-is-checked {
border: 2px solid var(--td-brand-color) !important; border: 2px solid var(--td-brand-color) !important;
} }
:deep(.t-form__controls-content) { .t-form__controls-content {
justify-content: end; justify-content: end;
} }
} }
:deep(.t-form__controls-content) { .t-form__controls-content {
justify-content: end; justify-content: end;
} }
} }
.setting-route-theme { .setting-route-theme {
:deep(.t-form__label) { .t-form__label {
min-width: 310px !important; min-width: 310px !important;
color: var(--td-text-color-secondary); color: var(--td-text-color-secondary);
} }
@ -348,7 +350,7 @@ watchEffect(() => {
.setting-color-theme { .setting-color-theme {
.setting-layout-drawer { .setting-layout-drawer {
:deep(.t-radio-button) { .t-radio-button {
height: 32px; height: 32px;
} }

View File

@ -2,7 +2,7 @@
<div class="table-tree-container"> <div class="table-tree-container">
<div class="list-tree-wrapper"> <div class="list-tree-wrapper">
<div class="list-tree-operator"> <div class="list-tree-operator">
<t-input v-model="filterText" placeholder="请输入关键词" @input="onInput"> <t-input v-model="filterText" placeholder="请输入关键词" @change="onInput">
<template #suffix-icon> <template #suffix-icon>
<search-icon size="var(--td-comp-size-xxxs)" /> <search-icon size="var(--td-comp-size-xxxs)" />
</template> </template>