123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- @extends('admin/master')
- @section('content')
- <body>
- @if(count($errors) > 0)
- <div class="Huialert Huialert-info" id="error">
- @foreach($errors->all() as $error)
- <li>{{$error}}</li>
- @endforeach
- </div>
- @endif
- <style type="text/css">
- #good_sku{
- position: absolute;
- z-index: 9;
- background: #ffffff;
- box-shadow: 1px 1px 1px 1px #ccc;
- width: calc(100% - 30px);
- }
- #good_sku li{
- font-size: 12px;
- line-height: 24px;
- cursor: pointer;
- padding: 5px 10px;
- }
- #good_sku li:hover{
- background: #eaeaea;
- }
- </style>
- <div class="page-container">
- <form id='order-form' action="/admin/customer/editVip" method="post" class="form form-horizontal" enctype="multipart/form-data">
- <input type="hidden" name="_token" value="{{ csrf_token() }}" />
- <input type="hidden" name="id" value="{{$info['id']}}" />
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2">
- 姓名:</label>
- <div class="formControls col-xs-6 col-sm-6">
- <input type="text" class="input-text" value="{{$info['name']}}" placeholder="请输入用户姓名" name="name">
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2">
- 生日:</label>
- <div class="formControls col-xs-6 col-sm-6">
- <input type="text" onfocus="WdatePicker({ dateFmt:'MM-dd' })" autocomplete="off" class="input-text Wdate" name="birthday" value="{{date("m-d",strtotime($info['birthday']))}}">
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2">
- 金额:</label>
- <div class="formControls col-xs-6 col-sm-6">
- <input type="text" class="input-text" value="{{$info['price']}}" placeholder="请输入金额" name="price">
- </div>
- </div>
- <div class="row cl">
- <label for="" class="form-label col-xs-4 col-sm-2">充值方式:</label>
- <div class="formControls col-xs-6 col-sm-6">
- <select style="text-align:center" id='' class="select-box" name="payment_type">
- <option value="1" @if($info['payment_type']==1) selected @endif class="select-option">微信支付</option>
- <option value="3" @if($info['payment_type']==3) selected @endif class="select-option">个体户支付</option>
- </select>
- </div>
- </div>
- <div class="row cl">
- <label for="" class="form-label col-xs-4 col-sm-2">选择销售:</label>
- <div class="formControls col-xs-6 col-sm-6">
- <select style="text-align:center" id='admin_id' class="select-box" name="admin_id">
- @foreach($adminlist as $v)
- <option value="{{$v['id']}}" @if($info['admin_id'] == $v['id']) selected @endif class="select-option">{{$v['realname']}}</option>
- @endforeach
- </select>
- </div>
- </div>
- <div class="row cl">
- <div class="col-9 col-offset-2">
- <button class="btn btn-primary radius" type="submit" value=" 提交 "> 提交 </button>
- <button class="btn btn-default" type="reset" onclick="return_index();"> 返回 </button>
- </div>
- </div>
- </form>
- </div>
- <!--_footer 作为公共模版分离出去-->
- <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
- <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
- <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
- <!--/_footer 作为公共模版分离出去-->
- <!--请在下方写此页面业务相关的脚本-->
- <script type="text/javascript" src="/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
- <script type="text/javascript">
- $(function() {
- setTimeout("$('#error').hide()", 3000);
- })
- /*返回*/
- function return_index(){
- location.href='/admin/customer/vipList';
- }
- </script>
- </body>
- @endsection
|