提交
This commit is contained in:
1
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.acss
generated
vendored
Normal file
1
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.acss
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
6
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.axml
generated
vendored
Normal file
6
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.axml
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<text
|
||||
class="ant-icon ant-icon-{{type}} {{className ? className : ''}}"
|
||||
style="{{style}}"
|
||||
onTap="{{onTap ? 'onTap' : ''}}"
|
||||
catchTap="{{catchTap ? 'catchTap' : ''}}"
|
||||
></text>
|
1
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.d.ts
generated
vendored
Normal file
1
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
import '../_util/assert-component2';
|
18
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.js
generated
vendored
Normal file
18
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
import { IconDefaultProps } from './props';
|
||||
import fmtEvent from '../_util/fmtEvent';
|
||||
import '../_util/assert-component2';
|
||||
Component({
|
||||
props: IconDefaultProps,
|
||||
methods: {
|
||||
onTap: function (e) {
|
||||
if (this.props.onTap) {
|
||||
this.props.onTap(fmtEvent(this.props, e));
|
||||
}
|
||||
},
|
||||
catchTap: function (e) {
|
||||
if (this.props.catchTap) {
|
||||
this.props.catchTap(fmtEvent(this.props, e));
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
3
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.json
generated
vendored
Normal file
3
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.json
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"component": true
|
||||
}
|
20
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/props.d.ts
generated
vendored
Normal file
20
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/props.d.ts
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
import { IBaseProps } from '../_util/base';
|
||||
/**
|
||||
* @description 图标,内置丰富的图标可以选择。
|
||||
*/
|
||||
export interface IconProps extends IBaseProps {
|
||||
/**
|
||||
* @description icon 图标的类型
|
||||
* @default ""
|
||||
*/
|
||||
type?: string;
|
||||
/**
|
||||
* 点击图标
|
||||
*/
|
||||
onTap?: (e: any) => void;
|
||||
/**
|
||||
* 点击图标
|
||||
*/
|
||||
catchTap?: (e: any) => void;
|
||||
}
|
||||
export declare const IconDefaultProps: Partial<IconProps>;
|
3
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/props.js
generated
vendored
Normal file
3
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/props.js
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export var IconDefaultProps = {
|
||||
type: '',
|
||||
};
|
Reference in New Issue
Block a user