feat: 添加整体风格自适应操作系统浅色、深色、自动主题功能,让平台充满现代气息 (#869)

* feat: 添加整体风格自适应操作系统浅色、深色、自动主题功能,让平台更加现代化

* chore: update
This commit is contained in:
xiaoming
2024-01-14 23:21:43 +08:00
committed by GitHub
parent 61c6ec230a
commit dd78313622
18 changed files with 100 additions and 30 deletions

View File

@@ -115,7 +115,13 @@ export default defineComponent({
onClick={event => handleChange({ option, index }, event)}
>
<input type="radio" name="segmented" />
<div class="pure-segmented-item-label">
<div
class="pure-segmented-item-label"
v-tippy={{
content: option?.tip,
zIndex: 41000
}}
>
{option.icon && !isFunction(option.label) ? (
<span
class="pure-segmented-item-icon"

View File

@@ -15,4 +15,6 @@ export interface OptionsType {
value?: string | number;
/** 是否禁用 */
disabled?: boolean;
/** `tooltip` 提示 */
tip?: string;
}