wot-design-uni
Version:
一个基于Vue3+TS开发的uni-app组件库,提供70+高质量组件,支持暗黑模式、国际化和自定义主题。
1 lines • 234 kB
JSON
{"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"wot-design-uni","version":"1.9.1","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{"vue-components":[{"name":"wd-action-sheet","source":{"symbol":"WdActionSheet"},"description":"从底部弹出的动作菜单面板。","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#actionsheet","props":[{"name":"v-model","description":"设置菜单显示隐藏","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#attributes","type":["boolean"]},{"name":"actions","description":"菜单选项","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#attributes","type":["array"],"default":"[]"},{"name":"panels","description":"自定义面板项,可以为字符串数组,也可以为对象数组,如果为二维数组,则为多行展示","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#attributes","type":["array"],"default":"[]"},{"name":"title","description":"标题","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#attributes","type":["string"]},{"name":"cancel-text","description":"取消按钮文案","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#attributes","type":["string"]},{"name":"close-on-click-action","description":"点击选项后是否关闭菜单","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"},{"name":"duration","description":"动画持续时间","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#attributes","type":["number"],"default":"200(ms)"},{"name":"z-index","description":"菜单层级","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#attributes","type":["number"],"default":"10"},{"name":"lazy-render","description":"弹层内容懒渲染,触发展示时才渲染内容","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"},{"name":"safe-area-inset-bottom","description":"弹出面板是否设置底部安全距离(iphone X 类型的机型)","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#attributes","type":["boolean"],"default":"true"}],"js":{"events":[{"name":"select","description":"点击选项时触发","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#events"},{"name":"open","description":"弹出层打开时触发","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#events"},{"name":"opened","description":"弹出层打开动画结束时触发","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#events"},{"name":"close","description":"弹出层关闭时触发","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#events"},{"name":"closed","description":"弹出层关闭动画结束时触发","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#events"},{"name":"click-modal","description":"点击遮罩时触发","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#events"},{"name":"cancel","description":"点击取消按钮时触发","doc-url":"https://wot-design-uni.cn/component/action-sheet.html#events"}]}},{"name":"wd-backtop","source":{"symbol":"WdBacktop"},"description":"用于返回页面顶部的操作按钮。","doc-url":"https://wot-design-uni.cn/component/backtop.html#backtop","props":[{"name":"scroll-top","description":"页面滚动距离","doc-url":"https://wot-design-uni.cn/component/backtop.html#attributes","type":["number"]},{"name":"top","description":"距离顶部多少距离时显示,单位`px`","doc-url":"https://wot-design-uni.cn/component/backtop.html#attributes","type":["number"],"default":"300"},{"name":"duration","description":"返回顶部滚动时间,单位`ms`","doc-url":"https://wot-design-uni.cn/component/backtop.html#attributes","type":["number"],"default":"100"},{"name":"z-index","description":"组件z-index属性","doc-url":"https://wot-design-uni.cn/component/backtop.html#attributes","type":["number"],"default":"10"},{"name":"icon-style","description":"自定义`icon`样式","doc-url":"https://wot-design-uni.cn/component/backtop.html#attributes","type":["string"]},{"name":"shape","description":"按钮形状","doc-url":"https://wot-design-uni.cn/component/backtop.html#attributes","type":["string"],"default":"circle","attribute-value":{"type":"enum"},"values":[{"name":"square"}]},{"name":"bottom","description":"距离屏幕顶部的距离,单位`px`","doc-url":"https://wot-design-uni.cn/component/backtop.html#attributes","type":["number"],"default":"100"},{"name":"right","description":"距离屏幕右边距离,单位`px`","doc-url":"https://wot-design-uni.cn/component/backtop.html#attributes","type":["number"],"default":"20"}]},{"name":"wd-badge","source":{"symbol":"WdBadge"},"description":"出现在按钮、图标旁的数字或状态标记。","doc-url":"https://wot-design-uni.cn/component/badge.html#badge","props":[{"name":"v-model","description":"显示值","doc-url":"https://wot-design-uni.cn/component/badge.html#attributes","type":["string","number"]},{"name":"max","description":"最大值,超过最大值会显示 '{max}+',要求 value 是 Number 类型","doc-url":"https://wot-design-uni.cn/component/badge.html#attributes","type":["number"]},{"name":"top","description":"为正时,角标向下偏移对应的像素","doc-url":"https://wot-design-uni.cn/component/badge.html#attributes","type":["number"]},{"name":"right","description":"为正时,角标向左偏移对应的像素","doc-url":"https://wot-design-uni.cn/component/badge.html#attributes","type":["number"]},{"name":"is-dot","description":"红色点状标注","doc-url":"https://wot-design-uni.cn/component/badge.html#attributes","type":["boolean"],"default":"false"},{"name":"hidden","description":"隐藏 badge","doc-url":"https://wot-design-uni.cn/component/badge.html#attributes","type":["boolean"],"default":"false"},{"name":"type","description":"类型","doc-url":"https://wot-design-uni.cn/component/badge.html#attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"primary"},{"name":"success"},{"name":"warning"},{"name":"danger"},{"name":"info"}]},{"name":"bg-color","description":"背景色","doc-url":"https://wot-design-uni.cn/component/badge.html#attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"各种颜色的css写法"}]},{"name":"show-zero","description":"是否显示0","doc-url":"https://wot-design-uni.cn/component/badge.html#attributes","type":["boolean"],"default":"false"}]},{"name":"wd-button","source":{"symbol":"WdButton"},"description":"按钮用于触发一个操作,如提交表单或打开链接。","doc-url":"https://wot-design-uni.cn/component/button.html#button","props":[{"name":"type","description":"按钮类型","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"],"default":"primary","attribute-value":{"type":"enum"},"values":[{"name":"primary"},{"name":"success"},{"name":"info"},{"name":"warning"},{"name":"error"},{"name":"text"},{"name":"icon"}]},{"name":"round","description":"圆角按钮","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["boolean"],"default":"true"},{"name":"plain","description":"幽灵按钮","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"hairline","description":"是否细边框","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"loading","description":"加载中按钮","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"block","description":"块状按钮","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"size","description":"按钮尺寸","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"],"default":"medium","attribute-value":{"type":"enum"},"values":[{"name":"small"},{"name":"medium"},{"name":"large"}]},{"name":"disabled","description":"禁用按钮","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"icon","description":"图标类名","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"]},{"name":"loading-color","description":"加载图标颜色","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"]},{"name":"open-type","description":"微信开放能力","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"]},{"name":"hover-stop-propagation","description":"指定是否阻止本节点的祖先节点出现点击态","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"lang","description":"指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"],"default":"en","attribute-value":{"type":"enum"},"values":[{"name":"zh_CN"},{"name":"zh_TW"}]},{"name":"session-from","description":"会话来源,open-type=\"contact\"时有效","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"]},{"name":"session-message-title","description":"会话内消息卡片标题,open-type=\"contact\"时有效","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"],"default":"当前标题"},{"name":"session-message-path","description":"会话内消息卡片点击跳转小程序路径,open-type=\"contact\"时有效","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"],"default":"当前分享路径"},{"name":"send-message-img","description":"会话内消息卡片图片,open-type=\"contact\"时有效","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"],"default":"截图"},{"name":"app-parameter","description":"打开 APP 时,向 APP 传递的参数,open-type=launchApp 时有效","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"]},{"name":"show-message-card","description":"是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示\"可能要发送的小程序\"提示,用户点击后可以快速发送小程序消息,open-type=\"contact\"时有效","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["boolean"],"default":"false"},{"name":"class-prefix","description":"类名前缀,用于使用自定义图标,参见[icon](/component/icon#自定义图标)","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"],"default":"wd-icon"},{"name":"button-id","description":"按钮的唯一标识,可用于设置隐私同意授权按钮的 id","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":["string"]},{"name":"scope","description":"支付宝小程序使用,当 open-type 为 getAuthorize 时有效。","doc-url":"https://wot-design-uni.cn/component/button.html#attributes","type":[{"name":"ButtonScope","source":{"symbol":"ButtonScope"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"phoneNumber"},{"name":"userInfo"}]}],"js":{"events":[{"name":"click","description":"点击事件","doc-url":"https://wot-design-uni.cn/component/button.html#events"},{"name":"getuserinfo","description":"获取用户信息","doc-url":"https://wot-design-uni.cn/component/button.html#events"},{"name":"contact","description":"客服消息回调,open-type=\"contact\"时有效","doc-url":"https://wot-design-uni.cn/component/button.html#events"},{"name":"getphonenumber","description":"获取用户手机号回调,open-type=getPhoneNumber 时有效","doc-url":"https://wot-design-uni.cn/component/button.html#events"},{"name":"error","description":"当使用开放能力时,发生错误的回调,open-type=launchApp 时有效","doc-url":"https://wot-design-uni.cn/component/button.html#events"},{"name":"launchapp","description":"打开 APP 成功的回调,open-type=launchApp 时有效","doc-url":"https://wot-design-uni.cn/component/button.html#events"},{"name":"opensetting","description":"在打开授权设置页后回调,open-type=openSetting 时有效","doc-url":"https://wot-design-uni.cn/component/button.html#events"}]}},{"name":"wd-calendar-view","source":{"symbol":"WdCalendarView"},"description":"提供日历单选、多选、范围选择、周维度、月维度等功能。可以根据实际业务场景基于该组件进行封装高度定制化组件。","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#calendarview","props":[{"name":"v-model","description":"选中值,为 13 位时间戳或时间戳数组","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["null","number","array"]},{"name":"type","description":"日期类型","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["string"],"default":"date","attribute-value":{"type":"enum"},"values":[{"name":"date"},{"name":"dates"},{"name":"datetime"},{"name":"week"},{"name":"month"},{"name":"daterange"},{"name":"datetimerange"},{"name":"weekrange"},{"name":"monthrange"}]},{"name":"min-date","description":"最小日期,为 13 位时间戳","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["number"],"default":"当前日期往前推 6 个月"},{"name":"max-date","description":"最大日期,为 13 位时间戳","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["number"],"default":"当前日期往后推 6 个月"},{"name":"first-day-of-week","description":"周起始天","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["number"],"default":"0"},{"name":"formatter","description":"日期格式化函数","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["function"]},{"name":"max-range","description":"type 为范围选择时有效,最大日期范围","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["number"]},{"name":"range-prompt","description":"type 为范围选择时有效,选择超出最大日期范围时的错误提示文案","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["string"],"default":"选择天数不能超过 x 天"},{"name":"allow-same-day","description":"type 为范围选择时有效,是否允许选择同一天","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"false"},{"name":"show-panel-title","description":"是否展示面板标题,自动计算当前滚动的日期月份","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"true"},{"name":"default-time","description":"选中日期所使用的当日内具体时刻","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["string","array"],"default":"00:00:00"},{"name":"panel-height","description":"可滚动面板的高度","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["number"],"default":"378"},{"name":"time-filter","description":"type 为 'datetime' 或 'datetimerange' 时有效,用于过滤时间选择器的数据","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["function"]},{"name":"hide-second","description":"type 为 'datetime' 或 'datetimerange' 时有效,是否不展示秒修改","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"false"},{"name":"immediate-change","description":"type 为 'datetime' 或 'datetimerange' 时有,是否在手指松开时立即触发 picker-view 的 change 事件。若不开启则会在滚动动画结束后触发 change 事件,1.2.25 版本起提供,仅微信小程序和支付宝小程序支持。","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#attributes","type":["boolean"],"default":"false"}],"js":{"events":[{"name":"change","description":"绑定值变化时触发","doc-url":"https://wot-design-uni.cn/component/calendar-view.html#events"}]}},{"name":"wd-calendar","source":{"symbol":"WdCalendar"},"description":"提供日历单选、多选、范围选择、周维度、月维度等功能。","doc-url":"https://wot-design-uni.cn/component/calendar.html#calendar","props":[{"name":"v-model","description":"选中值,为 13 位时间戳或时间戳数组","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["null","number","array"]},{"name":"type","description":"日期类型","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["string"],"default":"date","attribute-value":{"type":"enum"},"values":[{"name":"date"},{"name":"dates"},{"name":"datetime"},{"name":"week"},{"name":"month"},{"name":"daterange"},{"name":"datetimerange"},{"name":"weekrange"},{"name":"monthrange"}]},{"name":"min-date","description":"最小日期,为 13 位时间戳","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["number"],"default":"当前日期往前推 6 个月"},{"name":"max-date","description":"最大日期,为 13 位时间戳","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["number"],"default":"当前日期往后推 6 个月"},{"name":"first-day-of-week","description":"周起始天","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["number"],"default":"0"},{"name":"formatter","description":"日期格式化函数","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["function"]},{"name":"max-range","description":"type 为范围选择时有效,最大日期范围","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["number"]},{"name":"range-prompt","description":"type 为范围选择时有效,选择超出最大日期范围时的错误提示文案","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["string"],"default":"选择天数不能超过 x 天"},{"name":"allow-same-day","description":"type 为范围选择时有效,是否允许选择同一天","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"default-time","description":"选中日期所使用的当日内具体时刻","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["string","array"],"default":"00:00:00"},{"name":"time-filter","description":"type 为 'datetime' 或 'datetimerange' 时有效,用于过滤时间选择器的数据","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["function"]},{"name":"hide-second","description":"type 为 'datetime' 或 'datetimerange' 时有效,是否不展示秒修改","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"show-confirm","description":"是否显示确定按钮","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"},{"name":"show-type-switch","description":"是否显示类型切换功能","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"shortcuts","description":"快捷选项,为对象数组,其中对象的 `text` 必传","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["array"]},{"name":"title","description":"弹出层标题","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["string"],"default":"选择日期"},{"name":"label","description":"选择器左侧文案","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["string"]},{"name":"placeholder","description":"选择器占位符","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["string"],"default":"请选择"},{"name":"disabled","description":"禁用","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"readonly","description":"只读","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"display-format","description":"自定义展示文案的格式化函数,返回一个字符串","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["function"]},{"name":"inner-display-format","description":"自定义范围选择类型的面板内部回显,返回一个字符串","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["function"]},{"name":"size","description":"设置选择器大小","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"large"}]},{"name":"label-width","description":"设置左侧标题宽度","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["string"],"default":"33%"},{"name":"error","description":"是否为错误状态,错误状态时右侧内容为红色","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"required","description":"必填样式","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"center","description":"是否垂直居中","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"ellipsis","description":"是否超出隐藏","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"align-right","description":"选择器的值靠右展示","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"before-confirm","description":"确定前校验函数,接收 { value, resolve } 参数,通过 resolve 继续执行,resolve 接收 1 个 boolean 参数","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["function"]},{"name":"suse-default-slots","description":"<s>使用默认插槽时设置该选项</s>,已废弃直接使用默认插槽即可。","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"suse-label-slots","description":"<s>使用 label 插槽时设置该选项</s>,已废弃直接使用 label 插槽即可。","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"弹窗层级","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["number"],"default":"15"},{"name":"safe-area-inset-bottom","description":"弹出面板是否设置底部安全距离(iphone X 类型的机型)","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"},{"name":"prop","description":"表单域 `model` 字段名,在使用表单校验功能的情况下,该属性是必填的","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["string"]},{"name":"rules","description":"表单验证规则,结合`wd-form`组件使用","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":[{"name":"FormItemRule []","source":{"symbol":"FormItemRule "}}],"default":"[]"},{"name":"immediate-change","description":"type 为 'datetime' 或 'datetimerange' 时有,是否在手指松开时立即触发 picker-view 的 change 事件。若不开启则会在滚动动画结束后触发 change 事件,1.2.25 版本起提供,仅微信小程序和支付宝小程序支持。","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"false"},{"name":"with-cell","description":"是否使用内置 cell 选择器","doc-url":"https://wot-design-uni.cn/component/calendar.html#attributes","type":["boolean"],"default":"true"}],"js":{"events":[{"name":"confirm","description":"绑定值变化时触发","doc-url":"https://wot-design-uni.cn/component/calendar.html#events"},{"name":"change","description":"点击面板日期时触发","doc-url":"https://wot-design-uni.cn/component/calendar.html#events"},{"name":"cancel","description":"点击关闭按钮或者蒙层时触发","doc-url":"https://wot-design-uni.cn/component/calendar.html#events"},{"name":"open","description":"日历打开时触发","doc-url":"https://wot-design-uni.cn/component/calendar.html#events"}]}},{"name":"wd-card","source":{"symbol":"WdCard"},"description":"用于展示商品的图片、价格等信息。","doc-url":"https://wot-design-uni.cn/component/card.html#card","props":[{"name":"title","description":"卡片标题","doc-url":"https://wot-design-uni.cn/component/card.html#attributes","type":["string"]},{"name":"type","description":"卡片类型","doc-url":"https://wot-design-uni.cn/component/card.html#attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"rectangle"}]}]},{"name":"wd-cell-group","source":{"symbol":"WdCellGroup"},"description":"单元格为列表中的单个展示项。","doc-url":"https://wot-design-uni.cn/component/cell.html#cellgroup","props":[{"name":"title","description":"分组标题","doc-url":"https://wot-design-uni.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"value","description":"分组右侧内容","doc-url":"https://wot-design-uni.cn/component/cell.html#cellgroup-attributes","type":["string"]},{"name":"border","description":"是否展示边框线","doc-url":"https://wot-design-uni.cn/component/cell.html#cellgroup-attributes","type":["boolean"]},{"name":"use-slot","description":"分组启用插槽","doc-url":"https://wot-design-uni.cn/component/cell.html#cellgroup-attributes","type":["boolean"],"default":"false"}]},{"name":"wd-cell","source":{"symbol":"WdCell"},"description":"单元格为列表中的单个展示项。","doc-url":"https://wot-design-uni.cn/component/cell.html#cell","props":[{"name":"title","description":"标题","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"value","description":"右侧内容","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"icon","description":"图标类名","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"label","description":"描述信息","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"is-link","description":"是否为跳转链接","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"to","description":"跳转地址","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"clickable","description":"点击反馈,开启 is-link 时,默认开启此选项","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"replace","description":"跳转时是否替换栈顶页面","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"size","description":"设置单元格大小","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"large"}]},{"name":"title-width","description":"设置左侧标题宽度","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"center","description":"是否垂直居中,默认顶部居中","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"required","description":"表单属性,必填","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"vertical","description":"表单属性,上下结构","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["boolean"],"default":"false"},{"name":"prop","description":"表单域 `model` 字段名,在使用表单校验功能的情况下,该属性是必填的","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["string"]},{"name":"rules","description":"表单验证规则,结合`wd-form`组件使用","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":[{"name":"FormItemRule []","source":{"symbol":"FormItemRule "}}],"default":"[]"},{"name":"border","description":"是否展示边框线,优先级高于`cell-group`的`border`","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-attributes","type":["boolean"]}],"js":{"events":[{"name":"click","description":"当 clickable 或 is-link 为 true 时点击单元格触发","doc-url":"https://wot-design-uni.cn/component/cell.html#cell-events"}]}},{"name":"wd-checkbox","source":{"symbol":"WdCheckbox"},"description":"复选框用于在一组备选项中进行多选。","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkbox","props":[{"name":"v-model","description":"单选框选中时的值","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkbox-attributes","type":["string","number","boolean"]},{"name":"shape","description":"单选框形状","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"circle","attribute-value":{"type":"enum"},"values":[{"name":"circle"},{"name":"square"},{"name":"button"}]},{"name":"checked-color","description":"选中的颜色","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkbox-attributes","type":["string"],"default":"#4D80F0"},{"name":"disabled","description":"禁用","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkbox-attributes","type":["boolean"],"default":"false"},{"name":"max-width","description":"文字位置最大宽度","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkbox-attributes","type":["string"]},{"name":"true-value","description":"选中值,在 checkbox-group 中使用无效,需同 false-value 一块使用","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkbox-attributes","type":["string","number"],"default":"true"},{"name":"false-value","description":"非选中时的值,在 checkbox-group 中使用无效,需同 true-value 一块使用","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkbox-attributes","type":["string","number"],"default":"false"},{"name":"size","description":"设置大小","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkbox-attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"large"}]}],"js":{"events":[{"name":"change","description":"绑定值变化时触发,当为复选框组时参数为 boolean,表示该复选框是否选中","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkbox-events"}]}},{"name":"wd-checkbox-group","source":{"symbol":"WdCheckboxGroup"},"description":"复选框用于在一组备选项中进行多选。","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkboxgroup","props":[{"name":"v-model","description":"绑定值","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkboxgroup-attributes","type":["Array"]},{"name":"shape","description":"单选框形状","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"],"default":"circle","attribute-value":{"type":"enum"},"values":[{"name":"circle"},{"name":"square"},{"name":"button"}]},{"name":"cell","description":"表单模式","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkboxgroup-attributes","type":["boolean"],"default":"false"},{"name":"checked-color","description":"选中的颜色","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"],"default":"#4D80F0"},{"name":"disabled","description":"禁用","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkboxgroup-attributes","type":["boolean"],"default":"false"},{"name":"min","description":"最小选中的数量","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkboxgroup-attributes","type":["number"],"default":"0"},{"name":"max","description":"最大选中的数量,0 为无限数量,默认为 0","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkboxgroup-attributes","type":["number"],"default":"0"},{"name":"inline","description":"同行展示","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkboxgroup-attributes","type":["boolean"],"default":"false"},{"name":"size","description":"设置大小","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkboxgroup-attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"large"}]}],"js":{"events":[{"name":"change","description":"绑定值变化时触发","doc-url":"https://wot-design-uni.cn/component/checkbox.html#checkboxgroup-events"}]}},{"name":"wd-circle","source":{"symbol":"WdCircle"},"description":"圆环形的进度条组件,支持进度渐变动画。","doc-url":"https://wot-design-uni.cn/component/circle.html#circle","props":[{"name":"v-model","description":"当前进度","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["number"],"default":"0"},{"name":"custom-class","description":"自定义class","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["string"]},{"name":"custom-style","description":"自定义style","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["string"]},{"name":"size","description":"圆环直径,默认单位为 px","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["number"],"default":"100"},{"name":"color","description":"进度条颜色","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["string","Record<string, string>"],"default":"#4d80f0"},{"name":"layer-color","description":"轨道颜色","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["string"],"default":"#EBEEF5"},{"name":"fill","description":"填充颜色","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["string"],"default":"#ffffff"},{"name":"speed","description":"动画速度(单位为 rate/s)","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["number"],"default":"50"},{"name":"text","description":"文字","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["string"]},{"name":"stroke-width","description":"进度条宽度,单位px","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["number"],"default":"10"},{"name":"stroke-linecap","description":"进度条端点的形状","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["string"],"default":"round","attribute-value":{"type":"enum"},"values":[{"name":"butt"},{"name":"round"},{"name":"square"}]},{"name":"clockwise","description":"是否顺时针增加","doc-url":"https://wot-design-uni.cn/component/circle.html#attributes","type":["boolean"],"default":"true"}]},{"name":"wd-col-picker","source":{"symbol":"WdColPicker"},"description":"使用多列选择器来做级联,交互效果较好,多列选择器支持无限级选择。","doc-url":"https://wot-design-uni.cn/component/col-picker.html#colpicker","props":[{"name":"v-model","description":"选中项","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["array"]},{"name":"columns","description":"选择器数据,二维数组","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["array"]},{"name":"value-key","description":"选项对象中,value 对应的 key","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["string"],"default":"value"},{"name":"label-key","description":"选项对象中,展示的文本对应的 key","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["string"],"default":"label"},{"name":"tip-key","description":"选项对象中,提示文案对应的 key","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["string"],"default":"tip"},{"name":"title","description":"弹出层标题","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["string"]},{"name":"label","description":"选择器左侧文案","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["string"]},{"name":"placeholder","description":"选择器占位符","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["string"],"default":"请选择"},{"name":"disabled","description":"禁用","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"readonly","description":"只读","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"display-format","description":"自定义展示文案的格式化函数,返回一个字符串","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["function"]},{"name":"column-change","description":"接收当前列的选中项 item、当前列下标、当前列选中项下标下一列数据处理函数 resolve、结束选择 finish","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["function"]},{"name":"size","description":"设置选择器大小","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"large"}]},{"name":"label-width","description":"设置左侧标题宽度","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["string"],"default":"33%"},{"name":"error","description":"是否为错误状态,错误状态时右侧内容为红色","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"required","description":"必填样式","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"align-right","description":"选择器的值靠右展示","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"before-confirm","description":"确定前校验函数,接收 (value, resolve) 参数,通过 resolve 继续执行 picker,resolve 接收 1 个 boolean 参数","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["function"]},{"name":"loading-color","description":"loading 图标的颜色","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["string"],"default":"#4D80F0"},{"name":"use-default-slot","description":"使用默认插槽时设置该选项","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"use-label-slot","description":"使用 label 插槽时设置该选项","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"auto-complete","description":"自动触发 column-change 事件来补全数据,当 columns 为空数组或者 columns 数组长度小于 value 数组长度时,会自动触发 column-change","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":[{"name":"-","source":{"symbol":"-"}}],"attribute-value":{"type":"of-match"},"values":[{"name":"false"}]},{"name":"z-index","description":"弹窗层级","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["number"],"default":"15"},{"name":"safe-area-inset-bottom","description":"弹出面板是否设置底部安全距离(iphone X 类型的机型)","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["boolean"],"default":"true"},{"name":"ellipsis","description":"是否超出隐藏","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["boolean"],"default":"false"},{"name":"prop","description":"表单域 `model` 字段名,在使用表单校验功能的情况下,该属性是必填的","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["string"]},{"name":"rules","description":"表单验证规则,结合`wd-form`组件使用","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":[{"name":"FormItemRule []","source":{"symbol":"FormItemRule "}}],"default":"[]"},{"name":"line-width","description":"底部条宽度,单位像素","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["number"]},{"name":"line-height","description":"底部条高度,单位像素","doc-url":"https://wot-design-uni.cn/component/col-picker.html#attributes","type":["number"]}],"js":{"events":[{"name":"confirm","description":"最后一列选项选中时触发","doc-url":"https://wot-design-uni.cn/component/col-picker.html#events"},{"name":"close","description":"点击关闭按钮或者蒙层时触发","doc-url":"https://wot-design-uni.cn/component/col-picker.html#events"}]}},{"name":"wd-collapse-item","source":{"symbol":"WdCollapseItem"},"description":"将一组内容放置在多个折叠面板中,点击面板的标题可以展开或收缩其内容。","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapseitem","props":[{"name":"name","description":"折叠栏的标识符","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"title","description":"折叠栏的标题, 支持同名 slot 自定义内容","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapseitem-attributes","type":["string"]},{"name":"disabled","description":"禁用折叠栏","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapseitem-attributes","type":["boolean"],"default":"false"},{"name":"before-expend","description":"打开前的回调函数,返回 false 可以阻止打开,支持返回 Promise","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapseitem-attributes","type":["Function"]}]},{"name":"wd-collapse","source":{"symbol":"WdCollapse"},"description":"将一组内容放置在多个折叠面板中,点击面板的标题可以展开或收缩其内容。","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapse","props":[{"name":"value","description":"绑定值","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapse-attributes","type":["string","array","boolean"]},{"name":"accordion","description":"手风琴","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapse-attributes","type":["boolean"],"default":"false"},{"name":"viewmore","description":"查看更多的折叠面板","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapse-attributes","type":["boolean"],"default":"false"},{"name":"use-more-slot","description":"查看更多的自定义插槽使用标志","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapse-attributes","type":["boolean"],"default":"false"},{"name":"line-num","description":"查看更多的折叠面板,收起时的显示行数","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapse-attributes","type":["number"],"default":"2"}],"js":{"events":[{"name":"change","description":"绑定值变化时触发","doc-url":"https://wot-design-uni.cn/component/collapse.html#collapse-events"}]}},{"name":"wd-config-provider","source":{"symbol":"WdConfigProvider"},"description":"用于全局配置 `Wot` 组件,提供深色模式、主题定制等能力。","doc-url":"https://wot-design-uni.cn/component/config-provider.html#configprovider","props":[{"name":"theme","description":"主题风格,设置为 `dark` 来开启深色模式,全局生效","doc-url":"https://wot-design-uni.cn/component/config-provider.html#attributes","type":["string"],"attribute-value":{"type":"enum"},"values":[{"name":"dark"},{"name":"light"}]},{"name":"theme-vars","description":"自定义主题变量","doc-url":"https://wot-design-uni.cn/component/config-provider.html#attributes","type":[{"name":"ConfigProviderThemeVars","source":{"symbol":"ConfigProviderThemeVars"}}]}]},{"name":"wd-count-down","source":{"symbol":"WdCountDown"},"description":"用于实时展示倒计时数值,支持毫秒精度。","doc-url":"https://wot-design-uni.cn/component/count-down.html#countdown","props":[{"name":"time","description":"倒计时时长,单位毫秒","doc-url":"https://wot-design-uni.cn/component/count-down.html#attributes","type":["Number"],"default":"0"},{"name":"millisecond","description":"是否开启毫秒级渲染","doc-url":"https://wot-design-uni.cn/component/count-down.html#attributes","type":["Boolean"],"default":"false"},{"name":"auto-start","description":"是否自动开始倒计时","doc-url":"https://wot-design-uni.cn/component/count-down.html#attributes","type":["Boolean"],"default":"true"},{"name":"format","description":"倒计时格式化字符串","doc-url":"https://wot-design-uni.cn/component/count-down.html#attributes","type":["String"],"default":"HH:mm:ss"}],"slots":[{"name":"—","description":"默认插槽","doc-url":"https://wot-design-uni.cn/component/count-down.html#slots"}],"js":{"events":[{"name":"finish","description":"倒计时结束时触发","doc-url":"https://wot-design-uni.cn/component/count-down.html#events"},{"name":"change","description":"倒计时变化时触发","doc-url":"https://wot-design-uni.cn/component/count-down.html#events"}]}},{"name":"wd-count-to","source":{"symbol":"WdCountTo"},"description":"数字滚动组件。","doc-url":"https://wot-design-uni.cn/component/count-to.html#countto","props":[{"name":"font-size","description":"字体大小","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["number"],"default":"default","attribute-value":{"type":"of-match"},"values":[{"name":"16"}]},{"name":"color","description":"文本颜色","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["string"]},{"name":"type","description":"主题类型","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["string"],"default":"default","attribute-value":{"type":"enum"},"values":[{"name":"primary'"},{"name":"'error'"},{"name":"'warning'"},{"name":"'success"}]},{"name":"start-val","description":"起始值","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["number"],"default":"0"},{"name":"end-val","description":"最终值","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["number"],"default":"2024"},{"name":"duration","description":"从起始值到结束值数字变动的时间","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["number"],"default":"3000"},{"name":"autoplay","description":"是否自动播放","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["boolean"],"default":"true"},{"name":"decimals","description":"保留的小数位数","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["number"],"default":"0","attribute-value":{"type":"of-match"},"values":[{"name":"(需大于等于 0)"}]},{"name":"decimal","description":"小数点符号","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["string"],"default":"."},{"name":"separator","description":"三位三位的隔开效果","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["string"],"default":","},{"name":"prefix","description":"前缀","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["string"]},{"name":"suffix","description":"后缀","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["string"]},{"name":"use-easing","description":"是否具有连贯性","doc-url":"https://wot-design-uni.cn/component/count-to.html#attributes","type":["boolean"],"default":"true"}],"slots":[{"name":"default","description":"默认插槽","doc-url":"https://wot-design-uni.cn/component/count-to.html#slots"},{"name":"prefix","description":"前缀插槽","doc-url":"https://wot-design-uni.cn/component/count-to.html#slots"},{"name":"suffix","description":"后缀插槽","doc-url":"https://wot-design-uni.cn/component/count-to.html#slots"}],"js":{"events":[{"name":"finish","description":"动画完成时触发","doc-url":"https://wot-design-uni.cn/component/count-to.html#events"},{"name":"mounted","description":"组件加载完成时时触发","doc-url":"https://wot-design-uni.cn/component/count-to.html#events"}]}},{"name":"wd-curtain","source":{"symbol":"WdCurtain"},"description":"一般用于公告类的图片弹窗。","doc-url":"https://wot-design-uni.cn/component/curtain.html#curtain","props":[{"name":"value","description":"绑定值,展示/关闭幕帘(已废弃,请使用 modelValue)","doc-url":"https://wot-design-uni.cn/component/curtain.html#attributes","type":["boolean"]},{"name":"model-value","description":"绑定值,展示/关闭幕帘","doc-url":"https://wot-design-uni.cn/component/curtain.html#attributes","type":["boolean"]},{"name":"src","description":"幕帘图片地址,必须使用网络地址","doc-url":"https://wot-design-uni.cn/component/curtain.html#attributes","type":["string"]},{"name":"width","description":"幕帘图片宽度,默认单位 px","doc-url":"https://wot-design-uni.cn/component/curtain.html#attributes","type":["number"]},{"name":"to","description":"幕帘图片点击链接","doc-url":"https://wot-design-uni.cn/component/curtain.html#attributes","type":["string"]},{"name":"close-position","description":"关闭按钮位置","doc-url":"https://wot-design-uni.cn/component/curtain.html#attributes","type":["string"],"default":"inset","attribute-value":{"type":"enum"},"values":[{"name":"inset"},{"name":"top"},{"name":"bottom"},{"name":"top-left"},{"name":"top-right"},{"name":"bottom-left"},{"name":"bottom-right"}]},{"name":"close-on-click-modal","description":"点击遮罩是否关闭","doc-url":"https://wot-design-uni.cn/component/curtain.html#attributes","type":["boolean"],"default":"false"},{"name":"hide-when-close","description":"是否当关闭时将弹出层隐藏(display: none)","doc-url":"https://wot-design-uni.cn/component/curtain.html#attributes","type":["boolean"],"default":"true"},{"name":"z-index","description":"设置层级","doc-url":"https://wot-design-uni.cn/component/curtain.html#attributes","type":["number"],"default":"10"}],"js":{"events":[{"name":"click","description":"点击幕帘时触发","doc-url":"https://wot-design-uni.cn/component/curtain.html#events"},{"name":"close","description":"弹出层关闭时触发","doc-url":"https://wot-design-uni.cn/component/curtain.html#events"},{"name":"click-modal","description":"点击遮罩时触发","doc-url":"https://wot-design-uni.cn/component/curtain.html#events"},{"name":"beforeenter","description":"进入前触发","doc-url":"https://wot-design-uni.cn/component/curtain.html#events"},{"name":"enter","description":"进入时触发","doc-url":"https://wot-design-uni.cn/component/curtain.html#events"},{"name":"afterenter","description":"进入后触发","doc-url":"https://wot-design-uni.cn/component/curtain.html#events"},{"name":"beforeleave","description":"离开前触发","doc-url":"https://wot-design-uni.cn/component/curtain.html#events"},{"name":"leave","description":"离开时触发","doc-url":"https://wot-design-uni.cn/component/curtain.html#events"},{"name":"afterleave","description":"离开后触发","doc-url":"https://wot-design-uni.cn/component/curtain.html#events"},{"name":"load","description":"图片加载完成事件","doc-url":"https://wot-design-uni.cn/component/curtain.html#events"},{"name":"error","description":"图片加载失败事件,若图片加载失败,则不会展示幕帘组件,即使设置 `value` 为 true","doc-url":"https://wot-design-uni.cn/component/curtain.html#events"}]}},{"name":"wd-datetime-picker-view","source":{"symbol":"WdDatetimePickerView"},"description":"为 Picker 组件的封装,在其内部构建好日期时间选项。","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#datetimepickerview","props":[{"name":"v-model","description":"选中项,当 type 为 time 时,类型为字符串,否则为 `timestamp`","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["string",{"name":"timestamp","source":{"symbol":"timestamp"}}]},{"name":"type","description":"选择器类型","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["string"],"default":"datetime","attribute-value":{"type":"enum"},"values":[{"name":"date"},{"name":"year-month"},{"name":"time"},{"name":"year"}]},{"name":"loading","description":"加载中","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["boolean"],"default":"false"},{"name":"loading-color","description":"加载的颜色,只能使用十六进制的色值写法,且不能使用缩写","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["string"],"default":"#4D80F0"},{"name":"columns-height","description":"picker内部滚筒高","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"231"},{"name":"formatter","description":"自定义弹出层选项文案的格式化函数,返回一个字符串","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["function"]},{"name":"filter","description":"自定义过滤选项的函数,返回列的选项数组","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["function"]},{"name":"min-date","description":"最小日期,13 位的时间戳","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":[{"name":"timestamp","source":{"symbol":"timestamp"}}],"default":"当前日期 - 10年"},{"name":"max-date","description":"最大日期,13 位的时间戳","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":[{"name":"timestamp","source":{"symbol":"timestamp"}}],"default":"当前日期 + 10年"},{"name":"min-hour","description":"最小小时,time类型时生效","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"0"},{"name":"max-hour","description":"最大小时,time类型时生效","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"23"},{"name":"min-minute","description":"最小分钟,time类型时生效","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"0"},{"name":"max-minute","description":"最大分钟,time类型时生效","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["number"],"default":"59"},{"name":"immediate-change","description":"是否在手指松开时立即触发picker-view的 change 事件。若不开启则会在滚动动画结束后触发 change 事件,1.2.25版本起提供,仅微信小程序和支付宝小程序支持。","doc-url":"https://wot-design-uni.cn/component/datetime-picker-view.html#attributes","type":["boolean"],"default":"false"}],"js":{"events":[{"name":"change","descr