用于颜色选择,支持多种格式。
<template> <div style="display: flex; align-items: center;justify-content: space-around;padding: 16px"> <wu-plus-color-picker id="colorPicker" /> </div> </template> <script> </script>
支持 rgba 或十六进制颜色。
<template> <div style="display: flex; align-items: center;justify-content: space-around;padding: 16px"> <wu-plus-color-picker defaultvalue="rgba(19, 206, 102, 0.9)" id="colorPicker2" /> <wu-plus-color-picker defaultvalue="#409EFF" id="colorPicker20" /> </div> </template> <script> </script>
<template> <div style="display: flex; align-items: center;justify-content: space-around;padding: 16px"> <wu-plus-color-picker size="medium" /> <wu-plus-color-picker size="small" /> <wu-plus-color-picker size="mini" /> </div> </template> <script> </script>
<template> <div style="display: flex; align-items: center;justify-content: space-around;padding: 16px"> <wu-plus-color-picker id="colorPicker14" disabled="true" /> </div> </template> <script> </script>
Cascader 级联选择器 DatePicker 日期选择器