File tree Expand file tree Collapse file tree 10 files changed +29
-21
lines changed
examples/sites/demos/pc/app/hrapprover Expand file tree Collapse file tree 10 files changed +29
-21
lines changed Original file line number Diff line number Diff line change 66 @update:approvalPerson =" person = $event"
77 :fetch-hrapprover =" getFetchHrapprover"
88 :category =" category"
9+ title =" 选择权签人"
910 ></tiny-hrapprover >
1011 </div >
1112</template >
Original file line number Diff line number Diff line change 66 @update:approvalPerson =" person = $event"
77 :fetch-hrapprover =" getFetchHrapprover"
88 :category =" category"
9+ title =" 选择权签人"
910 ></tiny-hrapprover >
1011 </div >
1112</template >
Original file line number Diff line number Diff line change 177177 }
178178}
179179
180- .tiny-popper ,
180+ .tiny-popper {
181+ & [x- placement^= ' top' ] {
182+ margin-bottom : 4px ;
183+ }
184+ & [x- placement^= ' bottom' ] {
185+ margin-top : 4px ;
186+ }
187+ & [x- placement^= ' right' ] {
188+ margin-left : 4px ;
189+ }
190+ & [x- placement^= ' left' ] {
191+ margin-right : 4px ;
192+ }
193+ }
194+
195+
196+ .tiny-popconfirm-popover ,
181197.tiny-tooltip__popper {
182198 .popper__arrow {
183199 position : absolute ;
Original file line number Diff line number Diff line change 2222 .inject-Dept-vars ();
2323
2424 &__search {
25- margin-bottom : 12 px ;
25+ margin-bottom : 24 px ;
2626 }
2727
2828 &__text ,
2929 &__label {
30+ width : 80px ;
3031 font-size : var (--tv-Dept-label-font-size );
3132 color : var (--tv-Dept-label-text-color );
3233 font-weight : var (--tv-Dept-label-font-weight );
34+ text-align : left ;
3335 white-space : nowrap ;
3436 overflow : hidden ;
3537 text-overflow : ellipsis ;
36- }
37-
38- &__label {
39- text-align : right ;
40-
4138 & .is-selected {
4239 text-align : left ;
4340 margin-bottom : 4px ;
5350 }
5451
5552 &__item {
56- margin-bottom : 12 px ;
53+ margin-bottom : 24 px ;
5754 }
5855
5956 &__search &__label ,
Original file line number Diff line number Diff line change 1212
1313.inject-Dept-vars () {
1414 --tv-Dept-label-font-size : var (--tv-font-size-md );
15- --tv-Dept-label-text-color : var (--tv-color-text );
16- --tv-Dept-label-font-weight : var (--tv-font-weight-bold );
15+ --tv-Dept-label-text-color : var (--tv-color-text-secondary );
16+ --tv-Dept-label-font-weight : var (--tv-font-weight-regular );
1717 --tv-Dept-selected-info-text-color : var (--tv-color-text );
1818 --tv-Dept-selected-info-bg-color : var (--tv-color-bg-active );
1919 --tv-Dept-selected-info-border-radius : var (--tv-border-radius-md );
Original file line number Diff line number Diff line change 2222 .item-talk ,
2323 .item-call ,
2424 .item-email {
25- margin : 0 8 px 0 0 ;
25+ margin : 0 24 px 0 0 ;
2626 line-height : 1 ;
2727
2828 .@{svg-prefix-cls} {
Original file line number Diff line number Diff line change 2424
2525 &__selector {
2626 & .@{css-prefix} popover.@{css-prefix} popper {
27- padding : 0 ;
27+ padding : 8 px 0 ;
2828 }
2929 }
3030
5757 background : var (--tv-Roles-poplist-item-hover-bg-color );
5858 }
5959
60- & .is-selected {
61- & ,
62- & :hover {
63- background : var (--tv-Roles-poplist-item-selected-bg-color );
64- }
65- }
6660 }
6761}
Original file line number Diff line number Diff line change 1919 --tv-Roles-poplist-item-font-size : var (--tv-font-size-md );
2020 // 下拉面板选项悬浮背景色
2121 --tv-Roles-poplist-item-hover-bg-color : var (--tv-color-bg-hover );
22- // 下拉面板选项选中色
23- --tv-Roles-poplist-item-selected-bg-color : var (--tv-color-bg-active );
2422}
Original file line number Diff line number Diff line change 11{
22 "name" : " @opentiny/vue-dept" ,
3- "version" : " 3.19.0 " ,
3+ "version" : " 3.19.1 " ,
44 "description" : " " ,
55 "main" : " lib/index.js" ,
66 "module" : " index.ts" ,
Original file line number Diff line number Diff line change 1818 @update:visible =" state.open = $event"
1919 :close-on-click-modal =" false"
2020 width =" 550px"
21+ top =" 10vh"
2122 append-to-body
2223 @close =" closeDialog"
2324 :title =" title"
You can’t perform that action at this time.
0 commit comments