- Spring Boot 后端服务 (hss-home-service) - delivery-miniapp 配送小程序 - website 官网 (Nuxt) - docs 架构设计文档 - Docker 容器化部署配置 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
18 lines
982 B
Vue
18 lines
982 B
Vue
<script setup lang="ts">
|
|
defineProps<{ icon: string; title: string; desc: string }>()
|
|
</script>
|
|
|
|
<template>
|
|
<div class="bg-surface rounded-2xl p-8 hover:shadow-md transition-all duration-300 border border-gray-100 group">
|
|
<div class="w-14 h-14 rounded-2xl bg-gradient-to-br from-primary-50 to-accent-50 text-primary flex items-center justify-center mb-5 group-hover:from-primary group-hover:to-accent group-hover:text-white transition-all">
|
|
<AppIcon :name="icon" class="w-7 h-7" />
|
|
</div>
|
|
<h3 class="font-bold text-xl mb-3">{{ title }}</h3>
|
|
<p class="text-sm text-text-secondary leading-relaxed mb-4">{{ desc }}</p>
|
|
<span class="text-primary font-medium text-sm hover:underline cursor-pointer inline-flex items-center gap-1">
|
|
了解更多
|
|
<svg class="w-4 h-4" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M9 5l7 7-7 7" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
</span>
|
|
</div>
|
|
</template>
|