From 92230c9a97dc9ce9df3313d11d26999c04bb6b26 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 15 七月 2025 13:12:48 +0800 Subject: [PATCH] 项目初始化 --- src/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/src/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue b/src/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue new file mode 100644 index 0000000..94493a2 --- /dev/null +++ b/src/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue @@ -0,0 +1,41 @@ +<template> + <view class="uni-breadcrumb"> + <slot /> + </view> +</template> +<script> + /** + * Breadcrumb 闈㈠寘灞戝鑸埗缁勪欢 + * @description 鏄剧ず褰撳墠椤甸潰鐨勮矾寰勶紝蹇�熻繑鍥炰箣鍓嶇殑浠绘剰椤甸潰 + * @tutorial https://ext.dcloud.net.cn/plugin?id=xxx + * @property {String} separator 鍒嗛殧绗︼紝榛樿涓烘枩鏉�'/' + * @property {String} separatorClass 鍥炬爣鍒嗛殧绗� class + */ + export default { + options: { + virtualHost: true + }, + props: { + separator: { + type: String, + default: '/' + }, + separatorClass: { + type: String, + default: '' + } + }, + + provide() { + return { + uniBreadcrumb: this + } + } + + } +</script> +<style lang="scss"> + .uni-breadcrumb { + display: flex; + } +</style> -- Gitblit v1.9.3