Açıklama Yok

vipCustomerEdit.blade.php 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. @extends('admin/master')
  2. @section('content')
  3. <body>
  4. @if(count($errors) > 0)
  5. <div class="Huialert Huialert-info" id="error">
  6. @foreach($errors->all() as $error)
  7. <li>{{$error}}</li>
  8. @endforeach
  9. </div>
  10. @endif
  11. <style type="text/css">
  12. #good_sku{
  13. position: absolute;
  14. z-index: 9;
  15. background: #ffffff;
  16. box-shadow: 1px 1px 1px 1px #ccc;
  17. width: calc(100% - 30px);
  18. }
  19. #good_sku li{
  20. font-size: 12px;
  21. line-height: 24px;
  22. cursor: pointer;
  23. padding: 5px 10px;
  24. }
  25. #good_sku li:hover{
  26. background: #eaeaea;
  27. }
  28. </style>
  29. <div class="page-container">
  30. <form id='order-form' action="/admin/customer/editVip" method="post" class="form form-horizontal" enctype="multipart/form-data">
  31. <input type="hidden" name="_token" value="{{ csrf_token() }}" />
  32. <input type="hidden" name="id" value="{{$info['id']}}" />
  33. <div class="row cl">
  34. <label class="form-label col-xs-4 col-sm-2">
  35. 姓名:</label>
  36. <div class="formControls col-xs-6 col-sm-6">
  37. <input type="text" class="input-text" value="{{$info['name']}}" placeholder="请输入用户姓名" name="name">
  38. </div>
  39. </div>
  40. <div class="row cl">
  41. <label class="form-label col-xs-4 col-sm-2">
  42. 生日:</label>
  43. <div class="formControls col-xs-6 col-sm-6">
  44. <input type="text" onfocus="WdatePicker({ dateFmt:'MM-dd' })" autocomplete="off" class="input-text Wdate" name="birthday" value="{{date("m-d",strtotime($info['birthday']))}}">
  45. </div>
  46. </div>
  47. <div class="row cl">
  48. <label class="form-label col-xs-4 col-sm-2">
  49. 金额:</label>
  50. <div class="formControls col-xs-6 col-sm-6">
  51. <input type="text" class="input-text" value="{{$info['price']}}" placeholder="请输入金额" name="price">
  52. </div>
  53. </div>
  54. <div class="row cl">
  55. <label for="" class="form-label col-xs-4 col-sm-2">充值方式:</label>
  56. <div class="formControls col-xs-6 col-sm-6">
  57. <select style="text-align:center" id='' class="select-box" name="payment_type">
  58. <option value="1" @if($info['payment_type']==1) selected @endif class="select-option">微信支付</option>
  59. <option value="3" @if($info['payment_type']==3) selected @endif class="select-option">个体户支付</option>
  60. </select>
  61. </div>
  62. </div>
  63. <div class="row cl">
  64. <label for="" class="form-label col-xs-4 col-sm-2">选择销售:</label>
  65. <div class="formControls col-xs-6 col-sm-6">
  66. <select style="text-align:center" id='admin_id' class="select-box" name="admin_id">
  67. @foreach($adminlist as $v)
  68. <option value="{{$v['id']}}" @if($info['admin_id'] == $v['id']) selected @endif class="select-option">{{$v['realname']}}</option>
  69. @endforeach
  70. </select>
  71. </div>
  72. </div>
  73. <div class="row cl">
  74. <div class="col-9 col-offset-2">
  75. <button class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>&nbsp;
  76. <button class="btn btn-default" type="reset" onclick="return_index();">&nbsp;&nbsp;返回&nbsp;&nbsp;</button>&nbsp;
  77. </div>
  78. </div>
  79. </form>
  80. </div>
  81. <!--_footer 作为公共模版分离出去-->
  82. <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
  83. <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
  84. <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
  85. <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
  86. <!--/_footer 作为公共模版分离出去-->
  87. <!--请在下方写此页面业务相关的脚本-->
  88. <script type="text/javascript" src="/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
  89. <script type="text/javascript">
  90. $(function() {
  91. setTimeout("$('#error').hide()", 3000);
  92. })
  93. /*返回*/
  94. function return_index(){
  95. location.href='/admin/customer/vipList';
  96. }
  97. </script>
  98. </body>
  99. @endsection