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.ajax.use_expense') }}" method="post" id="configs-edit">
- <h4>消费金使用设置</h4>
- <ui-input-number label="消费金使用初始金额:" value="{{ $configs['initial_num'] }}" name="initial_num" max="999999999" tips="订单金额大于等于此金额才能使用消费金"></ui-input-number>
- <ui-input-number label="消费金使用初始数量:" value="{{ $configs['initial_money'] }}" name="initial_money" max="999999999" tips="消费金最初能使用的金额"></ui-input-number>
- <ui-input-number label="消费金叠加金额:" value="{{ $configs['increase_num'] }}" name="increase_num" max="999999999" tips="订单每叠加对应金额"></ui-input-number>
- <ui-input-number label="消费金叠加使用金额:" value="{{ $configs['increase_money'] }}" name="increase_money" max="999999999" tips="消费金叠加使用金额"></ui-input-number>
- {{ 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
|