@extends('layouts.site') @section('page_class', 'page-tools') @section('title', 'AI工具集 - AIWeb') @section('meta_description', 'AI工具集首页,按分类分块浏览工具,左侧菜单可定位到对应模块。') @section('canonical', route('tools.index')) @section('head') @vite('resources/css/tool_index.css') @endsection @section('content') @php $icons = ['bi-stars', 'bi-pencil', 'bi-image', 'bi-camera-video', 'bi-briefcase', 'bi-cpu', 'bi-chat-dots', 'bi-code-slash', 'bi-kanban']; $channelModule = $modules['channel_cards'] ?? null; $bannerModule = $modules['promo_banners'] ?? null; $hotModule = $modules['hot_tools'] ?? null; $latestModule = $modules['latest_tools'] ?? null; $categoryModule = $modules['category_sections'] ?? null; $moduleOrder = collect($modules)->sortBy('sort_order')->pluck('module_key')->values(); $channelItems = collect(data_get($channelModule, 'items', []))->take((int) data_get($channelModule, 'limit', 5)); $bannerItems = collect(data_get($bannerModule, 'items', []))->take((int) data_get($bannerModule, 'limit', 2)); @endphp
AIBASE.CN

AI工具集

10000+精选AI工具集合,涵盖写作、图像、视频、编程等多个领域

@if(data_get($channelModule, 'enabled', true) === true)

{{ data_get($channelModule, 'title', '频道卡片') }}

@forelse($channelItems as $channel) {{ $channel['title'] ?: '频道入口' }} @empty
频道入口
@endforelse
@endif @foreach($moduleOrder as $moduleKey) @if($moduleKey === 'promo_banners' && data_get($bannerModule, 'enabled', true) === true)

{{ data_get($bannerModule, 'title', '横幅推荐') }}

查看更多
@forelse($bannerItems as $banner) {{ $banner['title'] ?: '精选推荐' }} {{ $banner['subtitle'] ?: '查看详情' }} @empty
暂无横幅推荐请在后台配置
@endforelse
@endif @if($moduleKey === 'hot_tools' && data_get($hotModule, 'enabled', true) === true)

{{ data_get($hotModule, 'title', '热门工具') }}

@php($hotMore = data_get($hotModule, 'more_url') ?: route('tools.list', ['tab' => 'recommended'])) 查看更多
@endif @if($moduleKey === 'latest_tools' && data_get($latestModule, 'enabled', true) === true)

{{ data_get($latestModule, 'title', '最新收录') }}

@php($latestMore = data_get($latestModule, 'more_url') ?: route('tools.list', ['tab' => 'latest'])) 查看更多
@endif @if($moduleKey === 'category_sections' && data_get($categoryModule, 'enabled', true) === true) @foreach($categorySections as $section)

{{ $section['name'] }}

查看更多
@if($section['tools']->isNotEmpty()) @else

该分类暂未收录工具

@endif
@endforeach @endif @endforeach
@endsection @section('scripts') @endsection