{{-- 统计信息 --}}
总提示词
{{ $this->getPrompts()['meta']['total'] ?? 0 }}
{{-- 筛选器 --}}
{{-- 类型筛选 --}}
{{-- 搜索 --}}
{{-- 提示词列表 --}}
@forelse($this->getPrompts()['data'] as $prompt) @empty @endforelse
模板名称 类型 描述 状态 更新时间 操作
{{ $prompt['template_name'] }}
v{{ $prompt['version'] ?? 1 }}
{{ $prompt['template_type'] }} @php $description = $prompt['description'] ?? ''; $normalizedDescription = is_array($description) ? collect($description)->map(fn ($value, $key) => is_string($value) ? "{$key}: {$value}" : $key)->implode(', ') : (string) $description; @endphp
{{ Str::limit($normalizedDescription, 50) }}
@if($prompt['is_active'] === 'yes' || $prompt['is_active'] === true) 启用 @else 禁用 @endif {{ \Carbon\Carbon::parse($prompt['updated_at'])->diffForHumans() }}

暂无提示词

点击"新建提示词"开始创建

{{-- 分页 --}} @if(($this->getPrompts()['meta']['total_pages'] ?? 1) > 1)
显示第 {{ (($this->getPrompts()['meta']['page'] ?? 1) - 1) * ($this->getPrompts()['meta']['per_page'] ?? 10) + 1 }} 到 {{ min(($this->getPrompts()['meta']['page'] ?? 1) * ($this->getPrompts()['meta']['per_page'] ?? 10), $this->getPrompts()['meta']['total'] ?? 0) }} 条, 共 {{ $this->getPrompts()['meta']['total'] ?? 0 }} 条记录
@for($i = 1; $i <= ($this->getPrompts()['meta']['total_pages'] ?? 1); $i++) @if($i == ($this->getPrompts()['meta']['page'] ?? 1)) @else @endif @endfor
@endif
{{-- 创建/编辑模态框 --}} @if($showPromptModal)

{{ $isEditing ? '编辑提示词' : '新建提示词' }}

@unless($isEditing)
@endunless

可使用占位符:{kp_code}, {skills}, {count}, {basic_ratio}, {intermediate_ratio}, {advanced_ratio}, {type_mix}, {tags}, {skills_short}

@endif