From 6abe22fc75b115d2a68103a4d8b24d0815a016f8 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期三, 06 八月 2025 17:37:35 +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