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||(o+n)();const n=()=>"../../icon/src/icon.js",o=()=>"../../loading/src/loading.js",r=e.defineComponent({options:{virtualHost:!0},__name:"button",props:e.buttonProps,emits:e.buttonEmits,setup(n,{emit:o}){const r=n,s=o,{buttonClick:u,getPhoneNumber:a,getRealTimePhoneNumber:t,openSetting:f,launchApp:i,getUserInfo:d,chooseAvatar:c,agreePrivacyAuthorization:l,contact:p,openTypeError:m}=e.useButton(r,s),{ns:g,buttonClass:h,buttonStyle:b}=e.useButtonCustomStyle(r);return(n,o)=>e.e({a:"stop"===r.clickModifiers},"stop"===r.clickModifiers?e.e({b:n.loading},n.loading?{c:e.p({show:!0,animation:!0,mode:"flower",color:"tn-gray"}),d:e.n(e.unref(g).m("loading"))}:{},{e:n.icon},n.icon?{f:e.p({name:n.icon}),g:e.n(e.unref(g).e("icon"))}:{},{h:e.n(e.unref(h)),i:e.s(e.unref(b)),j:r.disabled||r.loading||r.onlyButton?"":n.hoverClass,k:n.disabled,l:n.formType,m:n.openType,n:n.appParameter,o:n.sessionFrom,p:n.sendMessageTitle,q:n.sendMessagePath,r:n.sendMessageImg,s:n.showMessageCard,t:n.phoneNumberNoQuotaToast,v:e.o(((...n)=>e.unref(u)&&e.unref(u)(...n))),w:e.o(((...n)=>e.unref(a)&&e.unref(a)(...n))),x:e.o(((...n)=>e.unref(t)&&e.unref(t)(...n))),y:e.o(((...n)=>e.unref(f)&&e.unref(f)(...n))),z:e.o(((...n)=>e.unref(i)&&e.unref(i)(...n))),A:e.o(((...n)=>e.unref(d)&&e.unref(d)(...n))),B:e.o(((...n)=>e.unref(c)&&e.unref(c)(...n))),C:e.o(((...n)=>e.unref(l)&&e.unref(l)(...n))),D:e.o(((...n)=>e.unref(p)&&e.unref(p)(...n))),E:e.o(((...n)=>e.unref(m)&&e.unref(m)(...n)))}):e.e({F:n.loading},n.loading?{G:e.p({show:!0,animation:!0,mode:"flower",color:"tn-gray"}),H:e.n(e.unref(g).m("loading"))}:{},{I:n.icon},n.icon?{J:e.p({name:n.icon}),K:e.n(e.unref(g).e("icon"))}:{},{L:e.n(e.unref(h)),M:e.s(e.unref(b)),N:r.disabled||r.loading||r.onlyButton?"":n.hoverClass,O:n.disabled,P:n.formType,Q:n.openType,R:n.appParameter,S:n.sessionFrom,T:n.sendMessageTitle,U:n.sendMessagePath,V:n.sendMessageImg,W:n.showMessageCard,X:n.phoneNumberNoQuotaToast,Y:e.o(((...n)=>e.unref(u)&&e.unref(u)(...n))),Z:e.o(((...n)=>e.unref(a)&&e.unref(a)(...n))),aa:e.o(((...n)=>e.unref(t)&&e.unref(t)(...n))),ab:e.o(((...n)=>e.unref(f)&&e.unref(f)(...n))),ac:e.o(((...n)=>e.unref(i)&&e.unref(i)(...n))),ad:e.o(((...n)=>e.unref(d)&&e.unref(d)(...n))),ae:e.o(((...n)=>e.unref(c)&&e.unref(c)(...n))),af:e.o(((...n)=>e.unref(l)&&e.unref(l)(...n))),ag:e.o(((...n)=>e.unref(p)&&e.unref(p)(...n))),ah:e.o(((...n)=>e.unref(m)&&e.unref(m)(...n)))}))}}),s=e._export_sfc(r,[["__scopeId","data-v-fe2d0975"]]);wx.createComponent(s);
@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../../icon/src/icon",
"tn-loading": "../../loading/src/loading"
}
}
@@ -0,0 +1 @@
<button wx:if="{{a}}" class="{{['tn-u-btn-clear', 'data-v-fe2d0975', h]}}" style="{{i}}" hover-class="{{j}}" disabled="{{k}}" form-type="{{l}}" open-type="{{m}}" app-parameter="{{n}}" session-from="{{o}}" send-message-title="{{p}}" send-message-path="{{q}}" send-message-img="{{r}}" show-message-card="{{s}}" phone-number-no-quota-toast="{{t}}" catchtap="{{v}}" bindgetphonenumber="{{w}}" bindgetrealtimephonenumber="{{x}}" bindopensetting="{{y}}" bindlaunchapp="{{z}}" bindgetuserinfo="{{A}}" bindchooseavatar="{{B}}" bindagreeprivacyauthorization="{{C}}" bindcontact="{{D}}" binderror="{{E}}"><view wx:if="{{b}}" class="{{['data-v-fe2d0975', d]}}"><tn-loading wx:if="{{c}}" class="data-v-fe2d0975" virtualHostClass="data-v-fe2d0975" u-i="fe2d0975-0" bind:__l="__l" u-p="{{c}}"/></view><view wx:if="{{e}}" class="{{['data-v-fe2d0975', g]}}"><tn-icon wx:if="{{f}}" class="data-v-fe2d0975" virtualHostClass="data-v-fe2d0975" u-i="fe2d0975-1" bind:__l="__l" u-p="{{f}}"/></view><slot wx:else/></button><button wx:else class="{{['tn-u-btn-clear', 'data-v-fe2d0975', L]}}" style="{{M}}" hover-class="{{N}}" disabled="{{O}}" form-type="{{P}}" open-type="{{Q}}" app-parameter="{{R}}" session-from="{{S}}" send-message-title="{{T}}" send-message-path="{{U}}" send-message-img="{{V}}" show-message-card="{{W}}" phone-number-no-quota-toast="{{X}}" bindtap="{{Y}}" bindgetphonenumber="{{Z}}" bindgetrealtimephonenumber="{{aa}}" bindopensetting="{{ab}}" bindlaunchapp="{{ac}}" bindgetuserinfo="{{ad}}" bindchooseavatar="{{ae}}" bindagreeprivacyauthorization="{{af}}" bindcontact="{{ag}}" binderror="{{ah}}"><view wx:if="{{F}}" class="{{['data-v-fe2d0975', H]}}"><tn-loading wx:if="{{G}}" class="data-v-fe2d0975" virtualHostClass="data-v-fe2d0975" u-i="fe2d0975-2" bind:__l="__l" u-p="{{G}}"/></view><view wx:if="{{I}}" class="{{['data-v-fe2d0975', K]}}"><tn-icon wx:if="{{J}}" class="data-v-fe2d0975" virtualHostClass="data-v-fe2d0975" u-i="fe2d0975-3" bind:__l="__l" u-p="{{J}}"/></view><slot wx:else/></button>
@@ -0,0 +1 @@
.tn-button.data-v-fe2d0975{display:inline-flex;align-items:center;justify-content:center;position:relative;line-height:1;white-space:nowrap;width:-moz-fit-content;width:fit-content;font-size:var(--tn-font-size);padding:10rpx 14rpx;border-radius:15rpx}.tn-button__icon.data-v-fe2d0975{font-size:inherit;color:inherit}.tn-button--sm.data-v-fe2d0975{font-size:20rpx;padding:6rpx 8rpx;border-radius:6rpx}.tn-button--lg.data-v-fe2d0975{font-size:34rpx;padding:12rpx 18rpx}.tn-button--xl.data-v-fe2d0975{font-size:40rpx;padding:16rpx 24rpx}.tn-button--circle.data-v-fe2d0975{padding:0;width:60rpx;height:60rpx;border-radius:50%}.tn-button--circle.tn-button--sm.data-v-fe2d0975{width:50rpx;height:50rpx}.tn-button--circle.tn-button--lg.data-v-fe2d0975{width:80rpx;height:80rpx}.tn-button--circle.tn-button--xl.data-v-fe2d0975{width:100rpx;height:100rpx}.tn-button--round.data-v-fe2d0975{border-radius:1000rpx;padding:10rpx 16rpx}.tn-button--round.tn-button--sm.data-v-fe2d0975{padding:6rpx 12rpx;border-radius:20rpx}.tn-button--round.tn-button--lg.data-v-fe2d0975{padding:12rpx 18rpx}.tn-button--round.tn-button--xl.data-v-fe2d0975{padding:16rpx 24rpx}.tn-button--plain.data-v-fe2d0975{border-width:2rpx;border-style:solid}.tn-button--plain-bold.data-v-fe2d0975{border-width:4rpx}.tn-button--text.data-v-fe2d0975{border:none;background-color:transparent}.tn-button--loading.data-v-fe2d0975{margin-right:8rpx}.tn-button--only-button.data-v-fe2d0975{display:block;padding:0rpx;line-height:normal;white-space:normal;height:auto;width:auto;border-radius:0rpx;align-items:normal;justify-content:normal;text-align:unset}