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,20 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "avatar-group",
props: common_vendor.avatarGroupProps,
emits: common_vendor.avatarGroupEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const ns = common_vendor.useNamespace("avatar");
common_vendor.useAvatarGroup(props, emits);
return (_ctx, _cache) => {
return {
a: common_vendor.n(`${common_vendor.unref(ns).b("group")}`)
};
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-7394f886"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{['data-v-7394f886', a, virtualHostClass]}}" style="{{virtualHostStyle}}"><slot/></view>
@@ -0,0 +1,32 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-avatar-group.data-v-7394f886 {
display: flex;
align-items: center;
position: relative;
width: -moz-fit-content;
width: fit-content;
}
@@ -0,0 +1,61 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
if (!Math) {
(TnIcon + TnBadge)();
}
const TnIcon = () => "../../icon/src/icon.js";
const TnBadge = () => "../../badge/src/badge.js";
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "avatar",
props: common_vendor.avatarProps,
emits: common_vendor.avatarEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const { componentId, avatarGroupIndex, avatarWidth, avatarClick } = common_vendor.useAvatar(
props,
emits
);
const { ns, avatarClass, avatarStyle } = common_vendor.useAvatarCustomStyle(
props,
avatarGroupIndex,
avatarWidth
);
const { imgMode } = common_vendor.useAvatarProps(props);
const { iconSize, iconColor, iconBold } = common_vendor.useAvatarIconConfig(props.iconConfig);
const { badgeConfig } = common_vendor.useAvatarBadgeProps(props);
return (_ctx, _cache) => {
return common_vendor.e({
a: _ctx.url
}, _ctx.url ? {
b: _ctx.url,
c: common_vendor.unref(imgMode),
d: common_vendor.n(common_vendor.unref(ns).e("image"))
} : _ctx.icon ? {
f: common_vendor.p({
name: _ctx.icon,
color: common_vendor.unref(iconColor),
size: common_vendor.unref(iconSize),
bold: common_vendor.unref(iconBold)
}),
g: common_vendor.n(common_vendor.unref(ns).e("icon"))
} : {
h: common_vendor.n(common_vendor.unref(ns).e("custom"))
}, {
e: _ctx.icon,
i: common_vendor.p({
...common_vendor.unref(badgeConfig)
}),
j: common_vendor.unref(componentId),
k: common_vendor.n(common_vendor.unref(avatarClass)),
l: common_vendor.s(common_vendor.unref(avatarStyle)),
m: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(avatarClick) && common_vendor.unref(avatarClick)(...args)
)
});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d772262b"]]);
wx.createComponent(Component);
@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../../icon/src/icon",
"tn-badge": "../../badge/src/badge"
}
}
@@ -0,0 +1 @@
<view id="{{j}}" class="{{['data-v-d772262b', k, virtualHostClass]}}" style="{{l + ';' + virtualHostStyle}}" bindtap="{{m}}"><view wx:if="{{a}}" class="{{['data-v-d772262b', d]}}"><image class="image data-v-d772262b" src="{{b}}" mode="{{c}}"/></view><view wx:elif="{{e}}" class="{{['data-v-d772262b', g]}}"><tn-icon wx:if="{{f}}" class="data-v-d772262b" virtualHostClass="data-v-d772262b" u-i="d772262b-0" bind:__l="__l" u-p="{{f}}"/></view><view wx:else class="{{['data-v-d772262b', h]}}"><slot/></view><tn-badge wx:if="{{i}}" class="data-v-d772262b" virtualHostClass="data-v-d772262b" u-i="d772262b-1" bind:__l="__l" u-p="{{i}}"/></view>
@@ -0,0 +1,109 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-avatar.data-v-d772262b {
display: inline-block;
align-items: center;
justify-content: center;
position: relative;
transition: margin-left 0.25s linear;
width: 70rpx;
height: 70rpx;
/* 头像类型 start */
/* 头像类型 end */
/* 头像形状 start */
/* 头像形状 end */
/* 尺寸 start */
/* 尺寸 end */
}
.tn-avatar__image.data-v-d772262b {
width: 100%;
height: 100%;
border-radius: inherit;
}
.tn-avatar__image .image.data-v-d772262b {
width: 100%;
height: 100%;
border-radius: inherit;
will-change: transform;
}
.tn-avatar__icon.data-v-d772262b {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
font-size: 40rpx;
}
.tn-avatar__custom.data-v-d772262b {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
font-size: 40rpx;
}
.tn-avatar--circle.data-v-d772262b {
border-radius: 50%;
}
.tn-avatar--square.data-v-d772262b {
border-radius: 12rpx;
}
.tn-avatar--sm.data-v-d772262b {
width: 50rpx;
height: 50rpx;
/* 当为图标头像时对应的尺寸 start */
/* 当为图标头像时对应的尺寸 end */
}
.tn-avatar--sm .tn-avatar__icon.data-v-d772262b {
font-size: 28rpx;
}
.tn-avatar--sm .tn-avatar__custom.data-v-d772262b {
font-size: 28rpx;
}
.tn-avatar--lg.data-v-d772262b {
width: 90rpx;
height: 90rpx;
/* 当为图标头像时对应的尺寸 start */
/* 当为图标头像时对应的尺寸 end */
}
.tn-avatar--lg .tn-avatar__icon.data-v-d772262b {
font-size: 50rpx;
}
.tn-avatar--lg .tn-avatar__custom.data-v-d772262b {
font-size: 50rpx;
}
.tn-avatar--xl.data-v-d772262b {
width: 120rpx;
height: 120rpx;
/* 当为图标头像时对应的尺寸 start */
/* 当为图标头像时对应的尺寸 end */
}
.tn-avatar--xl .tn-avatar__icon.data-v-d772262b {
font-size: 70rpx;
}
.tn-avatar--xl .tn-avatar__custom.data-v-d772262b {
font-size: 70rpx;
}
@@ -0,0 +1,57 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
if (!Math) {
TnIcon();
}
const TnIcon = () => "../../icon/src/icon.js";
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "badge",
props: common_vendor.badgeProps,
emits: common_vendor.badgeEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const slots = common_vendor.useSlots();
const { ns, contentNs, badgeContentClass, badgeContentStyle } = common_vendor.useBadgeCustomStyle(props);
const { showBadge, contentType, content, badgeClick } = common_vendor.useBadge(props, emits);
const badgeClass = common_vendor.computed(() => {
const cls = [];
cls.push(ns.b());
if (!(slots == null ? void 0 : slots.default)) {
if (props.absolute) {
cls.push(ns.e("absolute"));
if (props.absoluteCenter)
cls.push(ns.em("absolute", "center"));
}
}
return cls.join(" ");
});
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.unref(showBadge)
}, common_vendor.unref(showBadge) ? common_vendor.e({
b: common_vendor.unref(content)
}, common_vendor.unref(content) ? common_vendor.e({
c: common_vendor.unref(contentType) === "icon"
}, common_vendor.unref(contentType) === "icon" ? {
d: common_vendor.p({
name: common_vendor.unref(content)
})
} : {
e: common_vendor.t(common_vendor.unref(content)),
f: common_vendor.n(`${common_vendor.unref(contentNs).e("data")}`)
}) : {}, {
g: common_vendor.n(common_vendor.unref(badgeContentClass)),
h: common_vendor.s(common_vendor.unref(badgeContentStyle)),
i: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(badgeClick) && common_vendor.unref(badgeClick)(...args)
)
}) : {}, {
j: common_vendor.n(badgeClass.value)
});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1d3a16af"]]);
wx.createComponent(Component);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../../icon/src/icon"
}
}
@@ -0,0 +1 @@
<view class="{{['data-v-1d3a16af', j, virtualHostClass]}}" style="{{virtualHostStyle}}"><slot/><view wx:if="{{a}}" class="{{['data-v-1d3a16af', g]}}" style="{{h}}" catchtap="{{i}}"><block wx:if="{{b}}"><tn-icon wx:if="{{c}}" class="data-v-1d3a16af" virtualHostClass="data-v-1d3a16af" u-i="1d3a16af-0" bind:__l="__l" u-p="{{d}}"/><label wx:else class="{{['data-v-1d3a16af', f]}}">{{e}}</label></block></view></view>
@@ -0,0 +1,117 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
/* 绝对定位 */
.tn-badge.data-v-1d3a16af {
display: inline-block;
position: relative;
z-index: 1;
/* 绝对定位 start */
/* 绝对定位 end */
}
.tn-badge__absolute.data-v-1d3a16af {
position: absolute;
top: 0;
right: 0;
}
.tn-badge__absolute--center.data-v-1d3a16af {
transform: translate(50%, -50%);
}
/* 徽标内容 start */
.tn-badge-content.data-v-1d3a16af {
display: flex;
align-items: center;
justify-content: center;
position: relative;
width: -moz-fit-content;
width: fit-content;
height: auto;
border-radius: 1000rpx;
transform-origin: center center;
font-size: 20rpx;
padding: 4rpx 8rpx;
/* 绝对定位 start */
/* 绝对定位 end */
/* 数据内容 start */
/* 数据内容 end */
/* 尺寸 start */
/* 尺寸 end */
/* 点徽标 start */
/* 点徽标 end */
/* 图标徽标 start */
/* 图标徽标 end */
}
.tn-badge-content__absolute.data-v-1d3a16af {
position: absolute;
top: 0;
right: 0;
}
.tn-badge-content__absolute--center.data-v-1d3a16af {
transform: translate(50%, -50%);
}
.tn-badge-content__data.data-v-1d3a16af {
line-height: 1;
text-align: center;
vertical-align: middle;
}
.tn-badge-content--lg.data-v-1d3a16af {
font-size: 26rpx;
padding: 4rpx 10rpx;
}
.tn-badge-content--xl.data-v-1d3a16af {
font-size: 30rpx;
padding: 4rpx 12rpx;
}
.tn-badge-content--dot.data-v-1d3a16af {
width: 26rpx;
height: 26rpx;
border-radius: 50%;
padding: 0;
}
.tn-badge-content--dot.tn-badge-content--lg.data-v-1d3a16af {
width: 32rpx;
height: 32rpx;
}
.tn-badge-content--dot.tn-badge-content--xl.data-v-1d3a16af {
width: 40rpx;
height: 40rpx;
}
.tn-badge-content--icon.data-v-1d3a16af {
font-size: 22rpx;
width: 30rpx;
height: 30rpx;
padding: 0;
}
.tn-badge-content--icon.tn-badge-content--lg.data-v-1d3a16af {
font-size: 28rpx;
width: 36rpx;
height: 36rpx;
}
.tn-badge-content--icon.tn-badge-content--xl.data-v-1d3a16af {
font-size: 32rpx;
width: 40rpx;
height: 40rpx;
}
/* 徽标内容 end */
@@ -0,0 +1,185 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
if (!Math) {
(TnLoading + TnIcon)();
}
const TnIcon = () => "../../icon/src/icon.js";
const TnLoading = () => "../../loading/src/loading.js";
const __default__ = {
options: {
// 在微信小程序中将组件节点渲染为虚拟节点,更加接近Vue组件的表现(不会出现shadow节点下再去创建元素)
virtualHost: true
}
};
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
...__default__,
__name: "button",
props: common_vendor.buttonProps,
emits: common_vendor.buttonEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const {
buttonClick,
getPhoneNumber,
getRealTimePhoneNumber,
openSetting,
launchApp,
getUserInfo,
chooseAvatar,
agreePrivacyAuthorization,
contact,
openTypeError
} = common_vendor.useButton(props, emits);
const { ns, buttonClass, buttonStyle } = common_vendor.useButtonCustomStyle(props);
return (_ctx, _cache) => {
return common_vendor.e({
a: props.clickModifiers === "stop"
}, props.clickModifiers === "stop" ? common_vendor.e({
b: _ctx.loading
}, _ctx.loading ? {
c: common_vendor.p({
show: true,
animation: true,
mode: "flower",
color: "tn-gray"
}),
d: common_vendor.n(common_vendor.unref(ns).m("loading"))
} : {}, {
e: _ctx.icon
}, _ctx.icon ? {
f: common_vendor.p({
name: _ctx.icon
}),
g: common_vendor.n(common_vendor.unref(ns).e("icon"))
} : {}, {
h: common_vendor.n(common_vendor.unref(buttonClass)),
i: common_vendor.s(common_vendor.unref(buttonStyle)),
j: props.disabled || props.loading || props.onlyButton ? "" : _ctx.hoverClass,
k: _ctx.disabled,
l: _ctx.formType,
m: _ctx.openType,
n: _ctx.appParameter,
o: _ctx.sessionFrom,
p: _ctx.sendMessageTitle,
q: _ctx.sendMessagePath,
r: _ctx.sendMessageImg,
s: _ctx.showMessageCard,
t: _ctx.phoneNumberNoQuotaToast,
v: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(buttonClick) && common_vendor.unref(buttonClick)(...args)
),
w: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(getPhoneNumber) && common_vendor.unref(getPhoneNumber)(...args)
),
x: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(getRealTimePhoneNumber) && common_vendor.unref(getRealTimePhoneNumber)(...args)
),
y: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(openSetting) && common_vendor.unref(openSetting)(...args)
),
z: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(launchApp) && common_vendor.unref(launchApp)(...args)
),
A: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(getUserInfo) && common_vendor.unref(getUserInfo)(...args)
),
B: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(chooseAvatar) && common_vendor.unref(chooseAvatar)(...args)
),
C: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(agreePrivacyAuthorization) && common_vendor.unref(agreePrivacyAuthorization)(...args)
),
D: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(contact) && common_vendor.unref(contact)(...args)
),
E: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(openTypeError) && common_vendor.unref(openTypeError)(...args)
)
}) : common_vendor.e({
F: _ctx.loading
}, _ctx.loading ? {
G: common_vendor.p({
show: true,
animation: true,
mode: "flower",
color: "tn-gray"
}),
H: common_vendor.n(common_vendor.unref(ns).m("loading"))
} : {}, {
I: _ctx.icon
}, _ctx.icon ? {
J: common_vendor.p({
name: _ctx.icon
}),
K: common_vendor.n(common_vendor.unref(ns).e("icon"))
} : {}, {
L: common_vendor.n(common_vendor.unref(buttonClass)),
M: common_vendor.s(common_vendor.unref(buttonStyle)),
N: props.disabled || props.loading || props.onlyButton ? "" : _ctx.hoverClass,
O: _ctx.disabled,
P: _ctx.formType,
Q: _ctx.openType,
R: _ctx.appParameter,
S: _ctx.sessionFrom,
T: _ctx.sendMessageTitle,
U: _ctx.sendMessagePath,
V: _ctx.sendMessageImg,
W: _ctx.showMessageCard,
X: _ctx.phoneNumberNoQuotaToast,
Y: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(buttonClick) && common_vendor.unref(buttonClick)(...args)
),
Z: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(getPhoneNumber) && common_vendor.unref(getPhoneNumber)(...args)
),
aa: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(getRealTimePhoneNumber) && common_vendor.unref(getRealTimePhoneNumber)(...args)
),
ab: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(openSetting) && common_vendor.unref(openSetting)(...args)
),
ac: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(launchApp) && common_vendor.unref(launchApp)(...args)
),
ad: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(getUserInfo) && common_vendor.unref(getUserInfo)(...args)
),
ae: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(chooseAvatar) && common_vendor.unref(chooseAvatar)(...args)
),
af: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(agreePrivacyAuthorization) && common_vendor.unref(agreePrivacyAuthorization)(...args)
),
ag: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(contact) && common_vendor.unref(contact)(...args)
),
ah: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(openTypeError) && common_vendor.unref(openTypeError)(...args)
)
}));
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-2c34b8c1"]]);
wx.createComponent(Component);
@@ -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-2c34b8c1', 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-2c34b8c1', d]}}"><tn-loading wx:if="{{c}}" class="data-v-2c34b8c1" virtualHostClass="data-v-2c34b8c1" u-i="2c34b8c1-0" bind:__l="__l" u-p="{{c}}"/></view><view wx:if="{{e}}" class="{{['data-v-2c34b8c1', g]}}"><tn-icon wx:if="{{f}}" class="data-v-2c34b8c1" virtualHostClass="data-v-2c34b8c1" u-i="2c34b8c1-1" bind:__l="__l" u-p="{{f}}"/></view><slot wx:else/></button><button wx:else class="{{['tn-u-btn-clear', 'data-v-2c34b8c1', 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-2c34b8c1', H]}}"><tn-loading wx:if="{{G}}" class="data-v-2c34b8c1" virtualHostClass="data-v-2c34b8c1" u-i="2c34b8c1-2" bind:__l="__l" u-p="{{G}}"/></view><view wx:if="{{I}}" class="{{['data-v-2c34b8c1', K]}}"><tn-icon wx:if="{{J}}" class="data-v-2c34b8c1" virtualHostClass="data-v-2c34b8c1" u-i="2c34b8c1-3" bind:__l="__l" u-p="{{J}}"/></view><slot wx:else/></button>
@@ -0,0 +1,127 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-button.data-v-2c34b8c1 {
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;
/* icon图标按钮 start */
/* icon图标按钮 end */
/* size尺寸 satrt */
/* size尺寸 end */
/* shape形状 start */
/* shape形状 end */
/* plain start */
/* plain end */
/* text start */
/* text end */
/* 加载动画 start */
/* 加载动画 end */
/* 只是按钮时没有任何样式 start */
/* 只是按钮时没有任何样式 end */
}
.tn-button__icon.data-v-2c34b8c1 {
font-size: inherit;
color: inherit;
}
.tn-button--sm.data-v-2c34b8c1 {
font-size: 20rpx;
padding: 6rpx 8rpx;
border-radius: 6rpx;
}
.tn-button--lg.data-v-2c34b8c1 {
font-size: 34rpx;
padding: 12rpx 18rpx;
}
.tn-button--xl.data-v-2c34b8c1 {
font-size: 40rpx;
padding: 16rpx 24rpx;
}
.tn-button--circle.data-v-2c34b8c1 {
padding: 0;
width: 60rpx;
height: 60rpx;
border-radius: 50%;
}
.tn-button--circle.tn-button--sm.data-v-2c34b8c1 {
width: 50rpx;
height: 50rpx;
}
.tn-button--circle.tn-button--lg.data-v-2c34b8c1 {
width: 80rpx;
height: 80rpx;
}
.tn-button--circle.tn-button--xl.data-v-2c34b8c1 {
width: 100rpx;
height: 100rpx;
}
.tn-button--round.data-v-2c34b8c1 {
border-radius: 1000rpx;
padding: 10rpx 16rpx;
}
.tn-button--round.tn-button--sm.data-v-2c34b8c1 {
padding: 6rpx 12rpx;
border-radius: 20rpx;
}
.tn-button--round.tn-button--lg.data-v-2c34b8c1 {
padding: 12rpx 18rpx;
}
.tn-button--round.tn-button--xl.data-v-2c34b8c1 {
padding: 16rpx 24rpx;
}
.tn-button--plain.data-v-2c34b8c1 {
border-width: 2rpx;
border-style: solid;
}
.tn-button--plain-bold.data-v-2c34b8c1 {
border-width: 4rpx;
}
.tn-button--text.data-v-2c34b8c1 {
border: none;
background-color: transparent;
}
.tn-button--loading.data-v-2c34b8c1 {
margin-right: 8rpx;
}
.tn-button--only-button.data-v-2c34b8c1 {
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;
}
@@ -0,0 +1,28 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "circle-progress",
props: common_vendor.circleProgressProps,
setup(__props) {
const props = __props;
const { ns, canvasId, radius, activeCircleColor } = common_vendor.useCircleProgress(props);
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.unref(canvasId),
b: common_vendor.n(common_vendor.unref(ns).e("canvas")),
c: common_vendor.unref(canvasId),
d: _ctx.showPercent || _ctx.$slots.default
}, _ctx.showPercent || _ctx.$slots.default ? {
e: common_vendor.t(_ctx.percent),
f: common_vendor.n(common_vendor.unref(ns).e("precent-value"))
} : {}, {
g: common_vendor.n(common_vendor.unref(ns).b()),
h: `${common_vendor.unref(radius) * 2}px`,
i: `${common_vendor.unref(radius) * 2}px`,
j: common_vendor.unref(activeCircleColor)
});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8016c374"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{['data-v-8016c374', g, virtualHostClass]}}" style="{{'width:' + h + ';' + ('height:' + i) + ';' + ('color:' + j) + ';' + virtualHostStyle}}"><block wx:if="{{r0}}"><canvas id="{{a}}" class="{{['data-v-8016c374', b]}}" canvas-id="{{c}}"/></block><view wx:if="{{d}}" class="{{['data-v-8016c374', f]}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else>{{e}}% </block></view></view>
@@ -0,0 +1,46 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-circle-progress.data-v-8016c374 {
position: relative;
/* canvas 进度条 start */
/* canvas 进度条 end */
/* 进度值 start */
/* 进度值 end */
}
.tn-circle-progress__canvas.data-v-8016c374 {
position: absolute;
width: 100%;
height: 100%;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.tn-circle-progress__precent-value.data-v-8016c374 {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
@@ -0,0 +1 @@
<view class="{{['data-v-944bef13', l, virtualHostClass]}}" style="{{virtualHostStyle}}"><view class="{{['data-v-944bef13', g]}}"><view wx:if="{{a}}" id="{{c}}" class="{{['data-v-944bef13', d]}}" style="{{e}}"><block wx:if="{{$slots.label}}"><slot name="label"></slot></block><block wx:else>{{b}}</block></view><view class="{{['data-v-944bef13', f]}}"><slot/></view></view><view wx:if="{{h}}" class="{{['tn-red_text', 'data-v-944bef13', j]}}" style="{{k}}">{{i}}</view></view>
@@ -0,0 +1 @@
<view class="{{['data-v-b2b814ec', a, virtualHostClass]}}" style="{{virtualHostStyle}}"><slot/></view>
@@ -0,0 +1,38 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
const __default__ = {
options: {
// 在微信小程序中将组件节点渲染为虚拟节点,更加接近Vue组件的表现(不会出现shadow节点下再去创建元素)
virtualHost: true
}
};
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
...__default__,
__name: "icon",
props: common_vendor.iconProps,
emits: common_vendor.iconEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const { isImg, iconClass, iconStyle } = common_vendor.useIcon(props);
const handleClick = () => {
emits("click");
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.unref(isImg)
}, common_vendor.unref(isImg) ? {
b: _ctx.name,
c: _ctx.imgMode
} : {
d: common_vendor.n(`tn-icon-${_ctx.name}`)
}, {
e: common_vendor.n(common_vendor.unref(iconClass)),
f: common_vendor.s(common_vendor.unref(iconStyle)),
g: common_vendor.o(handleClick)
});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-9e5861ba"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{['data-v-9e5861ba', e, virtualHostClass]}}" style="{{f + ';' + virtualHostStyle}}" bindtap="{{g}}"><image wx:if="{{a}}" class="image data-v-9e5861ba" src="{{b}}" mode="{{c}}"/><text wx:else class="{{['data-v-9e5861ba', 'icon', d]}}"/></view>
File diff suppressed because one or more lines are too long
@@ -0,0 +1,108 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
if (!Math) {
TnIcon();
}
const TnIcon = () => "../../icon/src/icon.js";
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "image-upload",
props: common_vendor.imageUploadProps,
emits: common_vendor.imageUploadEmits,
setup(__props, { expose: __expose }) {
const props = __props;
const ns = common_vendor.useNamespace("image-upload");
const nsItem = common_vendor.useNamespace("image-upload-item");
const {
fileList,
isExceedMaxCount,
chooseFile,
retryUploadFile,
retryAllUpload,
customUploadHandle,
removeFileEvent,
clearAllFile,
previewImage
} = common_vendor.useImageUpload(props);
__expose({
/**
* @description 手动选择文件
*/
chooseFile,
/**
* @description 手动上传图片
*/
upload: customUploadHandle,
/**
* @description 重新上传失败的文件
*/
retry: retryAllUpload,
/**
* @description 清空所有文件
*/
clear: clearAllFile
});
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.f(common_vendor.unref(fileList), (item, index, i0) => {
return common_vendor.e({
a: item.url,
b: common_vendor.n(common_vendor.unref(nsItem).is("finish", item.status === "done")),
c: common_vendor.o(($event) => common_vendor.unref(previewImage)(index), index)
}, _ctx.showRemove && !_ctx.disabled ? {
d: "0f651093-0-" + i0,
e: common_vendor.p({
name: "close-fill"
}),
f: common_vendor.n(common_vendor.unref(nsItem).em("remove", "icon")),
g: common_vendor.n(common_vendor.unref(nsItem).e("remove")),
h: common_vendor.o(($event) => common_vendor.unref(removeFileEvent)(index), index)
} : {}, {
i: item.status === "failed" && !_ctx.disabled
}, item.status === "failed" && !_ctx.disabled ? {
j: "0f651093-1-" + i0,
k: common_vendor.p({
name: "refresh-simple"
}),
l: common_vendor.n(common_vendor.unref(nsItem).e("retry")),
m: common_vendor.o(($event) => common_vendor.unref(retryUploadFile)(index), index)
} : {}, {
n: _ctx.showUploadProgress && item.progress > 0 && item.progress < 100 && !_ctx.disabled
}, _ctx.showUploadProgress && item.progress > 0 && item.progress < 100 && !_ctx.disabled ? {
o: common_vendor.n(common_vendor.unref(nsItem).em("progress", "wave")),
p: `${-300 - item.progress}%`,
q: common_vendor.n(common_vendor.unref(nsItem).em("progress", "wave")),
r: `${-300 - item.progress}%`,
s: common_vendor.n(common_vendor.unref(nsItem).e("progress")),
t: common_vendor.n(common_vendor.unref(nsItem).is("finish", item.progress === 100))
} : {}, {
v: "uploadImage-" + i0,
w: common_vendor.r("uploadImage", {
data: item
}, i0),
x: index
});
}),
b: common_vendor.n(common_vendor.unref(nsItem).e("image")),
c: _ctx.showRemove && !_ctx.disabled,
d: common_vendor.n(common_vendor.unref(nsItem).b()),
e: common_vendor.n(common_vendor.unref(nsItem).is("custom", !!_ctx.$slots.uploadImage)),
f: !common_vendor.unref(isExceedMaxCount) && !_ctx.disabled
}, !common_vendor.unref(isExceedMaxCount) && !_ctx.disabled ? {
g: common_vendor.p({
name: "add-fill"
}),
h: common_vendor.n(common_vendor.unref(nsItem).em("add-btn", "icon")),
i: common_vendor.n(common_vendor.unref(nsItem).e("add-btn")),
j: common_vendor.n(common_vendor.unref(nsItem).b()),
k: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(chooseFile) && common_vendor.unref(chooseFile)(...args)
)
} : {}, {
l: common_vendor.n(common_vendor.unref(ns).b())
});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0f651093"]]);
wx.createComponent(Component);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../../icon/src/icon"
}
}
@@ -0,0 +1 @@
<view class="{{['data-v-0f651093', l, virtualHostClass]}}" style="{{virtualHostStyle}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="x" class="{{['data-v-0f651093', d, e]}}"><block wx:if="{{$slots.uploadImage}}"><slot name="{{item.v}}"></slot></block><block wx:else><view class="{{['tn-gray-light_bg', 'data-v-0f651093', b, item.b]}}" catchtap="{{item.c}}"><image class="image data-v-0f651093" src="{{item.a}}" mode="aspectFill"/></view><view wx:if="{{c}}" class="{{['data-v-0f651093', item.g]}}" catchtap="{{item.h}}"><view class="{{['data-v-0f651093', item.f]}}"><tn-icon wx:if="{{item.e}}" class="data-v-0f651093" virtualHostClass="data-v-0f651093" u-i="{{item.d}}" bind:__l="__l" u-p="{{item.e}}"/></view></view><view wx:if="{{item.i}}" class="{{['data-v-0f651093', item.l]}}" catchtap="{{item.m}}"><tn-icon wx:if="{{item.k}}" class="data-v-0f651093" virtualHostClass="data-v-0f651093" u-i="{{item.j}}" bind:__l="__l" u-p="{{item.k}}"/></view><view wx:if="{{item.n}}" class="{{['data-v-0f651093', item.s, item.t]}}"><view class="{{['data-v-0f651093', item.o]}}" style="{{'top:' + item.p}}"/><view class="{{['data-v-0f651093', item.q]}}" style="{{'top:' + item.r}}"/></view></block></view><block wx:if="{{f}}"><block wx:if="{{$slots.uploadBtn}}"><slot name="uploadBtn"></slot></block><block wx:else><view class="{{['tn-gray-light_bg', 'tn-gray-disabled_text', 'data-v-0f651093', j]}}" catchtap="{{k}}"><view class="{{['data-v-0f651093', i]}}"><block wx:if="{{$slots.addBtn}}"><slot name="addBtn"></slot></block><block wx:else><view class="{{['data-v-0f651093', h]}}"><tn-icon wx:if="{{g}}" class="data-v-0f651093" virtualHostClass="data-v-0f651093" u-i="0f651093-2" bind:__l="__l" u-p="{{g}}"/></view></block></view></view></block></block></view>
@@ -0,0 +1,173 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-image-upload.data-v-0f651093 {
position: relative;
width: 100%;
display: flex;
flex-wrap: wrap;
}
/* item 对象 */
.tn-image-upload-item.data-v-0f651093 {
flex-grow: 0;
position: relative;
width: calc(33.3333333333% - 20rpx);
height: 0;
padding-bottom: calc(33.3333333333% - 20rpx);
border-radius: 15rpx;
margin-right: 20rpx;
margin-bottom: 20rpx;
overflow: hidden;
/* 自定义显示图片数据 start */
/* 自定义显示图片数据 end */
/* 图片 start */
/* 图片 end */
/* 删除按钮 start */
/* 删除按钮 end */
/* 重试蒙层 start */
/* 重试蒙层 end */
/* 进度条 start */
/* 进度条 end */
/* 新增图片 按钮 start */
/* 新增图片 按钮 end */
}
.tn-image-upload-item.is-custom.data-v-0f651093 {
flex: auto;
width: 100%;
height: auto;
padding: 0rpx;
border-radius: 0rpx;
margin: 0;
}
.tn-image-upload-item__image.data-v-0f651093 {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
border-radius: inherit;
will-change: transform;
z-index: 1;
}
.tn-image-upload-item__image .image.data-v-0f651093 {
width: 100%;
height: 100%;
border-radius: inherit;
}
.tn-image-upload-item__image.is-donw.data-v-0f651093 {
z-index: 4;
}
.tn-image-upload-item__remove.data-v-0f651093 {
position: absolute;
right: 0;
top: 0;
background-color: transparent;
color: #fff;
width: 0;
height: 0;
z-index: 6;
border-top: 70rpx solid var(--tn-color-danger);
border-left: 70rpx solid transparent;
}
.tn-image-upload-item__remove--icon.data-v-0f651093 {
position: absolute;
top: -76rpx;
right: 8rpx;
transform: translateY(50%);
line-height: 1;
}
.tn-image-upload-item__retry.data-v-0f651093 {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
color: #fff;
z-index: 5;
display: flex;
align-items: center;
justify-content: center;
font-size: 110rpx;
line-height: 1;
}
.tn-image-upload-item__progress.data-v-0f651093 {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 100%;
z-index: 2;
opacity: 1;
background-color: rgba(247, 248, 247, 0);
transition-property: opacity;
transition-duration: 0.8s;
transition-timing-function: linear;
transition-delay: 0.3s;
}
.tn-image-upload-item__progress--wave.data-v-0f651093 {
position: absolute;
width: 400%;
height: 400%;
top: -300%;
left: 50%;
z-index: 2;
background-color: rgba(170, 170, 170, 0.5);
border-radius: 45%;
transform: translateX(-50%) rotate(0);
animation: rotate-0f651093 4s linear infinite;
}
.tn-image-upload-item__progress--wave + .tn-image-upload-item__progress--wave.data-v-0f651093 {
z-index: 3;
background-color: rgba(170, 170, 170, 0.8);
border-radius: 47%;
animation: rotate-0f651093 9s linear -4s infinite;
}
.tn-image-upload-item__progress.is-finish.data-v-0f651093 {
opacity: 0;
}
.tn-image-upload-item__add-btn.data-v-0f651093 {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
border-radius: inherit;
}
.tn-image-upload-item__add-btn--icon.data-v-0f651093 {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-size: 100rpx;
}
@keyframes rotate-0f651093 {
50% {
transform: translateX(-50%) rotate(180deg);
}
100% {
transform: translateX(-50%) rotate(360deg);
}
}
@@ -0,0 +1,177 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
if (!Math) {
TnIcon();
}
const TnIcon = () => "../../icon/src/icon.js";
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "input",
props: common_vendor.inputProps,
emits: common_vendor.inputEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const {
inputText,
needStatusIcon,
validateState,
validateIcon,
passwordVisible,
passwordIcon,
showIcon,
disabled,
showWordLimit,
currentWordCount,
togglePasswordVisible,
inputInputEvent,
inputFocusEvent,
inputBlurEvent,
clearClickEvent,
confirmEvent,
inputClickEvent
} = common_vendor.useInput(props, emits);
const {
ns,
inputClass,
inputStyle,
placeholderStyle,
wordLimitClass,
wordLimitStyle
} = common_vendor.useInputCustomStyle(props, validateState, disabled);
return (_ctx, _cache) => {
return common_vendor.e({
a: _ctx.$slots.prefix
}, _ctx.$slots.prefix ? {
b: common_vendor.n(common_vendor.unref(ns).em("slot", "left"))
} : {}, {
c: _ctx.type === "textarea"
}, _ctx.type === "textarea" ? {
d: common_vendor.n(common_vendor.unref(ns).e("base")),
e: common_vendor.n(common_vendor.unref(ns).e("textarea")),
f: common_vendor.n(common_vendor.unref(ns).is("custom-height", !!_ctx.height)),
g: common_vendor.unref(inputText),
h: _ctx.placeholder,
i: common_vendor.unref(placeholderStyle),
j: common_vendor.unref(disabled),
k: _ctx.maxlength,
l: _ctx.focus,
m: _ctx.confirmType,
n: !_ctx.height && _ctx.autoHeight,
o: _ctx.selectionStart,
p: _ctx.selectionEnd,
q: _ctx.cursorSpacing,
r: _ctx.showConfirmBar,
s: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(inputInputEvent) && common_vendor.unref(inputInputEvent)(...args)
),
t: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(inputFocusEvent) && common_vendor.unref(inputFocusEvent)(...args)
),
v: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(inputBlurEvent) && common_vendor.unref(inputBlurEvent)(...args)
),
w: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(confirmEvent) && common_vendor.unref(confirmEvent)(...args)
)
} : {
x: common_vendor.n(common_vendor.unref(ns).e("base")),
y: common_vendor.n(common_vendor.unref(ns).e("input")),
z: common_vendor.n(common_vendor.unref(ns).em("input", _ctx.type)),
A: _ctx.type === "password" || _ctx.type === "select" ? "text" : _ctx.type,
B: common_vendor.unref(inputText),
C: _ctx.placeholder,
D: _ctx.type === "password" && !common_vendor.unref(passwordVisible),
E: common_vendor.unref(placeholderStyle),
F: common_vendor.unref(disabled) || _ctx.type === "select",
G: _ctx.maxlength,
H: _ctx.focus,
I: _ctx.confirmType,
J: _ctx.selectionStart,
K: _ctx.selectionEnd,
L: _ctx.cursorSpacing,
M: _ctx.showConfirmBar,
N: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(inputInputEvent) && common_vendor.unref(inputInputEvent)(...args)
),
O: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(inputFocusEvent) && common_vendor.unref(inputFocusEvent)(...args)
),
P: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(inputBlurEvent) && common_vendor.unref(inputBlurEvent)(...args)
),
Q: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(confirmEvent) && common_vendor.unref(confirmEvent)(...args)
)
}, {
R: common_vendor.unref(showIcon)
}, common_vendor.unref(showIcon) ? common_vendor.e({
S: _ctx.rightIcon
}, _ctx.rightIcon ? {
T: common_vendor.p({
name: _ctx.rightIcon
}),
U: common_vendor.n(common_vendor.unref(ns).em("icon", "custom"))
} : {}, {
V: _ctx.type === "password" && _ctx.showPassword
}, _ctx.type === "password" && _ctx.showPassword ? {
W: common_vendor.p({
name: common_vendor.unref(passwordIcon)
}),
X: common_vendor.n(common_vendor.unref(ns).em("icon", "password")),
Y: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(togglePasswordVisible) && common_vendor.unref(togglePasswordVisible)(...args)
)
} : _ctx.clearable && common_vendor.unref(inputText) ? {
aa: common_vendor.p({
name: "close"
}),
ab: common_vendor.n(common_vendor.unref(ns).em("icon", "clear")),
ac: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(clearClickEvent) && common_vendor.unref(clearClickEvent)(...args)
)
} : {}, {
Z: _ctx.clearable && common_vendor.unref(inputText),
ad: common_vendor.unref(validateState) && common_vendor.unref(validateIcon) && common_vendor.unref(needStatusIcon)
}, common_vendor.unref(validateState) && common_vendor.unref(validateIcon) && common_vendor.unref(needStatusIcon) ? {
ae: common_vendor.p({
name: common_vendor.unref(validateIcon)
}),
af: common_vendor.n(common_vendor.unref(ns).em("icon", `validate-${common_vendor.unref(validateState)}`))
} : {}, {
ag: common_vendor.n(common_vendor.unref(ns).e("icon"))
}) : {}, {
ah: _ctx.$slots.suffix
}, _ctx.$slots.suffix ? {
ai: common_vendor.n(common_vendor.unref(ns).em("slot", "right"))
} : {}, {
aj: common_vendor.unref(showWordLimit)
}, common_vendor.unref(showWordLimit) ? {
ak: common_vendor.t(common_vendor.unref(currentWordCount)),
al: common_vendor.t(_ctx.maxlength),
am: common_vendor.n(common_vendor.unref(wordLimitClass)),
an: common_vendor.s(common_vendor.unref(wordLimitStyle))
} : {}, {
ao: common_vendor.n(common_vendor.unref(inputClass)),
ap: common_vendor.n(`${_ctx.type === "textarea" ? common_vendor.unref(ns).m("textarea") : common_vendor.unref(ns).m("input")}`),
aq: common_vendor.n(common_vendor.unref(ns).is("show-word-limit", common_vendor.unref(showWordLimit))),
ar: common_vendor.s(common_vendor.unref(inputStyle)),
as: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(inputClickEvent) && common_vendor.unref(inputClickEvent)(...args)
)
});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-79787cc6"]]);
wx.createComponent(Component);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../../icon/src/icon"
}
}
@@ -0,0 +1 @@
<view class="{{['data-v-79787cc6', ao, ap, aq, virtualHostClass]}}" style="{{ar + ';' + virtualHostStyle}}" bindtap="{{as}}"><view wx:if="{{a}}" class="{{['data-v-79787cc6', b]}}"><slot name="prefix"/></view><textarea wx:if="{{c}}" class="{{['data-v-79787cc6', d, e, f]}}" value="{{g}}" placeholder="{{h}}" placeholder-style="{{i}}" disabled="{{j}}" maxlength="{{k}}" focus="{{l}}" confirm-type="{{m}}" auto-height="{{n}}" selection-start="{{o}}" selection-end="{{p}}" cursor-spacing="{{q}}" show-confirm-bar="{{r}}" bindinput="{{s}}" bindfocus="{{t}}" bindblur="{{v}}" bindconfirm="{{w}}"/><block wx:else><input wx:if="{{r0}}" class="{{['data-v-79787cc6', x, y, z]}}" type="{{A}}" value="{{B}}" placeholder="{{C}}" password="{{D}}" placeholder-style="{{E}}" disabled="{{F}}" maxlength="{{G}}" focus="{{H}}" confirm-type="{{I}}" selection-start="{{J}}" selection-end="{{K}}" cursor-spacing="{{L}}" show-confirm-bar="{{M}}" bindinput="{{N}}" bindfocus="{{O}}" bindblur="{{P}}" bindconfirm="{{Q}}"/></block><view wx:if="{{R}}" class="{{['data-v-79787cc6', ag]}}"><view wx:if="{{S}}" class="{{['data-v-79787cc6', U]}}"><tn-icon wx:if="{{T}}" class="data-v-79787cc6" virtualHostClass="data-v-79787cc6" u-i="79787cc6-0" bind:__l="__l" u-p="{{T}}"/></view><view wx:if="{{V}}" class="{{['data-v-79787cc6', X]}}" catchtap="{{Y}}"><tn-icon wx:if="{{W}}" class="data-v-79787cc6" virtualHostClass="data-v-79787cc6" u-i="79787cc6-1" bind:__l="__l" u-p="{{W}}"/></view><view wx:elif="{{Z}}" class="{{['data-v-79787cc6', ab]}}" catchtap="{{ac}}"><tn-icon wx:if="{{aa}}" class="data-v-79787cc6" virtualHostClass="data-v-79787cc6" u-i="79787cc6-2" bind:__l="__l" u-p="{{aa}}"/></view><view wx:if="{{ad}}" class="{{['data-v-79787cc6', af]}}"><tn-icon wx:if="{{ae}}" class="data-v-79787cc6" virtualHostClass="data-v-79787cc6" u-i="79787cc6-3" bind:__l="__l" u-p="{{ae}}"/></view></view><view wx:if="{{ah}}" class="{{['data-v-79787cc6', ai]}}"><slot name="suffix"/></view><view wx:if="{{aj}}" class="{{['data-v-79787cc6', am]}}" style="{{an}}">{{ak}} / {{al}}</view></view>
@@ -0,0 +1,129 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-input.data-v-79787cc6 {
display: inline-flex;
position: relative;
width: 100%;
padding: 16rpx;
font-size: 28rpx;
border-radius: 15rpx;
overflow: auto;
/* 下划线边框去掉圆角 */
/* 输入框类型 start */
/* 输入框类型 end */
/* 文字对齐方式 start */
/* 文字对齐方式 end */
/* 右边图标 start */
/* 右边图标 end */
/* 尺寸 start */
/* 尺寸 end */
/* 禁止输入 start */
/* 禁止输入 end */
/* 插槽 start */
/* 插槽 end */
/* 字数统计 start */
/* 字数统计 end */
}
.tn-input--underline.data-v-79787cc6 {
border-radius: 0;
}
.tn-input--input.data-v-79787cc6 {
align-items: center;
}
.tn-input--text-left .tn-input__base.data-v-79787cc6 {
text-align: left;
}
.tn-input--text-right .tn-input__base.data-v-79787cc6 {
text-align: right;
}
.tn-input--text-center .tn-input__base.data-v-79787cc6 {
text-align: center;
}
.tn-input__base.data-v-79787cc6 {
flex-grow: 1;
position: relative;
width: 100%;
background-color: transparent;
color: inherit;
font-size: inherit;
}
.tn-input__textarea.is-custom-height.data-v-79787cc6 {
height: 100%;
}
.tn-input__input--select.data-v-79787cc6 {
z-index: 1;
}
.tn-input__input--select.data-v-79787cc6 .uni-input-input {
z-index: -1;
}
.tn-input__icon.data-v-79787cc6 {
display: flex;
align-items: center;
justify-content: center;
position: relative;
height: 100%;
padding-left: 10rpx;
line-height: 1;
color: var(--tn-color-gray);
}
.tn-input__icon [class*=validate].data-v-79787cc6 {
margin-left: 6rpx;
}
.tn-input__icon--validate-error.data-v-79787cc6 {
color: var(--tn-color-red);
}
.tn-input__icon--validate-success.data-v-79787cc6 {
color: var(--tn-color-green);
}
.tn-input--sm.data-v-79787cc6 {
padding: 10rpx;
font-size: 24rpx;
}
.tn-input--lg.data-v-79787cc6 {
padding: 20rpx;
font-size: 32rpx;
}
.tn-input--disabled.data-v-79787cc6 {
background-color: var(--tn-color-gray-light);
}
.tn-input__slot--left.data-v-79787cc6 {
margin-right: 8rpx;
}
.tn-input__slot--right.data-v-79787cc6 {
margin-left: 8rpx;
}
.tn-input.is-show-word-limit.data-v-79787cc6 {
padding-bottom: 40rpx;
}
.tn-input__word-limit.data-v-79787cc6 {
position: absolute;
right: 20rpx;
bottom: 10rpx;
font-size: 24rpx;
line-height: 1;
display: flex;
align-items: center;
}
@@ -0,0 +1,73 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
if (!Math) {
TnIcon();
}
const TnIcon = () => "../../icon/src/icon.js";
const __default__ = {
options: {
// 在微信小程序中将组件节点渲染为虚拟节点,更加接近Vue组件的表现(不会出现shadow节点下再去创建元素)
virtualHost: true
}
};
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
...__default__,
__name: "lazy-load",
props: common_vendor.lazyLoadProps,
emits: common_vendor.lazyLoadEmits,
setup(__props) {
const props = __props;
const {
componentId,
imageStatus,
showImage,
handleImageLoadedSuccess,
handleImageLoadedFailed
} = common_vendor.useLazyLoad(props);
const { ns, lazyLoadStyle } = common_vendor.useLazyLoadCustomStyle(props);
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.unref(imageStatus) === "loading"
}, common_vendor.unref(imageStatus) === "loading" ? {
b: common_vendor.p({
name: "loading"
}),
c: common_vendor.n(common_vendor.unref(ns).e("loading__icon")),
d: common_vendor.n(common_vendor.unref(ns).e("loading")),
e: common_vendor.n(common_vendor.unref(ns).e("container"))
} : {}, {
f: common_vendor.unref(showImage) && common_vendor.unref(imageStatus) !== "error"
}, common_vendor.unref(showImage) && common_vendor.unref(imageStatus) !== "error" ? {
g: common_vendor.n(common_vendor.unref(ns).e("image")),
h: common_vendor.n(common_vendor.unref(ns).is("animation", common_vendor.unref(imageStatus) === "loaded" && _ctx.transition)),
i: common_vendor.n(common_vendor.unref(ns).is("no-animation", common_vendor.unref(imageStatus) === "loaded" && !_ctx.transition)),
j: _ctx.src,
k: _ctx.mode,
l: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(handleImageLoadedSuccess) && common_vendor.unref(handleImageLoadedSuccess)(...args)
),
m: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(handleImageLoadedFailed) && common_vendor.unref(handleImageLoadedFailed)(...args)
),
n: common_vendor.n(common_vendor.unref(ns).e("container"))
} : {}, {
o: common_vendor.unref(imageStatus) === "error"
}, common_vendor.unref(imageStatus) === "error" ? {
p: common_vendor.p({
name: "image-fill"
}),
q: common_vendor.n(common_vendor.unref(ns).e("error")),
r: common_vendor.n(common_vendor.unref(ns).e("container"))
} : {}, {
s: common_vendor.unref(componentId),
t: common_vendor.n(common_vendor.unref(ns).b()),
v: common_vendor.n(common_vendor.unref(ns).is("show-image", common_vendor.unref(showImage) && common_vendor.unref(imageStatus) === "loaded")),
w: common_vendor.s(common_vendor.unref(lazyLoadStyle))
});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-b259162f"]]);
wx.createComponent(Component);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../../icon/src/icon"
}
}
@@ -0,0 +1 @@
<view id="{{s}}" class="{{['data-v-b259162f', t, v, virtualHostClass]}}" style="{{w + ';' + virtualHostStyle}}"><view wx:if="{{a}}" class="{{['data-v-b259162f', e]}}"><block wx:if="{{$slots.loading}}"><slot name="loading"></slot></block><block wx:else><view class="{{['data-v-b259162f', d]}}"><view class="{{['data-v-b259162f', c]}}"><tn-icon wx:if="{{b}}" class="data-v-b259162f" virtualHostClass="data-v-b259162f" u-i="b259162f-0" bind:__l="__l" u-p="{{b}}"/></view></view></block></view><view wx:if="{{f}}" class="{{['data-v-b259162f', n]}}"><image class="{{['data-v-b259162f', g, h, i]}}" src="{{j}}" mode="{{k}}" bindload="{{l}}" binderror="{{m}}"/></view><view wx:if="{{o}}" class="{{['data-v-b259162f', r]}}"><block wx:if="{{$slots.error}}"><slot name="error"></slot></block><block wx:else><view class="{{['data-v-b259162f', q]}}"><tn-icon wx:if="{{p}}" class="data-v-b259162f" virtualHostClass="data-v-b259162f" u-i="b259162f-1" bind:__l="__l" u-p="{{p}}"/></view></block></view></view>
@@ -0,0 +1,105 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-lazy-load.data-v-b259162f {
position: relative;
width: 100%;
height: 100%;
border-radius: inherit;
min-height: 1rpx;
background-color: var(--tn-color-gray-light);
color: var(--tn-color-gray);
/* 正常显示图片 start */
/* 正常显示图片 end */
/* 内容容器 start */
/* 内容容器 end */
/* 正在加载 start */
/* 正在加载 end */
/* 图片加载失败 start */
/* 图片加载失败 end */
/* 图片 start */
/* 图片 end */
}
.tn-lazy-load.is-show-image.data-v-b259162f {
background-color: transparent;
color: transparent;
}
.tn-lazy-load__container.data-v-b259162f {
width: 100%;
height: 100%;
border-radius: inherit;
}
.tn-lazy-load__loading.data-v-b259162f {
width: 100%;
height: 100%;
border-radius: inherit;
display: flex;
align-items: center;
justify-content: center;
}
.tn-lazy-load__loading__icon.data-v-b259162f {
font-size: 90rpx;
animation: loading-icon-animation-b259162f 3s linear infinite;
}
.tn-lazy-load__error.data-v-b259162f {
width: 100%;
height: 100%;
border-radius: inherit;
display: flex;
align-items: center;
justify-content: center;
font-size: 100rpx;
}
.tn-lazy-load__image.data-v-b259162f {
display: block;
width: 100%;
height: 100%;
border-radius: inherit;
opacity: 0;
/* 没有动画效果 */
/* 有加载动画 */
}
.tn-lazy-load__image.is-no-animation.data-v-b259162f {
opacity: 1;
}
.tn-lazy-load__image.is-animation.data-v-b259162f {
animation: show-image-animation-b259162f 0.25s ease both;
}
@keyframes loading-icon-animation-b259162f {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes show-image-animation-b259162f {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@@ -0,0 +1,55 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
const __default__ = {
options: {
// 在微信小程序中将组件节点渲染为虚拟节点,更加接近Vue组件的表现(不会出现shadow节点下再去创建元素)
virtualHost: true
}
};
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
...__default__,
__name: "loading",
props: common_vendor.loadingProps,
setup(__props) {
const props = __props;
const {
ns,
loadingClass,
loadingStyle,
loadingContentClass,
loadingContentStyle
} = common_vendor.useLoadingCustomStyle(props);
return (_ctx, _cache) => {
return common_vendor.e({
a: _ctx.show
}, _ctx.show ? common_vendor.e({
b: _ctx.mode === "semicircle"
}, _ctx.mode === "semicircle" ? {
c: common_vendor.n(common_vendor.unref(ns).e("semicircle"))
} : {}, {
d: _ctx.mode === "circle" || _ctx.mode === "semicircle"
}, _ctx.mode === "circle" || _ctx.mode === "semicircle" ? {
e: common_vendor.n(common_vendor.unref(ns).e("circle")),
f: common_vendor.n(common_vendor.unref(loadingContentClass)),
g: common_vendor.s(common_vendor.unref(loadingContentStyle))
} : {}, {
h: _ctx.mode === "flower"
}, _ctx.mode === "flower" ? {
i: common_vendor.f(12, (i, k0, i0) => {
return {
a: i
};
}),
j: common_vendor.n(common_vendor.unref(ns).em("flower", "item")),
k: common_vendor.n(common_vendor.unref(ns).e("flower")),
l: common_vendor.n(common_vendor.unref(loadingContentClass)),
m: common_vendor.s(common_vendor.unref(loadingContentStyle))
} : {}, {
n: common_vendor.n(common_vendor.unref(loadingClass)),
o: common_vendor.s(common_vendor.unref(loadingStyle))
}) : {});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8c5f91f0"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view wx:if="{{a}}" class="{{['data-v-8c5f91f0', n, virtualHostClass]}}" style="{{o + ';' + virtualHostStyle}}"><view wx:if="{{b}}" class="{{['data-v-8c5f91f0', c]}}"/><view wx:if="{{d}}" class="{{['data-v-8c5f91f0', e, f]}}" style="{{g}}"/><view wx:if="{{h}}" class="{{['data-v-8c5f91f0', k, l]}}" style="{{m}}"><view wx:for="{{i}}" wx:for-item="i" wx:key="a" class="{{['data-v-8c5f91f0', j]}}"/></view></view>
@@ -0,0 +1,161 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-loading.data-v-8c5f91f0 {
display: inline-block;
position: relative;
width: 28rpx;
height: 28rpx;
/* 尺寸 start */
/* 尺寸 end */
/* 加载模式 start */
/* 加载模式 end */
/* 加载动画 start */
/* 加载动画 end */
}
.tn-loading--sm.data-v-8c5f91f0 {
width: 24rpx;
height: 24rpx;
}
.tn-loading--lg.data-v-8c5f91f0 {
width: 36rpx;
height: 36rpx;
}
.tn-loading--xl.data-v-8c5f91f0 {
width: 44rpx;
height: 44rpx;
}
.tn-loading__circle.data-v-8c5f91f0 {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
border-radius: 50%;
border-width: 4rpx;
border-style: solid;
border-color: var(--loading-color) transparent transparent transparent;
}
.tn-loading__semicircle.data-v-8c5f91f0 {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
border-radius: 50%;
border-width: 4rpx;
border-style: solid;
border-color: var(--tn-color-gray-light);
}
.tn-loading__flower.data-v-8c5f91f0 {
position: relative;
width: 100%;
height: 100%;
color: var(--loading-color);
}
.tn-loading__flower--item.data-v-8c5f91f0 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.tn-loading__flower--item.data-v-8c5f91f0::before {
content: "";
display: block;
width: 4rpx;
height: 25%;
margin: 0 auto;
border-radius: 40%;
background-color: currentColor;
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(1) {
opacity: calc(1 / 12 * 1);
transform: rotate(calc(360deg / 12 * 1));
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(2) {
opacity: calc(1 / 12 * 2);
transform: rotate(calc(360deg / 12 * 2));
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(3) {
opacity: calc(1 / 12 * 3);
transform: rotate(calc(360deg / 12 * 3));
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(4) {
opacity: calc(1 / 12 * 4);
transform: rotate(calc(360deg / 12 * 4));
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(5) {
opacity: calc(1 / 12 * 5);
transform: rotate(calc(360deg / 12 * 5));
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(6) {
opacity: calc(1 / 12 * 6);
transform: rotate(calc(360deg / 12 * 6));
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(7) {
opacity: calc(1 / 12 * 7);
transform: rotate(calc(360deg / 12 * 7));
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(8) {
opacity: calc(1 / 12 * 8);
transform: rotate(calc(360deg / 12 * 8));
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(9) {
opacity: calc(1 / 12 * 9);
transform: rotate(calc(360deg / 12 * 9));
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(10) {
opacity: calc(1 / 12 * 10);
transform: rotate(calc(360deg / 12 * 10));
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(11) {
opacity: calc(1 / 12 * 11);
transform: rotate(calc(360deg / 12 * 11));
}
.tn-loading__flower--item.data-v-8c5f91f0:nth-of-type(12) {
opacity: calc(1 / 12 * 12);
transform: rotate(calc(360deg / 12 * 12));
}
.tn-loading--animation.data-v-8c5f91f0 {
animation-name: rotate-8c5f91f0;
animation-duration: 1s;
animation-iteration-count: infinite;
transform-origin: center center;
}
.tn-loading--animation.tn-loading__circle.data-v-8c5f91f0 {
animation-timing-function: linear;
}
.tn-loading--animation.tn-loading__flower.data-v-8c5f91f0 {
animation-timing-function: steps(12);
}
@keyframes rotate-8c5f91f0 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../../icon/src/icon"
}
}
@@ -0,0 +1 @@
<view class="{{['data-v-9f12ec2d', L]}}" style="{{M}}"><view class="{{['data-v-9f12ec2d', a]}}" style="{{b}}"/><view class="{{['data-v-9f12ec2d', J]}}" style="{{K}}"><view wx:if="{{c}}" class="{{['data-v-9f12ec2d', A]}}" style="{{B}}"><block wx:if="{{$slots.back}}"><slot name="back"></slot></block><block wx:else><view wx:if="{{d}}" class="{{['data-v-9f12ec2d', k]}}"><view class="{{['data-v-9f12ec2d', f]}}" catchtap="{{g}}"><tn-icon wx:if="{{e}}" class="data-v-9f12ec2d" virtualHostClass="data-v-9f12ec2d" u-i="9f12ec2d-0" bind:__l="__l" u-p="{{e}}"/></view><view class="{{['data-v-9f12ec2d', i]}}" catchtap="{{j}}"><tn-icon wx:if="{{h}}" class="data-v-9f12ec2d" virtualHostClass="data-v-9f12ec2d" u-i="9f12ec2d-1" bind:__l="__l" u-p="{{h}}"/></view></view><view wx:if="{{l}}" class="{{['data-v-9f12ec2d', q]}}" catchtap="{{r}}"><tn-icon wx:if="{{m}}" class="data-v-9f12ec2d" virtualHostClass="data-v-9f12ec2d" u-i="9f12ec2d-2" bind:__l="__l" u-p="{{n}}"/><tn-icon wx:elif="{{o}}" class="data-v-9f12ec2d" virtualHostClass="data-v-9f12ec2d" u-i="9f12ec2d-3" bind:__l="__l" u-p="{{p}}"/></view><view wx:if="{{s}}" class="{{['data-v-9f12ec2d', y]}}" catchtap="{{z}}"><view class="{{['data-v-9f12ec2d', v]}}"><tn-icon wx:if="{{t}}" class="data-v-9f12ec2d" virtualHostClass="data-v-9f12ec2d" u-i="9f12ec2d-4" bind:__l="__l" u-p="{{t}}"/></view><view class="{{['tn-text-ellipsis-1', 'data-v-9f12ec2d', x]}}">{{w}}</view></view></block></view><view wx:if="{{C}}" class="{{['data-v-9f12ec2d', D, E]}}" style="{{F}}"><slot/></view><view wx:if="{{G}}" class="{{['data-v-9f12ec2d', H]}}" style="{{I}}"><slot name="right"/></view></view></view><view wx:if="{{N}}" class="{{['data-v-9f12ec2d', O]}}" style="{{P}}"/>
@@ -0,0 +1,71 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
if (!Math) {
TnIcon();
}
const TnIcon = () => "../../icon/src/icon.js";
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "number-box",
props: common_vendor.numberBoxProps,
emits: common_vendor.numberBoxEmits,
setup(__props) {
const props = __props;
const {
inputValue,
handleOperationEvent,
clearLongPressTimer,
numberBoxInputEvent
} = common_vendor.useNumberBox(props);
const {
ns,
numberBoxClass,
numberBoxStyle,
numberBoxOperationWrapperClass,
numberBoxOperationWrapperStyle
} = common_vendor.useNumberBoxCustomStyle(props, inputValue);
return (_ctx, _cache) => {
return {
a: common_vendor.p({
name: "reduce"
}),
b: common_vendor.n(common_vendor.unref(ns).e("operation-btn")),
c: common_vendor.n(common_vendor.unref(ns).em("operation-btn", "minus")),
d: common_vendor.n(common_vendor.unref(numberBoxOperationWrapperClass)("minus")),
e: common_vendor.s(common_vendor.unref(numberBoxOperationWrapperStyle)("minus")),
f: common_vendor.o(($event) => common_vendor.unref(handleOperationEvent)("minus")),
g: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(clearLongPressTimer) && common_vendor.unref(clearLongPressTimer)(...args)
),
h: _ctx.disabled || _ctx.inputDisabled,
i: common_vendor.o([
common_vendor.m(($event) => common_vendor.isRef(inputValue) ? inputValue.value = $event.detail.value : null, {
number: true
}),
//@ts-ignore
(...args) => common_vendor.unref(numberBoxInputEvent) && common_vendor.unref(numberBoxInputEvent)(...args)
]),
j: common_vendor.unref(inputValue),
k: common_vendor.n(common_vendor.unref(ns).e("input")),
l: common_vendor.n(common_vendor.unref(numberBoxOperationWrapperClass)("input")),
m: common_vendor.s(common_vendor.unref(numberBoxOperationWrapperStyle)("input")),
n: common_vendor.p({
name: "add"
}),
o: common_vendor.n(common_vendor.unref(ns).e("operation-btn")),
p: common_vendor.n(common_vendor.unref(ns).em("operation-btn", "plus")),
q: common_vendor.n(common_vendor.unref(numberBoxOperationWrapperClass)("plus")),
r: common_vendor.s(common_vendor.unref(numberBoxOperationWrapperStyle)("plus")),
s: common_vendor.o(($event) => common_vendor.unref(handleOperationEvent)("plus")),
t: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(clearLongPressTimer) && common_vendor.unref(clearLongPressTimer)(...args)
),
v: common_vendor.n(common_vendor.unref(numberBoxClass)),
w: common_vendor.s(common_vendor.unref(numberBoxStyle))
};
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-05a049a7"]]);
wx.createComponent(Component);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../../icon/src/icon"
}
}
@@ -0,0 +1 @@
<view class="{{['data-v-05a049a7', v, virtualHostClass]}}" style="{{w + ';' + virtualHostStyle}}"><view class="{{['data-v-05a049a7', b, c, d]}}" style="{{e}}" hover-class="tn-u-btn-hover" hover-stay-time="{{250}}" catchtouchstart="{{f}}" catchtouchend="{{g}}"><block wx:if="{{$slots.minus}}"><slot name="minus"></slot></block><block wx:else><tn-icon wx:if="{{a}}" class="data-v-05a049a7" virtualHostClass="data-v-05a049a7" u-i="05a049a7-0" bind:__l="__l" u-p="{{a}}"/></block></view><view class="{{['data-v-05a049a7', k, l]}}" style="{{m}}"><input class="data-v-05a049a7" type="digit" disabled="{{h}}" bindinput="{{i}}" value="{{j}}"/></view><view class="{{['data-v-05a049a7', o, p, q]}}" style="{{r}}" hover-class="tn-u-btn-hover" hover-stay-time="{{250}}" catchtouchstart="{{s}}" catchtouchend="{{t}}"><block wx:if="{{$slots.plus}}"><slot name="plus"></slot></block><block wx:else><tn-icon wx:if="{{n}}" class="data-v-05a049a7" virtualHostClass="data-v-05a049a7" u-i="05a049a7-1" bind:__l="__l" u-p="{{n}}"/></block></view></view>
@@ -0,0 +1,95 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-number-box.data-v-05a049a7 {
display: inline-flex;
position: relative;
width: 180rpx;
height: 50rpx;
font-size: 28rpx;
/* 操作按钮 start */
/* 操作按钮 end */
/* 输入框 start */
/* 输入框 end */
/* 尺寸 start */
/* 尺寸 end */
/* 禁止操作 start */
/* 禁止操作 end */
}
.tn-number-box__operation-btn.data-v-05a049a7 {
flex-grow: 0;
flex-shrink: 0;
position: relative;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
width: 50rpx;
height: 50rpx;
font-size: 33.6rpx;
}
.tn-number-box__operation-btn.is-disabled.data-v-05a049a7 {
opacity: 0.3;
}
.tn-number-box__input.data-v-05a049a7 {
flex-grow: 1;
flex-shrink: 1;
margin: 0rpx 4rpx;
width: 100%;
height: 100%;
padding: 0rpx;
}
.tn-number-box__input input.data-v-05a049a7 {
width: 100%;
height: 100%;
background-color: transparent;
color: inherit;
font-size: inherit;
padding: 0rpx 4rpx;
text-align: center;
}
.tn-number-box--sm.data-v-05a049a7 {
width: 150rpx;
height: 40rpx;
font-size: 22rpx;
}
.tn-number-box--sm .tn-number-box__operation-btn.data-v-05a049a7 {
width: 40rpx;
height: 40rpx;
font-size: 26.4rpx;
}
.tn-number-box--lg.data-v-05a049a7 {
width: 220rpx;
height: 60rpx;
font-size: 36rpx;
}
.tn-number-box--lg .tn-number-box__operation-btn.data-v-05a049a7 {
width: 60rpx;
height: 60rpx;
font-size: 43.2rpx;
}
.tn-number-box--disabled.data-v-05a049a7 {
opacity: 0.4;
}
@@ -0,0 +1,3 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
wx.createComponent(common_vendor.Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{['data-v-40a804f4', a, virtualHostClass]}}" style="{{b + ';' + virtualHostStyle}}" catchtap="{{c}}" catchtouchmove="{{d}}"><slot/></view>
@@ -0,0 +1,40 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-overlay.data-v-40a804f4 {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
transition-property: all;
transition-timing-function: ease;
visibility: hidden;
opacity: 0;
}
.tn-overlay--show.data-v-40a804f4 {
opacity: 1;
visibility: visible;
}
@@ -0,0 +1,50 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
if (!Math) {
TnLazyLoad();
}
const TnLazyLoad = () => "../../lazy-load/src/lazy-load.js";
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "photo-album",
props: common_vendor.photoAlbumProps,
emits: common_vendor.photoAlbumEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const ns = common_vendor.useNamespace("photo-album");
const { imageData, imageClickEvent } = common_vendor.usePhotoAlbum(props, emits);
const containerStyle = common_vendor.computed(() => {
const style = {};
let width = `calc(100% / ${props.column} - 20rpx)`;
style.width = style.paddingBottom = width;
return style;
});
return (_ctx, _cache) => {
return {
a: common_vendor.f(common_vendor.unref(imageData), (item, index, i0) => {
return common_vendor.e(_ctx.lazyLoad ? {
a: "4e517efe-0-" + i0,
b: common_vendor.p({
src: item,
mode: props.imgMode
})
} : {
c: common_vendor.n(common_vendor.unref(ns).e("item__image")),
d: item,
e: props.imgMode
}, {
f: index,
g: common_vendor.o(($event) => common_vendor.unref(imageClickEvent)(index), index)
});
}),
b: _ctx.lazyLoad,
c: common_vendor.n(common_vendor.unref(ns).e("item")),
d: common_vendor.n(common_vendor.unref(ns).e("container")),
e: common_vendor.s(containerStyle.value),
f: common_vendor.n(common_vendor.unref(ns).b())
};
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-4e517efe"]]);
wx.createComponent(Component);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-lazy-load": "../../lazy-load/src/lazy-load"
}
}
@@ -0,0 +1 @@
<view class="{{['data-v-4e517efe', f, virtualHostClass]}}" style="{{virtualHostStyle}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="f" class="{{['data-v-4e517efe', d]}}" style="{{e}}" catchtap="{{item.g}}"><view class="{{['data-v-4e517efe', c]}}"><tn-lazy-load wx:if="{{b}}" class="data-v-4e517efe" virtualHostClass="data-v-4e517efe" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"/><image wx:else class="{{['data-v-4e517efe', item.c]}}" src="{{item.d}}" mode="{{item.e}}"/></view></view></view>
@@ -0,0 +1,56 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-photo-album.data-v-4e517efe {
position: relative;
width: 100%;
display: flex;
flex-wrap: wrap;
/* 容器 start */
/* 容器 end */
/* item start */
/* item end */
}
.tn-photo-album__container.data-v-4e517efe {
flex-grow: 0;
flex-shrink: 0;
position: relative;
height: 0;
margin: 10rpx 20rpx 10rpx 0rpx;
}
.tn-photo-album__item.data-v-4e517efe {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
border-radius: 15rpx;
background-color: var(--tn-color-gray-light);
}
.tn-photo-album__item__image.data-v-4e517efe {
width: 100%;
height: 100%;
border-radius: inherit;
}
@@ -0,0 +1,101 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
if (!Math) {
TnPopup();
}
const TnPopup = () => "../../popup/src/popup.js";
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "picker",
props: common_vendor.pickerProps,
emits: common_vendor.pickerEmits,
setup(__props, { expose: __expose }) {
const props = __props;
const {
openPopup,
showPicker,
pickerData,
currentPickerIndex,
closePopupEvent,
pickerViewChangeEvent,
confirmEvent,
cancelEvent,
initDefaultPickerIndex,
resetPickerIndexWithPosition
} = common_vendor.usePicker(props);
const { ns, overlayOpacity, operationBtnClass, operationBtnStyle } = common_vendor.usePickerCustomStyle(props);
const resetPickerViewIndex = () => {
initDefaultPickerIndex();
};
__expose({
/**
* @description: 重置选择器的值
*/
resetPickerViewIndex,
/**
* @description: 重置指定位置选择器的值
*/
resetPickerIndexWithPosition
});
return (_ctx, _cache) => {
return common_vendor.e({
a: _ctx.showCancel
}, _ctx.showCancel ? {
b: common_vendor.t(props.cancelText),
c: common_vendor.n(common_vendor.unref(operationBtnClass)("cancel")),
d: common_vendor.s(common_vendor.unref(operationBtnStyle)("cancel")),
e: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(cancelEvent) && common_vendor.unref(cancelEvent)(...args)
)
} : {}, {
f: common_vendor.t(props.confirmText),
g: common_vendor.n(common_vendor.unref(operationBtnClass)("confirm")),
h: common_vendor.s(common_vendor.unref(operationBtnStyle)("confirm")),
i: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(confirmEvent) && common_vendor.unref(confirmEvent)(...args)
),
j: common_vendor.n(common_vendor.unref(ns).e("operation")),
k: common_vendor.n(common_vendor.unref(ns).is("only-confirm", !_ctx.showCancel)),
l: common_vendor.unref(showPicker)
}, common_vendor.unref(showPicker) ? {
m: common_vendor.f(common_vendor.unref(pickerData), (item, index, i0) => {
return {
a: common_vendor.f(item, (dItem, dIndex, i1) => {
return {
a: common_vendor.t(dItem["label"]),
b: dIndex
};
}),
b: index
};
}),
n: common_vendor.n(common_vendor.unref(ns).em("content-item", "data")),
o: common_vendor.n(common_vendor.unref(ns).e("content-item")),
p: common_vendor.n(common_vendor.unref(ns).e("picker-view-column")),
q: common_vendor.n(common_vendor.unref(ns).e("picker-view")),
r: common_vendor.unref(currentPickerIndex),
s: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(pickerViewChangeEvent) && common_vendor.unref(pickerViewChangeEvent)(...args)
)
} : {}, {
t: common_vendor.n(common_vendor.unref(ns).e("content")),
v: common_vendor.n(common_vendor.unref(ns).b()),
w: common_vendor.o(common_vendor.unref(closePopupEvent)),
x: common_vendor.o(($event) => common_vendor.isRef(openPopup) ? openPopup.value = $event : null),
y: common_vendor.p({
["open-direction"]: "bottom",
overlay: true,
["overlay-opacity"]: common_vendor.unref(overlayOpacity),
radius: 0,
["safe-area-inset-bottom"]: false,
["z-index"]: _ctx.zIndex,
modelValue: common_vendor.unref(openPopup)
})
});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-33c7c90b"]]);
wx.createComponent(Component);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-popup": "../../popup/src/popup"
}
}
@@ -0,0 +1 @@
<tn-popup wx:if="{{y}}" u-s="{{['d']}}" bindclose="{{w}}" u-i="33c7c90b-0" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}" class="{{['data-v-33c7c90b', virtualHostClass]}}" virtualHostClass="{{['data-v-33c7c90b', virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><view class="{{['tn-u-safe-area', 'data-v-33c7c90b', v]}}"><view class="{{['data-v-33c7c90b', j, k]}}"><view wx:if="{{a}}" class="{{['data-v-33c7c90b', c]}}" style="{{d}}" catchtap="{{e}}"><block wx:if="{{$slots.cancel}}"><slot name="cancel"></slot></block><block wx:else>{{b}}</block></view><view class="{{['data-v-33c7c90b', g]}}" style="{{h}}" catchtap="{{i}}"><block wx:if="{{$slots.confirm}}"><slot name="confirm"></slot></block><block wx:else>{{f}}</block></view></view><view class="{{['data-v-33c7c90b', t]}}"><picker-view wx:if="{{l}}" class="{{['data-v-33c7c90b', q]}}" value="{{r}}" bindchange="{{s}}"><picker-view-column wx:for="{{m}}" wx:for-item="item" wx:key="b" class="{{['data-v-33c7c90b', p]}}"><view wx:for="{{item.a}}" wx:for-item="dItem" wx:key="b" class="{{['data-v-33c7c90b', o]}}"><view class="{{['tn-text-ellipsis-1', 'data-v-33c7c90b', n]}}">{{dItem.a}}</view></view></picker-view-column></picker-view></view></view></tn-popup>
@@ -0,0 +1,74 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-picker.data-v-33c7c90b {
position: relative;
width: 100%;
border-radius: 30rpx 30rpx 0rpx 0rpx;
box-shadow: 0rpx 0rpx 40rpx 4rpx rgba(0, 0, 0, 0.1);
/* 顶部操作区域 start */
/* 顶部操作区域 end */
/* 内容区域 start */
/* 内容区域 end */
/* picker-view 样式 start */
/* picker-view 样式 end */
}
.tn-picker__operation.data-v-33c7c90b {
position: relative;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 30rpx 0rpx;
font-size: 30rpx;
}
.tn-picker__operation.is-only-confirm.data-v-33c7c90b {
justify-content: flex-end;
}
.tn-picker__operation-btn.data-v-33c7c90b {
padding: 0rpx 30rpx;
}
.tn-picker__content.data-v-33c7c90b {
position: relative;
width: 100%;
height: 440rpx;
padding: 20rpx 30rpx;
padding-top: 0rpx;
}
.tn-picker__content-item.data-v-33c7c90b {
display: flex;
align-items: center;
justify-content: center;
}
.tn-picker__content-item--data.data-v-33c7c90b {
width: 100%;
height: -moz-fit-content;
height: fit-content;
text-align: center;
}
.tn-picker__picker-view.data-v-33c7c90b {
flex-grow: 1;
height: 100%;
}
@@ -0,0 +1,56 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
if (!Math) {
(TnOverlay + TnIcon)();
}
const TnOverlay = () => "../../overlay/src/overlay.js";
const TnIcon = () => "../../icon/src/icon.js";
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "popup",
props: common_vendor.popupProps,
emits: common_vendor.popupEmits,
setup(__props) {
const props = __props;
const {
iosDevice,
showOverlay,
showPopup,
visiblePopup,
onClickCloseBtn,
onClickOverlay
} = common_vendor.usePopup(props);
const { ns, overlayZIndex, zIndex, popupContentClass, popupContentStyle } = common_vendor.usePopupCustomStyle(props);
return (_ctx, _cache) => {
return common_vendor.e({
a: !common_vendor.unref(iosDevice) || common_vendor.unref(iosDevice) && common_vendor.unref(visiblePopup)
}, !common_vendor.unref(iosDevice) || common_vendor.unref(iosDevice) && common_vendor.unref(visiblePopup) ? common_vendor.e({
b: common_vendor.o(common_vendor.unref(onClickOverlay)),
c: common_vendor.p({
show: common_vendor.unref(showOverlay),
["z-index"]: common_vendor.unref(overlayZIndex),
opacity: _ctx.overlayOpacity
}),
d: _ctx.closeBtn
}, _ctx.closeBtn ? {
e: common_vendor.p({
name: "close"
}),
f: common_vendor.n(common_vendor.unref(ns).e("close-btn")),
g: common_vendor.n(common_vendor.unref(ns).em("close-btn", _ctx.closeBtnPosition)),
h: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(onClickCloseBtn) && common_vendor.unref(onClickCloseBtn)(...args)
)
} : {}, {
i: common_vendor.n(common_vendor.unref(popupContentClass)),
j: common_vendor.s(common_vendor.unref(popupContentStyle)),
k: common_vendor.n(common_vendor.unref(ns).b()),
l: common_vendor.n(common_vendor.unref(ns).is("show", common_vendor.unref(showPopup))),
m: common_vendor.n(common_vendor.unref(ns).is("visible", common_vendor.unref(visiblePopup))),
n: common_vendor.unref(zIndex)
}) : {});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-557a403b"]]);
wx.createComponent(Component);
@@ -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-557a403b', k, l, m, virtualHostClass]}}" style="{{'z-index:' + n + ';' + virtualHostStyle}}"><tn-overlay wx:if="{{c}}" class="data-v-557a403b" virtualHostClass="data-v-557a403b" bindclick="{{b}}" u-i="557a403b-0" bind:__l="__l" u-p="{{c}}"/><view class="{{['data-v-557a403b', i]}}" style="{{j}}"><slot/><view wx:if="{{d}}" class="{{['data-v-557a403b', 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-557a403b" virtualHostClass="data-v-557a403b" u-i="557a403b-1" bind:__l="__l" u-p="{{e}}"/></block></view></view></view>
@@ -0,0 +1,127 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-popup.data-v-557a403b {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
overflow: hidden;
visibility: hidden;
/* 弹出层内容 start */
/* 弹出层内容 end */
/* 关闭按钮 start */
/* 关闭按钮 end */
}
.tn-popup__content.data-v-557a403b {
position: absolute;
opacity: 0;
/* 弹出层位置 start */
/* 弹出层位置 end */
}
.tn-popup__content--center.data-v-557a403b {
left: 50%;
top: 50%;
transform: translate(-50%, -50%) scale(0);
transform-origin: center center;
}
.tn-popup__content--top.data-v-557a403b {
left: 0;
top: 0;
width: 100%;
transform: scaleY(0);
transform-origin: top center;
}
.tn-popup__content--left.data-v-557a403b {
left: 0;
top: 0;
height: 100%;
transform: scaleX(0);
transform-origin: left center;
}
.tn-popup__content--right.data-v-557a403b {
right: 0;
top: 0;
height: 100%;
transform: scaleX(0);
transform-origin: right center;
}
.tn-popup__content--bottom.data-v-557a403b {
left: 0;
bottom: 0;
width: 100%;
transform: scaleY(0);
transform-origin: bottom center;
}
.tn-popup__close-btn.data-v-557a403b {
position: absolute;
padding: 18rpx;
font-size: 32rpx;
line-height: 1;
color: var(--tn-color-gray);
}
.tn-popup__close-btn--right-top.data-v-557a403b {
right: 0rpx;
top: 0rpx;
}
.tn-popup__close-btn--left-top.data-v-557a403b {
left: 0rpx;
top: 0rpx;
}
.tn-popup__close-btn--right-bottom.data-v-557a403b {
right: 0rpx;
bottom: 0rpx;
}
.tn-popup__close-btn--left-bottom.data-v-557a403b {
left: 0rpx;
bottom: 0rpx;
}
.tn-popup.is-show .tn-popup__content.data-v-557a403b {
opacity: 1;
}
.tn-popup.is-show .tn-popup__content--center.data-v-557a403b {
transform: translate(-50%, -50%) scale(1);
}
.tn-popup.is-show .tn-popup__content--top.data-v-557a403b {
transform: scaleY(1);
}
.tn-popup.is-show .tn-popup__content--left.data-v-557a403b {
transform: scaleX(1);
}
.tn-popup.is-show .tn-popup__content--right.data-v-557a403b {
transform: scaleX(1);
}
.tn-popup.is-show .tn-popup__content--bottom.data-v-557a403b {
transform: scaleY(1);
}
.tn-popup.is-visible.data-v-557a403b {
visibility: visible;
}
.tn-popup.is-visible .tn-popup__content.data-v-557a403b {
transition-property: transform, opacity;
transition-duration: 0.3s;
transition-timing-function: ease;
}
@@ -0,0 +1,57 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "scroll-list",
props: common_vendor.scrollListProps,
emits: common_vendor.scrollListEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const {
componentId,
componentContentId,
indicatorBlockScrollDistance,
scrollViewScrollEvent,
scrollToLeftEvent,
scrollToRightEvent
} = common_vendor.useScrollList(props, emits);
const {
ns,
indicatorClass,
indicatorStyle,
indicatorBlockClass,
indicatorBlockStyle
} = common_vendor.useScrollListCustomStyle(props);
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.unref(componentContentId),
b: common_vendor.n(common_vendor.unref(ns).e("scroll-view")),
c: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(scrollViewScrollEvent) && common_vendor.unref(scrollViewScrollEvent)(...args)
),
d: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(scrollToLeftEvent) && common_vendor.unref(scrollToLeftEvent)(...args)
),
e: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(scrollToRightEvent) && common_vendor.unref(scrollToRightEvent)(...args)
),
f: common_vendor.n(common_vendor.unref(ns).e("content")),
g: _ctx.indicator
}, _ctx.indicator ? {
h: common_vendor.n(common_vendor.unref(indicatorBlockClass)),
i: common_vendor.s(common_vendor.unref(indicatorBlockStyle)(common_vendor.unref(indicatorBlockScrollDistance))),
j: common_vendor.n(common_vendor.unref(indicatorClass)),
k: common_vendor.s(common_vendor.unref(indicatorStyle))
} : {}, {
l: common_vendor.unref(componentId),
m: common_vendor.n(common_vendor.unref(ns).b()),
n: common_vendor.n(common_vendor.unref(ns).is("indicator", _ctx.indicator))
});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0f089b03"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view id="{{l}}" class="{{['data-v-0f089b03', m, n, virtualHostClass]}}" style="{{virtualHostStyle}}"><view class="{{['data-v-0f089b03', f]}}"><scroll-view class="{{['data-v-0f089b03', b]}}" scroll-x bindscroll="{{c}}" bindscrolltoupper="{{d}}" bindscrolltolower="{{e}}"><view id="{{a}}" class="data data-v-0f089b03"><slot/></view></scroll-view></view><view wx:if="{{g}}" class="{{['data-v-0f089b03', j]}}" style="{{k}}"><view class="{{['data-v-0f089b03', h]}}" style="{{i}}"/></view></view>
@@ -0,0 +1,62 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-scroll-list.data-v-0f089b03 {
position: relative;
width: 100%;
/* 内容区域 start */
/* 内容区域 end */
/* 指示器 start */
/* 指示器 end */
}
.tn-scroll-list__content.data-v-0f089b03 {
width: 100%;
}
.tn-scroll-list__content .data.data-v-0f089b03 {
position: relative;
width: -moz-fit-content;
width: fit-content;
}
.tn-scroll-list__scroll-view.data-v-0f089b03 {
width: 100%;
}
.tn-scroll-list.is-indicator.data-v-0f089b03 {
padding-bottom: 50rpx;
}
.tn-scroll-list__indicator.data-v-0f089b03 {
position: absolute;
left: 50%;
bottom: 20rpx;
height: 8rpx;
border-radius: 1000rpx;
transform: translate(-50%, 0);
}
.tn-scroll-list__indicator-block.data-v-0f089b03 {
position: absolute;
left: 0;
top: 0;
height: 100%;
border-radius: inherit;
}
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{[H, virtualHostClass]}}" style="{{I + ';' + virtualHostStyle}}" catchtap="{{J}}"><view class="{{[l]}}"><swiper class="{{[c]}}" current="{{d}}" autoplay="{{e}}" interval="{{f}}" duration="{{g}}" circular="{{h}}" previous-margin="{{i}}" next-margin="{{j}}" bindchange="{{k}}"><swiper-item wx:for="{{a}}" wx:for-item="item" wx:key="c" class="{{[b]}}"><slot name="{{item.a}}"/></swiper-item></swiper></view><view wx:if="{{m}}" class="{{[F, G]}}"><view wx:if="{{n}}" class="{{[v]}}"><view class="{{['indicator-wrapper', s]}}" style="{{t}}"><view class="{{['active-block', o]}}" style="{{p + ';' + ('width:' + q) + ';' + ('transform:' + r)}}"/></view></view><view wx:if="{{w}}" class="{{[y]}}"><view class="indicator-wrapper"><view wx:for="{{x}}" wx:for-item="_" wx:key="a" class="{{['dot-item', _.b, _.c]}}" style="{{_.d}}"/></view></view><view wx:if="{{z}}" class="{{[E]}}"><view class="{{['indicator-wrapper', C]}}" style="{{D}}"><view class="current-index">{{A}}</view><view class="sep">/</view><view class="swiper-count">{{B}}</view></view></view></view></view>
@@ -0,0 +1,32 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "switch-tab",
props: common_vendor.switchTabProps,
emits: common_vendor.switchTabEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const { tabClickEvent } = common_vendor.useSwitchTab(props, emits);
const { ns, tabClass, tabStyle, switchTabClass, switchTabStyle } = common_vendor.useSwitchTabCustomStyle(props);
return (_ctx, _cache) => {
return {
a: common_vendor.f(_ctx.tabs, (tabItem, tabIndex, i0) => {
return {
a: common_vendor.t(tabItem),
b: tabIndex,
c: common_vendor.n(common_vendor.unref(tabClass)(tabIndex)),
d: common_vendor.s(common_vendor.unref(tabStyle)(tabIndex)),
e: common_vendor.o(($event) => common_vendor.unref(tabClickEvent)(tabIndex), tabIndex)
};
}),
b: common_vendor.n(common_vendor.unref(ns).e("tabs")),
c: common_vendor.n(common_vendor.unref(ns).e("content")),
d: common_vendor.n(common_vendor.unref(switchTabClass)),
e: common_vendor.s(common_vendor.unref(switchTabStyle))
};
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8e9a9506"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{['data-v-8e9a9506', d, virtualHostClass]}}" style="{{e + ';' + virtualHostStyle}}"><view class="{{['data-v-8e9a9506', b]}}"><view wx:for="{{a}}" wx:for-item="tabItem" wx:key="b" class="{{['data-v-8e9a9506', tabItem.c]}}" style="{{tabItem.d}}" catchtap="{{tabItem.e}}"><view class="tab-item bg data-v-8e9a9506"/><view class="tab-item text data-v-8e9a9506">{{tabItem.a}}</view></view></view><view class="{{['data-v-8e9a9506', c]}}"><slot/></view></view>
@@ -0,0 +1,78 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-switch-tab.data-v-8e9a9506 {
position: relative;
width: 100%;
border-radius: 15rpx;
/* 标签 start */
/* 标签 end */
}
.tn-switch-tab__tabs.data-v-8e9a9506 {
position: relative;
width: 100%;
display: flex;
}
.tn-switch-tab__tab.data-v-8e9a9506 {
position: relative;
flex: 1;
height: 70rpx;
/* tab内部内容 start */
/* tab内部内容 end */
/* 激活状态 start */
/* 激活状态 end */
}
.tn-switch-tab__tab .tab-item.data-v-8e9a9506 {
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: 0.15s;
transition-timing-function: linear;
}
.tn-switch-tab__tab .tab-item.bg.data-v-8e9a9506 {
transform-origin: center bottom;
background-color: inherit;
}
.tn-switch-tab__tab .tab-item.text.data-v-8e9a9506 {
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
}
.tn-switch-tab__tab.data-v-8e9a9506:nth-of-type(1) {
border-top-left-radius: 15rpx;
}
.tn-switch-tab__tab.data-v-8e9a9506:nth-last-of-type(1) {
border-top-right-radius: 15rpx;
}
.tn-switch-tab__tab.is-active .tab-item.data-v-8e9a9506 {
border-top-left-radius: 15rpx;
border-top-right-radius: 15rpx;
height: 90rpx;
}
@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../../icon/src/icon",
"tn-badge": "../../badge/src/badge"
}
}
@@ -0,0 +1 @@
<view id="{{o}}" class="{{['data-v-c5d689a1', p, virtualHostClass]}}" style="{{q + ';' + virtualHostStyle}}" catchtap="{{r}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><block wx:if="{{a}}"><view class="{{['data-v-c5d689a1', c]}}" style="{{d}}"><tn-icon wx:if="{{b}}" class="data-v-c5d689a1" virtualHostClass="data-v-c5d689a1" u-i="c5d689a1-0" bind:__l="__l" u-p="{{b}}"/></view></block><block wx:else><view wx:if="{{e}}" class="{{['data-v-c5d689a1', i]}}" style="{{j}}"><tn-icon wx:if="{{f}}" class="data-v-c5d689a1" virtualHostClass="data-v-c5d689a1" u-i="c5d689a1-1" bind:__l="__l" u-p="{{f}}"/><tn-badge wx:if="{{g}}" class="data-v-c5d689a1" virtualHostClass="data-v-c5d689a1" u-i="c5d689a1-2" bind:__l="__l" u-p="{{h}}"/></view></block><view wx:if="{{k}}" class="{{['data-v-c5d689a1', m]}}" style="{{n}}">{{l}}</view></block></view>
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view id="{{l}}" class="{{['data-v-2d58a4ef', m]}}" style="{{n}}"><view wx:if="{{a}}" class="{{['data-v-2d58a4ef', b]}}" style="{{'width:' + c + ';' + ('height:' + d) + ';' + ('left:' + e) + ';' + ('top:' + f) + ';' + g}}"/><view class="{{['data-v-2d58a4ef', h]}}" style="{{i}}"/><view class="{{['data-v-2d58a4ef', j, k]}}"><slot/></view></view><view wx:if="{{o}}" class="{{['data-v-2d58a4ef', p, q]}}" style="{{r}}"/>
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-badge": "../../badge/src/badge"
}
}
@@ -0,0 +1 @@
<view id="{{g}}" class="{{['data-v-47248993', h, virtualHostClass]}}" style="{{i + ';' + virtualHostStyle}}" catchtap="{{j}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><view class="{{['data-v-47248993', f]}}"><view class="{{['data-v-47248993', e]}}"><tn-badge wx:if="{{a}}" class="data-v-47248993" virtualHostClass="data-v-47248993" bindclick="{{b}}" u-i="47248993-0" bind:__l="__l" u-p="{{c}}"/> {{d}}</view></view></block></view>
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view id="{{r}}" class="{{['data-v-e28e073f', s, virtualHostClass]}}" style="{{t + ';' + virtualHostStyle}}"><view wx:if="{{a}}" class="{{['data-v-e28e073f', b]}}" style="{{'height:' + c}}"/><scroll-view class="{{['data-v-e28e073f', n]}}" style="{{'height:' + o}}" scroll-x="{{p}}" scroll-with-animation scroll-left="{{q}}"><view class="{{['data-v-e28e073f', k, l, m]}}"><slot/><view wx:if="{{d}}" id="{{g}}" class="{{['data-v-e28e073f', h]}}" style="{{'left:' + i + ';' + ('opacity:' + j)}}"><block wx:if="{{$slots.bar}}"><slot name="bar"></slot></block><block wx:else><view class="{{['data-v-e28e073f', e]}}" style="{{f}}"/></block></view></view></scroll-view></view>
@@ -0,0 +1,25 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "tag",
props: common_vendor.tagProps,
emits: common_vendor.tagEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const { tagClickHandle } = common_vendor.useTag(props, emits);
const { tagClass, tagStyle } = common_vendor.useTagCustomStyle(props);
return (_ctx, _cache) => {
return {
a: common_vendor.n(common_vendor.unref(tagClass)),
b: common_vendor.s(common_vendor.unref(tagStyle)),
c: common_vendor.o(
//@ts-ignore
(...args) => common_vendor.unref(tagClickHandle) && common_vendor.unref(tagClickHandle)(...args)
)
};
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-3ceb486f"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<label class="{{['data-v-3ceb486f', virtualHostClass]}}" style="{{virtualHostStyle}}"><label class="{{['tn-tag', 'data-v-3ceb486f', a]}}" style="{{b}}" catchtap="{{c}}"><slot/></label></label>
@@ -0,0 +1,65 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-tag.data-v-3ceb486f {
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: 6rpx 16rpx;
font-size: var(--tn-font-size);
/* size尺寸 satrt */
/* size尺寸 end */
/* shape形状 start */
/* shape形状 end */
}
.tn-tag--sm.data-v-3ceb486f {
font-size: calc(var(--tn-font-size) * 1.5);
}
.tn-tag--lg.data-v-3ceb486f {
font-size: calc(var(--tn-font-size) * 2);
}
.tn-tag--xl.data-v-3ceb486f {
font-size: calc(var(--tn-font-size) * 2.5);
}
.tn-tag--circle.data-v-3ceb486f {
border-radius: 100rpx;
}
.tn-tag--round.data-v-3ceb486f {
border-radius: 10rpx;
}
.tn-tag--circleLeft.data-v-3ceb486f {
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
}
.tn-tag--circleRight.data-v-3ceb486f {
border-top-right-radius: 50rpx;
border-bottom-right-radius: 50rpx;
}
@@ -0,0 +1,36 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "title",
props: common_vendor.titleProps,
emits: common_vendor.titleEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const { ns, titleClass, titleStyle, assistColorClass, assistColorStyle } = common_vendor.useTitleCustomStyle(props);
const titleClickEvent = () => {
emits("click");
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.t(_ctx.title),
b: _ctx.mode !== "normal" && _ctx.mode !== "transparent"
}, _ctx.mode !== "normal" && _ctx.mode !== "transparent" ? common_vendor.e({
c: _ctx.mode === "subTitle" && _ctx.subTitle
}, _ctx.mode === "subTitle" && _ctx.subTitle ? {
d: common_vendor.t(_ctx.subTitle)
} : {}, {
e: common_vendor.n(common_vendor.unref(ns).e(_ctx.mode)),
f: common_vendor.n(common_vendor.unref(assistColorClass)),
g: common_vendor.s(common_vendor.unref(assistColorStyle))
}) : {}, {
h: common_vendor.n(common_vendor.unref(titleClass)),
i: common_vendor.s(common_vendor.unref(titleStyle)),
j: common_vendor.n(common_vendor.unref(ns).b()),
k: common_vendor.o(titleClickEvent)
});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-183479dc"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{['data-v-183479dc', j, virtualHostClass]}}" catchtap="{{k}}" style="{{virtualHostStyle}}"><view class="{{['tn-text-ellipsis-1', 'data-v-183479dc', h]}}" style="{{i}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><view class="content tn-text-ellipsis-1 data-v-183479dc">{{a}}</view></block><view wx:if="{{b}}" class="{{['data-v-183479dc', e, f]}}" style="{{g}}"><block wx:if="{{c}}">{{d}}</block></view></view></view>
@@ -0,0 +1,100 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-title.data-v-183479dc {
position: relative;
height: -moz-fit-content;
height: fit-content;
/* 标题内容 start */
/* 标题内容 end */
/* 辅助元素 start */
/* 辅助元素 end */
}
.tn-title__title.data-v-183479dc {
position: relative;
width: -moz-fit-content;
width: fit-content;
font-size: 28rpx;
/* 尺寸 start */
/* 尺寸 end */
}
.tn-title__title--sm.data-v-183479dc {
font-size: 24rpx;
}
.tn-title__title--lg.data-v-183479dc {
font-size: 32rpx;
}
.tn-title__title--xl.data-v-183479dc {
font-size: 38rpx;
}
.tn-title__title--vLine.data-v-183479dc {
padding-left: 18rpx;
}
.tn-title__title--dot.data-v-183479dc {
padding-left: 20rpx;
}
.tn-title__title--hLine.data-v-183479dc {
padding-bottom: 10rpx;
}
.tn-title__title--subTitle.data-v-183479dc {
width: 100%;
z-index: 1;
padding-bottom: 10rpx;
}
.tn-title__vLine.data-v-183479dc {
position: absolute;
left: 0;
top: 50%;
width: 8rpx;
height: 92%;
border-radius: 30rpx;
transform: translateY(-50%);
}
.tn-title__dot.data-v-183479dc {
position: absolute;
left: 0;
top: 50%;
width: 14rpx;
height: 14rpx;
border-radius: 50%;
transform: translateY(-50%);
}
.tn-title__hLine.data-v-183479dc {
position: absolute;
left: 8rpx;
bottom: 0;
width: 40%;
max-width: 40rpx;
height: 8rpx;
border-radius: 40rpx;
}
.tn-title__subTitle.data-v-183479dc {
position: absolute;
left: 8rpx;
top: 20%;
z-index: -1;
display: inline-block;
white-space: nowrap;
}
@@ -0,0 +1,57 @@
"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
const __default__ = {
options: {
// 在微信小程序中将组件节点渲染为虚拟节点,更加接近Vue组件的表现(不会出现shadow节点下再去创建元素)
virtualHost: true
}
};
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
...__default__,
__name: "water-fall",
props: common_vendor.waterFallProps,
setup(__props, { expose: __expose }) {
const props = __props;
const ns = common_vendor.useNamespace("water-fall");
const { componentId, leftData, rightData, resetWaterFall } = common_vendor.useWaterFall(props);
__expose({
/**
* @description 重置瀑布流
*/
reset: resetWaterFall
});
return (_ctx, _cache) => {
return {
a: common_vendor.f(common_vendor.unref(leftData), (item, index, i0) => {
return {
a: "left-" + i0,
b: common_vendor.r("left", {
item,
index
}, i0),
c: index
};
}),
b: common_vendor.n(common_vendor.unref(ns).e("item")),
c: `${common_vendor.unref(componentId)}-left`,
d: common_vendor.n(common_vendor.unref(ns).e("container")),
e: common_vendor.f(common_vendor.unref(rightData), (item, index, i0) => {
return {
a: "right-" + i0,
b: common_vendor.r("right", {
item,
index
}, i0),
c: index
};
}),
f: common_vendor.n(common_vendor.unref(ns).e("item")),
g: `${common_vendor.unref(componentId)}-right`,
h: common_vendor.n(common_vendor.unref(ns).e("container")),
i: common_vendor.n(common_vendor.unref(ns).b())
};
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-6ee09526"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{['data-v-6ee09526', i, virtualHostClass]}}" style="{{virtualHostStyle}}"><view id="{{c}}" class="{{['left', 'data-v-6ee09526', d]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="c" class="{{['data-v-6ee09526', b]}}"><slot name="{{item.a}}"/></view></view><view id="{{g}}" class="{{['right', 'data-v-6ee09526', h]}}"><view wx:for="{{e}}" wx:for-item="item" wx:key="c" class="{{['data-v-6ee09526', f]}}"><slot name="{{item.a}}"/></view></view></view>
@@ -0,0 +1,38 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tn-water-fall.data-v-6ee09526 {
position: relative;
width: 100%;
display: flex;
flex-wrap: wrap;
/* 左右两边容器 start */
/* 左右两边容器 end */
}
.tn-water-fall__container.data-v-6ee09526 {
width: 50%;
height: -moz-fit-content;
height: fit-content;
}
@@ -0,0 +1,10 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../@tuniao/tnui-vue3-uniapp/components/icon/src/icon",
"tn-photo-album": "../@tuniao/tnui-vue3-uniapp/components/photo-album/src/photo-album",
"tn-avatar": "../@tuniao/tnui-vue3-uniapp/components/avatar/src/avatar",
"tn-avatar-group": "../@tuniao/tnui-vue3-uniapp/components/avatar/src/avatar-group",
"tn-lazy-load": "../@tuniao/tnui-vue3-uniapp/components/lazy-load/src/lazy-load"
}
}
@@ -0,0 +1 @@
<view class="{{['data-v-20d23020', aB, virtualHostClass]}}" bindtap="{{aC}}" style="{{virtualHostStyle}}"><view class="{{['data-v-20d23020', n]}}"><view class="{{['data-v-20d23020', h]}}"><view class="{{['data-v-20d23020', b]}}" catchtap="{{c}}"><image class="image data-v-20d23020" src="{{a}}" mode="aspectFill"/></view><view class="{{['data-v-20d23020', g]}}"><view class="title tn-text-ellipsis-1 data-v-20d23020">{{d}}</view><view wx:if="{{e}}" class="desc tn-text-ellipsis-1 data-v-20d23020">{{f}}</view></view></view><view wx:if="{{i}}" class="{{['data-v-20d23020', m]}}"><block wx:if="{{$slots.briefOperation}}"><slot name="briefOperation"></slot></block><block wx:else><view class="{{['data-v-20d23020', k]}}" catchtap="{{l}}"><tn-icon wx:if="{{j}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="20d23020-0" bind:__l="__l" u-p="{{j}}"/></view></block></view></view><view class="{{['data-v-20d23020', X]}}"><view class="{{['data-v-20d23020', w]}}"><view class="{{['data-v-20d23020', s]}}"><view wx:for="{{o}}" wx:for-item="tagItem" wx:key="c" class="{{['tag-item', 'data-v-20d23020', q]}}" style="{{r}}"><tn-icon wx:if="{{p}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="{{tagItem.a}}" bind:__l="__l" u-p="{{p}}"/> {{tagItem.b}}</view></view><view class="{{['data-v-20d23020', v]}}">{{t}}</view></view><view wx:if="{{x}}" class="{{['data-v-20d23020', W]}}"><view wx:if="{{y}}" class="{{['data-v-20d23020', A, B]}}" catchtap="{{C}}"><tn-lazy-load wx:if="{{z}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="20d23020-2" bind:__l="__l" u-p="{{z}}"/></view><view wx:if="{{D}}" class="{{['data-v-20d23020', F, G]}}"><tn-photo-album wx:if="{{E}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="20d23020-3" bind:__l="__l" u-p="{{E}}"/></view><view wx:if="{{H}}" class="{{['data-v-20d23020', O, P]}}"><view class="image-wrapper-left data-v-20d23020"><view class="image-container data-v-20d23020" catchtap="{{J}}"><tn-lazy-load wx:if="{{I}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="20d23020-4" bind:__l="__l" u-p="{{I}}"/></view></view><view class="image-wrapper-right data-v-20d23020"><view class="image-container data-v-20d23020" catchtap="{{L}}"><tn-lazy-load wx:if="{{K}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="20d23020-5" bind:__l="__l" u-p="{{K}}"/></view><view class="image-container data-v-20d23020" catchtap="{{N}}"><tn-lazy-load wx:if="{{M}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="20d23020-6" bind:__l="__l" u-p="{{M}}"/></view></view></view><view wx:if="{{Q}}" class="{{['data-v-20d23020', S, T]}}"><tn-photo-album wx:if="{{R}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="20d23020-7" bind:__l="__l" u-p="{{R}}"/></view><tn-photo-album wx:if="{{U}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="20d23020-8" bind:__l="__l" u-p="{{V}}"/></view></view><view class="{{['data-v-20d23020', az, aA]}}"><view class="{{['data-v-20d23020', aq]}}"><view wx:if="{{Y}}" class="{{['count-item-data', 'data-v-20d23020', ab]}}" style="{{ac}}" catchtap="{{ad}}"><tn-icon wx:if="{{Z}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="20d23020-9" bind:__l="__l" u-p="{{Z}}"/><view class="count data-v-20d23020">{{aa}}</view></view><view wx:if="{{ae}}" class="{{['count-item-data', 'data-v-20d23020', ah]}}" style="{{ai}}" catchtap="{{aj}}"><tn-icon wx:if="{{af}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="20d23020-10" bind:__l="__l" u-p="{{af}}"/><view class="count data-v-20d23020">{{ag}}</view></view><view wx:if="{{ak}}" class="{{['count-item-data', 'data-v-20d23020', an]}}" style="{{ao}}" catchtap="{{ap}}"><tn-icon wx:if="{{al}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="20d23020-11" bind:__l="__l" u-p="{{al}}"/><view class="count data-v-20d23020">{{am}}</view></view></view><view wx:if="{{ar}}" class="{{['data-v-20d23020', ay]}}"><block wx:if="{{$slots.bottomRight}}"><slot name="bottomRight"></slot></block><block wx:else><view class="{{['data-v-20d23020', av]}}"><tn-avatar-group wx:if="{{at}}" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-s="{{['d']}}" u-i="20d23020-12" bind:__l="__l" u-p="{{at}}"><tn-avatar wx:for="{{as}}" wx:for-item="viewUserAvatar" wx:key="a" class="data-v-20d23020" virtualHostClass="data-v-20d23020" u-i="{{viewUserAvatar.b}}" bind:__l="__l" u-p="{{viewUserAvatar.c}}"/></tn-avatar-group></view><view class="{{['data-v-20d23020', ax]}}">{{aw}}人 </view></block></view></view></view>
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../@tuniao/tnui-vue3-uniapp/components/icon/src/icon"
}
}
@@ -0,0 +1 @@
<view class="{{['data-v-9b5941aa', d, virtualHostClass]}}" style="{{e + ';' + virtualHostStyle}}" bindtap="{{f}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><view class="{{['data-v-9b5941aa', b]}}" style="{{c}}"><tn-icon wx:if="{{a}}" class="data-v-9b5941aa" virtualHostClass="data-v-9b5941aa" u-i="9b5941aa-0" bind:__l="__l" u-p="{{a}}"/></view></block></view>
@@ -0,0 +1,45 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Math) {
TnIcon();
}
const TnIcon = () => "../@tuniao/tnui-vue3-uniapp/components/icon/src/icon.js";
const __default__ = {
options: {
// 在微信小程序中将组件节点渲染为虚拟节点,更加接近Vue组件的表现(不会出现shadow节点下再去创建元素)
virtualHost: true
}
};
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
...__default__,
__name: "time-line-data",
props: common_vendor.timeLineDataProps,
emits: common_vendor.timeLineDataEmits,
setup(__props, { emit: __emit }) {
const props = __props;
const emits = __emit;
const timeLineContext = common_vendor.inject(common_vendor.timeLineKey, void 0);
const showLine = common_vendor.computed(
() => (timeLineContext == null ? void 0 : timeLineContext.showLine.value) === void 0 ? true : timeLineContext == null ? void 0 : timeLineContext.showLine.value
);
const { ns, dotClass, dotStyle } = common_vendor.useTimeLineDataCustomStyle(props);
const clickHandle = () => {
emits("click");
};
return (_ctx, _cache) => {
return {
a: common_vendor.p({
name: _ctx.dotIcon
}),
b: common_vendor.n(common_vendor.unref(ns).e("dot")),
c: common_vendor.n(common_vendor.unref(dotClass)),
d: common_vendor.s(common_vendor.unref(dotStyle)),
e: common_vendor.n(common_vendor.unref(ns).e("content")),
f: common_vendor.n(common_vendor.unref(ns).b()),
g: common_vendor.n(common_vendor.unref(ns).is("line", showLine.value)),
h: common_vendor.o(clickHandle)
};
};
}
});
wx.createComponent(_sfc_main);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../@tuniao/tnui-vue3-uniapp/components/icon/src/icon"
}
}

Some files were not shown because too many files have changed in this diff Show More