vux

Mobile UI Components based on Vue & WeUI

MIT License

Downloads
3.3K
Stars
17.6K
Committers
134

Bot releases are hidden (Show)

vux -

Published by airyland about 7 years ago

Alert

  • [feature] support prop:mask-z-index

Calendar

  • [feature] support prop:display-format #2023

Cell

  • [feature] support prop:align-items

Checklist

  • [feature] support method:getFullValue #2022

Confirm

  • [feature] support prop:mask-z-index

Previewer

  • [feature] automatically update view if one slide is deleted

XDialog

  • [feature] support prop:mask-z-index

CloseDialogs

  • [feature] new plugin for closing all dialogs #2025

Alert

  • [feature] 支持属性 mask-z-index 设置遮罩 z-index

Calendar

  • [feature] 支持格式化值显示 #2023

Cell

  • [feature] 支持属性 align-items

Checklist

  • [feature] 添加方法 getFullValue 获取值和对应的显示文字 #2022

Confirm

  • [feature] 支持属性 mask-z-index 设置遮罩 z-index

Previewer

  • [feature] 方便删除操作,绑定数据减少一张时自动更新示图,有更多图片时切换到下一张,没有时将自动关闭预览

XDialog

  • [feature] 支持属性 mask-z-index 设置遮罩 z-index

CloseDialogs

  • [feature] 新插件,用于在路由切换时自动关闭所有 plugin 形式打开的弹窗,包括 alert confirm toast loading datetime #2025
vux -

Published by airyland about 7 years ago

Checker

  • [feature] support prop:radio-required #2004

Checklist

  • [fix] now on-change params has labels as second param #2018

Previewer

  • [fix] fix method name starts with _ will get vue(2.4.4) warning #2001
  • [feature] add method:getCurrentIndex
  • [feature] add slot:button-before slot:button-after

Search

  • [feature] add event:on-blur

Toast

  • [fix] fix no padding when using slot and type === text

XInput

  • [enhance] toast error when clicking error icon #2009

Checker

  • [feature] 支持属性 radio-required 强制单选模式下必选一项 #2004

Checklist

  • [fix] on-change 参数支持 labels #2018

Previewer

  • [fix] 修复组件函数名字以下划线开头将会被 Vue(2.4.4) 警告的问题 #2001
  • [feature] 添加 getCurrentIndex 方法
  • [feature] 添加 slot:button-before 和 slot:button-after

Search

  • [feature] 添加事件 on-blur

Toast

  • [fix] 修复 type 为 text 时使用 slot 缺失 padding 样式的问题

XInput

  • [enhance] 点击错误图标时显示错误内容 #2009
vux -

Published by airyland about 7 years ago

Checklist

  • [feature] Support radio mode(max = 1) #1996

Picker

  • [enhance] scroll distance respects html[data-dpr] #1979

XAddress

  • [fix] update address data #2000

Checklist

  • [feature] 支持 max=1 交互为单选模式 #1996

Picker

  • [enhance] 滚动距离支持从 html[data-dpr] 换算 #1979

XAddress

  • [fix] 更新地址数据 #2000
vux -

Published by airyland about 7 years ago

Datetime

  • [feature] support prop:compute-days-function for dynamically setting days #1992

Grid

  • [feature] add cols props

Scroller

  • [change] call reset in updated hook

XInput

  • [enhance] set label for attribute #1983
  • [feature] support prop:mask

Datetime

  • [feature] 支持属性 compute-days-function 用以动态设置日期 #1992

Grid

  • [feature] 添加 cols 属性,自定义列数

Scroller

  • [change] 在updated 钩子中调用reset

XInput

  • [enhance] 为 label 设置 for 属性 #1983
  • [feature] 支持属性 mask 对输入值进行格式化
vux -

Published by airyland about 7 years ago

Calendar

  • [feature] support prop:show-popup-header

Checker

  • [fix] Fix event:on-change do not fire when using :value binding instead of v-model #1945

