diff --git a/assets/iframe-router.173914a6.js b/assets/iframe-router.009457e5.js similarity index 87% rename from assets/iframe-router.173914a6.js rename to assets/iframe-router.009457e5.js index e3a0089c..0dea5716 100644 --- a/assets/iframe-router.173914a6.js +++ b/assets/iframe-router.009457e5.js @@ -1,4 +1,4 @@ -import{o as e,a as p,u as d}from"./vue-libs.1ccdd11c.js";const b=function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))l(t);new MutationObserver(t=>{for(const c of t)if(c.type==="childList")for(const r of c.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&l(r)}).observe(document,{childList:!0,subtree:!0});function n(t){const c={};return t.integrity&&(c.integrity=t.integrity),t.referrerpolicy&&(c.referrerPolicy=t.referrerpolicy),t.crossorigin==="use-credentials"?c.credentials="include":t.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function l(t){if(t.ep)return;t.ep=!0;const c=n(t);fetch(t.href,c)}};b();var Un=(a,s)=>{const n=a.__vccOpts||a;for(const[l,t]of s)n[l]=t;return n};const v={class:"van-doc-markdown-body"},q=d('
2023-09-18
Bug Fixes
Document
Feature
2023-08-30
Document
Feature
2023-08-25
Bug Fixes
Feature
2023-07-10
Bug Fixes
Feature
2023-07-03
Bug Fixes
Document
Feature
2023-05-19
Bug Fixes
2023-05-08
Bug Fixes
Feature
2023-05-04
Bug Fixes
2023-04-18
Bug Fixes
2023-04-03
Bug Fixes
Feature
hotfix
2023-02-27
Bug Fixes
Document
Feature
2023-02-13
Bug Fixes
Feature
2023-01-16
Bug Fixes
Document
Feature
2023-01-03
Bug Fixes
Feature
2022-12-16
Bug Fixes
Document
Feature
2022-12-12
Bug Fixes
Feature
2022-11-29
Bug Fixes
Document
Feature
2022-11-18
Bug Fixes
Document
Feature
2022-11-06
Bug Fixes
Feature
2022-09-07
Feature
Bug Fixes
2022-07-23
Feature
Bug Fixes
box-sizing: border-box
\u5BFC\u81F4\u5BFC\u822A\u680F\u9AD8\u5EA6\u4E0D\u6B63\u786E\u95EE\u9898 #49692022-05-02
Feature
Bug Fixes
2022-01-04
Bug Fixes
Document
Feature
2021-12-21
Bug Fixes
Document
Feature
2021-10-28
Bug Fixes
Feature
2021-09-29
Bug Fixes
Document
Feature
2021-09-27
Bug Fixes
Document
Feature
Performance
2021-09-07
Bug Fixes
Features
2021-08-30
Bug Fixes
Features
Performance Improvements
2021-08-18
Feature
Bug Fixes
2021-08-11
Feature
Performance
2021-07-19
Bug Fixes
Features
2021-07-04
Bug Fixes
weapp-qrcode
wechat-moments
#4256Features
Improvements
2021-05-22
Bug Fixes
Features
2021-02-26
Features
Bug Fixes
Improvements
2021-01-21
Features
Bug Fixes
Improvements
2021-01-19
Features
Bug Fixes
Improvements
2020-12-18
Improvements
Bug Fixes
max
min
\u65F6\u6ED1\u52A8\u4E0D\u5747\u5300 (#3876)2020-12-09
Features
beforeClose
\u5C5E\u6027 (#3815)county_list
\u6570\u636E (#3824)resize
\u65B9\u6CD5 (#3827)Improvements
Bug Fixes
percentage
\u4E3A 0 \u65F6\u6837\u5F0F\u5F02\u5E38 (#3808)2020-11-29
Features
placeholder
icon-prefix
\u5C5E\u6027 (#3792)Bug Fixes
type=year-month
\u65F6\u9009\u62E9\u51FA\u73B0\u62A5\u9519 (#3783)ellipsis
\u4E3A false
\u65F6\u4E0B\u5212\u7EBF\u4F4D\u7F6E\u4E0D\u6B63\u786E (#3777)Improvements
2020-11-11
Features
custom-class
#3678Bug Fixes
label
\u5C5E\u6027\u65F6 label-class
\u6837\u5F0F\u7C7B\u4E0D\u751F\u6548 #3729scrollable
\u4E0D\u751F\u6548 #37272020-10-15
Features
Bug Fixes
2020-09-29
Features
origin-price
tag
\u63D2\u69FD #3645Bug Fixes
2020-08-27
Features
Bug Fixes
2020-07-28
Features
Bug Fixes
2020-07-17
Features
Bug Fixes
2020-06-24
Features
Bug Fixes
2020-06-04
Features
Bug Fixes
square
\u65F6\u6A2A\u3001\u7EB5\u5411\u95F4\u8DDD\u4E0D\u540C #3231type="2d"
\u4E0D\u751F\u6548 #32282020-05-24
Features
Bug Fixes
2020-05-08
1.3.0 \u4E2D\uFF0C\u6211\u4EEC\u4E3A\u6570\u4E2A\u8868\u5355\u7EC4\u4EF6\u652F\u6301\u4E86\u7B80\u6613\u53CC\u5411\u7ED1\u5B9A\uFF0C\u6D89\u53CA\u7EC4\u4EF6\u6709
Slider #3107
Search #3106
Rate #3105
Features
Bug Fixes
2020-04-21
Features
Bug Fixes
2020-04-12
Features
Bug Fixes
2020-04-04
Features
Bug Fixes
2020-03-21
Features
Bug Fixes
2020-03-04
Features
popupStyle
\u5C5E\u6027 #2804open
close
opened
closed
\u4E8B\u4EF6 #2804price
num
\u63D2\u69FD #2787origin-price-class
\u5916\u90E8\u6837\u5F0F\u7C7B #2787Bug Fixes
name
\u7C7B\u578B\u4E0Evalue
\u7EDF\u4E00 #28012020-02-24
Features
Bug Fixes
close
\u4E8B\u4EF6 #2766disabled
\u5C5E\u6027\u65E0\u6548 #2748label-disabled
\u6587\u6863\u9519\u8BEF #27632020-02-07
Features
disabled
\u65F6\u7684\u7EC4\u4EF6\u6837\u5F0F #2720Bug Fixes
disabled
\u5C5E\u6027\u4E0D\u751F\u6548 #2711animated
\u5C5E\u6027\u65E0\u6CD5\u52A8\u6001\u5207\u6362 #2712size
\u5C5E\u6027\u4E0D\u652F\u6301string
\u7C7B\u578B #26942020-01-21
Features
Bug Fixes
2020-01-09
Features
Bug Fixes
2019-12-31
Features
row-class``avatar-class``title-class
#2612width
\u5C5E\u6027 #2607camera``compressed``maxDuration
\u5C5E\u6027 #2584Improvements
Bug Fixes
2019-12-23
Features
Improvements
Bug Fixes
2019-12-11
CSS\u81EA\u5B9A\u4E49\u5C5E\u6027
\u81EA\u5B9A\u4E49\u6837\u5F0Fenv()
\u91CD\u6784 iOS \u5B89\u5168\u533A\u57DF\u9002\u914D\u5728 Vant Weapp 1.0 \u7248\u672C\u4E2D\uFF0C\u6211\u4EEC\u65B0\u589E\u4E86 11 \u4E2A\u5B9E\u7528\u7684\u57FA\u7840\u7EC4\u4EF6\uFF1A
position: sticky
\u5C5E\u6027\u5B9E\u73B0\u7684\u6548\u679C\u7C7B\u4F3C\u5728 1.0 \u8FED\u4EE3\u8BA1\u5212\u786E\u5B9A\u4E4B\u521D\uFF0C\u6211\u4EEC\u5C31\u4E0D\u65AD\u601D\u8003\u8FD9\u6837\u4E00\u4E2A\u95EE\u9898 -- \u8BE5\u5982\u4F55\u7ED9\u7528\u6237\u63D0\u4F9B\u52A8\u6001\u5207\u6362\u4E3B\u9898\u6837\u5F0F\u7684\u529F\u80FD\u5462\uFF1F
\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u73AF\u5883\u662F\u975E\u5E38\u7279\u6B8A\u7684\u3002\u4E0D\u5177\u6709\u52A8\u6001\u52A0\u8F7D\u4EE3\u7801\u7684\u673A\u5236\uFF0C\u540C\u65F6\u5FAE\u4FE1\u53C8\u9650\u5236\u4E86\u4EE3\u7801\u7684\u4E3B\u5305\u5927\u5C0F\u548C\u603B\u5927\u5C0F\u3002\u4F20\u7EDF\u7684\u57FA\u4E8E\u9884\u8BBE\u7684\u6837\u5F0F\u5B9A\u5236\u8FC7\u4E8E\u81C3\u80BF\uFF0C\u4E0D\u518D\u9002\u5408\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u73AF\u5883\u3002
\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u7684\u7EC4\u4EF6\u6A21\u578B\u76F8\u5F53\u4E8E\u4E00\u4E2A\u7B80\u5316\u7248\u7684 Shadow DOM\uFF0C\u5E78\u8FD0\u7684\u662F\uFF0C\u5C0F\u7A0B\u5E8F\u4E5F\u652F\u6301\u4E86 CSS \u81EA\u5B9A\u4E49\u5C5E\u6027 \u7684\u7279\u6027\u3002\u6700\u7EC8\uFF0C\u6211\u4EEC\u57FA\u4E8E CSS \u81EA\u5B9A\u4E49\u5C5E\u6027\u8BBE\u8BA1\u4E86\u6837\u5F0F\u5B9A\u5236\u7684\u65B9\u6848\uFF0C\u5F00\u53D1\u8005\u4F7F\u7528\u7075\u6D3B\u3001\u65B9\u4FBF\uFF0C\u7EC4\u4EF6\u7EF4\u62A4\u4E5F\u66F4\u7B80\u5355\u3002
\u4ECE 1.0 \u7248\u672C\u5F00\u59CB\uFF0CVant Weapp \u4E2D\u7684\u6240\u6709\u7EC4\u4EF6\u90FD\u652F\u6301\u901A\u8FC7 CSS \u7EC4\u5B9A\u4E49\u5C5E\u6027 \u8FDB\u884C\u6837\u5F0F\u5B9A\u5236\uFF0C\u5177\u4F53\u4F7F\u7528\u59FF\u52BF\u53EF\u67E5\u770B\u76F8\u5173\u6587\u6863
1.0 \u7248\u672C\u4E2D\u5305\u542B\u5C11\u91CF\u4E0D\u517C\u5BB9\u66F4\u65B0\uFF0C\u4E3B\u8981\u662F\u547D\u540D\u8C03\u6574\u548C\u79FB\u9664\u4E2A\u522B\u5C5E\u6027\u3002\u5BF9\u4E8E\u6B63\u5728\u4F7F\u7528 0.x \u7248\u672C\u7684\u9879\u76EE\uFF0C\u8BF7\u6309\u7167\u4E0B\u65B9\u7684\u5217\u8868\u4F9D\u6B21\u68C0\u67E5\uFF0C\u5927\u90E8\u5206\u9879\u76EE\u53EF\u4EE5\u65E0\u75DB\u5347\u7EA7\u3002
BadgeGroup
\u91CD\u547D\u540D\u4E3ASidebar
Badge
\u91CD\u547D\u540D\u4E3ASlidebarItem
active
\u5C5E\u6027\u91CD\u547D\u540D\u4E3AactiveKey
text
\u9009\u9879\u91CD\u547D\u540D\u4E3Amessage
backgroundColor
\u9009\u9879\u91CD\u547D\u540D\u4E3Abackground
transitionend
\u4E8B\u4EF6\uFF0C\u65B0\u589E 6 \u4E2A\u4E8B\u4EF6SwitchCell
\u7EC4\u4EF6\uFF0C\u53EF\u4EE5\u4F7F\u7528Cell
\u548CSwitch
\u7EC4\u4EF6\u4EE3\u66FFtransitionend
\u4E8B\u4EF6\uFF0C\u65B0\u589E 6 \u4E2A\u4E8B\u4EF6click-overlay
\u4E8B\u4EF6close-on-click-action
\u5C5E\u6027color
\u5C5E\u6027description
\u5C5E\u6027round
\u5C5E\u6027columns-placeholder
\u5C5E\u6027reset
\u65B9\u6CD5\u652F\u6301\u4F20\u5165code
\u53C2\u6570loading-type
\u5C5E\u6027color
\u5C5E\u6027\u652F\u6301\u6E10\u53D8\u8272disabled
\u65F6\u589E\u52A0\u8FC7\u6E21\u6548\u679Cicon-size
\u5C5E\u6027#ee0a24
filter
\u5C5E\u6027title
\u63D2\u69FDconfirm-button-color
\u5C5E\u6027cancel-button-color
\u5C5E\u6027width
\u5C5E\u6027overlay-style
\u5C5E\u6027clickable
\u5C5E\u6027arrow-direction
\u5C5E\u6027hold-keyboard
\u5C5E\u6027color
\u5C5E\u6027icon
\u63D2\u69FDdot
\u5C5E\u6027info
\u5C5E\u6027dot
\u5C5E\u6027dot
\u5C5E\u6027down
\u56FE\u6807wap-hone
\u5B9E\u5E95\u98CE\u683C\u56FE\u6807number
\u7C7B\u578B\u7684size
\u5C5E\u6027number
\u7C7B\u578B\u7684size
\u5C5E\u6027clear
\u65B9\u6CD5round
\u5C5E\u6027closeable
\u5C5E\u6027close-icon
\u5C5E\u6027close-icon-position
\u5C5E\u6027stroke-width
\u5C5E\u6027icon-size
\u5C5E\u6027gutter
\u5C5E\u6027touchable
\u5C5E\u6027string
\u7C7B\u578B\u7684size
\u5C5E\u6027action-text
\u5C5E\u6027left-icon
\u63D2\u69FDright-icon
\u63D2\u69FDdot
\u5C5E\u6027drag-start
\u4E8B\u4EF6drag-end
\u4E8B\u4EF6max
\u548Cmin
\u5C5E\u6027number
\u7C7B\u578B\u7684bar-height
\u5C5E\u6027name
\u5C5E\u6027open
\u4E8B\u4EF6input-width
\u5C5E\u6027button-size
\u5C5E\u6027decimalLength
\u5C5E\u6027active-icon
\u5C5E\u6027inactive-icon
\u5C5E\u6027name
\u5C5E\u6027line-height
\u5C5E\u6027ellipsis
\u5C5E\u6027lazy-render
\u5C5E\u6027line-width
\u5C5E\u6027\u652F\u6301String
\u7C7B\u578Bmax
\u5C5E\u6027content
\u63D2\u69FDVant Weapp \u57FA\u4E8E\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u673A\u5236\uFF0C\u4E3A\u5F00\u53D1\u8005\u63D0\u4F9B\u4E86\u4EE5\u4E0B 3 \u79CD\u4FEE\u6539\u7EC4\u4EF6\u6837\u5F0F\u7684\u65B9\u6CD5
\u6837\u5F0F\u9694\u79BB\u7684\u76F8\u5173\u80CC\u666F\u77E5\u8BC6\u8BF7\u67E5\u9605\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u6587\u6863
Vant Weapp \u7684\u6240\u6709\u7EC4\u4EF6\u90FD\u5F00\u542F\u4E86addGlobalClass: true
\u4EE5\u63A5\u53D7\u5916\u90E8\u6837\u5F0F\u7684\u5F71\u54CD\uFF0C\u53EF\u4EE5\u4F7F\u7528\u5982\u4E0B 2 \u79CD\u65B9\u5F0F\u8986\u76D6\u7EC4\u4EF6\u6837\u5F0F
\u5728\u9875\u9762\u4E2D\u4F7F\u7528 Vant Weapp \u7EC4\u4EF6\u65F6\uFF0C\u53EF\u76F4\u63A5\u5728\u9875\u9762\u7684\u6837\u5F0F\u6587\u4EF6\u4E2D\u8986\u76D6\u6837\u5F0F
<van-button type="primary">\u4E3B\u8981\u6309\u94AE</van-button>
+import{o as e,a as p,u as d}from"./vue-libs.1ccdd11c.js";const b=function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))l(t);new MutationObserver(t=>{for(const c of t)if(c.type==="childList")for(const r of c.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&l(r)}).observe(document,{childList:!0,subtree:!0});function n(t){const c={};return t.integrity&&(c.integrity=t.integrity),t.referrerpolicy&&(c.referrerPolicy=t.referrerpolicy),t.crossorigin==="use-credentials"?c.credentials="include":t.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function l(t){if(t.ep)return;t.ep=!0;const c=n(t);fetch(t.href,c)}};b();var Un=(a,s)=>{const n=a.__vccOpts||a;for(const[l,t]of s)n[l]=t;return n};const v={class:"van-doc-markdown-body"},q=d('\u66F4\u65B0\u65E5\u5FD7
v1.11.0
2023-09-18
Bug Fixes
- calendar: \u4FEE\u590D calendar \u8C03\u7528 reset \u65B9\u6CD5\u65F6\u4E22\u5931\u9ED8\u8BA4\u503C #5546
- van-notice-bar: \u4FEE\u590D delay \u5C5E\u6027\u4E0D\u751F\u6548\u95EE\u9898 #5547
Document
- skeleton: \u4FEE\u590D custom class \u6587\u6863\u7F3A\u5931 #5548
Feature
v1.10.25
2023-08-30
Document
- slider: \u4FEE\u590D use-button-slot \u6587\u6863\u9519\u8BEF #5534
Feature
- button: \u589E\u52A0 button-id \u5C5E\u6027 \u548C agreePrivacyAuthorization \u4E8B\u4EF6\u652F\u6301 #5533
v1.10.24
2023-08-25
Bug Fixes
- calendar: \u589E\u52A0 limit date \u76D1\u542C #5520
Feature
- button: \u589E\u52A0 agreePrivacyAuthorization open-type \u652F\u6301 #5527
v1.10.21
2023-07-10
Bug Fixes
- uploader: \u4FEE\u590D\u65E0\u6CD5\u5524\u8D77\u9009\u62E9\u56FE\u7247\u6846\u5728 PC \u4E0B #5477
Feature
- button: \u589E\u52A0 getRealtimePhoneNumber \u652F\u6301 #5471
- calendar: \u589E\u52A0 default-date \u4E3A null \u652F\u6301 #5395
- dialog: \u589E\u52A0\u786E\u8BA4/\u53D6\u6D88\u6309\u94AE\u5916\u90E8\u6837\u5F0F\u7C7B\u652F\u6301 #5478
- field: \u589E\u52A0\u81EA\u5B9A\u4E49\u6837\u5F0F\u7C7B\u652F\u6301 #5476
- field: \u6269\u5927 input \u70B9\u51FB\u533A\u57DF\u652F\u6301 #5479
- Upload: \u589E\u52A0 videoFit \u5C5E\u6027\u652F\u6301 #5475
v1.10.20
2023-07-03
Bug Fixes
- calendar: \u4FEE\u590D\u65E0\u6CD5\u9009\u62E9\u540C\u4E00\u5929\u5728 range \u6A21\u5F0F\u4E0B #5451
- slider: \u4FEE\u590D\u5C0F\u6570\u7CBE\u5EA6\u4E22\u5931\u95EE\u9898 #5444
Document
- add @inottn and @zhousg to core team #5453
- popup: \u4FEE\u590D\u6587\u6863\u7F3A\u5931 close-icon-position \u5C5E\u6027 #5389
- dialog: \u4FEE\u590D\u793A\u4F8B\u4EE3\u7801\u9519\u8BEF\u95EE\u9898 #5389
Feature
v1.10.19
2023-05-19
Bug Fixes
- calendar: \u4FEE\u590D\u65E5\u5386\u6708\u4EFD\u6807\u9898\u4E0D\u540C\u6B65\u95EE\u9898 #5381
- cascader: \u4FEE\u590D\u9009\u4E2D\u9879\u76EE\u7F3A\u5931\u548C fieldNames \u4E0D\u751F\u6548\u95EE\u9898 #5182
- cascader: \u4FEE\u590D\u5F02\u6B65\u6570\u636E\u89C6\u56FE\u4E0D\u66F4\u65B0\u95EE\u9898 #5380
- tab: \u4FEE\u590D\u5F02\u6B65\u6570\u636E\u60C5\u51B5\u9009\u4E2D\u7EBF\u5411\u53F3\u504F\u79FB\u95EE\u9898 #5135
v1.10.18
2023-05-08
Bug Fixes
- steps: \u4FEE\u590D\u5728\u7AD6\u5411\u6A21\u5F0F\u4E0B icon \u88AB\u8986\u76D6\u7684\u95EE\u9898 #5329
- tabs: \u4FEE\u590D tab \u8F83\u591A\u65F6\uFF0Cslot \u65E0\u6CD5\u6B63\u5E38\u663E\u793A\u95EE\u9898 #4700
Feature
v1.10.17
2023-05-04
Bug Fixes
- icon: \u4FEE\u590D\u5B9A\u4F4D\u6837\u5F0F\u9519\u8BEF\u5728\u5916\u90E8\u4F20\u5165 custom-class \u7684\u60C5\u51B5\u4E0B #5335
- tab: \u4FEE\u590D tab \u88AB\u5D4C\u5957\u65F6\uFF0C\u5185\u90E8 tab \u6837\u5F0F\u9519\u8BEF\u95EE\u9898 #5200
- Uploader: \u66FF\u6362 wx.chooseImage \u4E3A wx.chooseMedia \u89E3\u51B3\u9009\u62E9\u56FE\u7247\u9875\u9762\u5237\u65B0\u95EE\u9898 #5343
- van-field: \u4FEE\u590D\u5B89\u5353\u8BBE\u5907\u4E0B textarea maxlength \u9650\u5236\u4E0D\u751F\u6548\u95EE\u9898 #5308
v1.10.16
2023-04-18
Bug Fixes
- icon: \u4FEE\u590D\u663E\u793A\u5F02\u5E38\u5728\u81EA\u5B9A\u4E49\u56FE\u6807\u7684\u6A21\u5F0F\u4E0B #5320
- stepper: \u4FEE\u590D\u6700\u5927\u503C\u5728\u8BBE\u7F6E\u5B57\u7B26\u4E32\u4E0B\u529F\u80FD\u9519\u8BEF\u95EE\u9898 #5295
- tabs: \u4FEE\u590D\u5728\u90E8\u5206\u8BBE\u5907\u4E0B info \u6837\u5F0F\u9519\u8BEF\u95EE\u9898 #5318
v1.10.15
2023-04-03
Bug Fixes
- calendar: \u4FEE\u590D\u5728 allow-same-day \u548C \u4E0D\u663E\u793A confirm \u6309\u94AE\u65F6 confirm \u4E22\u5931\u95EE\u9898 db8981
Feature
- van-goods-action-icon: \u589E\u52A0 color \u5C5E\u6027\u652F\u6301 4fd22f
hotfix
- rate: \u4FEE\u590D\u5728\u8986\u76D6\u534A\u4E2A\u661F\u65F6\u8986\u76D6\u9AD8\u5EA6\u4E0D\u591F\u95EE\u9898 #5294
v1.10.14
2023-02-27
Bug Fixes
- icon: \u4FEE\u590D\u5728\u81EA\u5B9A\u4E49 icon \u65F6\u4E22\u5931 dot \u7EC4\u4EF6 #5253
Document
- \u589E\u52A0 @landluck and @wjw-gavin \u5230\u6838\u5FC3\u56E2\u961F #5252
Feature
v1.10.13
2023-02-13
Bug Fixes
- calendar: \u4FEE\u590D calendar \u7EC4\u4EF6\u5B89\u5168\u533A\u57DF\u4F20\u53C2\u672A\u4F20\u9012\u7ED9 popup \u7EC4\u4EF6\u7684\u95EE\u9898 db7957
- cascader: \u4FEE\u590D cascader \u7EC4\u4EF6 onClickTab \u4E8B\u4EF6\u6CA1\u6709\u540C\u6B65 activeTab \u7684\u503C\u5BFC\u81F4\u9009\u62E9\u5F02\u5E38\u7684\u95EE\u9898 92ae4a
- stepper: \u4FEE\u590D always-embed \u7533\u660E\u4E24\u6B21\u8B66\u544A\u95EE\u9898 #5231
- stepper: \u4FEE\u590D onblur \u65F6\u5728\u503C\u53D8\u66F4\u7684\u60C5\u51B5\u4E0B change \u4E8B\u4EF6\u6CA1\u6709\u89E6\u53D1 #5227
Feature
v1.10.12
2023-01-16
Bug Fixes
- calendar: \u4FEE\u590D\u5728 allow-same-day \u60C5\u51B5\u4E0B\u521D\u59CB\u4E0D\u80FD\u9009\u62E9\u540C\u4E00\u5929 #5193
- stepper: \u4FEE\u590D\u5728 async change \u60C5\u51B5\u4E0B\u5916\u90E8\u65E0\u6CD5\u66F4\u65B0 input \u503C #5191
Document
- docs(action-sheet): \u4FEE\u590D close-on-click-overlay \u521D\u59CB\u503C\u4E66\u5199\u9519\u8BEF b2fabe
Feature
v1.10.11
2023-01-03
Bug Fixes
- stepper: \u4FEE\u590D\u663E\u793A\u9519\u8BEF\u7684\u503C\u5728 blur \u7684\u60C5\u51B5\u4E0B #5158
- steps: \u4FEE\u590D\u989D\u5916\u7684\u95F4\u8DDD\u5728\u5782\u76F4\u65B9\u5411\u7684\u60C5\u51B5\u4E0B #5166
- transition: \u4FEE\u590D enter \u65F6\u95F4\u89E6\u53D1\u591A\u6B21\u7684\u95EE\u9898 #5157
Feature
v1.10.10
2022-12-16
Bug Fixes
- dialog: \u4FEE\u590D\u5728\u6CA1\u6709\u5E95\u90E8\u6309\u94AE\u65F6\u5B58\u5728\u989D\u5916\u7684\u767D\u7EBF #5141
- dropdown: \u4FEE\u590D\u6587\u6848\u8D85\u51FA\u9650\u5236\u540E\u7BAD\u5934\u6837\u5F0F\u95EE\u9898 #5145
- button: \u4FEE\u590D demo \u793A\u4F8B\u7F3A\u5931 button \u7EC4\u4EF6\u5F15\u5165 8ec17c
- search: \u4F18\u5316\u53D6\u6D88\u6309\u94AE\u7684\u70B9\u51FB\u533A\u57DF #5148
- uploader: \u4FEE\u590D\u65E0\u6CD5\u9884\u89C8\u89C6\u9891\u95EE\u9898 #5142
Document
- cascader: \u589E\u52A0 cascader \u6587\u6863\u94FE\u63A5 4bb9e6
- uploader: \u4F18\u5316 thumb \u5B57\u6BB5\u6587\u6848\u63CF\u8FF0 af7493
Feature
- tab: \u65B0\u589E before-change \u5C5E\u6027\u652F\u6301 #5139
v1.10.9
2022-12-12
Bug Fixes
- slider: \u4FEE\u590D\u6587\u6863\u793A\u4F8B\u503C\u9519\u8BEF #5128
- tab: \u4FEE\u590D\u5728\u5F00\u542F\u5FAE\u4FE1\u5DE5\u5177\u70ED\u66F4\u65B0\u65F6\u51FA\u73B0\u5806\u6808\u6EA2\u51FA\u95EE\u9898 #5125
- transition: \u4FEE\u590D\u9875\u9762\u5207\u540E\u53F0\u540E\u65E0\u6CD5\u89E6\u53D1 transition \u76F8\u5173\u7EC4\u4EF6\u66F4\u65B0 #5131
Feature
- cascader: \u65B0\u589E cascader \u7EC4\u4EF6 #4992
v1.10.8
2022-11-29
Bug Fixes
- slider: \u4FEE\u590D\u5FEB\u901F\u6ED1\u52A8\u65F6 value \u53EF\u80FD\u9519\u8BEF\u95EE\u9898 #5112
- tabs: \u4FEE\u590D\u521D\u59CB\u5316\u52A0\u8F7D\u65F6\u9009\u4E2D\u72B6\u6001\u52A8\u753B\u95EE\u9898 #5115
Document
- Calendar: \u4FEE\u590D\u793A\u4F8B\u4EE3\u7801\u9519\u8BEF\u95EE\u9898 c55c78
- fix(stepper): \u4FEE\u590D stepper blur \u4E8B\u4EF6\u5931\u7126\u65F6\u4F1A\u89E6\u53D1 change \u4E8B\u4EF6 8b441d
Feature
v1.10.7
2022-11-18
Bug Fixes
- search: \u589E\u52A0 value \u9ED8\u8BA4 props \u5B9A\u4E49 697746
Document
- collapse: \u589E\u52A0 right-icon \u989D\u5916\u4F7F\u7528\u8BF4\u660E d39b35
Feature
v1.10.6
2022-11-06
Bug Fixes
- van-tabs: \u4FEE\u590D\u63D2\u4EF6\u5185\u4F7F\u7528 van-tabs \u5207\u6362 tab \u62A5\u9519\u7684\u95EE\u9898 #5073
- button: \u4FEE\u590D button \u5728 disabeld \u6216 loading \u65F6\u80FD\u89E6\u53D1 active \u72B6\u6001\u95EE\u9898 #5084
- mixin: \u4FEE\u590D page-scroll mixin \u51FD\u6570\u76D1\u542C\u6CA1\u6709\u6536\u56DE\u95EE\u9898 #5086
- overlay: \u4FEE\u590D custom-class \u4E0D\u751F\u6548\u95EE\u9898 #5083
- slider: \u4FEE\u590D slider \u5728 value \u5C0F\u4E8E step \u65E0\u6CD5\u6ED1\u52A8\u95EE\u9898 #5079
Feature
- Dialog: option context \u652F\u6301\u4F20\u5165\u51FD\u6570 #5043
v1.10.5
2022-09-07
Feature
- Dialog: messageAlign \u5C5E\u6027\u652F\u6301\u4F20 justify #5034
- Notify: \u652F\u6301 setDefaultOptions \u548C resetDefaultOptions \u65B9\u6CD5 #5028
- toast: context \u9009\u9879\u652F\u6301\u4F20\u5165\u51FD\u6570 #5022
Bug Fixes
- Calendar: \u4FEE\u590D getDay \u548C getUTCDay \u6709\u65F6\u95F4\u5DEE\uFF0C\u5BFC\u81F4\u661F\u671F\u9519\u4F4D\u7684\u95EE\u9898 #4883
v1.10.4
2022-07-23
Feature
- Button: \u65B0\u589E chooseavatar \u4E8B\u4EF6 #4976
Bug Fixes
- NavBar: \u4FEE\u590D\u56E0
box-sizing: border-box
\u5BFC\u81F4\u5BFC\u822A\u680F\u9AD8\u5EA6\u4E0D\u6B63\u786E\u95EE\u9898 #4969
v1.10.3
2022-05-02
Feature
- Area: \u65B0\u589E show-toolbar \u5C5E\u6027 #4752
- CollapseItem: \u65B0\u589E size \u5C5E\u6027 #4829
- uploader: preview-size \u5C5E\u6027\u7C7B\u578B\u652F\u6301 Array \u81EA\u5B9A\u4E49\u5BBD\u9AD8 #4798
Bug Fixes
v1.10.1
2022-01-04
Bug Fixes
- NoticeBar: \u79FB\u9664 \u9ED8\u8BA4 icon \u5C3A\u5BF8 #4692
- Tab: \u4FEE\u590D \u6ED1\u52A8\u5931\u6548\u95EE\u9898 #4715
Document
- quickstart: \u589E\u52A0 \u7528\u6237\u9690\u79C1\u4FDD\u62A4 \u8BF4\u660E #4711
Feature
- GoodsAction: \u589E\u52A0 GoodsActionIcon \u7EC4\u4EF6\u7684 class-prefix \u5C5E\u6027 #4712
v1.10.0
2021-12-21
Bug Fixes
- page-scroll: \u4FEE\u590D\u5F53 vanPageScroller \u4E3A undefined \u65F6\u62A5\u9519 #4640
- Switch: \u4FEE\u590D\u5F53\u4F7F\u7528 active-value \u65F6 \u81EA\u5B9A\u4E49\u989C\u8272\u5931\u6548 #4645
- Toast: \u4FEE\u590D\u5F53 type \u4E3A success/error \u65F6 toast \u6837\u5F0F\u4E0D\u6B63\u786E #4587
Document
- NoticeBar: \u4FEE\u590D\u6587\u6863\u4E2D \u5355\u4F4D\u6807\u8BC6 \u9519\u8BEF #4641
Feature
- Stepper: \u65B0\u589E always-embed \u5C5E\u6027 #4678
v1.9.2
2021-10-28
Bug Fixes
- Calendar: \u9009\u62E9\u6700\u5C0F\u53EF\u9009\u65E5\u671F\u8303\u56F4 #4569
- Collapse: \u4FEE\u590D\u591A\u6B21\u70B9\u51FB\u5931\u6548\u95EE\u9898 #4567
- Tab: \u4FEE\u590D\u5361\u7247\u6A21\u5F0F\u6807\u7B7E\u9875\u6837\u5F0F\u95EE\u9898 #4582
- Tab: \u4FEE\u590D\u591A\u6307\u6ED1\u52A8\u591A\u4E2A\u6807\u7B7E\u95EE\u9898 #4539
Feature
v1.9.1
2021-09-29
Bug Fixes
- CheckBox: \u79FB\u9664\u65E0\u7528\u65B9\u6CD5 #4527
- Slider: \u4FEE\u590D vertical \u5C5E\u6027\u5BFC\u81F4\u70B9\u51FB\u65E0\u6548\u95EE\u9898 #4532
Document
- Calendar: Day \u6570\u636E\u7ED3\u6784\u589E\u52A0 className \u5C5E\u6027\u8BF4\u660E #4524
Feature
- Calendar: \u589E\u52A0 readonly \u5C5E\u6027 #4529
v1.9.0
2021-09-27
Bug Fixes
- Slider: \u79FB\u9664 theme mixin #4520
- Tab: \u4FEE\u590D\u521D\u59CB\u4F4D\u7F6E\u4E0D\u6B63\u786E\u95EE\u9898 #4521
Document
- ActionSheet: \u6DFB\u52A0 show \u5C5E\u6027\u8BF4\u660E #4518
Feature
- Slider: \u6DFB\u52A0 vertical \u5C5E\u6027 #4486
Performance
- \u79FB\u9664 CSS variables \u517C\u5BB9\u4EE3\u7801 #4487
1.8.4
2021-09-07
Bug Fixes
- page-scroll: \u4FEE\u590D getCurrentPage \u4E3A\u7A7A\u65F6\u62A5\u9519 #4458
Features
v1.8.3
2021-08-30
Bug Fixes
- Calendar: \u4FEE\u590D default-date \u5C5E\u6027\u5931\u6548\u95EE\u9898 #4430
- ShareSheet: \u8C03\u6574 overlayStyle \u5C5E\u6027\u7C7B\u578B\u4E3A string 8c408e2
- Stepper: \u8C03\u6574 minus/plus slots \u4F4D\u7F6E #4427
- Sticky: \u4FEE\u590D root \u4E3A null \u65F6\uFF0C\u8BFB\u53D6 root.top \u62A5\u9519\u95EE\u9898 #4433
- Calendar: \u8C03\u6574 minDate \u548C maxDate \u4F20\u503C\u7C7B\u578B\u4E3A Number 37d8e69
Features
- Popup: \u65B0\u589E lock-scroll \u5C5E\u6027 #4384
Performance Improvements
- Radio: label \u7684 margin-left \u6539\u4E3A padding-left\uFF0C\u589E\u5927\u53EF\u70B9\u51FB\u533A\u57DF\uFF0C\u589E\u5F3A\u7528\u6237\u4F53\u9A8C #4165
v1.8.1
2021-08-18
Feature
- Calendar: \u65B0\u589E click-subtitle \u4E8B\u4EF6 #4385
- Circle: \u4F7F\u7528 setTimeout \u4EE3\u66FF setInterval #4401
Bug Fixes
- Picker: \u4FEE\u590D template \u5F15\u7528\u8DEF\u5F84\u4E0D\u662F\u76F8\u5BF9\u8DEF\u5F84\u7684\u95EE\u9898 #4408
v1.8.0
2021-08-11
Feature
- Overlay: \u65B0\u589E lock-scroll \u5C5E\u6027 #4383
- search: \u65B0\u589E click-input \u4E8B\u4EF6 #4357
Performance
- \u79FB\u9664\u4E86 iOS8 \u76F8\u5173\u7684 polyfill\uFF0C\u51CF\u5C11\u5305\u4F53\u79EF #4395
v1.7.2
2021-07-19
Bug Fixes
- Calendar: \u521D\u59CB\u65E5\u671F\u8BBE\u7F6E\u4E3A\u5F53\u524D\u65E5\u671F #4339
Features
1.7.0
2021-07-04
Bug Fixes
- Button: \u4FEE\u590D type \u4E3A getUserInfo & wx.getUserProfile \u53EF\u7528\u65F6 lang \u53C2\u6570\u5931\u6548 #4250
- ShareSheet: \u65B0\u589E\u5185\u7F6E icon
weapp-qrcode
wechat-moments
#4256
Features
- Checkbox: \u589E\u52A0 direction \u5C5E\u6027\uFF0C\u8BBE\u7F6E\u6392\u5217\u65B9\u5411 #4265
- ConfigProvider: \u589E\u52A0\u5168\u5C40\u914D\u7F6E\u7EC4\u4EF6 #4279
- Grid: \u589E\u52A0 reverse \u5C5E\u6027\uFF0C\u652F\u6301\u6587\u672C&\u56FE\u7247\u4F4D\u7F6E\u4E92\u6362 #4280
- GridItem: \u589E\u52A0 icon-prefix \u5C5E\u6027\uFF0C\u652F\u6301\u7B2C\u4E09\u65B9\u5B57\u4F53 #4276
- Rate: \u589E\u52A0\u66F4\u591A css \u53D8\u91CF #4297
- Slider: \u589E\u52A0\u66F4\u591A css \u53D8\u91CF #4305
Improvements
- wxs style \u65B9\u6CD5\u652F\u6301\u9A7C\u5CF0\u53D8\u91CF\u547D\u540D\uFF0C\u4EE5\u4FBF\u80FD\u66F4\u597D\u7684\u5728 wxml \u4E2D\u4F7F\u7528 #4281
1.6.9-beta.2
2021-05-22
Bug Fixes
- Button: \u4FEE\u590D open-type \u4E0D\u751F\u6548 #4222
- Calendar: \u4FEE\u590D allow-same-day \u5F00\u542F\u65F6 custom-color \u5C5E\u6027\u65E0\u6548 #4200
- Circle: \u4FEE\u590D value \u662F\u5C0F\u6570\u65F6\u6296\u52A8\u7684\u60C5\u51B5 #4152
- NoticeBar: \u8C03\u6574\u6EDA\u52A8\u884C\u4E3A #4201
- NoticeBar: \u4FEE\u590D\u4E0D\u6B63\u786E\u7684\u6EDA\u52A8\u901F\u5EA6 cde3876
- Radio: \u652F\u6301\u52A8\u6001\u8BBE\u7F6E disabled #4191
- Rate: \u652F\u6301\u6ED1\u52A8\u9009\u62E9\u534A\u661F #4195
Features
- Calendar: \u589E\u52A0 first-day-of-week \u5C5E\u6027\uFF0C\u8BBE\u7F6E\u5468\u8D77\u59CB\u65E5 #4211
- Calendar: \u589E\u52A0 show-range-prompt \u5C5E\u6027\u548C over-range \u4E8B\u4EF6\uFF0C\u8BBE\u7F6E\u662F\u5426\u5C55\u793A\u63D0\u793A\u6587\u6848 #4212
- Icons: \u56FE\u6807\u5E93\u8FC1\u79FB\u81F3 iconfont.cn #4219
- OpenType: \u652F\u6301 getUserProfile #4203
- Panel: \u79FB\u9664 useFooterSlot #4205
1.6.8
2021-02-26
Features
- NoticeBar: \u65B0\u589E\u9ED8\u8BA4\u63D2\u69FD (#4048)
- Stepper: \u65B0\u589E theme \u5C5E\u6027\uFF0C\u652F\u6301\u5706\u5F62\u98CE\u683C (#4049)
- Stepper: \u65B0\u589E plus & minus \u63D2\u69FD (#4049)
Bug Fixes
- Checkbox: \u4FEE\u590D label-position \u5C5E\u6027\u65E0\u6548 (#4036)
- Dialog: \u4FEE\u590D beforeClose \u65B9\u6CD5\u7C7B\u578B\u5B9A\u4E49 (#4019)
Improvements
- Circle: \u5F53\u5185\u7F6E canvas \u4E0D\u652F\u6301\u540C\u5C42\u6E32\u67D3\u65F6\u964D\u7EA7\u81F3\u9ED8\u8BA4 type (#4050)
1.6.6
2021-01-21
Features
- Uploader: \u652F\u6301\u6587\u4EF6\u9884\u89C8 (#3975)
Bug Fixes
- Picker: \u4FEE\u590D\u6807\u9898\u680F\u65E0\u6CD5\u663E\u793A (#3973)
Improvements
- Calendar: \u4F18\u5316\u6A21\u677F\u4EE3\u7801 (#3972)
1.6.5
2021-01-19
Features
- Field: \u65B0\u589E input \u63D2\u69FD (#3932)
- Field: \u65B0\u589E click-input \u4E8B\u4EF6 (#3932)
- Icon: \u65B0\u589E delete-o\u3001sort\u3001font\u3001font-o\u3001revoke \u56FE\u6807 (#3881)
Bug Fixes
- Button: \u4FEE\u590D custom-style \u5C5E\u6027\u4E0D\u751F\u6548 (#3903)
- Dialog: \u4FEE\u590D close-on-click-overlay \u5C5E\u6027\u4E0D\u751F\u6548 (#3913)
Improvements
- Cell: \u4F18\u5316\u6027\u80FD (#3888)
- Col: \u4F18\u5316\u6027\u80FD (#3886)
- Divider: \u4F18\u5316\u6027\u80FD (#3887)
- Empty: \u4F18\u5316\u6027\u80FD (#3933)
- Loading: \u4F18\u5316\u6027\u80FD (#3892)
- Notice-bar: \u4F18\u5316\u6027\u80FD (#3891)
- Notify: \u4F18\u5316\u6027\u80FD (#3893)
- Picker: \u4F18\u5316\u6027\u80FD (#3949)
- Stepper: \u4F18\u5316\u6027\u80FD (#3890)
- Sticky: \u4F18\u5316\u6027\u80FD (#3879)
- SwipeCell: \u4F18\u5316\u6027\u80FD (#3928)
- Switch: \u4F18\u5316\u6027\u80FD (#3889)
- Tag: \u4F18\u5316\u6027\u80FD (#3894)
- Transition: \u4F18\u5316\u6027\u80FD (#3895)
- Uploader: \u4F18\u5316\u6027\u80FD (#3897)
1.6.4
2020-12-18
Improvements
- Tab: \u4F18\u5316\u7C98\u6027\u5E03\u5C40\u65F6\u7684\u6E32\u67D3\u6027\u80FD (#3875)
- Grid: \u4F7F\u7528 wxs \u4F18\u5316\u6027\u80FD (#3839)
- Image: \u4F7F\u7528 wxs \u4F18\u5316\u6027\u80FD (#3839)
- Button: \u4F7F\u7528 wxs \u4F18\u5316\u6027\u80FD (#3839)
- Icon: \u51CF\u5C11\u4EE3\u7801\u4F53\u79EF (#3839)
- Checkbox: \u51CF\u5C11\u4EE3\u7801\u4F53\u79EF (#3839)
- Slider: \u51CF\u5C11\u4EE3\u7801\u4F53\u79EF (#3839)
Bug Fixes
- Calendar: \u4FEE\u590D\u5728 phone \u8BBE\u5907\u4E0A\u9009\u62E9\u65E5\u671F\u540E\u663E\u793A\u9519\u8BEF (#3833)
- GoodsAction: \u4FEE\u590D\u90E8\u5206\u8BBE\u5907\u4E0A\u9AD8\u5EA6\u5F02\u5E38 (#3865)
- Slider: \u4FEE\u590D\u8BBE\u7F6E
max
min
\u65F6\u6ED1\u52A8\u4E0D\u5747\u5300 (#3876) - Tab: \u4FEE\u590D\u5207\u6362\u65F6\u5185\u5BB9\u533A\u95EA\u70C1\u7684\u95EE\u9898 (#3866)
1.6.3
2020-12-09
Features
- Dialog: \u65B0\u589E
beforeClose
\u5C5E\u6027 (#3815) - uploader: \u65B0\u589E\u82E5\u5E72 CSS \u53D8\u91CF (#3797)
- Aarea: \u652F\u6301\u4E0D\u4F20\u5165
county_list
\u6570\u636E (#3824) - Tab: \u65B0\u589E
resize
\u65B9\u6CD5 (#3827)
Improvements
- Collapse: \u4F7F\u7528 animate \u63D0\u5347\u52A8\u753B\u6027\u80FD (#3826)
- Tab: \u4F18\u5316\u6837\u5F0F\u62FC\u88C5\u6027\u80FD (#3827)
Bug Fixes
- Field: \u4FEE\u590D\u8F93\u5165\u4E2D\u6587\u65F6\u663E\u793A\u5B57\u6570\u6682\u65F6\u8D85\u51FA maxlength (#3802)
- Info: \u4FEE\u590D\u6837\u5F0F\u9519\u8BEF (#3823)
- NavBar: \u4FEE\u590D\u52A8\u6001\u6E32\u67D3\u65F6\u7EC4\u4EF6\u62A5\u9519 (#3822)
- Progress: \u4FEE\u590D
percentage
\u4E3A 0 \u65F6\u6837\u5F0F\u5F02\u5E38 (#3808)
1.6.2
2020-11-29
Features
- Tabbar: \u65B0\u589E
placeholder
icon-prefix
\u5C5E\u6027 (#3792)
Bug Fixes
- DatetimePicker: \u4FEE\u590D
type=year-month
\u65F6\u9009\u62E9\u51FA\u73B0\u62A5\u9519 (#3783) - Info: \u4FEE\u590D\u90E8\u5206\u5B89\u5353\u8BBE\u5907\u4E2D\u6587\u6848\u4E0D\u5B8C\u5168\u5C45\u4E2D (#3778)
- Tab: \u4FEE\u590D
ellipsis
\u4E3A false
\u65F6\u4E0B\u5212\u7EBF\u4F4D\u7F6E\u4E0D\u6B63\u786E (#3777) - Notify: \u4FEE\u590D\u7EC4\u4EF6\u672A\u5168\u5C40\u5C45\u4E2D (#3751)
Improvements
- Icon: \u4F7F\u7528 wxs \u4F18\u5316\u6027\u80FD (#3791)
1.6.0
2020-11-11
Features
- SwipeCell: \u65B0\u589E\u5916\u90E8\u6837\u5F0F\u7C7B
custom-class
#3678 - ActionSheet: \u8C03\u6574\u53D6\u6D88\u6587\u5B57\u989C\u8272\u81F3 @gray-7 #3719
- ActionSheet: \u8C03\u6574\u9876\u90E8\u680F\u6837\u5F0F #3720
- ActionSheet: \u8C03\u6574\u52A0\u8F7D\u56FE\u6807\u5927\u5C0F\u81F3 22px #3718
- ActionSheet: \u8C03\u6574\u63CF\u8FF0\u6587\u5B57\u6837\u5F0F #3726
- Cell: \u8C03\u6574\u56FE\u6807\u5916\u8FB9\u8DDD\u81F3 4px #3721
- DropdownMenu: \u589E\u52A0\u9ED8\u8BA4\u9634\u5F71 #3723
- DropdownMenu: \u8C03\u6574\u9009\u4E2D\u6001\u9ED8\u8BA4\u989C\u8272\u81F3 #ee0a24 #3725
- Image: \u8C03\u6574\u56FE\u6807\u5927\u5C0F\u81F3 36px #3724
- Popup: \u8C03\u6574\u5706\u89D2\u81F3 16px #3713
- Search: \u8C03\u6574\u5DE6\u4FA7\u5185\u8FB9\u8DDD\u81F3 12px #3716
- Sidebar: \u8C03\u6574\u5BBD\u5EA6\u81F3 85px #3722
- TabbarItem: \u8C03\u6574\u56FE\u6807\u5927\u5C0F\u81F3 22px #3717
Bug Fixes
- Field: \u4FEE\u590D\u4F7F\u7528
label
\u5C5E\u6027\u65F6 label-class
\u6837\u5F0F\u7C7B\u4E0D\u751F\u6548 #3729 - NoticeBar: \u4FEE\u590D\u5185\u5BB9\u8F83\u77ED\u65F6\u5F00\u542F
scrollable
\u4E0D\u751F\u6548 #3727 - SidebarItem: \u4FEE\u590D\u957F\u6570\u5B57\u4E0D\u6362\u884C\u7684\u95EE\u9898 #3714
- Tag: \u9ED8\u8BA4\u5B57\u4F53\u52A0\u5165 miui #3715
1.5.2
2020-10-15
Features
- Uploader: \u6807\u51C6\u5316 file-list \u4E0E\u4E8B\u4EF6\u53C2\u6570 #3673
- Uploader: \u65B0\u589E thumb\uFF0C\u652F\u6301\u7F29\u7565\u56FE\u5C55\u793A #3673
- GoodsAction: \u65B0\u589E\u82E5\u5E72 CSS \u53D8\u91CF #3654
- \u79FB\u52A8 @types/wechat-miniprogram \u81F3 dependencies #3654
Bug Fixes
1.5.1
2020-09-29
Features
- Card: \u65B0\u589E
origin-price
tag
\u63D2\u69FD #3645 - ShareSheet: \u8C03\u6574\u9ED8\u8BA4 z-index \u81F3 100 #3575
- ShareSheet: \u65B0\u589E item \u5C5E\u6027 openType #3575
- Uploader: \u6269\u5927\u5220\u9664\u6309\u94AE\u70B9\u51FB\u533A\u57DF #3631
Bug Fixes
- Uploader: \u652F\u6301\u9884\u89C8\u89C6\u9891 #3594
- Dialog: \u8C03\u6574\u7C7B\u578B\u5B9A\u4E49 #3630
- NavBar: \u4FEE\u590D CSS \u53D8\u91CF --nav-bar-icon-color \u4E0D\u751F\u6548 #3643
- NavBar: \u4FEE\u590D\u672A\u8BBE\u7F6E title \u65F6\u6837\u5F0F\u5F02\u5E38 #3643
- Tab: \u4FEE\u590D line-width \u5C5E\u6027\u4E0D\u652F\u6301 string #3628
1.5.0
2020-08-27
Features
- ShareSheet: \u65B0\u589E\u7EC4\u4EF6 #3559
- Icons: \u5347\u7EA7 @vant/icons \u81F3 v1.2.5 #3539
- sidebar: \u65B0\u589E badge \u5C5E\u6027 #3564
- Tabs: \u8C03\u6574\u9ED8\u8BA4 line-width \u81F3 40px #3518
- Tabs: \u53BB\u9664\u9ED8\u8BA4\u8FB9\u6846 #3519
- TreeSelect: \u65B0\u589E selected-icon \u5C5E\u6027 #3565
- TreeSelect: \u652F\u6301 badge\u3001dot \u663E\u793A #3565
Bug Fixes
v1.4.1
2020-07-28
Features
- Picker: \u8C03\u6574\u9ED8\u8BA4\u53EF\u89C1\u7684\u9009\u9879\u4E2A\u6570\u4E3A 6 \u4E2A #3418
- Toast: \u8C03\u6574\u5706\u89D2\u4E3A 8px #3419
Bug Fixes
v1.4.0
2020-07-17
Features
- Empty: \u65B0\u589E Empty \u7EC4\u4EF6 #3327
- NoticeBar: \u65B0\u589E background \u5C5E\u6027 #3388
- NoticeBar: \u65B0\u589E close \u4E8B\u4EF6 #3388
- GridItem: \u65B0\u589E icon-color \u5C5E\u6027 #3386
- NavBar: \u73B0\u5728 custom-style \u5C06\u5F71\u54CD\u6839\u8282\u70B9#3371
- Cell: \u65B0\u589E title-style \u5C5E\u6027, fix Field label width #3370
- Uploader: \u66F4\u65B0 failed \u56FE\u6807 #3359
- Uploader: \u66F4\u65B0\u5220\u9664\u56FE\u6807\u6837\u5F0F #3385
- Uploader: \u79FB\u9664\u5706\u89D2\u6837\u5F0F #3384
- Field: \u66F4\u65B0\u7981\u7528\u6001\u6837\u5F0F #3358
- Field: \u66F4\u65B0 label \u6837\u5F0F #3357
- Picker: \u8C03\u6574 action button \u6837\u5F0F #3316
Bug Fixes
- Collapse: \u4F7F\u7528 animation \u91CD\u6784\u52A8\u753B\u90E8\u5206\u903B\u8F91\u4EE5\u4FEE\u590D\u52A8\u753B\u5361\u987F #3401
- Uploader: \u4FEE\u590D loading \u6837\u5F0F\u9519\u8BEF\u3001\u8C03\u6574 previewSize \u5C5E\u6027\u9ED8\u8BA4\u503C #3317
- Area: \u4FEE\u590D\u4F4E\u7248\u672C\u57FA\u7840\u5E93\u4E0B columns-num \u8BBE\u7F6E\u4E3A 1 \u6216 2 \u65F6\u771F\u673A\u73AF\u5883\u62A5\u9519 #3318
- DatetimePicker: \u4FEE\u590D\u4F7F\u7528 formatter \u65F6\uFF0C\u4E8B\u4EF6\u8FD4\u56DE\u503C\u53EF\u80FD\u4E0D\u6B63\u786E #3352
- Field: \u4FEE\u590D textarea \u6A21\u5F0F\u4E0B label \u4E0E value \u4E0D\u5728\u540C\u4E00\u6C34\u5E73\u7EBF\u4E0A #3383
- Dialog: show dialog after class ready #3374
- Calendar: confirm-disabled-text \u5C5E\u6027\u589E\u52A0\u9ED8\u8BA4\u503C #3394
v1.3.3
2020-06-24
Features
- steps: \u4E3A\u6BCF\u4E00\u9879\u589E\u52A0 inactiveIcon\u3001activeIcon \u5C5E\u6027 #3315
- field: \u589E\u52A0\u5916\u90E8\u6837\u5F0F\u7C7B label-class #3311
- field: \u73B0\u5728\u603B\u4F1A\u4ECE\u5185\u90E8 set value \u503C #3313
- uploader: \u4E3A\u6BCF\u4E00\u9879\u589E\u52A0 deletable \u5C5E\u6027 #3270
- uploader: \u6269\u5927\u5220\u9664\u56FE\u6807\u7684\u53EF\u70B9\u51FB\u533A\u57DF #3265
Bug Fixes
- tabbar: \u4FEE\u590D iphone-se \u4E0A\u9AD8\u5EA6\u5F02\u5E38 #3314
- grid: \u4FEE\u590D text \u4E0E icon \u540C\u65F6\u8BBE\u7F6E\u65F6\u6837\u5F0F\u5F02\u5E38 #3310
- calendar: \u4FEE\u590D\u591A\u9009\u6A21\u5F0F\u4E0B default-date \u5C5E\u6027\u4E0D\u751F\u6548 #3284
- circle: \u4FEE\u590D type="2d" \u65F6\u65E0\u6CD5\u52A8\u6001\u53D8\u66F4 value #3264
- nav-bar: \u4FEE\u590D\u672A\u8BBE\u7F6E left-text \u65F6\u5DE6\u4FA7\u56FE\u6807\u6837\u5F0F\u5F02\u5E38 #3263
v1.3.2
2020-06-04
Features
- button: \u65B0\u589E form-type \u5C5E\u6027 #3208
- grid: \u65B0\u589E icon-size\u3001badge \u5C5E\u6027 #3236
- grid: \u65B0\u589E direction \u5C5E\u6027 #3192
Bug Fixes
- Grid: \u4FEE\u590D\u5F00\u542F
square
\u65F6\u6A2A\u3001\u7EB5\u5411\u95F4\u8DDD\u4E0D\u540C #3231 - uploader: \u4FEE\u590D\u70B9\u51FB\u5220\u9664\u56FE\u6807\u65F6\u89E6\u53D1 click-preview \u4E8B\u4EF6 #3230
- circle: \u4FEE\u590D
type="2d"
\u4E0D\u751F\u6548 #3228 - calendar: \u4FEE\u590D\u5728\u9009\u62E9\u533A\u95F4\u65F6\uFF0C\u70B9\u51FB\u786E\u5B9A\u62A5\u9519 #3195
- tag: \u4FEE\u590D css \u53D8\u91CF\u540D\u62FC\u5199\u9519\u8BEF #3191
v1.3.1
2020-05-24
Features
- Button: \u65B0\u589E class-prefix \u5C5E\u6027 #3159
- Collapse: \u65B0\u589E open\u3001close \u4E8B\u4EF6 #3176
Bug Fixes
v1.3.0
2020-05-08
\u652F\u6301\u7B80\u6613\u53CC\u5411\u7ED1\u5B9A
1.3.0 \u4E2D\uFF0C\u6211\u4EEC\u4E3A\u6570\u4E2A\u8868\u5355\u7EC4\u4EF6\u652F\u6301\u4E86\u7B80\u6613\u53CC\u5411\u7ED1\u5B9A\uFF0C\u6D89\u53CA\u7EC4\u4EF6\u6709
Slider #3107
Search #3106
Rate #3105
Features
- sticky: \u65B0\u589E scroll-top \u5C5E\u6027 #3115
- button: \u65B0\u589E dataset \u5C5E\u6027 #3075
- uploader: \u6240\u6709\u7C7B\u578B\u90FD\u4F1A\u89E6\u53D1 click-preview \u4E8B\u4EF6 #3071
- Uploader: \u5C5E\u6027 accept \u65B0\u589E\u503C media #3047
- feat: \u65B0\u589E\u57FA\u7840 font-family #3061
- submit-bar: \u4F7F\u7528\u53E6\u4E00\u4E2A view \u5B9E\u73B0 safe-area-inset-bottom \u4EE5\u907F\u514D\u6837\u5F0F\u51B2\u7A81 #3104
Bug Fixes
- dialog: \u4FEE\u590D title \u591A\u4F59\u7A7A\u683C\u7684\u95EE\u9898 #3069
- tab: \u4FEE\u590D tab \u4E2A\u6570\u591A\u65F6\u663E\u793A\u6EDA\u52A8\u6761 #3072
- Sticky: \u4FEE\u590D\u4F7F\u7528\u7EC4\u4EF6\u65F6\u9875\u9762 onPageScroll \u5931\u6548 #3092
- button: \u4FEE\u590D disabled \u5C5E\u6027\u5BF9 open-type \u7C7B\u578B\u7684\u6309\u94AE\u65E0\u6548 #3076
v1.2.2
2020-04-21
Features
- GoodsActionButton: \u65B0\u589E CSS \u53D8\u91CF goods-action-line-height #3037
- Calendar: \u9009\u62E9\u533A\u95F4\u5927\u4E8E range \u65F6\u81EA\u52A8\u9009\u4E2D\u6700\u5927\u8303\u56F4 #3026
- Notify: \u65B0\u589E top \u5C5E\u6027 #3018
Bug Fixes
v1.2.1
2020-04-12
Features
- Field: \u652F\u6301\u5C0F\u7A0B\u5E8F\u53CC\u5411\u7ED1\u5B9A #2986
- Calendar: \u591A\u9009\u6A21\u5F0F\u4E0B\u65B0\u589E unselect \u4E8B\u4EF6 #2990
Bug Fixes
v1.2.0
2020-04-04
Features
- TreeSelect: \u66F4\u65B0 nav \u80CC\u666F\u8272 #2952
- Sticky: \u4F7F\u7528 page scroll \u91CD\u6784\u7EC4\u4EF6 #2950
- Field: \u65B0\u589E auto-focus\u3001disable-default-padding\u3001cursor \u5C5E\u6027 #2936
- Field: \u65B0\u589E linechange\u3001keyboardheightchange \u4E8B\u4EF6 #2936
- Uploader: \u652F\u6301\u663E\u793A\u4E0A\u4F20\u72B6\u6001 #2929
- Image: mode \u5C5E\u6027\u65B0\u589E widthFix\u3001heightFix #2908
- Canvas: \u65B0\u589E type \u5C5E\u6027 #2906
- NavBar: \u65B0\u589E placeholder \u5C5E\u6027 #2896
Bug Fixes
v1.1.0
2020-03-21
Features
- \u65B0\u589E Calendar \u65E5\u5386\u7EC4\u4EF6 #2894
- Grid: \u65B0\u589E\u5916\u90E8\u6837\u5F0F\u7C7B custom-class\u3001content-class\u3001icon-class\u3001text-class #2882
- Steps: \u65B0\u589E click \u4E8B\u4EF6 #2874
- SideBar: \u65B0\u589E title \u63D2\u69FD #2873
- Uploader: \u65B0\u589E upload-icon \u5C5E\u6027 #2869
- Uploader: \u65B0\u589E show-upload \u5C5E\u6027 #2868
- Uploader: \u66F4\u65B0\u6837\u5F0F\u3001\u8C03\u6574\u4E8B\u4EF6\u89E6\u53D1\u987A\u5E8F\u4E0E vant \u4E00\u81F4 #2886
- Field: \u65B0\u589E show-word-limit \u5C5E\u6027 #2856
- Field: autosize \u5C5E\u6027\u652F\u6301\u4F20\u5165\u5BF9\u8C61\uFF0C\u6307\u5B9A maxHeight \u4E0E minHeight #2856
- Field: \u65B0\u589E\u82E5\u5E72 CSS \u53D8\u91CF #2856
Bug Fixes
v1.0.7
2020-03-04
Features
- DropdownItem: \u65B0\u589E
popupStyle
\u5C5E\u6027 #2804 - DropdownItem: \u65B0\u589E
open
close
opened
closed
\u4E8B\u4EF6 #2804 - Card: \u65B0\u589E
price
num
\u63D2\u69FD #2787 - Card: \u65B0\u589E
origin-price-class
\u5916\u90E8\u6837\u5F0F\u7C7B #2787
Bug Fixes
- Tab: \u4FEE\u590D\u5185\u5BB9\u9879\u9AD8\u5EA6\u4E0D\u540C\u65F6\u7C98\u6027\u5E03\u5C40\u5F02\u5E38 #2817
- Picker: \u4FEE\u590D\u672A\u9009\u4E2D\u9879\u6837\u5F0F\u672A\u7F6E\u7070 #2816
- GoodsActionButton: \u4FEE\u590D\u4EC5\u4F7F\u7528\u4E00\u4E2A button \u65F6\u6837\u5F0F\u5F02\u5E38 #2808
- Radio:
name
\u7C7B\u578B\u4E0Evalue
\u7EDF\u4E00 #2801 - Uploader: \u4FEE\u590D\u6587\u6863\u9519\u8BEF #2777
v1.0.6
2020-02-24
Features
- GoodsActionButton: \u65B0\u589E\u9ED8\u8BA4 slot #2779
- SubmitBar: \u66F4\u65B0\u5706\u89D2\u6837\u5F0F #2755
- Card: \u66F4\u65B0\u6837\u5F0F #2754
- \u4F18\u5316 relation \u90E8\u5206\u4EE3\u7801 #2760
Bug Fixes
- DropdownItem: \u4FEE\u590D\u70B9\u51FB\u9009\u9879\u65F6\u4E0D\u89E6\u53D1
close
\u4E8B\u4EF6 #2766 - GoodsActionButton: \u4FEE\u590D\u4F4E\u7248\u672C\u57FA\u7840\u5E93\u4E0B\u7684\u6837\u5F0F\u95EE\u9898 #2762
- Tabs: \u4FEE\u590D\u70B9\u51FB\u7981\u7528\u9879\u65F6\u4E8B\u4EF6\u53C2\u6570\u9519\u8BEF #2758
- Checkbox: \u4FEE\u590D\u52A8\u6001\u8BBE\u7F6E
disabled
\u5C5E\u6027\u65E0\u6548 #2748 - Button: add loading color when plain is true #2746
- Radio: \u4FEE\u590D
label-disabled
\u6587\u6863\u9519\u8BEF #2763
v1.0.5
2020-02-07
Features
- ActionSheet: actions \u652F\u6301\u66F4\u591A openType #2715
- Uploader: \u65B0\u589E\u5F00\u59CB
disabled
\u65F6\u7684\u7EC4\u4EF6\u6837\u5F0F #2720 - Icon: \u8C03\u6574\u793A\u4F8B\u5C0F\u7A0B\u5E8F\u9875\u9762\u4E0E vant \u5BF9\u9F50 #2728
- \u793A\u4F8B\u5C0F\u7A0B\u5E8F\u9996\u9875\u4E0E vant \u5BF9\u9F50 #2729
- \u5B8C\u5584\u5FEB\u901F\u4E0A\u624B\u6587\u6863\uFF0C\u589E\u52A0 npm \u6784\u5EFA\u8BF4\u660E #2726
Bug Fixes
- Radio: \u4FEE\u590D
disabled
\u5C5E\u6027\u4E0D\u751F\u6548 #2711 - Tab: \u4FEE\u590D
animated
\u5C5E\u6027\u65E0\u6CD5\u52A8\u6001\u5207\u6362 #2712 - Circle: \u4FEE\u6B63\u6587\u6863\u9519\u8BEF\uFF0C
size
\u5C5E\u6027\u4E0D\u652F\u6301string
\u7C7B\u578B #2694 - \u4FEE\u6B63\u6587\u6863\u9ED8\u8BA4 slot \u540D\u79F0\u4E3A default \u7684\u9519\u8BEF #2726
- TreeSelect: \u4FEE\u6B63\u6587\u6863\u793A\u4F8B\u4EE3\u7801\u6807\u7B7E\u95ED\u5408\u9519\u8BEF #2710
v1.0.4
2020-01-21
Features
- Stepper: \u65B0\u589E disable-long-press \u5C5E\u6027 #2691
- quickstart: \u5FEB\u901F\u4E0A\u624B\u65B0\u589E\u5173\u95ED style v2 \u8BF4\u660E #2704
- Search: \u65B0\u589E background\u3001disabled\u3001input-align \u6587\u6863\u793A\u4F8B #2698
- Icon: \u6587\u6863\u65B0\u589E\u56FE\u6807\u6587\u5B57\u52A0\u8F7D\u5931\u8D25\u8BF4\u660E #2681
Bug Fixes
- Sticky: \u4FEE\u590D\u771F\u673A\u4E0A\u9875\u9762\u6EDA\u52A8\u7F13\u6162\u65F6\u65E0\u6CD5\u5438\u9876/\u53D6\u6D88\u5438\u9876 #2703
- DropdownItem: \u4FEE\u590D wx:key \u8B66\u544A #2670
- IndexBar: \u6587\u6863\u4FEE\u590D\u7EC4\u4EF6\u5F15\u5165\u8DEF\u5F84\u9519\u8BEF #2689
- \u5347\u7EA7\u4F9D\u8D56\u7248\u672C\u4EE5\u907F\u514D\u5B89\u5168\u8B66\u544A #2680
v1.0.3
2020-01-09
Features
- npm \u5305\u9ED8\u8BA4\u8F93\u51FA es5 \u7248\u672C\u4EE3\u7801 #2639
- Steps: \u65B0\u589E\u5916\u90E8\u6837\u5F0F\u7C7B desc-class #2630
Bug Fixes
v1.0.2
2019-12-31
Features
- Skeleton: \u65B0\u589E\u5916\u90E8\u6837\u5F0F\u7C7B
row-class``avatar-class``title-class
#2612 - SwipeCell: \u652F\u6301\u52A8\u6001\u4FEE\u6539
width
\u5C5E\u6027 #2607 - Uploader: \u65B0\u589E
camera``compressed``maxDuration
\u5C5E\u6027 #2584
Improvements
- Tab: \u4F18\u5316\u5F39\u6027\u6EDA\u52A8\u6548\u679C #2606
Bug Fixes
v1.0.1
2019-12-23
Features
- Uploader: \u65B0\u589E sizeType \u5C5E\u6027 #2563
- GoodsActionButton: \u65B0\u589E plain \u5C5E\u6027 #2559
- Uploader: \u53BB\u9664 use-slot \u5C5E\u6027 #2551
- \u65B0\u589E\u6837\u5F0F\u8986\u76D6\u8BF4\u660E\u6587\u6863 #2566
Improvements
- \u4F7F\u7528 nextTick \u4F18\u5316\u90E8\u5206\u5F02\u6B65\u903B\u8F91 #2561
- wxs \u65B0\u589E addUnit \u65B9\u6CD5\u4EE5\u51CF\u5C11 setData \u8C03\u7528\u6B21\u6570 #2550
Bug Fixes
v1.0.0
2019-12-11
\u4E3B\u8981\u53D8\u52A8
- npm \u5305\u540D\u7531 vant-weapp \u91CD\u547D\u540D\u4E3A @vant/weapp
- \u589E\u52A0\u5341\u4E00\u4E2A\u65B0\u7EC4\u4EF6
- \u589E\u52A0\u6570\u5341\u4E2A API
- \u6240\u6709\u7EC4\u4EF6\u652F\u6301\u901A\u8FC7
CSS\u81EA\u5B9A\u4E49\u5C5E\u6027
\u81EA\u5B9A\u4E49\u6837\u5F0F - \u4F7F\u7528
env()
\u91CD\u6784 iOS \u5B89\u5168\u533A\u57DF\u9002\u914D - \u8C03\u6574\u90E8\u5206 API \u547D\u540D\uFF0C\u5E9F\u9664\u5C11\u91CF API
\u65B0\u7EC4\u4EF6
\u5728 Vant Weapp 1.0 \u7248\u672C\u4E2D\uFF0C\u6211\u4EEC\u65B0\u589E\u4E86 11 \u4E2A\u5B9E\u7528\u7684\u57FA\u7840\u7EC4\u4EF6\uFF1A
- Grid \u5BAB\u683C\uFF0C\u7528\u4E8E\u5C55\u793A\u5185\u5BB9\u6216\u8FDB\u884C\u9875\u9762\u5BFC\u822A
- Image \u56FE\u7247\uFF0C\u589E\u5F3A\u7248\u7684 Image \u6807\u7B7E\uFF0C\u652F\u6301\u56FE\u7247\u61D2\u52A0\u8F7D\u4E0E\u52A0\u8F7D\u5931\u8D25\u63D0\u793A
- Circle \u73AF\u5F62\u8FDB\u5EA6\u6761\uFF0C\u544A\u77E5\u7528\u6237\u5F53\u524D\u7684\u72B6\u6001\u548C\u8FDB\u5EA6
- Overaly \u906E\u7F69\u5C42\uFF0C\u7528\u4E8E\u5F3A\u8C03\u7279\u5B9A\u7684\u9875\u9762\u5143\u7D20\uFF0C\u5E76\u963B\u6B62\u7528\u6237\u8FDB\u884C\u5176\u4ED6\u64CD\u4F5C
- Divider \u5206\u5272\u7EBF\uFF0C\u533A\u9694\u5185\u5BB9\u7684\u5206\u5272\u7EBF
- Sticky \u7C98\u6027\u5E03\u5C40\uFF0C\u4E0E CSS \u4E2D
position: sticky
\u5C5E\u6027\u5B9E\u73B0\u7684\u6548\u679C\u7C7B\u4F3C - Skeleton \u9AA8\u67B6\u5C4F\uFF0C\u5728\u5F85\u52A0\u8F7D\u533A\u57DF\u5C55\u793A\u7684\u5360\u4F4D\u533A\u5757\uFF0C\u63D0\u4F9B\u754C\u9762\u52A0\u8F7D\u8FC7\u7A0B\u4E2D\u7684\u8FC7\u6E21\u6548\u679C
- IndexBar \u7D22\u5F15\u680F\uFF0C\u901A\u8BAF\u5F55\u4E2D\u7684\u5B57\u6BCD\u7D22\u5F15\u680F\uFF0C\u7528\u4E8E\u957F\u5217\u8868\u5FEB\u901F\u7D22\u5F15
- Uploader \u6587\u4EF6\u4E0A\u4F20\uFF0C\u4E0A\u4F20\u4E00\u4E2A\u6216\u591A\u4E2A\u6587\u4EF6
- CountDown \u5012\u8BA1\u65F6\uFF0C\u7528\u4E8E\u663E\u793A\u6D3B\u52A8\u5012\u8BA1\u65F6\u3001\u77ED\u4FE1\u9A8C\u8BC1\u7801\u7B49
- DropdownMenu \u4E0B\u62C9\u83DC\u5355\uFF0C\u7528\u4E8E\u5217\u8868\u7684\u5206\u7C7B\u9009\u62E9\u3001\u7B5B\u9009\u53CA\u6392\u5E8F

\u6837\u5F0F\u5B9A\u5236
\u5728 1.0 \u8FED\u4EE3\u8BA1\u5212\u786E\u5B9A\u4E4B\u521D\uFF0C\u6211\u4EEC\u5C31\u4E0D\u65AD\u601D\u8003\u8FD9\u6837\u4E00\u4E2A\u95EE\u9898 -- \u8BE5\u5982\u4F55\u7ED9\u7528\u6237\u63D0\u4F9B\u52A8\u6001\u5207\u6362\u4E3B\u9898\u6837\u5F0F\u7684\u529F\u80FD\u5462\uFF1F
\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u73AF\u5883\u662F\u975E\u5E38\u7279\u6B8A\u7684\u3002\u4E0D\u5177\u6709\u52A8\u6001\u52A0\u8F7D\u4EE3\u7801\u7684\u673A\u5236\uFF0C\u540C\u65F6\u5FAE\u4FE1\u53C8\u9650\u5236\u4E86\u4EE3\u7801\u7684\u4E3B\u5305\u5927\u5C0F\u548C\u603B\u5927\u5C0F\u3002\u4F20\u7EDF\u7684\u57FA\u4E8E\u9884\u8BBE\u7684\u6837\u5F0F\u5B9A\u5236\u8FC7\u4E8E\u81C3\u80BF\uFF0C\u4E0D\u518D\u9002\u5408\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u73AF\u5883\u3002
\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u7684\u7EC4\u4EF6\u6A21\u578B\u76F8\u5F53\u4E8E\u4E00\u4E2A\u7B80\u5316\u7248\u7684 Shadow DOM\uFF0C\u5E78\u8FD0\u7684\u662F\uFF0C\u5C0F\u7A0B\u5E8F\u4E5F\u652F\u6301\u4E86 CSS \u81EA\u5B9A\u4E49\u5C5E\u6027 \u7684\u7279\u6027\u3002\u6700\u7EC8\uFF0C\u6211\u4EEC\u57FA\u4E8E CSS \u81EA\u5B9A\u4E49\u5C5E\u6027\u8BBE\u8BA1\u4E86\u6837\u5F0F\u5B9A\u5236\u7684\u65B9\u6848\uFF0C\u5F00\u53D1\u8005\u4F7F\u7528\u7075\u6D3B\u3001\u65B9\u4FBF\uFF0C\u7EC4\u4EF6\u7EF4\u62A4\u4E5F\u66F4\u7B80\u5355\u3002
\u4ECE 1.0 \u7248\u672C\u5F00\u59CB\uFF0CVant Weapp \u4E2D\u7684\u6240\u6709\u7EC4\u4EF6\u90FD\u652F\u6301\u901A\u8FC7 CSS \u7EC4\u5B9A\u4E49\u5C5E\u6027 \u8FDB\u884C\u6837\u5F0F\u5B9A\u5236\uFF0C\u5177\u4F53\u4F7F\u7528\u59FF\u52BF\u53EF\u67E5\u770B\u76F8\u5173\u6587\u6863

\u4E0D\u517C\u5BB9\u66F4\u65B0
1.0 \u7248\u672C\u4E2D\u5305\u542B\u5C11\u91CF\u4E0D\u517C\u5BB9\u66F4\u65B0\uFF0C\u4E3B\u8981\u662F\u547D\u540D\u8C03\u6574\u548C\u79FB\u9664\u4E2A\u522B\u5C5E\u6027\u3002\u5BF9\u4E8E\u6B63\u5728\u4F7F\u7528 0.x \u7248\u672C\u7684\u9879\u76EE\uFF0C\u8BF7\u6309\u7167\u4E0B\u65B9\u7684\u5217\u8868\u4F9D\u6B21\u68C0\u67E5\uFF0C\u5927\u90E8\u5206\u9879\u76EE\u53EF\u4EE5\u65E0\u75DB\u5347\u7EA7\u3002
Badge
BadgeGroup
\u91CD\u547D\u540D\u4E3ASidebar
Badge
\u91CD\u547D\u540D\u4E3ASlidebarItem
active
\u5C5E\u6027\u91CD\u547D\u540D\u4E3AactiveKey
Notify
text
\u9009\u9879\u91CD\u547D\u540D\u4E3Amessage
backgroundColor
\u9009\u9879\u91CD\u547D\u540D\u4E3Abackground
Popup
- \u53BB\u9664
transitionend
\u4E8B\u4EF6\uFF0C\u65B0\u589E 6 \u4E2A\u4E8B\u4EF6
SwitchCell
- \u79FB\u9664\u4E86
SwitchCell
\u7EC4\u4EF6\uFF0C\u53EF\u4EE5\u4F7F\u7528Cell
\u548CSwitch
\u7EC4\u4EF6\u4EE3\u66FF
Transition
- \u53BB\u9664
transitionend
\u4E8B\u4EF6\uFF0C\u65B0\u589E 6 \u4E2A\u4E8B\u4EF6
\u65B0\u7279\u6027
ActionSheet
- \u65B0\u589E
click-overlay
\u4E8B\u4EF6 - \u65B0\u589E
close-on-click-action
\u5C5E\u6027 - \u65B0\u589E
color
\u5C5E\u6027 - \u65B0\u589E
description
\u5C5E\u6027 - \u65B0\u589E
round
\u5C5E\u6027
Area
- \u65B0\u589E
columns-placeholder
\u5C5E\u6027 reset
\u65B9\u6CD5\u652F\u6301\u4F20\u5165code
\u53C2\u6570
Button
- \u65B0\u589E
loading-type
\u5C5E\u6027 color
\u5C5E\u6027\u652F\u6301\u6E10\u53D8\u8272- \u5207\u6362
disabled
\u65F6\u589E\u52A0\u8FC7\u6E21\u6548\u679C
Checkbox
- \u65B0\u589E
icon-size
\u5C5E\u6027
Color
- \u57FA\u7840\u7EA2\u8272\u66F4\u65B0\u4E3A
#ee0a24
DatetimePicker
- \u65B0\u589E
filter
\u5C5E\u6027
Dialog
- \u4F18\u5316\u6587\u5B57\u6362\u884C
- \u65B0\u589E
title
\u63D2\u69FD - \u65B0\u589E
confirm-button-color
\u5C5E\u6027 - \u65B0\u589E
cancel-button-color
\u5C5E\u6027 - \u65B0\u589E
width
\u5C5E\u6027 - \u65B0\u589E
overlay-style
\u5C5E\u6027
Field
- \u65B0\u589E
clickable
\u5C5E\u6027 - \u65B0\u589E
arrow-direction
\u5C5E\u6027 - \u65B0\u589E
hold-keyboard
\u5C5E\u6027
GoodsActionButton
- \u65B0\u589E
color
\u5C5E\u6027 - \u6837\u5F0F\u5347\u7EA7\u4E3A\u5706\u89D2\u98CE\u683C
GoodsActionIcon
- \u65B0\u589E
icon
\u63D2\u69FD - \u65B0\u589E
dot
\u5C5E\u6027
GridItem
- \u65B0\u589E
info
\u5C5E\u6027 - \u65B0\u589E
dot
\u5C5E\u6027
Icon
- \u65B0\u589E
dot
\u5C5E\u6027 - \u65B0\u589E
down
\u56FE\u6807 - \u65B0\u589E
wap-hone
\u5B9E\u5E95\u98CE\u683C\u56FE\u6807 - \u652F\u6301
number
\u7C7B\u578B\u7684size
\u5C5E\u6027
Loading
- \u652F\u6301
number
\u7C7B\u578B\u7684size
\u5C5E\u6027
NoticeBar
- \u963B\u6B62\u5173\u95ED\u56FE\u6807\u70B9\u51FB\u4E8B\u4EF6\u5192\u6CE1
Notify
- \u65B0\u589E
clear
\u65B9\u6CD5
Popup
- \u65B0\u589E
round
\u5C5E\u6027 - \u65B0\u589E
closeable
\u5C5E\u6027 - \u65B0\u589E
close-icon
\u5C5E\u6027 - \u65B0\u589E
close-icon-position
\u5C5E\u6027
Progress
- \u65B0\u589E
stroke-width
\u5C5E\u6027
Radio
- \u65B0\u589E
icon-size
\u5C5E\u6027
Rate
- \u4F18\u5316\u624B\u52BF\u5224\u65AD
- \u65B0\u589E
gutter
\u5C5E\u6027 - \u65B0\u589E
touchable
\u5C5E\u6027 - \u652F\u6301
string
\u7C7B\u578B\u7684size
\u5C5E\u6027
Search
- \u65B0\u589E
action-text
\u5C5E\u6027 - \u65B0\u589E
left-icon
\u63D2\u69FD - \u65B0\u589E
right-icon
\u63D2\u69FD
SlidebarItem
- \u65B0\u589E
dot
\u5C5E\u6027
Slider
- \u65B0\u589E
drag-start
\u4E8B\u4EF6 - \u65B0\u589E
drag-end
\u4E8B\u4EF6 - \u652F\u6301\u4F20\u5165\u4EFB\u610F\u8303\u56F4\u7684
max
\u548Cmin
\u5C5E\u6027 - \u652F\u6301
number
\u7C7B\u578B\u7684bar-height
\u5C5E\u6027 - \u589E\u52A0\u6ED1\u52A8\u52A8\u753B
- \u589E\u5927\u70B9\u51FB\u533A\u57DF
SwipeCell
- \u65B0\u589E
name
\u5C5E\u6027 - \u65B0\u589E
open
\u4E8B\u4EF6 - \u652F\u6301\u6253\u5F00\u72B6\u6001\u4E92\u65A5
Switch
- \u52A0\u8F7D\u56FE\u6807\u7684\u989C\u8272\u4F1A\u8DDF\u968F\u5F00\u5173\u72B6\u6001\u53D8\u5316
Stepper
- \u652F\u6301\u957F\u6309\u624B\u52BF
- \u65B0\u589E
input-width
\u5C5E\u6027 - \u65B0\u589E
button-size
\u5C5E\u6027 - \u65B0\u589E
decimalLength
\u5C5E\u6027 - \u65B0\u589E disablePlus\u3001disableMinus \u5C5E\u6027
Steps
- \u65B0\u589E
active-icon
\u5C5E\u6027 - \u65B0\u589E
inactive-icon
\u5C5E\u6027
Tabs
- \u4F7F\u7528 Sticky \u7EC4\u4EF6\u91CD\u6784\u5438\u9876\u5B9E\u73B0
- \u65B0\u589E
name
\u5C5E\u6027 - \u65B0\u589E
line-height
\u5C5E\u6027 - \u65B0\u589E
ellipsis
\u5C5E\u6027 - \u65B0\u589E
lazy-render
\u5C5E\u6027 line-width
\u5C5E\u6027\u652F\u6301String
\u7C7B\u578B- \u589E\u52A0\u4E91\u5F00\u53D1\u7ED3\u5408\u793A\u4F8B
TreeSelect
- \u65B0\u589E
max
\u5C5E\u6027 - \u65B0\u589E
content
\u63D2\u69FD
',78),f=[q],y={__name:"changelog",setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",v,f))}},_={class:"van-doc-markdown-body"},x=d(`\u6837\u5F0F\u8986\u76D6
\u4ECB\u7ECD
Vant Weapp \u57FA\u4E8E\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u673A\u5236\uFF0C\u4E3A\u5F00\u53D1\u8005\u63D0\u4F9B\u4E86\u4EE5\u4E0B 3 \u79CD\u4FEE\u6539\u7EC4\u4EF6\u6837\u5F0F\u7684\u65B9\u6CD5
\u89E3\u9664\u6837\u5F0F\u9694\u79BB
\u6837\u5F0F\u9694\u79BB\u7684\u76F8\u5173\u80CC\u666F\u77E5\u8BC6\u8BF7\u67E5\u9605\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u6587\u6863
Vant Weapp \u7684\u6240\u6709\u7EC4\u4EF6\u90FD\u5F00\u542F\u4E86addGlobalClass: true
\u4EE5\u63A5\u53D7\u5916\u90E8\u6837\u5F0F\u7684\u5F71\u54CD\uFF0C\u53EF\u4EE5\u4F7F\u7528\u5982\u4E0B 2 \u79CD\u65B9\u5F0F\u8986\u76D6\u7EC4\u4EF6\u6837\u5F0F
\u5728\u9875\u9762\u4E2D\u4F7F\u7528 Vant Weapp \u7EC4\u4EF6\u65F6\uFF0C\u53EF\u76F4\u63A5\u5728\u9875\u9762\u7684\u6837\u5F0F\u6587\u4EF6\u4E2D\u8986\u76D6\u6837\u5F0F
<van-button type="primary">\u4E3B\u8981\u6309\u94AE</van-button>
/* page.wxss */
.van-button--primary {
font-size: 20px;
@@ -3452,4 +3452,4 @@ page {
filePath: chooseResult.url
});
}
-
API
Props
\u53C2\u6570 \u8BF4\u660E \u7C7B\u578B \u9ED8\u8BA4\u503C name \u6807\u8BC6\u7B26\uFF0C\u53EF\u4EE5\u5728\u56DE\u8C03\u51FD\u6570\u7684\u7B2C\u4E8C\u9879\u53C2\u6570\u4E2D\u83B7\u53D6 string | number - accept \u63A5\u53D7\u7684\u6587\u4EF6\u7C7B\u578B, \u53EF\u9009\u503C\u4E3Aall
media
image
file
video
string image
sizeType \u6240\u9009\u7684\u56FE\u7247\u7684\u5C3A\u5BF8, \u5F53accept
\u4E3Aimage
| media
\u7C7B\u578B\u65F6\u8BBE\u7F6E\u6240\u9009\u56FE\u7247\u7684\u5C3A\u5BF8\u53EF\u9009\u503C\u4E3Aoriginal
compressed
string[] ['original','compressed']
preview-size \u9884\u89C8\u56FE\u548C\u4E0A\u4F20\u533A\u57DF\u7684\u5C3A\u5BF8\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3Apx
string | number 80px
preview-image \u662F\u5426\u5728\u4E0A\u4F20\u5B8C\u6210\u540E\u5C55\u793A\u9884\u89C8\u56FE boolean true
preview-full-image \u662F\u5426\u5728\u70B9\u51FB\u9884\u89C8\u56FE\u540E\u5C55\u793A\u5168\u5C4F\u56FE\u7247\u9884\u89C8 boolean true
multiple \u662F\u5426\u5F00\u542F\u56FE\u7247\u591A\u9009\uFF0C\u90E8\u5206\u5B89\u5353\u673A\u578B\u4E0D\u652F\u6301 boolean false
disabled \u662F\u5426\u7981\u7528\u6587\u4EF6\u4E0A\u4F20 boolean false
show-upload \u662F\u5426\u5C55\u793A\u6587\u4EF6\u4E0A\u4F20\u6309\u94AE boolean true
deletable \u662F\u5426\u5C55\u793A\u5220\u9664\u6309\u94AE boolean true
capture \u56FE\u7247\u6216\u8005\u89C6\u9891\u9009\u53D6\u6A21\u5F0F\uFF0C\u5F53accept
\u4E3Aimage
| media
\u7C7B\u578B\u65F6\u8BBE\u7F6Ecapture
\u53EF\u9009\u503C\u4E3Acamera
\u53EF\u4EE5\u76F4\u63A5\u8C03\u8D77\u6444\u50CF\u5934 string[] ['album', 'camera']
max-size \u6587\u4EF6\u5927\u5C0F\u9650\u5236\uFF0C\u5355\u4F4D\u4E3Abyte
number - max-count \u6587\u4EF6\u4E0A\u4F20\u6570\u91CF\u9650\u5236 number - upload-text \u4E0A\u4F20\u533A\u57DF\u6587\u5B57\u63D0\u793A string - video-fit 1.10.21
video \u5C01\u9762\u7684\u9884\u89C8\u56FE\u6A21\u5F0F\uFF0C\u53EF\u9009\u503C\u53C2\u8003\u5C0F\u7A0B\u5E8Fvideo
\u7EC4\u4EF6\u7684object-fit
\u5C5E\u6027 string contain
image-fit \u9884\u89C8\u56FE\u88C1\u526A\u6A21\u5F0F\uFF0C\u53EF\u9009\u503C\u53C2\u8003\u5C0F\u7A0B\u5E8Fimage
\u7EC4\u4EF6\u7684mode
\u5C5E\u6027 string scaleToFill
use-before-read \u662F\u5426\u5F00\u542F\u6587\u4EF6\u8BFB\u53D6\u524D\u4E8B\u4EF6 boolean - camera \u5F53 accept \u4E3A video
| media
\u65F6\u751F\u6548\uFF0C\u53EF\u9009\u503C\u4E3A back
front
string - compressed \u5F53 accept \u4E3A video
\u65F6\u751F\u6548\uFF0C\u662F\u5426\u538B\u7F29\u89C6\u9891\uFF0C\u9ED8\u8BA4\u4E3Atrue
boolean - max-duration \u5F53 accept \u4E3A video
| media
\u65F6\u751F\u6548\uFF0C\u62CD\u6444\u89C6\u9891\u6700\u957F\u62CD\u6444\u65F6\u95F4\uFF0C\u5355\u4F4D\u79D2 number 60
media-type v1.10.8
\u5F53 accept \u4E3A media
\u65F6\u751F\u6548\uFF0C\u9009\u62E9\u7684\u6587\u4EF6\u7684\u6587\u4EF6\u7C7B\u578B\uFF0C\u53EF\u9009\u503C\u4E3A image
video
string[] ['image', 'video']
extension v1.10.11
\u5F53 accept \u4E3A file
\u65F6\u751F\u6548\uFF0C\u6839\u636E\u6587\u4EF6\u62D3\u5C55\u540D\u8FC7\u6EE4\u53EF\u9009\u62E9\u6587\u4EF6\u3002\u6BCF\u4E00\u9879\u90FD\u4E0D\u80FD\u662F\u7A7A\u5B57\u7B26\u4E32\u3002\u9ED8\u8BA4\u4E0D\u8FC7\u6EE4 string[] | undefined - showmenu v1.10.13
\u9884\u89C8\u56FE\u7247\u65F6\uFF0C\u662F\u5426\u663E\u793A\u957F\u6309\u83DC\u5355 boolean true
upload-icon \u4E0A\u4F20\u533A\u57DF\u56FE\u6807\uFF0C\u53EF\u9009\u503C\u89C1 Icon \u7EC4\u4EF6 string plus
accept \u7684\u5408\u6CD5\u503C
\u53C2\u6570 \u8BF4\u660E media
\u56FE\u7247\u548C\u89C6\u9891 image
\u56FE\u7247 video
\u89C6\u9891 file
\u4ECE\u5BA2\u6237\u7AEF\u4F1A\u8BDD\u9009\u62E9\u56FE\u7247\u548C\u89C6\u9891\u4EE5\u5916\u7684\u6587\u4EF6 all
\u4ECE\u5BA2\u6237\u7AEF\u4F1A\u8BDD\u9009\u62E9\u6240\u6709\u6587\u4EF6
FileList
file-list
\u4E3A\u4E00\u4E2A\u5BF9\u8C61\u6570\u7EC4\uFF0C\u6570\u7EC4\u4E2D\u7684\u6BCF\u4E00\u4E2A\u5BF9\u8C61\u5305\u542B\u4EE5\u4E0B key
\u3002
\u53C2\u6570 \u8BF4\u660E url
\u56FE\u7247\u548C\u89C6\u9891\u7684\u7F51\u7EDC\u8D44\u6E90\u5730\u5740 name
\u6587\u4EF6\u540D\u79F0\uFF0C\u89C6\u9891\u5C06\u5728\u5168\u5C4F\u9884\u89C8\u65F6\u4F5C\u4E3A\u6807\u9898\u663E\u793A thumb
\u56FE\u7247\u7F29\u7565\u56FE\u6216\u89C6\u9891\u5C01\u9762\u7684\u7F51\u7EDC\u8D44\u6E90\u5730\u5740\uFF0C\u4EC5\u5BF9\u56FE\u7247\u548C\u89C6\u9891\u6709\u6548\uFF0Caccept
\u4E3A video
\u65F6\uFF0C\u771F\u673A\u4E0D\u4F1A\u8FD4\u56DE\u8BE5\u5C5E\u6027\uFF0C\u5EFA\u8BAE\u4F7F\u7528 media
\u548C media-type
\u914D\u5408\u5B8C\u6210\u89C6\u9891\u4E0A\u4F20 type
\u6587\u4EF6\u7C7B\u578B\uFF0C\u53EF\u9009\u503Cimage
video
file
isImage
\u624B\u52A8\u6807\u8BB0\u56FE\u7247\u8D44\u6E90 isVideo
\u624B\u52A8\u6807\u8BB0\u89C6\u9891\u8D44\u6E90
Slot
\u540D\u79F0 \u8BF4\u660E - \u81EA\u5B9A\u4E49\u4E0A\u4F20\u533A\u57DF
Events
\u4E8B\u4EF6\u540D \u8BF4\u660E \u56DE\u8C03\u53C2\u6570 bind:before-read \u6587\u4EF6\u8BFB\u53D6\u524D\uFF0C\u5728\u56DE\u8C03\u51FD\u6570\u4E2D\u8FD4\u56DE false
\u53EF\u7EC8\u6B62\u6587\u4EF6\u8BFB\u53D6\uFF0C\u7ED1\u5B9A\u4E8B\u4EF6\u7684\u540C\u65F6\u9700\u8981\u5C06use-before-read
\u5C5E\u6027\u8BBE\u7F6E\u4E3Atrue
event.detail.file
: \u5F53\u524D\u8BFB\u53D6\u7684\u6587\u4EF6\uFF0Cevent.detail.callback
: \u56DE\u8C03\u51FD\u6570\uFF0C\u8C03\u7528callback(false)
\u7EC8\u6B62\u6587\u4EF6\u8BFB\u53D6bind:after-read \u6587\u4EF6\u8BFB\u53D6\u5B8C\u6210\u540E event.detail.file
: \u5F53\u524D\u8BFB\u53D6\u7684\u6587\u4EF6bind:oversize \u6587\u4EF6\u8D85\u51FA\u5927\u5C0F\u9650\u5236 - bind:click-preview \u70B9\u51FB\u9884\u89C8\u56FE\u7247 event.detail.index
: \u70B9\u51FB\u56FE\u7247\u7684\u5E8F\u53F7\u503Cbind:delete \u5220\u9664\u56FE\u7247 event.detail.index
: \u5220\u9664\u56FE\u7247\u7684\u5E8F\u53F7\u503C
`,18),Bn=[Fn],Rn={__name:"README",setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",En,Bn))}},h={name:"vant-weapp",build:{srcDir:"packages",site:{publicPath:"/vant-weapp/"}},site:{versions:[{label:"0.x",link:"/vant-weapp/0.x"}],title:"Vant Weapp",description:"\u8F7B\u91CF\u3001\u53EF\u9760\u7684\u5C0F\u7A0B\u5E8F UI \u7EC4\u4EF6\u5E93",logo:"https://img.yzcdn.cn/vant/logo.png",simulator:{url:"https://vant-contrib.gitee.io/vant/v2/mobile.html?weapp=1",routeMapper:a=>`/zh-CN${{"/common":"/style","/transition":"/style"}[a]||a}`,syncPathFromSimulator:!1},links:[{logo:"https://img.yzcdn.cn/vant/vant-o.svg",url:"https://vant-contrib.gitee.io/vant/"},{logo:"https://b.yzcdn.cn/vant/logo/github.svg",url:"https://github.com/youzan/vant-weapp"}],baiduAnalytics:{seed:"af5d41bc4e446e76665dbe3ec18d55c3"},nav:[{title:"\u5F00\u53D1\u6307\u5357",items:[{path:"home",title:"\u4ECB\u7ECD"},{path:"quickstart",title:"\u5FEB\u901F\u4E0A\u624B"},{path:"changelog",title:"\u66F4\u65B0\u65E5\u5FD7"},{path:"custom-style",title:"\u6837\u5F0F\u8986\u76D6"},{path:"theme",title:"\u5B9A\u5236\u4E3B\u9898"}]},{title:"\u57FA\u7840\u7EC4\u4EF6",items:[{path:"button",title:"Button \u6309\u94AE"},{path:"cell",title:"Cell \u5355\u5143\u683C"},{path:"config-provider",title:"ConfigProvider \u5168\u5C40\u914D\u7F6E"},{path:"icon",title:"Icon \u56FE\u6807"},{path:"image",title:"Image \u56FE\u7247"},{path:"col",title:"Layout \u5E03\u5C40"},{path:"popup",title:"Popup \u5F39\u51FA\u5C42"},{path:"common",title:"Style \u5185\u7F6E\u6837\u5F0F"},{path:"toast",title:"Toast \u8F7B\u63D0\u793A"},{path:"transition",title:"transition \u52A8\u753B"}]},{title:"\u8868\u5355\u7EC4\u4EF6",items:[{path:"calendar",title:"Calendar \u65E5\u5386"},{path:"cascader",title:"Cascader \u7EA7\u8054\u9009\u62E9"},{path:"checkbox",title:"Checkbox \u590D\u9009\u6846"},{path:"datetime-picker",title:"DatetimePicker \u65F6\u95F4\u9009\u62E9"},{path:"field",title:"Field \u8F93\u5165\u6846"},{path:"picker",title:"Picker \u9009\u62E9\u5668"},{path:"radio",title:"Radio \u5355\u9009\u6846"},{path:"rate",title:"Rate \u8BC4\u5206"},{path:"search",title:"Search \u641C\u7D22"},{path:"slider",title:"Slider \u6ED1\u5757"},{path:"stepper",title:"Stepper \u6B65\u8FDB\u5668"},{path:"switch",title:"Switch \u5F00\u5173"},{path:"uploader",title:"Uploader \u6587\u4EF6\u4E0A\u4F20"}]},{title:"\u53CD\u9988\u7EC4\u4EF6",items:[{path:"action-sheet",title:"ActionSheet \u52A8\u4F5C\u9762\u677F"},{path:"dialog",title:"Dialog \u5F39\u51FA\u6846"},{path:"dropdown-menu",title:"DropdownMenu \u4E0B\u62C9\u83DC\u5355"},{path:"loading",title:"Loading \u52A0\u8F7D"},{path:"notify",title:"Notify \u6D88\u606F\u901A\u77E5"},{path:"overlay",title:"Overlay \u906E\u7F69\u5C42"},{path:"share-sheet",title:"ShareSheet \u5206\u4EAB\u9762\u677F"},{path:"swipe-cell",title:"SwipeCell \u6ED1\u52A8\u5355\u5143\u683C"}]},{title:"\u5C55\u793A\u7EC4\u4EF6",items:[{path:"circle",title:"Circle \u73AF\u5F62\u8FDB\u5EA6\u6761"},{path:"collapse",title:"Collapse \u6298\u53E0\u9762\u677F"},{path:"count-down",title:"CountDown \u5012\u8BA1\u65F6"},{path:"divider",title:"Divider \u5206\u5272\u7EBF"},{path:"empty",title:"Empty \u7A7A\u72B6\u6001"},{path:"notice-bar",title:"NoticeBar \u901A\u77E5\u680F"},{path:"progress",title:"Progress \u8FDB\u5EA6\u6761"},{path:"skeleton",title:"Skeleton \u9AA8\u67B6\u5C4F"},{path:"steps",title:"Steps \u6B65\u9AA4\u6761"},{path:"sticky",title:"Sticky \u7C98\u6027\u5E03\u5C40"},{path:"tag",title:"Tag \u6807\u7B7E"}]},{title:"\u5BFC\u822A\u7EC4\u4EF6",items:[{path:"grid",title:"Grid \u5BAB\u683C"},{path:"index-bar",title:"IndexBar \u7D22\u5F15\u680F"},{path:"nav-bar",title:"NavBar \u5BFC\u822A\u680F"},{path:"sidebar",title:"Sidebar \u4FA7\u8FB9\u5BFC\u822A"},{path:"tab",title:"Tab \u6807\u7B7E\u9875"},{path:"tabbar",title:"Tabbar \u6807\u7B7E\u680F"},{path:"tree-select",title:"TreeSelect \u5206\u7C7B\u9009\u62E9"}]},{title:"\u4E1A\u52A1\u7EC4\u4EF6",items:[{path:"area",title:"Area \u7701\u5E02\u533A\u9009\u62E9"},{path:"card",title:"Card \u5546\u54C1\u5361\u7247"},{path:"submit-bar",title:"SubmitBar \u63D0\u4EA4\u8BA2\u5355\u680F"},{path:"goods-action",title:"GoodsAction \u5546\u54C1\u5BFC\u822A"}]},{title:"\u5E9F\u5F03",items:[{path:"panel",title:"Panel \u9762\u677F"}]}]}},On={Changelog:y,CustomStyle:k,Home:S,Quickstart:T,Theme:B,ActionSheet:L,Area:G,Button:Q,Calendar:Y,Card:ns,Cascader:ds,Cell:is,Checkbox:js,Circle:qs,Col:xs,Collapse:Cs,Common:Is,ConfigProvider:Es,CountDown:Ns,DatetimePicker:Us,Dialog:Hs,Divider:Xs,DropdownMenu:aa,Empty:ea,Field:oa,GoodsAction:ua,Grid:ba,Icon:ya,Image:ka,IndexBar:Sa,Loading:Ta,NavBar:Ba,NoticeBar:La,Notify:Ga,Overlay:Qa,Panel:Ya,Picker:nt,Popup:dt,Progress:it,Radio:jt,Rate:qt,Search:xt,ShareSheet:Ct,Sidebar:It,Skeleton:Et,Slider:Nt,Stepper:Ut,Steps:Ht,Sticky:Xt,SubmitBar:an,SwipeCell:en,Switch:on,Tab:gn,Tabbar:vn,Tag:_n,Toast:zn,Transition:Dn,TreeSelect:An,Uploader:Rn},Gn="1.11.0",Nn=navigator.userAgent.toLowerCase(),Wn=/ios|iphone|ipod|ipad|android/.test(Nn);function Hn(a,s="-"){return a.replace(/([a-z\d])([A-Z])/g,"$1"+s+"$2").replace(/([A-Z])([A-Z][a-z\d]+)/g,"$1"+s+"$2").toLowerCase()}function Kn(a){const s=document.createElement("textarea");s.value=a,s.setAttribute("readonly",""),s.style.position="absolute",s.style.left="-9999px",document.body.appendChild(s);const n=document.getSelection();if(!n)return;const l=n.rangeCount>0?n.getRangeAt(0):!1;s.select(),document.execCommand("copy"),document.body.removeChild(s),l&&(n.removeAllRanges(),n.addRange(l))}const u="zh-CN",Mn="en-US",g="vant-cli-lang";let o=u;function Qn(){return o}function Jn(a){o=a,localStorage.setItem(g,a)}function Xn(a){const s=localStorage.getItem(g);if(s){o=s;return}if(navigator.language&&navigator.language.indexOf("zh-")!==-1){o=u;return}o=a||Mn}let i=[],j=!1;function Ln(a){j?a():i.push(a)}window.top===window?window.addEventListener("message",a=>{a.data.type==="iframeReady"&&(j=!0,i.forEach(s=>s()),i=[])}):window.top.postMessage({type:"iframeReady"},"*");function m(){var n,l;const a=window.vueRouter,{path:s}=a.currentRoute.value;return(n=h.site.simulator)!=null&&n.routeMapper?(l=h.site.simulator)==null?void 0:l.routeMapper(s):s}function Zn(){window.top.postMessage({type:"replacePath",value:m()},"*")}function Yn(){const a=document.querySelector("iframe");a&&Ln(()=>{a.contentWindow.postMessage({type:"replacePath",value:m()},"*")})}function sl(a){window.addEventListener("message",s=>{var l,t;if(((l=s.data)==null?void 0:l.type)!=="replacePath")return;const n=((t=s.data)==null?void 0:t.value)||"";a.currentRoute.value.path!==n&&a.replace(n).catch(()=>{})})}export{Un as _,h as a,Xn as b,Kn as c,On as d,Yn as e,Hn as f,Qn as g,Zn as h,Wn as i,sl as l,Gn as p,Jn as s};
+
\u53C2\u6570 | \u8BF4\u660E | \u7C7B\u578B | \u9ED8\u8BA4\u503C |
---|---|---|---|
name | \u6807\u8BC6\u7B26\uFF0C\u53EF\u4EE5\u5728\u56DE\u8C03\u51FD\u6570\u7684\u7B2C\u4E8C\u9879\u53C2\u6570\u4E2D\u83B7\u53D6 | string | number | - |
accept | \u63A5\u53D7\u7684\u6587\u4EF6\u7C7B\u578B, \u53EF\u9009\u503C\u4E3Aall media image file video | string | image |
sizeType | \u6240\u9009\u7684\u56FE\u7247\u7684\u5C3A\u5BF8, \u5F53accept \u4E3Aimage | media \u7C7B\u578B\u65F6\u8BBE\u7F6E\u6240\u9009\u56FE\u7247\u7684\u5C3A\u5BF8\u53EF\u9009\u503C\u4E3Aoriginal compressed | string[] | ['original','compressed'] |
preview-size | \u9884\u89C8\u56FE\u548C\u4E0A\u4F20\u533A\u57DF\u7684\u5C3A\u5BF8\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3Apx | string | number | 80px |
preview-image | \u662F\u5426\u5728\u4E0A\u4F20\u5B8C\u6210\u540E\u5C55\u793A\u9884\u89C8\u56FE | boolean | true |
preview-full-image | \u662F\u5426\u5728\u70B9\u51FB\u9884\u89C8\u56FE\u540E\u5C55\u793A\u5168\u5C4F\u56FE\u7247\u9884\u89C8 | boolean | true |
multiple | \u662F\u5426\u5F00\u542F\u56FE\u7247\u591A\u9009\uFF0C\u90E8\u5206\u5B89\u5353\u673A\u578B\u4E0D\u652F\u6301 | boolean | false |
disabled | \u662F\u5426\u7981\u7528\u6587\u4EF6\u4E0A\u4F20 | boolean | false |
show-upload | \u662F\u5426\u5C55\u793A\u6587\u4EF6\u4E0A\u4F20\u6309\u94AE | boolean | true |
deletable | \u662F\u5426\u5C55\u793A\u5220\u9664\u6309\u94AE | boolean | true |
capture | \u56FE\u7247\u6216\u8005\u89C6\u9891\u9009\u53D6\u6A21\u5F0F\uFF0C\u5F53accept \u4E3Aimage | media \u7C7B\u578B\u65F6\u8BBE\u7F6Ecapture \u53EF\u9009\u503C\u4E3Acamera \u53EF\u4EE5\u76F4\u63A5\u8C03\u8D77\u6444\u50CF\u5934 | string[] | ['album', 'camera'] |
max-size | \u6587\u4EF6\u5927\u5C0F\u9650\u5236\uFF0C\u5355\u4F4D\u4E3Abyte | number | - |
max-count | \u6587\u4EF6\u4E0A\u4F20\u6570\u91CF\u9650\u5236 | number | - |
upload-text | \u4E0A\u4F20\u533A\u57DF\u6587\u5B57\u63D0\u793A | string | - |
video-fit 1.10.21 | video \u5C01\u9762\u7684\u9884\u89C8\u56FE\u6A21\u5F0F\uFF0C\u53EF\u9009\u503C\u53C2\u8003\u5C0F\u7A0B\u5E8Fvideo \u7EC4\u4EF6\u7684object-fit \u5C5E\u6027 | string | contain |
image-fit | \u9884\u89C8\u56FE\u88C1\u526A\u6A21\u5F0F\uFF0C\u53EF\u9009\u503C\u53C2\u8003\u5C0F\u7A0B\u5E8Fimage \u7EC4\u4EF6\u7684mode \u5C5E\u6027 | string | scaleToFill |
use-before-read | \u662F\u5426\u5F00\u542F\u6587\u4EF6\u8BFB\u53D6\u524D\u4E8B\u4EF6 | boolean | - |
camera | \u5F53 accept \u4E3A video | media \u65F6\u751F\u6548\uFF0C\u53EF\u9009\u503C\u4E3A back front | string | - |
compressed | \u5F53 accept \u4E3A video \u65F6\u751F\u6548\uFF0C\u662F\u5426\u538B\u7F29\u89C6\u9891\uFF0C\u9ED8\u8BA4\u4E3Atrue | boolean | - |
max-duration | \u5F53 accept \u4E3A video | media \u65F6\u751F\u6548\uFF0C\u62CD\u6444\u89C6\u9891\u6700\u957F\u62CD\u6444\u65F6\u95F4\uFF0C\u5355\u4F4D\u79D2 | number | 60 |
media-type v1.10.8 | \u5F53 accept \u4E3A media \u65F6\u751F\u6548\uFF0C\u9009\u62E9\u7684\u6587\u4EF6\u7684\u6587\u4EF6\u7C7B\u578B\uFF0C\u53EF\u9009\u503C\u4E3A image video | string[] | ['image', 'video'] |
extension v1.10.11 | \u5F53 accept \u4E3A file \u65F6\u751F\u6548\uFF0C\u6839\u636E\u6587\u4EF6\u62D3\u5C55\u540D\u8FC7\u6EE4\u53EF\u9009\u62E9\u6587\u4EF6\u3002\u6BCF\u4E00\u9879\u90FD\u4E0D\u80FD\u662F\u7A7A\u5B57\u7B26\u4E32\u3002\u9ED8\u8BA4\u4E0D\u8FC7\u6EE4 | string[] | undefined | - |
showmenu v1.10.13 | \u9884\u89C8\u56FE\u7247\u65F6\uFF0C\u662F\u5426\u663E\u793A\u957F\u6309\u83DC\u5355 | boolean | true |
upload-icon | \u4E0A\u4F20\u533A\u57DF\u56FE\u6807\uFF0C\u53EF\u9009\u503C\u89C1 Icon \u7EC4\u4EF6 | string | plus |
\u53C2\u6570 | \u8BF4\u660E |
---|---|
media | \u56FE\u7247\u548C\u89C6\u9891 |
image | \u56FE\u7247 |
video | \u89C6\u9891 |
file | \u4ECE\u5BA2\u6237\u7AEF\u4F1A\u8BDD\u9009\u62E9\u56FE\u7247\u548C\u89C6\u9891\u4EE5\u5916\u7684\u6587\u4EF6 |
all | \u4ECE\u5BA2\u6237\u7AEF\u4F1A\u8BDD\u9009\u62E9\u6240\u6709\u6587\u4EF6 |
file-list
\u4E3A\u4E00\u4E2A\u5BF9\u8C61\u6570\u7EC4\uFF0C\u6570\u7EC4\u4E2D\u7684\u6BCF\u4E00\u4E2A\u5BF9\u8C61\u5305\u542B\u4EE5\u4E0B key
\u3002
\u53C2\u6570 | \u8BF4\u660E |
---|---|
url | \u56FE\u7247\u548C\u89C6\u9891\u7684\u7F51\u7EDC\u8D44\u6E90\u5730\u5740 |
name | \u6587\u4EF6\u540D\u79F0\uFF0C\u89C6\u9891\u5C06\u5728\u5168\u5C4F\u9884\u89C8\u65F6\u4F5C\u4E3A\u6807\u9898\u663E\u793A |
thumb | \u56FE\u7247\u7F29\u7565\u56FE\u6216\u89C6\u9891\u5C01\u9762\u7684\u7F51\u7EDC\u8D44\u6E90\u5730\u5740\uFF0C\u4EC5\u5BF9\u56FE\u7247\u548C\u89C6\u9891\u6709\u6548\uFF0Caccept \u4E3A video \u65F6\uFF0C\u771F\u673A\u4E0D\u4F1A\u8FD4\u56DE\u8BE5\u5C5E\u6027\uFF0C\u5EFA\u8BAE\u4F7F\u7528 media \u548C media-type \u914D\u5408\u5B8C\u6210\u89C6\u9891\u4E0A\u4F20 |
type | \u6587\u4EF6\u7C7B\u578B\uFF0C\u53EF\u9009\u503Cimage video file |
isImage | \u624B\u52A8\u6807\u8BB0\u56FE\u7247\u8D44\u6E90 |
isVideo | \u624B\u52A8\u6807\u8BB0\u89C6\u9891\u8D44\u6E90 |
\u540D\u79F0 | \u8BF4\u660E |
---|---|
- | \u81EA\u5B9A\u4E49\u4E0A\u4F20\u533A\u57DF |
\u4E8B\u4EF6\u540D | \u8BF4\u660E | \u56DE\u8C03\u53C2\u6570 |
---|---|---|
bind:before-read | \u6587\u4EF6\u8BFB\u53D6\u524D\uFF0C\u5728\u56DE\u8C03\u51FD\u6570\u4E2D\u8FD4\u56DE false \u53EF\u7EC8\u6B62\u6587\u4EF6\u8BFB\u53D6\uFF0C\u7ED1\u5B9A\u4E8B\u4EF6\u7684\u540C\u65F6\u9700\u8981\u5C06use-before-read \u5C5E\u6027\u8BBE\u7F6E\u4E3Atrue | event.detail.file : \u5F53\u524D\u8BFB\u53D6\u7684\u6587\u4EF6\uFF0Cevent.detail.callback : \u56DE\u8C03\u51FD\u6570\uFF0C\u8C03\u7528callback(false) \u7EC8\u6B62\u6587\u4EF6\u8BFB\u53D6 |
bind:after-read | \u6587\u4EF6\u8BFB\u53D6\u5B8C\u6210\u540E | event.detail.file : \u5F53\u524D\u8BFB\u53D6\u7684\u6587\u4EF6 |
bind:oversize | \u6587\u4EF6\u8D85\u51FA\u5927\u5C0F\u9650\u5236 | - |
bind:click-preview | \u70B9\u51FB\u9884\u89C8\u56FE\u7247 | event.detail.index : \u70B9\u51FB\u56FE\u7247\u7684\u5E8F\u53F7\u503C |
bind:delete | \u5220\u9664\u56FE\u7247 | event.detail.index : \u5220\u9664\u56FE\u7247\u7684\u5E8F\u53F7\u503C |