2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/upload/demo/avatar.md correctly 1`] = `
|
2019-07-22 19:21:53 +08:00
|
|
|
<span
|
|
|
|
class="avatar-uploader ant-upload-picture-card-wrapper"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-07-22 19:21:53 +08:00
|
|
|
<div
|
|
|
|
class="ant-upload ant-upload-select ant-upload-select-picture-card"
|
|
|
|
/>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/upload/demo/basic.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2016-11-24 17:26:32 +08:00
|
|
|
class="ant-upload ant-upload-select ant-upload-select-text"
|
2017-03-17 18:56:30 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-upload-list ant-upload-list-text"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/upload/demo/defaultFileList.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2016-11-24 17:26:32 +08:00
|
|
|
class="ant-upload ant-upload-select ant-upload-select-text"
|
2017-03-17 18:56:30 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-upload-list ant-upload-list-text"
|
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
|
|
|
<span>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-text"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<span>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="paper-clip"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-paper-clip"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="paper-clip"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-2"
|
|
|
|
href="http://www.baidu.com/xxx.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="xxx.png"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
xxx.png
|
|
|
|
</a>
|
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-card-actions "
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
title="Download file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-download"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Download file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
title="Remove file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
</span>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
|
|
|
<span>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-text"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<span>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="paper-clip"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-paper-clip"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="paper-clip"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-2"
|
|
|
|
href="http://www.baidu.com/yyy.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="yyy.png"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
yyy.png
|
|
|
|
</a>
|
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-card-actions "
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
title="Download file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-download"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Download file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
title="Remove file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
</span>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2019-11-12 21:45:32 +08:00
|
|
|
class="ant-upload-list-item ant-upload-list-item-error ant-upload-list-item-list-type-text"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<span>
|
2019-10-16 10:44:56 +08:00
|
|
|
<span
|
2019-11-13 11:48:20 +08:00
|
|
|
aria-label="paper-clip"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-paper-clip"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
2019-11-12 21:45:32 +08:00
|
|
|
data-icon="paper-clip"
|
2019-09-11 21:46:56 +08:00
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"
|
2019-09-11 21:46:56 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-1"
|
|
|
|
href="http://www.baidu.com/zzz.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="zzz.png"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
zzz.png
|
|
|
|
</a>
|
2019-10-16 10:44:56 +08:00
|
|
|
<span
|
2019-11-12 21:45:32 +08:00
|
|
|
class="ant-upload-list-item-card-actions "
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<a
|
|
|
|
title="Remove file"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-02-19 01:39:41 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2018-06-12 16:03:54 +08:00
|
|
|
exports[`renders ./components/upload/demo/directory.md correctly 1`] = `
|
|
|
|
<span
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-upload ant-upload-select ant-upload-select-text"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list ant-upload-list-text"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/upload/demo/drag.md correctly 1`] = `
|
2017-10-17 14:43:52 +08:00
|
|
|
<span
|
|
|
|
class=""
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-10-17 14:43:52 +08:00
|
|
|
<div
|
|
|
|
class="ant-upload ant-upload-drag"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list ant-upload-list-text"
|
|
|
|
/>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/upload/demo/fileList.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2016-11-24 17:26:32 +08:00
|
|
|
class="ant-upload ant-upload-select ant-upload-select-text"
|
2017-03-17 18:56:30 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-upload-list ant-upload-list-text"
|
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
|
|
|
<span>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-text"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<span>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="paper-clip"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-paper-clip"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="paper-clip"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-2"
|
|
|
|
href="http://www.baidu.com/xxx.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="xxx.png"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
xxx.png
|
|
|
|
</a>
|
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-card-actions "
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
title="Download file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-download"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Download file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
title="Remove file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
</span>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/upload/demo/picture-card.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="clearfix"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2019-07-22 19:21:53 +08:00
|
|
|
class="ant-upload-picture-card-wrapper"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-upload-list ant-upload-list-picture-card"
|
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
|
|
|
<span>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card"
|
2019-07-22 19:21:53 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
2019-07-22 19:21:53 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<span>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-thumbnail"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
alt="image.png"
|
|
|
|
class="ant-upload-list-item-image"
|
|
|
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-2"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="image.png"
|
|
|
|
>
|
|
|
|
image.png
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-actions"
|
2019-07-22 19:21:53 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<a
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="Preview file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="eye"
|
|
|
|
class="anticon anticon-eye"
|
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="eye"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-download"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Download file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-07-22 19:21:53 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
|
|
|
<span>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
2018-08-24 18:36:08 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<span>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-thumbnail"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
alt="image.png"
|
|
|
|
class="ant-upload-list-item-image"
|
|
|
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-2"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="image.png"
|
|
|
|
>
|
|
|
|
image.png
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-actions"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<a
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="Preview file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="eye"
|
|
|
|
class="anticon anticon-eye"
|
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="eye"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
2019-10-16 10:44:56 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-09-11 21:46:56 +08:00
|
|
|
class="anticon anticon-download"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Download file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-10-16 10:44:56 +08:00
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
2019-09-11 21:46:56 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-09-11 21:46:56 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
|
|
|
<span>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-thumbnail"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
alt="image.png"
|
|
|
|
class="ant-upload-list-item-image"
|
|
|
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-2"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="image.png"
|
|
|
|
>
|
|
|
|
image.png
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-actions"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<a
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="Preview file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="eye"
|
|
|
|
class="anticon anticon-eye"
|
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="eye"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
2019-10-16 10:44:56 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-09-11 21:46:56 +08:00
|
|
|
class="anticon anticon-download"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Download file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-10-16 10:44:56 +08:00
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
2019-09-11 21:46:56 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-09-11 21:46:56 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
|
|
|
<span>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-thumbnail"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
alt="image.png"
|
|
|
|
class="ant-upload-list-item-image"
|
|
|
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-2"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="image.png"
|
|
|
|
>
|
|
|
|
image.png
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-actions"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<a
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="Preview file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="eye"
|
|
|
|
class="anticon anticon-eye"
|
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="eye"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
2019-10-16 10:44:56 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-09-11 21:46:56 +08:00
|
|
|
class="anticon anticon-download"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Download file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-10-16 10:44:56 +08:00
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
2019-09-11 21:46:56 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-09-11 21:46:56 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2019-11-12 21:45:32 +08:00
|
|
|
class="ant-upload-list-item ant-upload-list-item-error ant-upload-list-item-list-type-picture-card"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<span>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="picture"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-picture ant-upload-list-item-thumbnail"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="picture"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z"
|
|
|
|
fill="#1890ff"
|
|
|
|
/>
|
|
|
|
<path
|
|
|
|
d="M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z"
|
|
|
|
fill="#e6f7ff"
|
|
|
|
/>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z"
|
2019-11-12 21:45:32 +08:00
|
|
|
fill="#e6f7ff"
|
|
|
|
/>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M276 368a28 28 0 1056 0 28 28 0 10-56 0z"
|
2019-11-12 21:45:32 +08:00
|
|
|
fill="#e6f7ff"
|
|
|
|
/>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"
|
2019-11-12 21:45:32 +08:00
|
|
|
fill="#1890ff"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-1"
|
|
|
|
title="image.png"
|
|
|
|
>
|
|
|
|
image.png
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-09-11 21:46:56 +08:00
|
|
|
<span
|
2019-11-12 21:45:32 +08:00
|
|
|
class="ant-upload-list-item-actions"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
|
|
|
<a
|
2019-11-12 21:45:32 +08:00
|
|
|
rel="noopener noreferrer"
|
|
|
|
style="pointer-events:none;opacity:0.5"
|
|
|
|
target="_blank"
|
|
|
|
title="Preview file"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
2019-10-16 10:44:56 +08:00
|
|
|
<span
|
2019-11-13 11:48:20 +08:00
|
|
|
aria-label="eye"
|
|
|
|
class="anticon anticon-eye"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
2019-11-12 21:45:32 +08:00
|
|
|
data-icon="eye"
|
2019-09-11 21:46:56 +08:00
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"
|
2019-09-11 21:46:56 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-09-11 21:46:56 +08:00
|
|
|
</a>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
2019-09-11 21:46:56 +08:00
|
|
|
title="Remove file"
|
|
|
|
>
|
2019-11-12 21:45:32 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-upload ant-upload-select ant-upload-select-picture-card"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/upload/demo/picture-style.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-upload ant-upload-select ant-upload-select-picture"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list ant-upload-list-picture"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<span>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-thumbnail"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
alt="xxx.png"
|
|
|
|
class="ant-upload-list-item-image"
|
|
|
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-2"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="xxx.png"
|
|
|
|
>
|
|
|
|
xxx.png
|
|
|
|
</a>
|
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-card-actions picture"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
title="Download file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-download"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Download file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
title="Remove file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item ant-upload-list-item-error ant-upload-list-item-list-type-picture"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
|
|
|
>
|
|
|
|
<span>
|
2019-10-16 10:44:56 +08:00
|
|
|
<span
|
2019-11-13 11:48:20 +08:00
|
|
|
aria-label="picture"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-picture ant-upload-list-item-thumbnail"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-11 21:46:56 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
2019-11-12 21:45:32 +08:00
|
|
|
data-icon="picture"
|
2019-09-11 21:46:56 +08:00
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-12 21:45:32 +08:00
|
|
|
d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z"
|
|
|
|
fill="#1890ff"
|
|
|
|
/>
|
|
|
|
<path
|
|
|
|
d="M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z"
|
|
|
|
fill="#e6f7ff"
|
|
|
|
/>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z"
|
2019-11-12 21:45:32 +08:00
|
|
|
fill="#e6f7ff"
|
|
|
|
/>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M276 368a28 28 0 1056 0 28 28 0 10-56 0z"
|
2019-11-12 21:45:32 +08:00
|
|
|
fill="#e6f7ff"
|
|
|
|
/>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"
|
2019-11-12 21:45:32 +08:00
|
|
|
fill="#1890ff"
|
2019-09-11 21:46:56 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-1"
|
|
|
|
title="yyy.png"
|
|
|
|
>
|
|
|
|
yyy.png
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-card-actions picture"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
title="Remove file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<span
|
|
|
|
class="upload-list-inline"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-upload ant-upload-select ant-upload-select-picture"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list ant-upload-list-picture"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<span>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-thumbnail"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
alt="xxx.png"
|
|
|
|
class="ant-upload-list-item-image"
|
|
|
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-2"
|
|
|
|
href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="xxx.png"
|
|
|
|
>
|
|
|
|
xxx.png
|
|
|
|
</a>
|
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-card-actions picture"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
title="Download file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-download"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Download file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
2019-11-12 21:45:32 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
title="Remove file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item ant-upload-list-item-error ant-upload-list-item-list-type-picture"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list-item-info"
|
|
|
|
>
|
|
|
|
<span>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="picture"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-picture ant-upload-list-item-thumbnail"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="picture"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z"
|
|
|
|
fill="#1890ff"
|
|
|
|
/>
|
|
|
|
<path
|
|
|
|
d="M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z"
|
|
|
|
fill="#e6f7ff"
|
|
|
|
/>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z"
|
2019-11-12 21:45:32 +08:00
|
|
|
fill="#e6f7ff"
|
|
|
|
/>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M276 368a28 28 0 1056 0 28 28 0 10-56 0z"
|
2019-11-12 21:45:32 +08:00
|
|
|
fill="#e6f7ff"
|
|
|
|
/>
|
|
|
|
<path
|
2019-11-13 11:48:20 +08:00
|
|
|
d="M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"
|
2019-11-12 21:45:32 +08:00
|
|
|
fill="#1890ff"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-name ant-upload-list-item-name-icon-count-1"
|
|
|
|
title="yyy.png"
|
|
|
|
>
|
|
|
|
yyy.png
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-upload-list-item-card-actions picture"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
title="Remove file"
|
|
|
|
>
|
2019-11-13 11:48:20 +08:00
|
|
|
<span
|
|
|
|
aria-label="delete"
|
2019-11-12 21:45:32 +08:00
|
|
|
class="anticon anticon-delete"
|
2019-11-13 11:48:20 +08:00
|
|
|
role="img"
|
2019-11-12 21:45:32 +08:00
|
|
|
tabindex="-1"
|
|
|
|
title="Remove file"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="delete"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-11-13 11:48:20 +08:00
|
|
|
</span>
|
2019-11-12 21:45:32 +08:00
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
2017-07-14 15:00:14 +08:00
|
|
|
|
2019-05-06 12:04:39 +08:00
|
|
|
exports[`renders ./components/upload/demo/preview-file.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-upload ant-upload-select ant-upload-select-picture"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list ant-upload-list-picture"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2019-08-04 12:18:46 +08:00
|
|
|
exports[`renders ./components/upload/demo/transform-file.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-upload ant-upload-select ant-upload-select-text"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list ant-upload-list-text"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-07-14 15:00:14 +08:00
|
|
|
exports[`renders ./components/upload/demo/upload-manually.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-upload ant-upload-select ant-upload-select-text"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list ant-upload-list-text"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<button
|
2018-11-20 11:20:14 +08:00
|
|
|
class="ant-btn ant-btn-primary"
|
2017-07-14 15:00:14 +08:00
|
|
|
disabled=""
|
2018-11-20 11:20:14 +08:00
|
|
|
style="margin-top:16px"
|
2017-07-14 15:00:14 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Start Upload
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
`;
|
2019-10-15 16:14:05 +08:00
|
|
|
|
|
|
|
exports[`renders ./components/upload/demo/upload-with-aliyun-oss.md correctly 1`] = `
|
|
|
|
<form
|
|
|
|
class="ant-form ant-form-horizontal"
|
|
|
|
>
|
|
|
|
<div
|
2019-10-16 10:44:56 +08:00
|
|
|
class="ant-row-flex ant-form-item"
|
2019-10-15 16:14:05 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-col ant-col-4 ant-form-item-label"
|
|
|
|
>
|
|
|
|
<label
|
|
|
|
class=""
|
|
|
|
for="photos"
|
|
|
|
title="Photos"
|
|
|
|
>
|
|
|
|
Photos
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div
|
2019-10-16 10:44:56 +08:00
|
|
|
class="ant-col ant-form-item-control"
|
2019-10-15 16:14:05 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-10-16 10:44:56 +08:00
|
|
|
class="ant-form-item-control-input"
|
2019-10-15 16:14:05 +08:00
|
|
|
>
|
|
|
|
<span
|
2019-10-16 10:44:56 +08:00
|
|
|
class=""
|
2019-10-15 16:14:05 +08:00
|
|
|
>
|
2019-10-16 10:44:56 +08:00
|
|
|
<div
|
|
|
|
class="ant-upload ant-upload-select ant-upload-select-text"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-upload-list ant-upload-list-text"
|
|
|
|
/>
|
2019-10-15 16:14:05 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
`;
|