Datetime

  • [fix] fix i18n for cancel_text confirm_text

Grid

  • [change] prop:rows is deprecated #1971

InlineCalendar

  • [feature] (beta) Support prop:marks to style specified date item
  • [fix] fix i18n for days

LoadMore

  • [feature] support less variable @load-more-tip-background-color

Panel

  • [enhance] support list prop:fallbackSrc #1923

PopupRadio

  • [fix] fix placeholder logic #1964

Swiper

  • [enhance] support fallbackImg for prop:list #1923

XDialog

  • [fix] fix body still scrolls when scrolling on dialog

XImg

  • [fix] re-initialize when src is changed #1901

Calendar

  • [feature] 支持显示弹窗头部(取消,确定)

Checker

  • [fix] 修复 on-change 事件 在使用 :value 绑定的情况下不触发 #1945

Datetime

  • [fix] 修复取消文字、确认文字国际化显示问题

Grid

  • [change] rows 属性已经废弃,使用自动计算 #1971

InlineCalendar

  • [feature] (beta) 支持属性 marks 用以自定义特定日期显示样式
  • [fix] 修复星期文字 i18n

LoadMore

  • [feature] 支持 @load-more-tip-background-color 全局设置文字背景颜色

Panel

  • [enhance] 支持列表 fallbackSrc 属性在图片加载失败后显示 #1923

PopupRadio

  • [fix] 修复 placeholder 显示逻辑 #1964

Swiper

  • [enhance] 支持 list.fallbackImg 属性在图片加载失败时显示预设图片 #1923

XDialog

  • [fix] 修复弹窗滑动时 body 区域依然会滚动的问题

XImg

  • [fix] 当 src 变化时重新初始化 #1901
vux -

Published by airyland about 7 years ago

FormPreview

  • [fix] Fix layout issue when header-value is empty #1935

InlineCalendar

  • [feature] add method:switchViewToToday switchViewToMonth
  • [feature] support event:on-view-change

Popup

  • [fix] clean vux-modal-open on beforeDestroy and deactivated #1921

XDialog

  • [change] prop:scroll is deprecated #1858 #1877

Datetime

  • [fix] Fix datetime show multiple times #1927

FormPreview

  • [fix] 修复 header-value 为空时的错位问题 #1935

InlineCalendar

  • [feature] 支持 switchViewToToday, switchViewToMonth 等手动渲染方法
  • [feature] 支持事件 on-view-change,方便切换月份时请求数据

Popup

  • [fix] 在 beforeDestroy 和 deactivated 事件中清除设置于 body 上的 vux-modal-open 类名 #1921

XDialog

  • [change] 属性 scroll 已经废弃,仅对配置为 100% 布局的情况实现阻止滚动 #1858 #1877

Datetime

  • [fix] 修复多次调用重复显示的问题 #1927
vux -

Published by airyland about 7 years ago

Datetime

  • [fix] fix :show.syc="false" do no work #1918
  • [fix] fix prop:compute-hours-function not working when month is changed

InlineCalendar

  • [feature] support method:getDates
  • [feature] support less variable @calendar-bg-color

Popup

  • [fix] add vux-modal-open only when global config:$layout is VIEW_BOX #1893

Datetime

  • [fix] 修复 :show.sync 设为 false 无效 #1918
  • [fix] 修复特定情况下月份变化不会触发小时重新渲染的问题

InlineCalendar

  • [feature] 支持方法 getDates 用于需要获取渲染日期列表的场合
  • [feature] 支持 less 变量 @calendar-bg-color

Popup

  • [fix] 仅在全局配置 $layout = VIEW_BOX 时用 fixed body 的形式阻止页面滚动 #1893
vux -

Published by airyland about 7 years ago

Calendar

  • [feature] Support prop:placeholder

Datetime

  • [feature] support @cell-value-color #1874

Marquee

  • [feature] Support prop:item-height #1885

PopupPicker

  • [feature] support @cell-value-color #1874

