list.blade.php 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @section('title', '应用展示')
  2. @section('header')
  3. <div class="layui-inline" style="width: 100%;height: 32px;border-radius: 3px;">
  4. <div style="border:1px dashed #C9C9C9;border-radius: 5px;width: 1025px;margin:auto;">
  5. <button class="layui-btn layui-btn-small layui-btn-normal " style="margin-left: 480px;background-color: #ffffff;" data-desc="添加用户" data-url="{{url('/apps/uploads')}}">
  6. {{--<i class="layui-icon" style="margin: auto;">&#xe654;</i>--}}
  7. <b style="text-align:center;color: #0C0C0C;">+ </b><span style="color: #000000;"><a href="/apps/uploads">添加</a></span>
  8. </button>
  9. <button class="layui-btn layui-btn-small layui-btn-warm freshBtn" style="background-color: #fff; kground-color: #ffffff;">
  10. {{--<i class="layui-icon">&#x1002;</i>--}}
  11. <b style="color:#0C0C0C;">ひ </b><span style="color: #0C0C0C;">刷新</span>
  12. </button>
  13. </div>
  14. </div>
  15. <div style="width: 100%;height:auto;float: left;padding-left: 8px; padding-bottom: 10px;">
  16. @foreach($data as $v)
  17. <a href="/apps/list/{{$v['id']}}">
  18. <div style="width: 31%;height: 100px;margin-top:15px;margin-right: 20px;border:1px solid #AFAFAF;border-radius:4px;float: left;">
  19. <div style="width: 100%;height: 65px; ">
  20. <div style="float:left;width:45px;height: 45px;margin-left:25px;margin-top:10px;border:1px solid #FFD700;border-radius: 5px;">
  21. <img src="{{$v['icon']}}" style="width: 45px;height: 45px">
  22. </div>
  23. <div style="width:70%;float: left;margin-top: 13px;margin-left:10px;">
  24. <p style="font-weight: bold;font-size: 16px;letter-spacing: 2px;">{{$v['app_title']}}</p>
  25. <p style="margin-top: 5px;color: red;">{{$v['edition']}}</p>
  26. </div>
  27. </div>
  28. <div>
  29. <hr style="background-color: #C9C9C9;margin: 5px 0;">
  30. <span style="color:#8C8A8C; text-align: center;margin-left: 50px;">已使用的设备:{{$v['a_down']}} &nbsp;&nbsp;剩余设备:{{$v['a_down_limit']-$v['a_down']}}</span>
  31. </div>
  32. </div>
  33. </a>
  34. @endforeach
  35. </div>
  36. @endsection
  37. @section('js')
  38. {{--<script src="/static/admin/layui/layui.js"></script>
  39. <script src="/static/admin/layui/lay/modules/jquery.js"></script>--}}
  40. <script>
  41. layui.use(['form', 'jquery','laydate', 'layer'], function() {
  42. var form = layui.form(),
  43. $ = layui.jquery,
  44. laydate = layui.laydate,
  45. layer = layui.layer
  46. ;
  47. laydate({istoday: true});
  48. form.render();
  49. form.on('submit(formDemo)', function(data) {
  50. console.log(data);
  51. });
  52. });
  53. /* layer.open({
  54. type: 2,
  55. area:["500px","400px"],
  56. content: "list.html"
  57. })*/
  58. </script>
  59. @endsection
  60. @extends('common.list')