@extends('admin/public/layout') @section('css') @endsection @section('title')编辑商品@endsection @section('content') 编辑商品 是否需要邮寄 (虚拟物品不用邮寄例。如:手机充值等) post_type === 1 ) checked @endif /> 是 post_type === 0 ) checked @endif /> 否 商品名称 @if($errors->has('name')) {{ $errors->first('name') }} @endif 分类 选择分类 @include('admin.category.option',['type'=>'goods','select_id'=>$goods->category_id]) logo图片 @if($goods->logo) @endif 商品总数量 @if($errors->has('remnants')) {{ $errors->first('remnants') }} @endif 商品价格(消耗的金币数) @if($errors->has('coins')) {{ $errors->first('coins') }} @endif {{----}} {{--商品详情--}} {{--{{ old('description',$goods->description) }}--}} {{--@if($errors->has('description')) {{ $errors->first('description') }} @endif--}} {{----}} 商品详情 {!! old('description',$goods->description) !!} @if ($errors->has('description')) {{ $errors->first('description') }} @endif 状态 (禁用后前台不会显示) status === 1) checked @endif /> 启用 status === 0 ) checked @endif /> 禁用 @endsection @section('script') @endsection
{{ $errors->first('name') }}
{{ $errors->first('remnants') }}
{{ $errors->first('coins') }}
{{ $errors->first('description') }}