@extends('layouts.admin') @section('title', $item->exists ? '编辑模型' : '新建模型') @section('head') @include('admin.partials.modern-form-head') @endsection @section('content')

{{ $item->exists ? '编辑模型' : '新建模型' }}

@if($item->exists)
@csrf
@csrf
@endif

* 为必填项

@csrf @if($method !== 'POST') @method($method) @endif

基础信息

维护模型的核心参数与展示信息,用于榜单、详情和筛选。

默认自动生成,可按品牌规范调整。

内容编辑

可补充模型能力、限制与使用建议,支持 Markdown 实时预览。

@include('admin.partials.markdown-editor', [ 'field' => 'description', 'value' => $item->description, 'label' => '模型详情(Markdown)', 'required' => false, 'rows' => 16, 'previewId' => 'model-description-preview', 'hint' => '建议包含适用场景、输入输出限制、定价说明。', ])
高级设置(SEO 与补充字段)
评分字段会参与排序,修改后请核对展示结果。
@endsection @section('scripts') @include('admin.partials.modern-form-scripts') @endsection