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"),t=e.defineComponent({__name:"switch-tab",props:e.switchTabProps,emits:e.switchTabEmits,setup(t,{emit:s}){const n=t,a=s,{tabClickEvent:c}=e.useSwitchTab(n,a),{ns:r,tabClass:o,tabStyle:b,switchTabClass:i,switchTabStyle:u}=e.useSwitchTabCustomStyle(n);return(t,s)=>({a:e.f(t.tabs,((t,s,n)=>({a:e.t(t),b:s,c:e.n(e.unref(o)(s)),d:e.s(e.unref(b)(s)),e:e.o((t=>e.unref(c)(s)),s)}))),b:e.n(e.unref(r).e("tabs")),c:e.n(e.unref(r).e("content")),d:e.n(e.unref(i)),e:e.s(e.unref(u))})}}),s=e._export_sfc(t,[["__scopeId","data-v-e97f8f8a"]]);wx.createComponent(s);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{['data-v-e97f8f8a', d, virtualHostClass]}}" style="{{e + ';' + virtualHostStyle}}"><view class="{{['data-v-e97f8f8a', b]}}"><view wx:for="{{a}}" wx:for-item="tabItem" wx:key="b" class="{{['data-v-e97f8f8a', tabItem.c]}}" style="{{tabItem.d}}" catchtap="{{tabItem.e}}"><view class="tab-item bg data-v-e97f8f8a"/><view class="tab-item text data-v-e97f8f8a">{{tabItem.a}}</view></view></view><view class="{{['data-v-e97f8f8a', c]}}"><slot/></view></view>
@@ -0,0 +1 @@
.tn-switch-tab.data-v-e97f8f8a{position:relative;width:100%;border-radius:15rpx}.tn-switch-tab__tabs.data-v-e97f8f8a{position:relative;width:100%;display:flex}.tn-switch-tab__tab.data-v-e97f8f8a{position:relative;flex:1;height:70rpx}.tn-switch-tab__tab .tab-item.data-v-e97f8f8a{position:absolute;left:0;bottom:0;width:100%;height:inherit;border-radius:inherit;transition-property:height,border-top-left-radius,border-top-right-radius,border-bottom-left-radius,border-bottom-right-radius,background-color,color;transition-duration:.15s;transition-timing-function:linear}.tn-switch-tab__tab .tab-item.bg.data-v-e97f8f8a{transform-origin:center bottom;background-color:inherit}.tn-switch-tab__tab .tab-item.text.data-v-e97f8f8a{display:flex;align-items:center;justify-content:center;font-weight:700}.tn-switch-tab__tab.data-v-e97f8f8a:nth-of-type(1){border-top-left-radius:15rpx}.tn-switch-tab__tab.data-v-e97f8f8a:nth-last-of-type(1){border-top-right-radius:15rpx}.tn-switch-tab__tab.is-active .tab-item.data-v-e97f8f8a{border-top-left-radius:15rpx;border-top-right-radius:15rpx;height:90rpx}