first commit

This commit is contained in:
lingxiao865
2026-02-10 08:05:03 +08:00
commit c5af079d8c
1094 changed files with 97530 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";const t=require("../common/utils.wxs.js");exports.animate=function(n){return n.duration?t.tools._style({"transition-duration":`${n.duration}s`,transform:`translate3d( ${-100*n.currentIndex}%,0, 0)`}):""},exports.trackStyle=function(n){return n.distance||n.lineWidth?t.tools._style({"-webkit-transform":`translateX(${n.distance}px)`,transform:`translateX(${n.distance}px)`,"transition-duration":n.isInit?"0":"0.3s",width:`${n.lineWidth}px`,opacity:1}):""};

View File

@@ -0,0 +1 @@
"use strict";const e={animation:{type:Object},bottomLineMode:{type:String,default:"fixed",validator:e=>!e||["fixed","auto","full"].includes(e)},showBottomLine:{type:Boolean,default:!0},spaceEvenly:{type:Boolean,default:!0},split:{type:Boolean,default:!0},sticky:Boolean,stickyProps:{type:Object},swipeable:{type:Boolean,default:!0},theme:{type:String,default:"line",validator:e=>!e||["line","tag","card"].includes(e)},value:{type:[String,Number]},defaultValue:{type:[String,Number]},onChange:{type:Function,default:()=>({})},onClick:{type:Function,default:()=>({})},onScroll:{type:Function,default:()=>({})}};exports.props=e;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,8 @@
{
"component": true,
"usingComponents": {
"t-sticky": "../sticky/sticky",
"t-badge": "../badge/badge",
"t-icon": "../icon/icon"
}
}

View File

@@ -0,0 +1 @@
<view style="{{s}}" class="{{['data-v-234b68d5', t]}}"><t-sticky wx:if="{{k}}" class="data-v-234b68d5" u-s="{{['d']}}" bindscroll="{{j}}" u-i="234b68d5-0" bind:__l="__l" u-p="{{k}}"><view class="{{['data-v-234b68d5', i]}}"><scroll-view class="{{['data-v-234b68d5', f]}}" enhanced enable-flex scroll-left="{{g}}" scroll-x="{{true}}" scroll-anchoring scroll-with-animation enable-passive show-scrollbar="{{false}}" type="list" bindscroll="{{h}}"><view class="{{['data-v-234b68d5', e]}}" aria-role="tablist"><view wx:for="{{a}}" wx:for-item="item" wx:key="o" data-index="{{item.p}}" class="{{['data-v-234b68d5', item.q]}}" aria-role="tab" aria-controls="{{item.r}}" aria-selected="{{item.s}}" aria-disabled="{{item.t}}" aria-label="{{item.v}}" bindtap="{{item.w}}"><view class="{{['data-v-234b68d5', item.i]}}" aria-hidden="{{item.j}}"><block wx:if="{{item.a}}" name="icon"><t-icon wx:if="{{item.d}}" class="data-v-234b68d5" bindclick="{{item.b}}" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"/></block><block wx:if="{{item.e}}"><t-badge wx:if="{{item.g}}" class="data-v-234b68d5" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"/></block><block wx:else>{{item.h}}</block></view><view wx:if="{{item.k}}" class="{{['data-v-234b68d5', item.l]}}"/><view wx:if="{{item.m}}" class="{{['data-v-234b68d5', item.n]}}"/></view><view wx:if="{{b}}" class="{{['data-v-234b68d5', c]}}" style="{{d}}"/></view></scroll-view></view></t-sticky><slot name="middle"/><view class="{{['data-v-234b68d5', n]}}" bindtouchstart="{{o}}" bindtouchmove="{{p}}" bindtouchend="{{q}}" bindtouchcancel="{{r}}"><view class="{{['data-v-234b68d5', l]}}" style="{{m}}"><slot/></view></view></view>

File diff suppressed because one or more lines are too long