first commit

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:10:55 +08:00
commit 1c24452b6c
1735 changed files with 150474 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";const o=require("../common/props.js"),e={...o.baseProps,show:o.makeBooleanProp(!1),duration:{type:[Object,Number,Boolean],default:300},lockScroll:o.makeBooleanProp(!0),zIndex:o.makeNumberProp(10)};exports.overlayProps=e;

View File

@@ -0,0 +1 @@
"use strict";const o=require("../../../../common/vendor.js"),t=require("./types.js");Math||e();const e=()=>"../wd-transition/wd-transition.js",s=o.defineComponent({name:"wd-overlay",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"},props:t.overlayProps,emits:["click"],setup(t,{emit:e}){const s=e;function n(){s("click")}return(t,e)=>({a:o.o(n),b:o.p({show:t.show,name:"fade","custom-class":"wd-overlay",duration:t.duration,"custom-style":`z-index: ${t.zIndex}; ${t.customStyle}`,"disable-touch-move":t.lockScroll})})}});wx.createComponent(s);

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"wd-transition": "../wd-transition/wd-transition"
}
}

View File

@@ -0,0 +1 @@
<wd-transition wx:if="{{b}}" u-s="{{['d']}}" bindclick="{{a}}" u-i="7d2ead0b-0" bind:__l="__l" u-p="{{b}}"><slot></slot></wd-transition>

View File

@@ -0,0 +1 @@
.wot-theme-dark .wd-overlay{background:var(--wot-overlay-bg-dark, rgba(0, 0, 0, .75))}.wd-overlay{position:fixed;left:0;top:0;right:0;bottom:0;background:var(--wot-overlay-bg, rgba(0, 0, 0, .65))}