File tree Expand file tree Collapse file tree 5 files changed +14
-13
lines changed
examples/sites/demos/pc/app/calendar-view Expand file tree Collapse file tree 5 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { test, expect } from '@playwright/test'
33test ( '事件' , async ( { page } ) => {
44 page . on ( 'pageerror' , ( exception ) => expect ( exception ) . toBeNull ( ) )
55 await page . goto ( 'calendar-view#calendar-event' )
6- const timeInput = page . locator ( '.pc-demo-container ' ) . locator ( '.tiny-input__inner' )
6+ const timeInput = page . locator ( '.tiny-calendar-view ' ) . locator ( '.tiny-input__inner' )
77 const timeBtn = page . getByRole ( 'textbox' , { name : '年 05 月' } )
88 const leftYear = page . getByRole ( 'button' , { name : '前一年' } )
99 const month6 = page . getByText ( '六月' )
Original file line number Diff line number Diff line change 670670 padding : 8px ;
671671
672672 .title {
673- font-size : var (--ti-tooltip-title-font-size );
673+ font-size : var (--ti-calendar-view- tooltip-title-font-size );
674674 padding : 0 6px ;
675675 margin-bottom : 6px ;
676676 border-left-width : 2px ;
677677 border-left-color : #1890ff ;
678- font-weight : var (--ti-tooltip-title-font-weight );
678+ font-weight : var (--ti-calendar-view- tooltip-title-font-weight );
679679 }
680680
681681 .date {
682682 margin-bottom : 6px ;
683683 padding : 0 8px ;
684- color : var (--ti-tooltip-date-color , #8d959e );
684+ color : var (--ti-calendar-view- tooltip-date-text -color , #8d959e );
685685 }
686686
687687 .content {
688688 padding : 0 8px ;
689- color : var (--ti-tooltip-content-color , #8d959e );
689+ color : var (--ti-calendar-view- tooltip-content-text -color , #8d959e );
690690 }
691691 }
692692}
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ export const tinyCalendarViewSmbTheme = {
1919 'ti-calendar-view-radio-active-inner-hover' : 'var(--ti-common-color-bg-white-normal)' ,
2020 'ti-calendar-view-radio-button-inner' : '#ebebeb' ,
2121 'ti-calendar-view-header-main-text-color' : 'var(--ti-common-color-text-weaken)' ,
22- 'ti-tooltip-title-font-size' : 'var(--ti-common-font-size-2)' ,
23- 'ti-tooltip-title-font-weight' : 'var(--ti-common-font-weight-bold)' ,
24- 'ti-tooltip-content-color' : 'var(--ti-common-color-text-primary)' ,
25- 'ti-tooltip-date-color' : 'var(--ti-common-color-text-secondary)' ,
22+ 'ti-calendar-view- tooltip-title-font-size' : 'var(--ti-common-font-size-2)' ,
23+ 'ti-calendar-view- tooltip-title-font-weight' : 'var(--ti-common-font-weight-bold)' ,
24+ 'ti-calendar-view- tooltip-content-text -color' : 'var(--ti-common-color-text-primary)' ,
25+ 'ti-calendar-view- tooltip-date-text -color' : 'var(--ti-common-color-text-secondary)' ,
2626 'ti-calendar-view-day-selected-border-radius' : 'unset' ,
2727 'ti-calendar-view-day-selected-svg-right' : 'unset' ,
2828 'ti-calendar-view-day-selected-svg-top' : 'unset' ,
Original file line number Diff line number Diff line change 2727 --ti-calendar-view-day-selected-svg-right : -1px ;
2828 --ti-calendar-view-day-selected-svg-top : -6px ;
2929 // 提示
30- --ti-tooltip-title-font-size : var (--ti-common-font-size-base );
31- --ti-tooltip-title-font-weight : var (--ti-common-font-weight-5 );
32- --ti-tooltip-date-color : #8d959e ;
33- --ti-tooltip-content-color : #8d959e ;
30+ --ti-calendar-view- tooltip-title-font-size : var (--ti-common-font-size-base );
31+ --ti-calendar-view- tooltip-title-font-weight : var (--ti-common-font-weight-5 );
32+ --ti-calendar-view- tooltip-date-text -color : #8d959e ;
33+ --ti-calendar-view- tooltip-content-text -color : #8d959e ;
3434 // 箭头
3535 --ti-calendar-view-header-left-svg-fill : unset ;
3636 --ti-calendar-view-header-right-svg-fill : unset ;
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ export default {
3131 'color-select-panel' : 'color-select-panel' ,
3232 'color-picker' : 'color-picker' ,
3333 'calendar-view' : 'calendar-view' ,
34+ 'calendar-view-tooltip' : 'calendar-view-tooltip' ,
3435 'detail-page' : 'detail-page' ,
3536 'dialog-box' : 'dialog-box__wrapper' ,
3637 'dropdown-item' : 'dropdown-item' ,
You can’t perform that action at this time.
0 commit comments