diff --git a/assets/iframe-router.998220fa.js b/assets/iframe-router.6dc91361.js similarity index 98% rename from assets/iframe-router.998220fa.js rename to assets/iframe-router.6dc91361.js index bcae1cff..74ee336a 100644 --- a/assets/iframe-router.998220fa.js +++ b/assets/iframe-router.6dc91361.js @@ -3452,4 +3452,4 @@ page { filePath: chooseResult.url }); } -
\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 |
\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 mix | string[] | ['image', 'video', 'mix'] |
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 |