-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
1,704 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 44 additions & 30 deletions
74
packages/varlet-vue2-ui/src/countdown/__tests__/__snapshots__/index.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,50 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`test countdown example 1`] = ` | ||
"<div> | ||
<div class=\\"app-type\\">基本使用</div> | ||
<div class=\\"var-countdown\\">30 : 00 : 00</div> | ||
</div> | ||
<div> | ||
<div class=\\"app-type\\">自定义格式</div> | ||
<div class=\\"var-countdown\\">01 天 06 时 00 分 00 秒</div> | ||
</div> | ||
<div> | ||
<div class=\\"app-type\\">显示毫秒</div> | ||
<div class=\\"var-countdown\\">30 : 00 : 00 : 00</div> | ||
</div> | ||
<div> | ||
<div class=\\"app-type\\">自定义样式</div> | ||
<div class=\\"var-countdown\\"><span class=\\"block\\">6</span><span class=\\"colon\\">:</span><span class=\\"block\\">0</span><span class=\\"colon\\">:</span><span class=\\"block\\">0</span></div> | ||
</div> | ||
<div> | ||
<div class=\\"app-type\\">手动控制</div> | ||
<div class=\\"var-countdown\\">03 : 000</div> | ||
<div class=\\"btn-container\\"><button class=\\"var-button var--box var-button--normal var--inline-flex var-button--primary var-elevation--2\\"> | ||
<!--v-if--> | ||
<div class=\\"var-button__content\\">开始</div> | ||
</button><button class=\\"var-button var--box var-button--normal var--inline-flex var-button--default var-elevation--2\\"> | ||
<!--v-if--> | ||
<div class=\\"var-button__content\\">暂停</div> | ||
</button><button class=\\"var-button var--box var-button--normal var--inline-flex var-button--default var-elevation--2\\"> | ||
<!--v-if--> | ||
<div class=\\"var-button__content\\">重置</div> | ||
</button></div> | ||
"<div class=\\"var-countdown-example\\"> | ||
<div> | ||
<div class=\\"app-type\\">基本使用</div> | ||
<div class=\\"var-countdown\\"> | ||
30 : 00 : 00 | ||
</div> | ||
</div> | ||
<div> | ||
<div class=\\"app-type\\">自定义格式</div> | ||
<div class=\\"var-countdown\\"> | ||
01 天 06 时 00 分 00 秒 | ||
</div> | ||
</div> | ||
<div> | ||
<div class=\\"app-type\\">显示毫秒</div> | ||
<div class=\\"var-countdown\\"> | ||
30 : 00 : 00 : 00 | ||
</div> | ||
</div> | ||
<div> | ||
<div class=\\"app-type\\">自定义样式</div> | ||
<div class=\\"var-countdown\\"><span class=\\"block\\">6</span> <span class=\\"colon\\">:</span> <span class=\\"block\\">0</span> <span class=\\"colon\\">:</span> <span class=\\"block\\">0</span></div> | ||
</div> | ||
<div> | ||
<div class=\\"app-type\\">手动控制</div> | ||
<div class=\\"var-countdown\\"> | ||
03 : 000 | ||
</div> | ||
<div class=\\"btn-container\\"><button class=\\"var-button var--box var-button--normal var--inline-flex var-button--primary var-elevation--2\\"> | ||
<!----> | ||
<div class=\\"var-button__content\\">开始</div> | ||
</button> <button class=\\"var-button var--box var-button--normal var--inline-flex var-button--default var-elevation--2\\"> | ||
<!----> | ||
<div class=\\"var-button__content\\">暂停</div> | ||
</button> <button class=\\"var-button var--box var-button--normal var--inline-flex var-button--default var-elevation--2\\"> | ||
<!----> | ||
<div class=\\"var-button__content\\">重置</div> | ||
</button></div> | ||
</div> | ||
</div>" | ||
`; | ||
exports[`test countdown format prop 1`] = `"<div class=\\"var-countdown\\">30 : 00 : 00 : 00</div>"`; | ||
exports[`test countdown format prop 1`] = ` | ||
"<div class=\\"var-countdown\\"> | ||
30 : 00 : 00 : 00 | ||
</div>" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.