From f26f29d84e0a68831a6af14dab3eec5500496d2e Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期三, 28 五月 2025 16:48:52 +0800 Subject: [PATCH] 初始化项目 --- uview-ui/components/u-time-line/u-time-line.vue | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/uview-ui/components/u-time-line/u-time-line.vue b/uview-ui/components/u-time-line/u-time-line.vue new file mode 100644 index 0000000..f3c7587 --- /dev/null +++ b/uview-ui/components/u-time-line/u-time-line.vue @@ -0,0 +1,43 @@ +<template> + <view class="u-time-axis"> + <slot /> + </view> +</template> + +<script> + /** + * timeLine 鏃堕棿杞� + * @description 鏃堕棿杞寸粍浠朵竴鑸敤浜庣墿娴佷俊鎭睍绀猴紝鍚勭璺熸椂闂寸浉鍏崇殑璁板綍绛夊満鏅�� + * @tutorial https://www.uviewui.com/components/timeLine.html + * @example <u-time-line></u-time-line> + */ + export default { + name: "u-time-line", + data() { + return { + + } + } + } +</script> + +<style lang="scss" scoped> + @import "../../libs/css/style.components.scss"; + + .u-time-axis { + padding-left: 40rpx; + position: relative; + } + + .u-time-axis::before { + content: " "; + position: absolute; + left: 0; + top: 12rpx; + width: 1px; + bottom: 0; + border-left: 1px solid #ddd; + transform-origin: 0 0; + transform: scaleX(0.5); + } +</style> -- Gitblit v1.9.3