File tree 1 file changed +62
-0
lines changed
src/dialog/__test__/__snapshots__
1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports [` dialog :base 1` ] = `
4
+ <main >
5
+ <t-dialog
6
+ id = " dialog"
7
+ >
8
+ <t-popup
9
+ class = " class"
10
+ tClass = " t-dialog__wrapper"
11
+ bind:visible-change="overlayClick"
12
+ >
13
+ <wx-view
14
+ class = " t-popup t-popup--center t-dialog-enter t-dialog-enter-active class t-class"
15
+ style = " z-index:11500;"
16
+ bind:transitionend="onTransitionEnd"
17
+ >
18
+ <wx-view
19
+ $gdc = " {{[Function]}}"
20
+ $wxs:bind:touchmove="{{[Function]}}"
21
+ class = " t-popup__content t-class-content"
22
+ data-prevention = " {{true}}"
23
+ >
24
+ <wx-view
25
+ capture-catch:touchstart=null
26
+ >
27
+ <wx-view
28
+ class = " t-dialog t-class"
29
+ slot = " content"
30
+ >
31
+ <wx-view
32
+ class = " t-dialog__content t-class-content"
33
+ />
34
+ <wx-view
35
+ class = " t-dialog__footer t-dialog__footer--full"
36
+ />
37
+ </wx-view >
38
+ </wx-view >
39
+ <wx-view
40
+ class = " t-popup__close"
41
+ bind:tap="handleClose"
42
+ />
43
+ </wx-view >
44
+ </wx-view >
45
+ <t-overlay
46
+ id = " popup-overlay"
47
+ bind:tap="handleOverlayClick"
48
+ >
49
+ <wx-view
50
+ ariaLabel = " 关闭"
51
+ ariaRole = " button"
52
+ class = " t-overlay t-fade-enter t-fade-enter-active class"
53
+ style = " --td-overlay-transition-duration:300ms; z-index:11000; top:0px;"
54
+ bind:tap="handleClick"
55
+ catch:touchmove="noop"
56
+ bind:transitionend="onTransitionEnd"
57
+ />
58
+ </t-overlay >
59
+ </t-popup >
60
+ </t-dialog >
61
+ </main >
62
+ ` ;
You can’t perform that action at this time.
0 commit comments