@@ -214,7 +214,9 @@ watchEffect(() => {
214214 if (formData .value .brandTheme ) settingStore .updateConfig (formData .value );
215215});
216216 </script >
217- <style lang="less" scoped>
217+ <!-- teleport导致drawer 内 scoped样式问题无法生效 先规避下 -->
218+ <!-- eslint-disable-next-line vue-scoped-css/enforce-style-type -->
219+ <style lang="less">
218220.tdesign-setting {
219221 z-index : 100 ;
220222 position : fixed ;
@@ -297,14 +299,14 @@ watchEffect(() => {
297299 .setting-container {
298300 padding-bottom : 100px ;
299301 }
300- :deep( .t-radio-group.t-size-m ) {
302+ .t-radio-group.t-size-m {
301303 min-height : 32px ;
302304 width : 100% ;
303305 justify-content : space-between ;
304306 align-items : center ;
305307 }
306308
307- :deep( .t-radio-group.t-size-m .t-radio-button ) {
309+ .t-radio-group.t-size-m .t-radio-button {
308310 height : auto ;
309311 }
310312
@@ -314,7 +316,7 @@ watchEffect(() => {
314316 align-items : center ;
315317 margin-bottom : 16px ;
316318
317- :deep( .t-radio-button ) {
319+ .t-radio-button {
318320 display : inline-flex ;
319321 max-height : 78px ;
320322 padding : 8px ;
@@ -325,30 +327,30 @@ watchEffect(() => {
325327 }
326328 }
327329
328- :deep( .t-is-checked ) {
330+ .t-is-checked {
329331 border : 2px solid var (--td-brand-color ) !important ;
330332 }
331333
332- :deep( .t-form__controls-content ) {
334+ .t-form__controls-content {
333335 justify-content : end ;
334336 }
335337 }
336338
337- :deep( .t-form__controls-content ) {
339+ .t-form__controls-content {
338340 justify-content : end ;
339341 }
340342}
341343
342344.setting-route-theme {
343- :deep( .t-form__label ) {
345+ .t-form__label {
344346 min-width : 310px !important ;
345347 color : var (--td-text-color-secondary );
346348 }
347349}
348350
349351.setting-color-theme {
350352 .setting-layout-drawer {
351- :deep( .t-radio-button ) {
353+ .t-radio-button {
352354 height : 32px ;
353355 }
354356
0 commit comments