1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| import fmtEvent from '../../_util/fmtEvent';
| import fmtUnit from '../../_util/fmtUnit';
| Component({
| props: {
| show: true,
| className: '',
| type: 'dialog',
| iconSize: 20,
| arrowPosition: 'bottom-left'
| },
| data: {
| arrowColor: '000',
| iconSizeClose: fmtUnit(18)
| },
| methods: {
| onCloseTap: function onCloseTap(e) {
| var onCloseTap = this.props.onCloseTap;
| var event = fmtEvent(this.props, e);
|
| if (onCloseTap) {
| onCloseTap(event);
| }
| }
| }
| });
|
|