You've already forked lubo_comment_query
建设相关的路由,及大部分提交的验证,及视频对应的真·节目单
This commit is contained in:
@ -18,11 +18,11 @@
|
||||
@endif
|
||||
<label class="block my-2">
|
||||
追加内容(点播可不填)
|
||||
<input class="form-input border-0 border-b-2 w-full" type="text" name="name" value="{{$append->name}}">
|
||||
<input class="form-input border-0 border-b-2 w-full" type="text" name="name" value="{{ old('name') || $append->name }}">
|
||||
</label>
|
||||
<label class="block my-2">
|
||||
点播老板
|
||||
<input class="form-input border-0 border-b-2 w-full" type="text" name="from" value="{{$append->from}}">
|
||||
<input class="form-input border-0 border-b-2 w-full" type="text" name="from" value="{{ old('from') || $append->from }}">
|
||||
</label>
|
||||
<label class="block my-2">
|
||||
是否点播(不是追加)
|
||||
@ -30,12 +30,17 @@
|
||||
</label>
|
||||
<label class="block my-2">
|
||||
分
|
||||
<input class="form-input border-0 border-b-2 w-full" type="number" step="0.5" name="price" value="{{$append->price}}">
|
||||
<input class="form-input border-0 border-b-2 w-full" type="number" step="0.5" name="price" value="{{ old('price') || $append->price }}">
|
||||
</label>
|
||||
<label class="block my-2">
|
||||
补充说明
|
||||
<input class="form-input border-0 border-b-2 w-full" type="text" name="append" value="{{$append->append}}">
|
||||
<input class="form-input border-0 border-b-2 w-full" type="text" name="append" value="{{ old('append') || $append->append }}">
|
||||
</label>
|
||||
@if($errors->any())
|
||||
@foreach ($errors->all() as $error)
|
||||
<div class="bg-red-600 text-white">错误:{{ $error }}</div>
|
||||
@endforeach
|
||||
@endif
|
||||
<div class="block my-2 text-center">
|
||||
<input class="px-6 py-2 inline-block rounded-full bg-cyan-600 text-white" type="submit">
|
||||
</div>
|
||||
|
@ -22,7 +22,7 @@
|
||||
@foreach($appends as $append)
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{{route("program.construct.append.edit", ["program"=>$append->program_id, "append"=>$append->id])}}">编辑</a>
|
||||
<a href="{{route("program.construct.append.edit", ["append"=>$append->id])}}">编辑</a>
|
||||
@switch($append->platform_id)
|
||||
@case(1)
|
||||
<img class="w-4 h-4 inline-block" src="https://cdn.jerryyan.net/luboimg/bilibili.ico" alt="B站">
|
||||
|
Reference in New Issue
Block a user