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,65 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
name: "fui-timeaxis",
props: {
padding: {
type: Array,
default() {
return [];
}
},
background: {
type: String,
default: "transparent"
},
leftWidth: {
type: [Number, String],
default: 0
},
width: {
type: [Number, String],
default: 48
},
lineWidth: {
type: [Number, String],
default: 1
}
},
provide() {
return {
timeaxis: this
};
},
created() {
this.children = [];
},
watch: {
width(val) {
this.children.forEach((item) => {
item.width = val;
});
},
lineWidth(val) {
this.children.forEach((item) => {
item.lineWidth = val;
});
},
leftWidth(val) {
this.children.forEach((item) => {
item.leftWidth = val;
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $props.padding[0] || 0,
b: $props.padding[1] || 0,
c: $props.padding[2] || $props.padding[0] || 0,
d: $props.padding[3] || $props.padding[1] || 0,
e: $props.background
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-bca5bcd5"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view style="{{'padding-top:' + a + ';' + ('padding-right:' + b) + ';' + ('padding-bottom:' + c) + ';' + ('padding-left:' + d) + ';' + ('background:' + e) + ';' + virtualHostStyle}}" class="{{['fui-timeaxis__wrap', 'data-v-bca5bcd5', virtualHostClass]}}"><slot></slot></view>
@@ -0,0 +1,6 @@
.fui-timeaxis__wrap.data-v-bca5bcd5 {
width: 100%;
box-sizing: border-box;
}