mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-21 14:13:36 +08:00
feat: 添加整体风格自适应操作系统浅色、深色、自动主题功能,让平台充满现代气息 (#869)
* feat: 添加整体风格自适应操作系统浅色、深色、自动主题功能,让平台更加现代化 * chore: update
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -15,4 +15,6 @@ export interface OptionsType {
|
||||
value?: string | number;
|
||||
/** 是否禁用 */
|
||||
disabled?: boolean;
|
||||
/** `tooltip` 提示 */
|
||||
tip?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user