TitleDescription.vue组件优化

This commit is contained in:
WindowBird 2025-10-23 18:04:47 +08:00
parent b673c93867
commit 2d142ae3ea
2 changed files with 8 additions and 2 deletions

View File

@ -8,10 +8,10 @@
{{ title }}
</view>
<view class="text-xl lg:mx-32 mx-6 mb-6 text-muted">
利用物联网人工智能等技术集成蜂箱数据采集硬件设备及数据管理系统协助养蜂人员远程实时获取监控蜂箱内部环境减少频繁开箱操作同时提供
预警功能辅助养殖决策推动从传统经验养蜂到智能化养蜂转型提高管理效率根据不同需求分为基础版标准版高级版三种产品
{{ description }}
</view>
</view>
</template>
<script setup>
@ -23,6 +23,10 @@ defineProps({
subtitle: {
type: String,
default: '默认副标题'
},
description: {
type: String,
default: '默认描述'
}
})
</script>

View File

@ -34,6 +34,8 @@ const cardItems = ref([
<img alt="" class="w-max" src="/img/product/beenFactory/banner.png">
<TitleDescription
description="利用物联网人工智能等技术集成蜂箱数据采集硬件设备及数据管理系统协助养蜂人员远程实时获取监控蜂箱内部环境减少频繁开箱操作同时提供
预警功能辅助养殖决策推动从传统经验养蜂到智能化养蜂转型提高管理效率根据不同需求分为基础版标准版高级版三种产品"
subtitle="SERVICE INTRODUCTION"
title="服务简介"
/>