123456789101112131415161718192021222324252627282930313233343536373839404142 |
- @extends('layouts.admin.app')
- @section('crumbs')
- <ol class="breadcrumb crumbs">
- <li><a href="{{ route('admin.index') }}#">后台导航</a></li>
- <li class="active">系统配置</li>
- </ol>
- @endsection
- @section('content')
- <div id="configs">
- <el-form action="{{ route('admin.config.update') }}" method="post" id="configs-edit">
- <h4>入住协议</h4>
- <ue label="入住协议:" value="{{ $configs->get('agreement','') }}" name="agreement" max="100" tips=""></ue>
- <hr>
- {{ csrf_field() }}
- <ui-submit></ui-submit>
- </el-form>
- </div>
- @endsection
- @section('scripts')
- <script type="application/javascript">
- $(function () {
- // 注意:Vue组件一定放在jQuery.validator前面验证
- new Vue({
- el: '#configs',
- data :function () {
- return {
- };
- },
- methods: {}
- });
- // 编辑保存变量
- window.formDatum = $('form').serialize();
- });
- </script>
- @component('layouts.admin.admin_component')@endcomponent
- @endsection
|