about_us.blade.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. @extends('layouts.admin.app')
  2. @section('crumbs')
  3. <ol class="breadcrumb crumbs">
  4. <li><a href="{{ route('admin.index') }}#">后台导航</a></li>
  5. <li class="active">系统配置</li>
  6. </ol>
  7. @endsection
  8. @section('content')
  9. <div id="configs">
  10. <el-form action="{{ route('admin.config.update') }}" method="post" id="configs-edit">
  11. <h4>隐私协议</h4>
  12. <ue label="平台隐私声明:" value="{{ $configs->get('privacy_protocol','') }}" name="privacy_protocol" tips=""></ue>
  13. <hr>
  14. <h4>关于我们</h4>
  15. <ue label="关于我们:" value="{{ $configs->get('about_us','') }}" name="about_us" max="100" tips=""></ue>
  16. <hr>
  17. {{ csrf_field() }}
  18. <ui-submit></ui-submit>
  19. </el-form>
  20. </div>
  21. @endsection
  22. @section('scripts')
  23. <script type="application/javascript">
  24. $(function () {
  25. // 注意:Vue组件一定放在jQuery.validator前面验证
  26. new Vue({
  27. el: '#configs',
  28. data :function () {
  29. return {
  30. };
  31. },
  32. methods: {}
  33. });
  34. // 编辑保存变量
  35. window.formDatum = $('form').serialize();
  36. });
  37. </script>
  38. @component('layouts.admin.admin_component')@endcomponent
  39. @endsection