This commit is contained in:
Ling53666
2025-08-18 09:11:51 +08:00
commit 02554225da
2516 changed files with 133155 additions and 0 deletions

View File

@ -0,0 +1 @@
.ant-mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:0;background-color:rgba(0,0,0,.55);width:300vw;height:300vh;transform:translate3d(-100vw,-100vh,0)}

View File

@ -0,0 +1,5 @@
<view
class="ant-mask {{className || ''}}"
style="{{show ? '' : 'display: none;'}} {{style || ''}}"
onTap="onMaskClick"
></view>

View File

@ -0,0 +1 @@
export {};

View File

@ -0,0 +1,8 @@
import { Component, triggerEventOnly } from '../_util/simply';
Component({
show: true,
}, {
onMaskClick: function (e) {
triggerEventOnly(this, 'maskTap', e);
},
});

View File

@ -0,0 +1,3 @@
{
"component": true
}

View File

@ -0,0 +1,9 @@
import { IBaseProps } from '../_util/base';
/**
* @description 加载,用于提示局部或页面在加载中。
*/
export interface IMaskProps extends IBaseProps {
show: boolean;
onMaskTap?: (v: Record<string, unknown>) => void;
}
export declare const MaskDefaultProps: Partial<IMaskProps>;

View File

@ -0,0 +1,3 @@
export var MaskDefaultProps = {
show: true,
};