PopupRadio

  • [feature] support @cell-value-color #1874

Popup

  • [fix] Fix class helper typo issue #1893

Previewer

  • [enhance] Support method:goTo #1888

Calendar

  • [feature] 支持 prop:placeholder

Datetime

  • [feature] 值文字颜色受控于 @cell-value-color #1874

Marquee

  • [feature] 支持 prop:item-height #1885

PopupPicker

  • [feature] 值文字颜色受控于 @cell-value-color #1874

PopupRadio

  • [feature] 值文字颜色受控于 @cell-value-color #1874

Popup

  • [fix] 修复 class 工具函数拼写错误 #1893

Previewer

  • [enhance] 支持 goTo 方法 #1888
vux -

Published by airyland about 7 years ago

Datetime

  • [fix] fix error when format is YYYY #1861

InlineCalendar

  • [fix] donot set value to empty string when clicking on current selected item #1862

PopupHeader

  • [fix] fix wrong slot name

Popup

  • [fix] Fix layout errors when body not set 100% width #1867

Sticky

  • [fix] Fix scrollTop always return 0 #1827

XAddress

  • [feature] prop:show supports the .sync modifier

Datetime

  • [fix] 修复格式为 YYYY 时的报错 #1861

InlineCalendar

  • [fix] 点击当前日期项时不把值置为空 #1862

PopupHeader

  • [fix] 修复错误的 slot 名字

Popup

  • [feature] 修复当body没有设置100%宽度时出现的布局错乱问题 #1867

Sticky

  • [fix] 修复 scrollTop 总是返回0的问题 #1827

XAddress

  • [feature] prop:show 支持.sync修饰
vux -

Published by airyland about 7 years ago

Confirm

  • [feature] Support method:setInputValue for plugin #1846

InlineCalendar

  • [fix] fix on-change event fires twice #1847

PopupPicker

  • [fix] prevent background scrolling when popup is show #1830

Toast

  • [fix] Toast's zIndex should be higher than XDialog's #1820

XAddress

  • [feature] Add prop:show to control visibility

Confirm

  • [feature] 插件支持 setInputValue 方法 #1846

InlineCalendar

  • [fix] 修复 on-change 事件触发两次问题 #1847

PopupPicker

  • [fix] popup显示时阻止背景滚动 #1830

Toast

  • [fix] zIndex 值应该比 XDialog 大 #1820

XAddress

  • [feature] 新增 prop:show 控制是否显示
vux -

Published by airyland about 7 years ago

Checklist

  • [feature] Support label param for on-change event #1783

Confirm

  • [feature] Support prop:input-attrs #1799

Loading

Panel

  • [feature] use v-html binding #1784

PopupPicker

  • [fix] Fix render issue after changing value #1793

Checklist

  • [feature] 支持在 on-change 事件中附带 label 值 #1783

Confirm

  • [feature] 支持 prop:input-attrs 设置额外属性 #1799

Loading

Panel

  • [feature] 属性使用 v-html 绑定 #1784

PopupPicker

  • [fix] 修复修改值后第二次打开默认选中项渲染不正确的问题 #1793
vux -

Published by airyland about 7 years ago

Actionsheet

  • [fix] Fix json parsing issue for cancel menu #1782

PopupPicker

  • [feature] Support event:on-shadow-change #1778

XAddress

  • [feature] Support event:on-shadow-change #1778

XInput

  • [fix] Fix is-type validating logic #1776

Actionsheet

  • [fix] 修复取消菜单上的 json 解析错误 #1782

PopupPicker

  • [feature] 支持在滑动 picker 时触发事件 on-shadow-change #1778

XAddress

  • [feature] 支持在滑动 picker 时触发事件 on-shadow-change #1778

XInput

  • [fix] 修复 is-type 验证逻辑 #1776
vux -

Published by airyland about 7 years ago

Actionsheet

  • [feature] Add raw menu item for on-click-menu event #1772

Alert

  • [feature] Support hideOnBlur #1742

