1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- @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.on_order_set') }}" method="post" id="configs-edit">
- <h4>平台服务费</h4>
- <ui-input-number label="平台服务费:" value="{{ $configs['server_num'] }}" name="server_num" mix="-10" max="100" tips="线上订单平台服务费(%)"></ui-input-number>
- <hr>
- <h4>消费金</h4>
- <ui-input-number label="消费金让利比列:" value="{{ $configs['expense_num'] }}" name="expense_num" mix="-1" max="100" tips="消费金让利比列(%)"></ui-input-number>
- <hr>
- <h4>商城订单分层设置</h4>
- <ui-input-number label="省级比列:" value="{{ $configs['province_num'] }}" name="province_num" mix="-10" max="100" tips="省级的佣金比列(%)"></ui-input-number>
- <ui-input-number label="市级比列:" value="{{ $configs['city_num'] }}" name="city_num" max="100" mix="-1" tips="市级的佣金比列(%)"></ui-input-number>
- <ui-input-number label="县级比列:" value="{{ $configs['area_num'] }}" name="area_num" max="100" mix="-1" tips="县级的佣金比列(%)"></ui-input-number>
- <ui-input-number label="分销商比列:" value="{{ $configs['sales_num'] }}" name="sales_num" mix="-1" max="100" tips="分销商的佣金比列(%)"></ui-input-number>
- <ui-input-number label="店铺比列:" value="{{ $configs['shop_num'] }}" name="shop_num" mix="-1" max="100" tips="店铺的佣金比列(%)"></ui-input-number>
- <ui-input-number label="用户比列:" value="{{ $configs['user_num'] }}" name="user_num" mix="-1" max="100" 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
|