1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- @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('privacy_protocol','') }}" name="privacy_protocol" tips=""></ue>
- <hr>
- <h4>关于我们</h4>
- <ue label="关于我们:" value="{{ $configs->get('about_us','') }}" name="about_us" 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
|