CellBox

  • [change] Remove default slot's div wrapper #1769

Confirm

  • [feature] Add method:setInputValue #1746

Countup

  • [feature] Add prop:tag for customize tag #1739

Datetime

  • [feature] support prop:compute-hours-function #1749
  • [enhance] better mask transition

InlineCalendar

  • [feature] support multi select #1446 #1467

Popup

  • [feature] Auto hide popup on deactived #1774

Swipeout

  • [enhance] swipeout-item add render method #1688

Tabbar

  • [feature] Support replace: true for link #1761

XInput

  • [feature] Add $event param for on-focus on-blur event #1770
  • [fix] Fix empty value checking logic #1759

Actionsheet

  • [feature] 支持在 on-click-menu 参数里附带原始 menu 对象 #1772

Alert

  • [feature] 支持 hideOnBlur #1742

CellBox

  • [change] 移除默认 slot 的父级 div #1769

Confirm

  • [feature] 支持方法 setInputValue 设置输入值 #1746

Countup

  • [feature] 添加属性 tag 用以定义渲染标签 #1739

Datetime

  • [feature] 支持动态设置小时列表 #1749
  • [enhance] 更加流畅的遮罩层动画

InlineCalendar

  • [feature] 支持多选 #1446 #1467

Popup

  • [feature] 在 deactived 事件触发时自动关闭,避免在路由切换时依然显示弹窗,可以使用 prop:hide-on-deactivated 进行禁用 #1774

Swipeout

  • [enhance] swipeout-item 新增 render 方法 #1688

Tabbar

  • [feature] 支持 link 上使用 replace: true 写法 #1761

XInput

  • [feature] 为 on-focus on-blur 事件添加 $event 参数 #1770
  • [fix] 修复值为空的错误判断逻辑 #1759
vux -

Published by airyland about 7 years ago

Group

  • [enhance] XSwitch:labelAlign support justify #1707

Sticky

  • [fix] Auto re-bind after router-view transition is finished
  • [fix] Fix position fixed not work in ios #1657

Tabbar

  • [feature] Add event:on-index-change #1715

XImg

  • [feature] re-init after router-view transition is finished

Bus

  • [feature] new plugin for managing events

Group

  • [enhance] XSwitch的labelAlign 支持 justify #1707

Sticky

  • [fix] 在 router-view 动画结束后自动重新绑定
  • [fix] 修复在ios上fixed不生效的问题 #1657

Tabbar

  • [feature] 增加事件 on-index-change #1715

XImg

  • [feature] 在 router-view 动画结束后自动重新监听加载

Bus

  • [feature] 新插件,用于 vux 组件全局事件管理
vux -

Published by airyland over 7 years ago

Group

  • [enhance] prop:labelAlign support justify #1574

PopupPicker

  • [fix] Fix label style being overwrite after importing x-textarea #1696

Swiper

  • [fix] clear listTtwoLoopItem when list size !== 2 #1684 @weizs

XDialog

  • [feature] Add prop:show, supports the .sync modifier

XHeader

  • [feature] Add slot:overwrite-title #1669

Group

  • [enhance] labelAlign 支持 justify #1574

PopupPicker

  • [fix] 修复在 x-textarea 后引入 popup-picker label 宽度被覆盖 #1696

Swiper

  • [fix] 轮播个数不为2时清除 listTtwoLoopItem 列表 #1684 @weizs

XDialog

  • [feature] 新增 prop:show 并且支持.sync修饰符

XHeader

  • [feature] 添加 slot:overwrite-title #1669
vux -

Published by airyland over 7 years ago

Checklist

  • [fix] emit event input before on-change

InlineXNumber

  • [feature] now inline-x-number is available

Panel

  • [feature] Add type(4,5) and info meta(source,date,other)

PopupHeader

  • [feature] new component

PopupPicker

  • [feature] Add prop:popup-style #1656

Popup

  • [feature] Add prop:popup-style #1656

