纸板小程序:订单/送货单:列表与详情功能
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
import { SuperComponent } from '../common/src/index';
|
||||
import { SegmentedItem } from './type';
|
||||
export default class Segmented extends SuperComponent {
|
||||
options: {
|
||||
multipleSlots: boolean;
|
||||
};
|
||||
externalClasses: string[];
|
||||
properties: import("./type").TdSegmentedProps;
|
||||
controlledProps: {
|
||||
key: string;
|
||||
event: string;
|
||||
}[];
|
||||
data: {
|
||||
prefix: string;
|
||||
classPrefix: string;
|
||||
segmentItems: SegmentedItem[];
|
||||
activeIndex: number;
|
||||
thumbStyle: string;
|
||||
};
|
||||
lifetimes: {
|
||||
ready(): void;
|
||||
};
|
||||
observers: {
|
||||
options(newOptions: any): void;
|
||||
'value, segmentItems'(): void;
|
||||
};
|
||||
methods: {
|
||||
updateOptions(options: (string | number | SegmentedItem)[]): void;
|
||||
updateActiveIndex(): void;
|
||||
updateThumb(): void;
|
||||
handleSelect(e: WechatMiniprogram.BaseEvent): void;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user