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,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;
}