vant 3.2.5 → 3.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.less +1 -1
- package/es/action-bar-icon/ActionBarIcon.js +2 -2
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.less +1 -1
- package/es/action-sheet/ActionSheet.d.ts +15 -9
- package/es/action-sheet/ActionSheet.js +7 -15
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +10 -3
- package/es/action-sheet/index.less +2 -2
- package/es/address-edit/AddressEdit.d.ts +1 -2
- package/es/address-edit/AddressEdit.js +3 -8
- package/es/address-edit/AddressEditDetail.js +5 -6
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +1 -2
- package/es/address-edit/index.less +2 -2
- package/es/address-edit/style/index.js +0 -3
- package/es/address-edit/style/less.js +0 -3
- package/es/address-list/AddressList.js +2 -6
- package/es/badge/index.css +1 -1
- package/es/badge/index.less +4 -2
- package/es/calendar/Calendar.js +11 -8
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.less +3 -3
- package/es/card/index.css +1 -1
- package/es/card/index.less +1 -1
- package/es/cascader/Cascader.d.ts +25 -14
- package/es/cascader/Cascader.js +49 -46
- package/es/cascader/index.d.ts +8 -6
- package/es/cascader/types.d.ts +18 -0
- package/es/cascader/types.js +1 -0
- package/es/cell/index.css +1 -1
- package/es/cell/index.less +1 -1
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.less +1 -1
- package/es/checkbox/Checker.js +1 -8
- package/es/checkbox/index.d.ts +1 -1
- package/es/checkbox/types.d.ts +3 -0
- package/es/checkbox-group/index.d.ts +1 -1
- package/es/checkbox-group/types.d.ts +2 -1
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.less +1 -1
- package/es/contact-edit/ContactEdit.js +1 -4
- package/es/contact-edit/style/index.js +0 -5
- package/es/contact-edit/style/less.js +0 -5
- package/es/coupon/index.css +1 -1
- package/es/coupon/index.less +1 -1
- package/es/coupon-list/CouponList.js +1 -1
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.less +1 -1
- package/es/dialog/Dialog.js +5 -10
- package/es/dialog/function-call.d.ts +2 -2
- package/es/dialog/function-call.js +2 -2
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.less +1 -1
- package/es/dropdown-item/DropdownItem.js +1 -1
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.less +1 -1
- package/es/empty/Network.js +8 -27
- package/es/grid-item/GridItem.js +2 -2
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.less +1 -1
- package/es/image/Image.js +7 -20
- package/es/image/index.css +1 -1
- package/es/image/index.less +1 -1
- package/es/image-preview/ImagePreview.js +5 -6
- package/es/image-preview/function-call.js +2 -2
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.less +1 -1
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.less +2 -2
- package/es/index-bar/IndexBar.js +1 -12
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/locale/lang/de-DE-formal.d.ts +0 -1
- package/es/locale/lang/de-DE-formal.js +0 -1
- package/es/locale/lang/de-DE.d.ts +0 -1
- package/es/locale/lang/de-DE.js +0 -1
- package/es/locale/lang/en-US.d.ts +0 -1
- package/es/locale/lang/en-US.js +0 -1
- package/es/locale/lang/es-ES.d.ts +0 -1
- package/es/locale/lang/es-ES.js +0 -1
- package/es/locale/lang/fr-FR.d.ts +0 -1
- package/es/locale/lang/fr-FR.js +0 -1
- package/es/locale/lang/ja-JP.d.ts +0 -1
- package/es/locale/lang/ja-JP.js +0 -1
- package/es/locale/lang/nb-NO.d.ts +0 -1
- package/es/locale/lang/nb-NO.js +0 -1
- package/es/locale/lang/ro-RO.d.ts +0 -1
- package/es/locale/lang/ro-RO.js +0 -1
- package/es/locale/lang/ru-RU.d.ts +0 -1
- package/es/locale/lang/ru-RU.js +0 -1
- package/es/locale/lang/th-TH.d.ts +0 -1
- package/es/locale/lang/th-TH.js +0 -1
- package/es/locale/lang/tr-TR.d.ts +0 -1
- package/es/locale/lang/tr-TR.js +0 -1
- package/es/locale/lang/zh-CN.d.ts +0 -1
- package/es/locale/lang/zh-CN.js +0 -1
- package/es/locale/lang/zh-HK.d.ts +0 -1
- package/es/locale/lang/zh-HK.js +0 -1
- package/es/locale/lang/zh-TW.d.ts +0 -1
- package/es/locale/lang/zh-TW.js +0 -1
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.less +1 -1
- package/es/notice-bar/NoticeBar.d.ts +1 -1
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +1 -1
- package/es/notice-bar/index.less +1 -1
- package/es/notify/Notify.d.ts +4 -2
- package/es/notify/Notify.js +6 -1
- package/es/notify/function-call.d.ts +4 -2
- package/es/notify/function-call.js +1 -1
- package/es/notify/index.css +1 -1
- package/es/notify/index.less +4 -4
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.less +3 -3
- package/es/overlay/Overlay.js +2 -2
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.less +1 -1
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.less +1 -1
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.less +3 -3
- package/es/picker/index.css +1 -1
- package/es/picker/index.less +2 -2
- package/es/popover/Popover.js +3 -4
- package/es/popover/index.css +1 -1
- package/es/popover/index.less +2 -2
- package/es/popup/Popup.js +2 -4
- package/es/popup/index.css +1 -1
- package/es/popup/index.less +1 -1
- package/es/progress/Progress.js +7 -3
- package/es/progress/index.css +1 -1
- package/es/progress/index.less +10 -1
- package/es/progress/var.less +1 -0
- package/es/pull-refresh/PullRefresh.js +2 -2
- package/es/radio/Radio.d.ts +9 -6
- package/es/radio/index.d.ts +2 -0
- package/es/radio-group/RadioGroup.d.ts +1 -0
- package/es/radio-group/index.d.ts +2 -0
- package/es/search/Search.js +3 -4
- package/es/search/index.css +1 -1
- package/es/search/index.less +2 -2
- package/es/share-sheet/ShareSheet.d.ts +7 -0
- package/es/share-sheet/ShareSheet.js +5 -6
- package/es/share-sheet/index.d.ts +7 -0
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.less +1 -1
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.less +2 -2
- package/es/slider/index.css +1 -1
- package/es/slider/index.less +3 -3
- package/es/stepper/Stepper.d.ts +1 -1
- package/es/stepper/Stepper.js +1 -2
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +1 -1
- package/es/stepper/index.less +3 -3
- package/es/steps/index.d.ts +6 -4
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.less +2 -2
- package/es/swipe-cell/SwipeCell.js +1 -2
- package/es/switch/index.css +1 -1
- package/es/switch/index.less +3 -3
- package/es/tabbar/Tabbar.js +1 -2
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.less +1 -1
- package/es/tabbar-item/TabbarItem.js +2 -2
- package/es/tabs/Tabs.js +2 -5
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.less +2 -2
- package/es/tag/index.css +1 -1
- package/es/tag/index.less +6 -6
- package/es/toast/Toast.js +5 -11
- package/es/toast/index.css +1 -1
- package/es/toast/index.less +1 -1
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.less +2 -2
- package/es/uploader/UploaderPreviewItem.js +3 -4
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.less +4 -4
- package/es/utils/interceptor.d.ts +1 -2
- package/es/utils/interceptor.js +6 -9
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.less +1 -1
- package/lib/action-bar-icon/ActionBarIcon.js +1 -1
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.less +1 -1
- package/lib/action-sheet/ActionSheet.d.ts +15 -9
- package/lib/action-sheet/ActionSheet.js +6 -14
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +10 -3
- package/lib/action-sheet/index.less +2 -2
- package/lib/address-edit/AddressEdit.d.ts +1 -2
- package/lib/address-edit/AddressEdit.js +3 -9
- package/lib/address-edit/AddressEditDetail.js +4 -5
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +1 -2
- package/lib/address-edit/index.less +2 -2
- package/lib/address-edit/style/index.js +0 -6
- package/lib/address-edit/style/less.js +0 -6
- package/lib/address-list/AddressList.js +2 -6
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.less +4 -2
- package/lib/calendar/Calendar.js +11 -8
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.less +3 -3
- package/lib/card/index.css +1 -1
- package/lib/card/index.less +1 -1
- package/lib/cascader/Cascader.d.ts +25 -14
- package/lib/cascader/Cascader.js +48 -45
- package/lib/cascader/index.d.ts +8 -6
- package/lib/cascader/types.d.ts +18 -0
- package/lib/cascader/types.js +3 -0
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.less +1 -1
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.less +1 -1
- package/lib/checkbox/Checker.js +1 -8
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/types.d.ts +3 -0
- package/lib/checkbox-group/index.d.ts +1 -1
- package/lib/checkbox-group/types.d.ts +2 -1
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.less +1 -1
- package/lib/contact-edit/ContactEdit.js +1 -5
- package/lib/contact-edit/style/index.js +0 -10
- package/lib/contact-edit/style/less.js +0 -10
- package/lib/coupon/index.css +1 -1
- package/lib/coupon/index.less +1 -1
- package/lib/coupon-list/CouponList.js +1 -1
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.less +1 -1
- package/lib/dialog/Dialog.js +5 -10
- package/lib/dialog/function-call.d.ts +2 -2
- package/lib/dialog/function-call.js +2 -2
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.less +1 -1
- package/lib/dropdown-item/DropdownItem.js +1 -1
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.less +1 -1
- package/lib/empty/Network.js +8 -27
- package/lib/grid-item/GridItem.js +1 -1
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.less +1 -1
- package/lib/image/Image.js +7 -20
- package/lib/image/index.css +1 -1
- package/lib/image/index.less +1 -1
- package/lib/image-preview/ImagePreview.js +5 -6
- package/lib/image-preview/function-call.js +2 -2
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.less +1 -1
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.less +2 -2
- package/lib/index-bar/IndexBar.js +1 -12
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.less +1 -1
- package/lib/locale/lang/de-DE-formal.d.ts +0 -1
- package/lib/locale/lang/de-DE-formal.js +0 -1
- package/lib/locale/lang/de-DE.d.ts +0 -1
- package/lib/locale/lang/de-DE.js +0 -1
- package/lib/locale/lang/en-US.d.ts +0 -1
- package/lib/locale/lang/en-US.js +0 -1
- package/lib/locale/lang/es-ES.d.ts +0 -1
- package/lib/locale/lang/es-ES.js +0 -1
- package/lib/locale/lang/fr-FR.d.ts +0 -1
- package/lib/locale/lang/fr-FR.js +0 -1
- package/lib/locale/lang/ja-JP.d.ts +0 -1
- package/lib/locale/lang/ja-JP.js +0 -1
- package/lib/locale/lang/nb-NO.d.ts +0 -1
- package/lib/locale/lang/nb-NO.js +0 -1
- package/lib/locale/lang/ro-RO.d.ts +0 -1
- package/lib/locale/lang/ro-RO.js +0 -1
- package/lib/locale/lang/ru-RU.d.ts +0 -1
- package/lib/locale/lang/ru-RU.js +0 -1
- package/lib/locale/lang/th-TH.d.ts +0 -1
- package/lib/locale/lang/th-TH.js +0 -1
- package/lib/locale/lang/tr-TR.d.ts +0 -1
- package/lib/locale/lang/tr-TR.js +0 -1
- package/lib/locale/lang/zh-CN.d.ts +0 -1
- package/lib/locale/lang/zh-CN.js +0 -1
- package/lib/locale/lang/zh-HK.d.ts +0 -1
- package/lib/locale/lang/zh-HK.js +0 -1
- package/lib/locale/lang/zh-TW.d.ts +0 -1
- package/lib/locale/lang/zh-TW.js +0 -1
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.less +1 -1
- package/lib/notice-bar/NoticeBar.d.ts +1 -1
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +1 -1
- package/lib/notice-bar/index.less +1 -1
- package/lib/notify/Notify.d.ts +4 -2
- package/lib/notify/Notify.js +6 -1
- package/lib/notify/function-call.d.ts +4 -2
- package/lib/notify/function-call.js +1 -1
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.less +4 -4
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.less +3 -3
- package/lib/overlay/Overlay.js +1 -1
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.less +1 -1
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.less +1 -1
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.less +3 -3
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.less +2 -2
- package/lib/popover/Popover.js +3 -4
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.less +2 -2
- package/lib/popup/Popup.js +2 -4
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.less +1 -1
- package/lib/progress/Progress.js +7 -3
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.less +10 -1
- package/lib/progress/var.less +1 -0
- package/lib/pull-refresh/PullRefresh.js +1 -1
- package/lib/radio/Radio.d.ts +9 -6
- package/lib/radio/index.d.ts +2 -0
- package/lib/radio-group/RadioGroup.d.ts +1 -0
- package/lib/radio-group/index.d.ts +2 -0
- package/lib/search/Search.js +3 -4
- package/lib/search/index.css +1 -1
- package/lib/search/index.less +2 -2
- package/lib/share-sheet/ShareSheet.d.ts +7 -0
- package/lib/share-sheet/ShareSheet.js +5 -6
- package/lib/share-sheet/index.d.ts +7 -0
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.less +1 -1
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.less +2 -2
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.less +3 -3
- package/lib/stepper/Stepper.d.ts +1 -1
- package/lib/stepper/Stepper.js +1 -2
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +1 -1
- package/lib/stepper/index.less +3 -3
- package/lib/steps/index.d.ts +6 -4
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.less +2 -2
- package/lib/swipe-cell/SwipeCell.js +1 -2
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.less +3 -3
- package/lib/tabbar/Tabbar.js +1 -2
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.less +1 -1
- package/lib/tabbar-item/TabbarItem.js +1 -1
- package/lib/tabs/Tabs.js +2 -5
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.less +2 -2
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.less +6 -6
- package/lib/toast/Toast.js +4 -10
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.less +1 -1
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.less +2 -2
- package/lib/uploader/UploaderPreviewItem.js +2 -3
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.less +4 -4
- package/lib/utils/interceptor.d.ts +1 -2
- package/lib/utils/interceptor.js +6 -9
- package/lib/vant.es.js +758 -831
- package/lib/vant.es.min.js +758 -831
- package/lib/vant.js +758 -831
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +60 -56
- package/vetur/tags.json +18 -17
- package/vetur/web-types.json +198 -184
- package/changelog.generated.md +0 -148
@@ -157,7 +157,7 @@ export default defineComponent({
|
|
157
157
|
"class": bem([direction]),
|
158
158
|
"onClick": onClickWrapper
|
159
159
|
}, [_createVNode(Popup, {
|
160
|
-
|
160
|
+
"show": state.showPopup,
|
161
161
|
"onUpdate:show": $event => state.showPopup = $event,
|
162
162
|
"class": bem('content'),
|
163
163
|
"overlay": overlay,
|
@@ -1 +1 @@
|
|
1
|
-
:root{--van-dropdown-menu-height:48px;--van-dropdown-menu-background-color:var(--van-white);--van-dropdown-menu-box-shadow:0 2px 12px rgba(100, 101, 102, 0.12);--van-dropdown-menu-title-font-size:15px;--van-dropdown-menu-title-text-color:var(--van-text-color);--van-dropdown-menu-title-active-text-color:var(--van-danger-color);--van-dropdown-menu-title-disabled-text-color:var(--van-gray-6);--van-dropdown-menu-title-padding:0 var(--van-padding-xs);--van-dropdown-menu-title-line-height:var(--van-line-height-lg);--van-dropdown-menu-option-active-color:var(--van-danger-color);--van-dropdown-menu-content-max-height:80%}.van-dropdown-menu{-webkit-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background
|
1
|
+
:root{--van-dropdown-menu-height:48px;--van-dropdown-menu-background-color:var(--van-white);--van-dropdown-menu-box-shadow:0 2px 12px rgba(100, 101, 102, 0.12);--van-dropdown-menu-title-font-size:15px;--van-dropdown-menu-title-text-color:var(--van-text-color);--van-dropdown-menu-title-active-text-color:var(--van-danger-color);--van-dropdown-menu-title-disabled-text-color:var(--van-gray-6);--van-dropdown-menu-title-padding:0 var(--van-padding-xs);--van-dropdown-menu-title-line-height:var(--van-line-height-lg);--van-dropdown-menu-option-active-color:var(--van-danger-color);--van-dropdown-menu-content-max-height:80%}.van-dropdown-menu{-webkit-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background-color);box-shadow:var(--van-dropdown-menu-box-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0;cursor:pointer}.van-dropdown-menu__item:active{opacity:var(--van-active-opacity)}.van-dropdown-menu__item--disabled:active{opacity:1}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title::after{position:absolute;top:50%;right:-4px;margin-top:-5px;border:3px solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:''}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active::after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down::after{margin-top:-1px;transform:rotate(135deg)}
|
@@ -22,7 +22,7 @@
|
|
22
22
|
position: relative;
|
23
23
|
display: flex;
|
24
24
|
height: var(--van-dropdown-menu-height);
|
25
|
-
background
|
25
|
+
background: var(--van-dropdown-menu-background-color);
|
26
26
|
box-shadow: var(--van-dropdown-menu-box-shadow);
|
27
27
|
|
28
28
|
&--opened {
|
package/es/empty/Network.js
CHANGED
@@ -13,40 +13,24 @@ export var Network = _createVNode("svg", {
|
|
13
13
|
"id": prefix + "1",
|
14
14
|
"x1": "64.022%",
|
15
15
|
"y1": "100%",
|
16
|
-
"x2": "64.022%"
|
17
|
-
"y2": "0%"
|
16
|
+
"x2": "64.022%"
|
18
17
|
}, [renderStop('#FFF', 0, 0.5), renderStop('#F2F3F5', 100)]), _createVNode("linearGradient", {
|
19
18
|
"id": prefix + "2",
|
20
19
|
"x1": "50%",
|
21
|
-
"y1": "0%",
|
22
20
|
"x2": "50%",
|
23
21
|
"y2": "84.459%"
|
24
22
|
}, [renderStop('#EBEDF0', 0), renderStop('#DCDEE0', 100, 0)]), _createVNode("linearGradient", {
|
25
23
|
"id": prefix + "3",
|
26
24
|
"x1": "100%",
|
27
|
-
"y1": "0%",
|
28
25
|
"x2": "100%",
|
29
26
|
"y2": "100%"
|
30
27
|
}, [renderStop('#EAEDF0', 0), renderStop('#DCDEE0', 100)]), _createVNode("linearGradient", {
|
31
28
|
"id": prefix + "4",
|
32
29
|
"x1": "100%",
|
33
30
|
"y1": "100%",
|
34
|
-
"x2": "100%"
|
35
|
-
"y2": "0%"
|
36
|
-
}, [renderStop('#EAEDF0', 0), renderStop('#DCDEE0', 100)]), _createVNode("linearGradient", {
|
37
|
-
"id": prefix + "5",
|
38
|
-
"x1": "0%",
|
39
|
-
"y1": "43.982%",
|
40
|
-
"x2": "100%",
|
41
|
-
"y2": "54.703%"
|
42
|
-
}, [renderStop('#EAEDF0', 0), renderStop('#DCDEE0', 100)]), _createVNode("linearGradient", {
|
43
|
-
"id": prefix + "6",
|
44
|
-
"x1": "94.535%",
|
45
|
-
"y1": "43.837%",
|
46
|
-
"x2": "5.465%",
|
47
|
-
"y2": "54.948%"
|
31
|
+
"x2": "100%"
|
48
32
|
}, [renderStop('#EAEDF0', 0), renderStop('#DCDEE0', 100)]), _createVNode("radialGradient", {
|
49
|
-
"id": prefix + "
|
33
|
+
"id": prefix + "5",
|
50
34
|
"cx": "50%",
|
51
35
|
"cy": "0%",
|
52
36
|
"fx": "50%",
|
@@ -54,8 +38,7 @@ export var Network = _createVNode("svg", {
|
|
54
38
|
"r": "100%",
|
55
39
|
"gradientTransform": "matrix(0 1 -.54835 0 .5 -.5)"
|
56
40
|
}, [renderStop('#EBEDF0', 0), renderStop('#FFF', 100, 0)])]), _createVNode("g", {
|
57
|
-
"fill": "none"
|
58
|
-
"fill-rule": "evenodd"
|
41
|
+
"fill": "none"
|
59
42
|
}, [_createVNode("g", {
|
60
43
|
"opacity": ".8"
|
61
44
|
}, [_createVNode("path", {
|
@@ -67,12 +50,11 @@ export var Network = _createVNode("svg", {
|
|
67
50
|
"fill": "url(#" + prefix + "1)",
|
68
51
|
"transform": "translate(2 7)"
|
69
52
|
}, null)]), _createVNode("path", {
|
70
|
-
"fill": "url(#" + prefix + "
|
53
|
+
"fill": "url(#" + prefix + "5)",
|
71
54
|
"d": "M0 139h160v21H0z"
|
72
55
|
}, null), _createVNode("path", {
|
73
56
|
"d": "M37 18a7 7 0 013 13.326v26.742c0 1.23-.997 2.227-2.227 2.227h-1.546A2.227 2.227 0 0134 58.068V31.326A7 7 0 0137 18z",
|
74
57
|
"fill": "url(#" + prefix + "2)",
|
75
|
-
"fill-rule": "nonzero",
|
76
58
|
"transform": "translate(43 36)"
|
77
59
|
}, null), _createVNode("g", {
|
78
60
|
"opacity": ".6",
|
@@ -95,10 +77,9 @@ export var Network = _createVNode("svg", {
|
|
95
77
|
"stroke": "url(#" + prefix + "4)",
|
96
78
|
"transform": "rotate(-180 89.791 42.146)"
|
97
79
|
}, null)]), _createVNode("g", {
|
98
|
-
"transform": "translate(31 105)"
|
99
|
-
"fill-rule": "nonzero"
|
80
|
+
"transform": "translate(31 105)"
|
100
81
|
}, [_createVNode("rect", {
|
101
|
-
"fill": "
|
82
|
+
"fill": "#EBEDF0",
|
102
83
|
"width": "98",
|
103
84
|
"height": "34",
|
104
85
|
"rx": "2"
|
@@ -110,7 +91,7 @@ export var Network = _createVNode("svg", {
|
|
110
91
|
"height": "18",
|
111
92
|
"rx": "1.114"
|
112
93
|
}, null), _createVNode("rect", {
|
113
|
-
"fill": "
|
94
|
+
"fill": "#EBEDF0",
|
114
95
|
"x": "15",
|
115
96
|
"y": "12",
|
116
97
|
"width": "18",
|
package/es/grid-item/GridItem.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
1
|
+
import { createVNode as _createVNode, resolveDirective as _resolveDirective } from "vue";
|
2
2
|
import { computed, defineComponent } from 'vue'; // Utils
|
3
3
|
|
4
4
|
import { BORDER, extend, addUnit, numericProp, createNamespace } from '../utils';
|
@@ -84,7 +84,7 @@ export default defineComponent({
|
|
84
84
|
"dot": props.dot,
|
85
85
|
"content": props.badge
|
86
86
|
}, {
|
87
|
-
default:
|
87
|
+
default: slots.icon
|
88
88
|
});
|
89
89
|
}
|
90
90
|
|
package/es/grid-item/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-grid-item-content-padding:var(--van-padding-md) var(--van-padding-xs);--van-grid-item-content-background-color:var(--van-white);--van-grid-item-content-active-color:var(--van-active-color);--van-grid-item-icon-size:28px;--van-grid-item-text-color:var(--van-gray-7);--van-grid-item-text-font-size:var(--van-font-size-sm)}.van-grid-item{position:relative;box-sizing:border-box}.van-grid-item--square{height:0}.van-grid-item__icon{font-size:var(--van-grid-item-icon-size)}.van-grid-item__text{color:var(--van-grid-item-text-color);font-size:var(--van-grid-item-text-font-size);line-height:1.5;word-break:break-all}.van-grid-item__icon+.van-grid-item__text{margin-top:var(--van-padding-xs)}.van-grid-item__content{display:flex;flex-direction:column;box-sizing:border-box;height:100%;padding:var(--van-grid-item-content-padding);background
|
1
|
+
:root{--van-grid-item-content-padding:var(--van-padding-md) var(--van-padding-xs);--van-grid-item-content-background-color:var(--van-white);--van-grid-item-content-active-color:var(--van-active-color);--van-grid-item-icon-size:28px;--van-grid-item-text-color:var(--van-gray-7);--van-grid-item-text-font-size:var(--van-font-size-sm)}.van-grid-item{position:relative;box-sizing:border-box}.van-grid-item--square{height:0}.van-grid-item__icon{font-size:var(--van-grid-item-icon-size)}.van-grid-item__text{color:var(--van-grid-item-text-color);font-size:var(--van-grid-item-text-font-size);line-height:1.5;word-break:break-all}.van-grid-item__icon+.van-grid-item__text{margin-top:var(--van-padding-xs)}.van-grid-item__content{display:flex;flex-direction:column;box-sizing:border-box;height:100%;padding:var(--van-grid-item-content-padding);background:var(--van-grid-item-content-background-color)}.van-grid-item__content::after{z-index:1;border-width:0 var(--van-border-width-base) var(--van-border-width-base) 0}.van-grid-item__content--square{position:absolute;top:0;right:0;left:0}.van-grid-item__content--center{align-items:center;justify-content:center}.van-grid-item__content--horizontal{flex-direction:row}.van-grid-item__content--horizontal .van-grid-item__text{margin:0 0 0 var(--van-padding-xs)}.van-grid-item__content--reverse{flex-direction:column-reverse}.van-grid-item__content--reverse .van-grid-item__text{margin:0 0 var(--van-padding-xs)}.van-grid-item__content--horizontal.van-grid-item__content--reverse{flex-direction:row-reverse}.van-grid-item__content--horizontal.van-grid-item__content--reverse .van-grid-item__text{margin:0 var(--van-padding-xs) 0 0}.van-grid-item__content--surround::after{border-width:var(--van-border-width-base)}.van-grid-item__content--clickable{cursor:pointer}.van-grid-item__content--clickable:active{background-color:var(--van-grid-item-content-active-color)}
|
package/es/grid-item/index.less
CHANGED
package/es/image/Image.js
CHANGED
@@ -69,28 +69,15 @@ export default defineComponent({
|
|
69
69
|
emit('error', event);
|
70
70
|
};
|
71
71
|
|
72
|
-
var
|
73
|
-
if (
|
74
|
-
return
|
72
|
+
var renderIcon = (name, className, slot) => {
|
73
|
+
if (slot) {
|
74
|
+
return slot();
|
75
75
|
}
|
76
76
|
|
77
77
|
return _createVNode(Icon, {
|
78
|
+
"name": name,
|
78
79
|
"size": props.iconSize,
|
79
|
-
"
|
80
|
-
"class": bem('loading-icon'),
|
81
|
-
"classPrefix": props.iconPrefix
|
82
|
-
}, null);
|
83
|
-
};
|
84
|
-
|
85
|
-
var renderErrorIcon = () => {
|
86
|
-
if (slots.error) {
|
87
|
-
return slots.error();
|
88
|
-
}
|
89
|
-
|
90
|
-
return _createVNode(Icon, {
|
91
|
-
"size": props.iconSize,
|
92
|
-
"name": props.errorIcon,
|
93
|
-
"class": bem('error-icon'),
|
80
|
+
"class": className,
|
94
81
|
"classPrefix": props.iconPrefix
|
95
82
|
}, null);
|
96
83
|
};
|
@@ -99,13 +86,13 @@ export default defineComponent({
|
|
99
86
|
if (loading.value && props.showLoading) {
|
100
87
|
return _createVNode("div", {
|
101
88
|
"class": bem('loading')
|
102
|
-
}, [
|
89
|
+
}, [renderIcon(props.loadingIcon, bem('loading-icon'), slots.loading)]);
|
103
90
|
}
|
104
91
|
|
105
92
|
if (error.value && props.showError) {
|
106
93
|
return _createVNode("div", {
|
107
94
|
"class": bem('error')
|
108
|
-
}, [
|
95
|
+
}, [renderIcon(props.errorIcon, bem('error-icon'), slots.error)]);
|
109
96
|
}
|
110
97
|
};
|
111
98
|
|
package/es/image/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-image-placeholder-text-color:var(--van-gray-6);--van-image-placeholder-font-size:var(--van-font-size-md);--van-image-placeholder-background-color:var(--van-background-color);--van-image-loading-icon-size:32px;--van-image-loading-icon-color:var(--van-gray-4);--van-image-error-icon-size:32px;--van-image-error-icon-color:var(--van-gray-4)}.van-image{position:relative;display:inline-block}.van-image--round{overflow:hidden;border-radius:var(--van-border-radius-max)}.van-image--round .van-image__img{border-radius:inherit}.van-image__error,.van-image__img,.van-image__loading{display:block;width:100%;height:100%}.van-image__error,.van-image__loading{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-image-placeholder-text-color);font-size:var(--van-image-placeholder-font-size);background
|
1
|
+
:root{--van-image-placeholder-text-color:var(--van-gray-6);--van-image-placeholder-font-size:var(--van-font-size-md);--van-image-placeholder-background-color:var(--van-background-color);--van-image-loading-icon-size:32px;--van-image-loading-icon-color:var(--van-gray-4);--van-image-error-icon-size:32px;--van-image-error-icon-color:var(--van-gray-4)}.van-image{position:relative;display:inline-block}.van-image--round{overflow:hidden;border-radius:var(--van-border-radius-max)}.van-image--round .van-image__img{border-radius:inherit}.van-image__error,.van-image__img,.van-image__loading{display:block;width:100%;height:100%}.van-image__error,.van-image__loading{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-image-placeholder-text-color);font-size:var(--van-image-placeholder-font-size);background:var(--van-image-placeholder-background-color)}.van-image__loading-icon{color:var(--van-image-loading-icon-color);font-size:var(--van-image-loading-icon-size)}.van-image__error-icon{color:var(--van-image-error-icon-color);font-size:var(--van-image-error-icon-size)}
|
package/es/image/index.less
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
justify-content: center;
|
43
43
|
color: var(--van-image-placeholder-text-color);
|
44
44
|
font-size: var(--van-image-placeholder-font-size);
|
45
|
-
background
|
45
|
+
background: var(--van-image-placeholder-background-color);
|
46
46
|
}
|
47
47
|
|
48
48
|
&__loading-icon {
|
@@ -12,6 +12,7 @@ import { Popup } from '../popup';
|
|
12
12
|
import ImagePreviewItem from './ImagePreviewItem'; // Types
|
13
13
|
|
14
14
|
var [name, bem] = createNamespace('image-preview');
|
15
|
+
var popupProps = ['show', 'transition', 'overlayStyle', 'closeOnPopstate'];
|
15
16
|
var props = {
|
16
17
|
show: Boolean,
|
17
18
|
loop: truthProp,
|
@@ -63,8 +64,7 @@ export default defineComponent({
|
|
63
64
|
var updateShow = show => emit('update:show', show);
|
64
65
|
|
65
66
|
var emitClose = () => {
|
66
|
-
callInterceptor({
|
67
|
-
interceptor: props.beforeClose,
|
67
|
+
callInterceptor(props.beforeClose, {
|
68
68
|
args: [state.active],
|
69
69
|
done: () => updateShow(false)
|
70
70
|
});
|
@@ -168,10 +168,9 @@ export default defineComponent({
|
|
168
168
|
return () => _createVNode(Popup, _mergeProps({
|
169
169
|
"class": [bem(), props.className],
|
170
170
|
"overlayClass": bem('overlay'),
|
171
|
-
"onClosed": onClosed
|
172
|
-
|
173
|
-
|
174
|
-
}), {
|
171
|
+
"onClosed": onClosed,
|
172
|
+
"onUpdate:show": updateShow
|
173
|
+
}, pick(props, popupProps)), {
|
175
174
|
default: () => [renderClose(), renderImages(), renderIndex(), renderCover()]
|
176
175
|
});
|
177
176
|
}
|
@@ -1 +1 @@
|
|
1
|
-
:root{--van-image-preview-index-text-color:var(--van-white);--van-image-preview-index-font-size:var(--van-font-size-md);--van-image-preview-index-line-height:var(--van-line-height-md);--van-image-preview-index-text-shadow:0 1px 1px var(--van-gray-8);--van-image-preview-overlay-background-color:rgba(0, 0, 0, 0.9);--van-image-preview-close-icon-size:22px;--van-image-preview-close-icon-color:var(--van-gray-5);--van-image-preview-close-icon-active-color:var(--van-gray-6);--van-image-preview-close-icon-margin:var(--van-padding-md);--van-image-preview-close-icon-z-index:1}.van-image-preview{position:fixed;top:0;left:0;width:100%;height:100%;background-color:transparent;transform:none}.van-image-preview__swipe{height:100%}.van-image-preview__swipe-item{display:flex;align-items:center;justify-content:center;overflow:hidden}.van-image-preview__cover{position:absolute;top:0;left:0}.van-image-preview__image{width:100%;transition-property:transform}.van-image-preview__image--vertical{width:auto;height:100%}.van-image-preview__image img{-webkit-user-drag:none}.van-image-preview__image .van-image__error{top:30%;height:40%}.van-image-preview__image .van-image__error-icon{font-size:36px}.van-image-preview__image .van-image__loading{background-color:transparent}.van-image-preview__index{position:absolute;top:var(--van-padding-md);left:50%;color:var(--van-image-preview-index-text-color);font-size:var(--van-image-preview-index-font-size);line-height:var(--van-image-preview-index-line-height);text-shadow:var(--van-image-preview-index-text-shadow);transform:translate(-50%,0)}.van-image-preview__overlay{background
|
1
|
+
:root{--van-image-preview-index-text-color:var(--van-white);--van-image-preview-index-font-size:var(--van-font-size-md);--van-image-preview-index-line-height:var(--van-line-height-md);--van-image-preview-index-text-shadow:0 1px 1px var(--van-gray-8);--van-image-preview-overlay-background-color:rgba(0, 0, 0, 0.9);--van-image-preview-close-icon-size:22px;--van-image-preview-close-icon-color:var(--van-gray-5);--van-image-preview-close-icon-active-color:var(--van-gray-6);--van-image-preview-close-icon-margin:var(--van-padding-md);--van-image-preview-close-icon-z-index:1}.van-image-preview{position:fixed;top:0;left:0;width:100%;height:100%;background-color:transparent;transform:none}.van-image-preview__swipe{height:100%}.van-image-preview__swipe-item{display:flex;align-items:center;justify-content:center;overflow:hidden}.van-image-preview__cover{position:absolute;top:0;left:0}.van-image-preview__image{width:100%;transition-property:transform}.van-image-preview__image--vertical{width:auto;height:100%}.van-image-preview__image img{-webkit-user-drag:none}.van-image-preview__image .van-image__error{top:30%;height:40%}.van-image-preview__image .van-image__error-icon{font-size:36px}.van-image-preview__image .van-image__loading{background-color:transparent}.van-image-preview__index{position:absolute;top:var(--van-padding-md);left:50%;color:var(--van-image-preview-index-text-color);font-size:var(--van-image-preview-index-font-size);line-height:var(--van-image-preview-index-line-height);text-shadow:var(--van-image-preview-index-text-shadow);transform:translate(-50%,0)}.van-image-preview__overlay{background:var(--van-image-preview-overlay-background-color)}.van-image-preview__close-icon{position:absolute;z-index:var(--van-image-preview-close-icon-z-index);color:var(--van-image-preview-close-icon-color);font-size:var(--van-image-preview-close-icon-size);cursor:pointer}.van-image-preview__close-icon:active{color:var(--van-image-preview-close-icon-active-color)}.van-image-preview__close-icon--top-left{top:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--top-right{top:var(--van-image-preview-close-icon-margin);right:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-left{bottom:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-right{right:var(--van-image-preview-close-icon-margin);bottom:var(--van-image-preview-close-icon-margin)}
|
@@ -1 +1 @@
|
|
1
|
-
:root{--van-index-anchor-z-index:1;--van-index-anchor-padding:0 var(--van-padding-md);--van-index-anchor-text-color:var(--van-text-color);--van-index-anchor-font-weight:var(--van-font-weight-bold);--van-index-anchor-font-size:var(--van-font-size-md);--van-index-anchor-line-height:32px;--van-index-anchor-background-color:transparent;--van-index-anchor-sticky-text-color:var(--van-danger-color);--van-index-anchor-sticky-background-color:var(--van-white)}.van-index-anchor{z-index:var(--van-index-anchor-z-index);box-sizing:border-box;padding:var(--van-index-anchor-padding);color:var(--van-index-anchor-text-color);font-weight:var(--van-index-anchor-font-weight);font-size:var(--van-index-anchor-font-size);line-height:var(--van-index-anchor-line-height);background
|
1
|
+
:root{--van-index-anchor-z-index:1;--van-index-anchor-padding:0 var(--van-padding-md);--van-index-anchor-text-color:var(--van-text-color);--van-index-anchor-font-weight:var(--van-font-weight-bold);--van-index-anchor-font-size:var(--van-font-size-md);--van-index-anchor-line-height:32px;--van-index-anchor-background-color:transparent;--van-index-anchor-sticky-text-color:var(--van-danger-color);--van-index-anchor-sticky-background-color:var(--van-white)}.van-index-anchor{z-index:var(--van-index-anchor-z-index);box-sizing:border-box;padding:var(--van-index-anchor-padding);color:var(--van-index-anchor-text-color);font-weight:var(--van-index-anchor-font-weight);font-size:var(--van-index-anchor-font-size);line-height:var(--van-index-anchor-line-height);background:var(--van-index-anchor-background-color)}.van-index-anchor--sticky{position:fixed;top:0;right:0;left:0;color:var(--van-index-anchor-sticky-text-color);background:var(--van-index-anchor-sticky-background-color)}
|
@@ -20,7 +20,7 @@
|
|
20
20
|
font-weight: var(--van-index-anchor-font-weight);
|
21
21
|
font-size: var(--van-index-anchor-font-size);
|
22
22
|
line-height: var(--van-index-anchor-line-height);
|
23
|
-
background
|
23
|
+
background: var(--van-index-anchor-background-color);
|
24
24
|
|
25
25
|
&--sticky {
|
26
26
|
position: fixed;
|
@@ -28,6 +28,6 @@
|
|
28
28
|
right: 0;
|
29
29
|
left: 0;
|
30
30
|
color: var(--van-index-anchor-sticky-text-color);
|
31
|
-
background
|
31
|
+
background: var(--van-index-anchor-sticky-background-color);
|
32
32
|
}
|
33
33
|
}
|
package/es/index-bar/IndexBar.js
CHANGED
@@ -61,17 +61,6 @@ export default defineComponent({
|
|
61
61
|
}
|
62
62
|
});
|
63
63
|
|
64
|
-
var getScrollerRect = () => {
|
65
|
-
if ('getBoundingClientRect' in scrollParent.value) {
|
66
|
-
return useRect(scrollParent);
|
67
|
-
}
|
68
|
-
|
69
|
-
return {
|
70
|
-
top: 0,
|
71
|
-
left: 0
|
72
|
-
};
|
73
|
-
};
|
74
|
-
|
75
64
|
var getActiveAnchor = (scrollTop, rects) => {
|
76
65
|
for (var i = children.length - 1; i >= 0; i--) {
|
77
66
|
var prevHeight = i > 0 ? rects[i - 1].height : 0;
|
@@ -95,7 +84,7 @@ export default defineComponent({
|
|
95
84
|
indexList
|
96
85
|
} = props;
|
97
86
|
var scrollTop = getScrollTop(scrollParent.value);
|
98
|
-
var scrollParentRect =
|
87
|
+
var scrollParentRect = useRect(scrollParent);
|
99
88
|
var rects = children.map(item => item.getRect(scrollParent.value, scrollParentRect));
|
100
89
|
var active = getActiveAnchor(scrollTop, rects);
|
101
90
|
activeAnchor.value = indexList[active];
|
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
@@ -84,7 +84,7 @@ import { Tag } from './tag';
|
|
84
84
|
import { Toast } from './toast';
|
85
85
|
import { TreeSelect } from './tree-select';
|
86
86
|
import { Uploader } from './uploader';
|
87
|
-
var version = '3.2.
|
87
|
+
var version = '3.2.6';
|
88
88
|
|
89
89
|
function install(app) {
|
90
90
|
var components = [ActionBar, ActionBarButton, ActionBarIcon, ActionSheet, AddressEdit, AddressList, Area, Badge, Button, Calendar, Card, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, Col, Collapse, CollapseItem, ConfigProvider, ContactCard, ContactEdit, ContactList, CountDown, Coupon, CouponCell, CouponList, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, Form, Grid, GridItem, Icon, Image, ImagePreview, IndexAnchor, IndexBar, List, Loading, Locale, NavBar, NoticeBar, Notify, NumberKeyboard, Overlay, Pagination, PasswordInput, Picker, Popover, Popup, Progress, PullRefresh, Radio, RadioGroup, Rate, Row, Search, ShareSheet, Sidebar, SidebarItem, Skeleton, Slider, Step, Stepper, Steps, Sticky, SubmitBar, Swipe, SwipeCell, SwipeItem, Switch, Tab, Tabbar, TabbarItem, Tabs, Tag, Toast, TreeSelect, Uploader];
|
package/es/locale/lang/de-DE.js
CHANGED
package/es/locale/lang/en-US.js
CHANGED
package/es/locale/lang/es-ES.js
CHANGED
package/es/locale/lang/fr-FR.js
CHANGED
package/es/locale/lang/ja-JP.js
CHANGED
package/es/locale/lang/nb-NO.js
CHANGED
package/es/locale/lang/ro-RO.js
CHANGED
package/es/locale/lang/ru-RU.js
CHANGED
package/es/locale/lang/th-TH.js
CHANGED
package/es/locale/lang/tr-TR.js
CHANGED
package/es/locale/lang/zh-CN.js
CHANGED
package/es/locale/lang/zh-HK.js
CHANGED
package/es/locale/lang/zh-TW.js
CHANGED
package/es/nav-bar/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-nav-bar-height:46px;--van-nav-bar-background-color:var(--van-white);--van-nav-bar-arrow-size:16px;--van-nav-bar-icon-color:var(--van-primary-color);--van-nav-bar-text-color:var(--van-primary-color);--van-nav-bar-title-font-size:var(--van-font-size-lg);--van-nav-bar-title-text-color:var(--van-text-color);--van-nav-bar-z-index:1}.van-nav-bar{position:relative;z-index:var(--van-nav-bar-z-index);line-height:var(--van-line-height-lg);text-align:center;background
|
1
|
+
:root{--van-nav-bar-height:46px;--van-nav-bar-background-color:var(--van-white);--van-nav-bar-arrow-size:16px;--van-nav-bar-icon-color:var(--van-primary-color);--van-nav-bar-text-color:var(--van-primary-color);--van-nav-bar-title-font-size:var(--van-font-size-lg);--van-nav-bar-title-text-color:var(--van-text-color);--van-nav-bar-z-index:1}.van-nav-bar{position:relative;z-index:var(--van-nav-bar-z-index);line-height:var(--van-line-height-lg);text-align:center;background:var(--van-nav-bar-background-color);-webkit-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:var(--van-nav-bar-icon-color)}.van-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--van-nav-bar-height)}.van-nav-bar__arrow{margin-right:var(--van-padding-base);font-size:var(--van-nav-bar-arrow-size)}.van-nav-bar__title{max-width:60%;margin:0 auto;color:var(--van-nav-bar-title-text-color);font-weight:var(--van-font-weight-bold);font-size:var(--van-nav-bar-title-font-size)}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--van-padding-md);font-size:var(--van-font-size-md);cursor:pointer}.van-nav-bar__left:active,.van-nav-bar__right:active{opacity:var(--van-active-opacity)}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:var(--van-nav-bar-text-color)}
|