File tree 1 file changed +22
-0
lines changed
components/statistic/__tests__/__snapshots__
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,28 @@ exports[`renders ./components/statistic/demo/countdown.vue correctly 1`] = `
88
88
</div >
89
89
` ;
90
90
91
+ exports [` renders ./components/statistic/demo/countdown-slot.vue correctly 1` ] = `
92
+ <div class = " ant-row" style = " margin-left: -8px; margin-right: -8px;" >
93
+ <div class = " ant-col ant-col-12" style = " padding-left: 8px; padding-right: 8px;" >
94
+ <div class = " ant-statistic" style = " margin-right: 50px;" >
95
+ <div class = " ant-statistic-title" ><span >Countdown</span >
96
+ <!----><span style="margin-left: 5px;" tabindex="-1" role="img" aria-label="question-circle" class="anticon anticon-question-circle"><svg focusable="false" class="" data-icon="question-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="#1890ff"></path><path d="M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm0 632c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z" fill="#e6f7ff"></path><path d="M472 732a40 40 0 1080 0 40 40 0 10-80 0zm151.6-415.3C593.6 290.5 554 276 512 276s-81.6 14.4-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.2 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5 0-39.3-17.2-76-48.4-103.3z" fill="#1890ff"></path></svg></span>
97
+ </div >
98
+ <div class = " ant-statistic-content" >
99
+ <!----><span class = " ant-statistic-content-value" >40:00:00</span >
100
+ <!---->
101
+ </div >
102
+ </div >
103
+ </div >
104
+ <div class = " ant-col ant-col-24" style = " padding-left: 8px; padding-right: 8px; margin-top: 32px;" >
105
+ <div class = " ant-statistic" style = " margin-right: 50px;" >
106
+ <div class = " ant-statistic-title" >Million Seconds countdown</div >
107
+ <div class = " ant-statistic-content" ><span class = " ant-statistic-content-prefix" ><span >There's only</span ></span ><span class = " ant-statistic-content-value" >40:00:00:000</span ><span class = " ant-statistic-content-suffix" ><span >left for the end.</span ></span ></div >
108
+ </div >
109
+ </div >
110
+ </div >
111
+ ` ;
112
+
91
113
exports [` renders ./components/statistic/demo/unit.vue correctly 1` ] = `
92
114
<div class = " ant-row" style = " margin-left: -8px; margin-right: -8px;" >
93
115
<div class = " ant-col ant-col-12" style = " padding-left: 8px; padding-right: 8px;" >
You can’t perform that action at this time.
0 commit comments