2025/2/8第一次更新

This commit is contained in:
爱吃咸鱼小猫咪
2025-02-08 18:50:38 +08:00
commit d7af560866
26519 changed files with 5046029 additions and 0 deletions
@@ -0,0 +1 @@
"use strict";const e=require("../../../../../../common/vendor.js");Math||(n+o)();const n=()=>"../../overlay/src/overlay.js",o=()=>"../../icon/src/icon.js",s=e.defineComponent({__name:"popup",props:e.popupProps,emits:e.popupEmits,setup(n){const o=n,{iosDevice:s,showOverlay:r,showPopup:u,visiblePopup:p,onClickCloseBtn:t,onClickOverlay:c}=e.usePopup(o),{ns:f,overlayZIndex:i,zIndex:l,popupContentClass:a,popupContentStyle:m}=e.usePopupCustomStyle(o);return(n,o)=>e.e({a:!e.unref(s)||e.unref(s)&&e.unref(p)},!e.unref(s)||e.unref(s)&&e.unref(p)?e.e({b:e.o(e.unref(c)),c:e.p({show:e.unref(r),"z-index":e.unref(i),opacity:n.overlayOpacity}),d:n.closeBtn},n.closeBtn?{e:e.p({name:"close"}),f:e.n(e.unref(f).e("close-btn")),g:e.n(e.unref(f).em("close-btn",n.closeBtnPosition)),h:e.o(((...n)=>e.unref(t)&&e.unref(t)(...n)))}:{},{i:e.n(e.unref(a)),j:e.s(e.unref(m)),k:e.n(e.unref(f).b()),l:e.n(e.unref(f).is("show",e.unref(u))),m:e.n(e.unref(f).is("visible",e.unref(p))),n:e.unref(l)}):{})}}),r=e._export_sfc(s,[["__scopeId","data-v-774ac790"]]);wx.createComponent(r);
@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"tn-overlay": "../../overlay/src/overlay",
"tn-icon": "../../icon/src/icon"
}
}
@@ -0,0 +1 @@
<view wx:if="{{a}}" class="{{['data-v-774ac790', k, l, m, virtualHostClass]}}" style="{{'z-index:' + n + ';' + virtualHostStyle}}"><tn-overlay wx:if="{{c}}" class="data-v-774ac790" virtualHostClass="data-v-774ac790" bindclick="{{b}}" u-i="774ac790-0" bind:__l="__l" u-p="{{c}}"/><view class="{{['data-v-774ac790', i]}}" style="{{j}}"><slot/><view wx:if="{{d}}" class="{{['data-v-774ac790', f, g]}}" catchtap="{{h}}"><block wx:if="{{$slots.closeBtn}}"><slot name="closeBtn"></slot></block><block wx:else><tn-icon wx:if="{{e}}" class="data-v-774ac790" virtualHostClass="data-v-774ac790" u-i="774ac790-1" bind:__l="__l" u-p="{{e}}"/></block></view></view></view>
@@ -0,0 +1 @@
.tn-popup.data-v-774ac790{position:fixed;left:0;top:0;right:0;bottom:0;overflow:hidden;visibility:hidden}.tn-popup__content.data-v-774ac790{position:absolute;opacity:0}.tn-popup__content--center.data-v-774ac790{left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transform-origin:center center}.tn-popup__content--top.data-v-774ac790{left:0;top:0;width:100%;transform:scaleY(0);transform-origin:top center}.tn-popup__content--left.data-v-774ac790{left:0;top:0;height:100%;transform:scaleX(0);transform-origin:left center}.tn-popup__content--right.data-v-774ac790{right:0;top:0;height:100%;transform:scaleX(0);transform-origin:right center}.tn-popup__content--bottom.data-v-774ac790{left:0;bottom:0;width:100%;transform:scaleY(0);transform-origin:bottom center}.tn-popup__close-btn.data-v-774ac790{position:absolute;padding:18rpx;font-size:32rpx;line-height:1;color:var(--tn-color-gray)}.tn-popup__close-btn--right-top.data-v-774ac790{right:0rpx;top:0rpx}.tn-popup__close-btn--left-top.data-v-774ac790{left:0rpx;top:0rpx}.tn-popup__close-btn--right-bottom.data-v-774ac790{right:0rpx;bottom:0rpx}.tn-popup__close-btn--left-bottom.data-v-774ac790{left:0rpx;bottom:0rpx}.tn-popup.is-show .tn-popup__content.data-v-774ac790{opacity:1}.tn-popup.is-show .tn-popup__content--center.data-v-774ac790{transform:translate(-50%,-50%) scale(1)}.tn-popup.is-show .tn-popup__content--top.data-v-774ac790{transform:scaleY(1)}.tn-popup.is-show .tn-popup__content--left.data-v-774ac790,.tn-popup.is-show .tn-popup__content--right.data-v-774ac790{transform:scaleX(1)}.tn-popup.is-show .tn-popup__content--bottom.data-v-774ac790{transform:scaleY(1)}.tn-popup.is-visible.data-v-774ac790{visibility:visible}.tn-popup.is-visible .tn-popup__content.data-v-774ac790{transition-property:transform,opacity;transition-duration:.3s;transition-timing-function:ease}