XAddress

  • [feature] Add prop:popup-style #1656

Checklist

  • [fix] 在 on-change 事件之前 emit input 事件

InlineXNumber

  • [feature] 单独的 inline-x-number 组件可以正常使用了

Panel

  • [feature] 增加type类型(4,5)和描述信息(来源,时间和其他自定义信息)

PopupHeader

  • [feature] 新组件 popup-header, 配合 popup 使用统一头部样式

PopupPicker

  • [feature] 支持弹窗样式设置 prop:popup-style #1656

Popup

  • [feature] 支持弹窗样式设置 prop:popup-style #1656

XAddress

  • [feature] 支持弹窗样式设置 prop:popup-style #1656
vux -

Published by airyland over 7 years ago

Group

  • [feature] Add slot:title #1650

Swiper

  • [fix] Fix array-from issue with webpack@3 #1649

XTextarea

  • [feature] Add method:updateAutosize

Datetime

  • [fix] Fix style missing #1659

TransferDom

  • [enhance] Do not re-render on event:componentUpdated

Group

  • [feature] 添加 slot:title #1650

Swiper

  • [fix] 修复 array-from 在 webpack@3 下报错问题 #1649

XTextarea

  • [feature] 添加方法 updateAutosize 在存在默认值的情况下手动重置高度

Datetime

  • [fix] 修复插件形式使用时缺失样式导致报错问题 #1659

TransferDom

  • [enhance] 默认不在组件内容更新时自动重新渲染,修复 popup-picker 关闭闪现体验问题
vux -

Published by airyland over 7 years ago

Confirm

  • [feature] Support prop:close-on-confirm
  • [feature] Support prop:show-input

DatetimeView

  • [feature] new component

Loading

  • [feature] Add prop:transition

XButton

  • [feature] Add primary、warn disabled bg color. #1630

XSwitch

  • [feature] we can use prop:prevent-default to prevent from setting value on being clicked #1606

Confirm

  • [feature] 支持 prop:close-on-confirm
  • [feature] 支持 prop:show-input

DatetimeView

  • [feature] 新组件 DatetimeView

Loading

  • [feature] 支持 prop:transition

XButton

  • [feature] 添加禁用背景颜色. #1630

XSwitch

  • [feature] 支持使用 prop:prevent-default 来阻止自动设定值 #1606
vux -

Published by airyland over 7 years ago

Datetime

  • [fix] Re-render when readonly is changed #1593
  • [feature] Support prop:default-selected-value #1576

Picker

  • [fix] Fix a bug caused by unexpected end of json value #1584

PopupPicker

  • [fix] popup-picker-header add touchmove.prevent event #1596

Datetime

  • [fix] readonly 值变化时重新渲染 #1593
  • [feature] 支持通过 prop:default-selected-value 设置默认选中日期 #1576

Picker

  • [fix] 修复json格式不正确引起的bug #1584

PopupPicker

  • [fix] popup-picker头部区域屏蔽滑动事件 #1596
vux -

Published by airyland over 7 years ago

Datetime

  • [enhance] use the same popup header style as popup-picker

Drawer

  • [feature] new component

InlineCalendar

  • [enhance] re-render when render-month is changed

Previewer

  • [enhance] Use src as msrc by default
  • [enhance] No more force setting width and height #1426

Radio

  • [feature] Add prop:selected-label-style

Range

  • [fix] Fix the situation cannot drag to max value #1556

Datetime

  • [enhance] 统一弹窗头部样式,和 popup-picker 一致

Drawer

  • [feature] 新组件:侧边栏(beta)

InlineCalendar

  • [enhance] 当 render-month 变化时重新渲染日历

Previewer

  • [enhance] 使用图片作为缩略图,防止先显示黑色区域
  • [enhance] 不再强制要求设置宽高 #1426

Radio

  • [feature] 添加属性 prop:selected-label-style 来支持定义选中项的文字样式

Range

  • [fix] 修复一些情况下无法拖到最大值的问题 #1556