jinjiang.blade.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. @extends('mobile.module.layouts.health')
  2. @push('meta')
  3. @endpush
  4. @push('css')
  5. <link href="{{ theme_asset('mobile/css/index.css') }}" rel="stylesheet">
  6. <style>
  7. .img-box,.img-box img {display: block;width:100%;}
  8. .module-title .module-title-nav{
  9. display:block;
  10. float:left;
  11. color: #666666;
  12. text-align: center;
  13. height: .8rem;
  14. width: 25%;
  15. line-height: .8rem;
  16. text-decoration: none;
  17. }
  18. .module-title-content {background: white;padding:10px;width: 100%;box-sizing: border-box;}
  19. #player-container-id,#player-container-id1,#player-container-id2{
  20. width: 100%;
  21. height: 0;
  22. padding-bottom: 56.25%; /* 16:9 宽高比 */
  23. position: relative;
  24. display: inline-block;
  25. }
  26. video {
  27. width: 100%;
  28. height: 100%;
  29. position: absolute;
  30. top: 0;
  31. left: 0;
  32. }
  33. </style>
  34. <link href="{{ theme_asset('mobile/css/personal.css') }}" rel="stylesheet">
  35. <link href="https://web.sdk.qcloud.com/player/tcplayer/release/v5.1.0/tcplayer.min.css" rel="stylesheet"/>
  36. @endpush
  37. @push('js')
  38. <script src="https://web.sdk.qcloud.com/player/tcplayer/release/v5.1.0/tcplayer.v5.1.0.min.js"></script>
  39. @endpush
  40. @section('content')
  41. {{-- 头部--}}
  42. <div class="headernavfixed">
  43. <div class="headernav font18">
  44. <div class="title">
  45. <div class="n-tit-box">
  46. 认识晋江
  47. </div>
  48. <div class="return js-back for-event" data-href="{{route('mobile.health.index')}}"></div>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="listmod">
  53. <div class="eattitle list_height t1">
  54. 大爱之城,健康晋江
  55. </div>
  56. <div class="picmod">
  57. <video id="player-container-id" preload="auto" playsinline webkit-playsinline>
  58. </video>
  59. <div class="clear"></div>
  60. </div>
  61. </div>
  62. <div class="listmod">
  63. <div class="eattitle list_height t1">
  64. 创晋江
  65. </div>
  66. <div class="picmod">
  67. <video id="player-container-id1" preload="auto" playsinline webkit-playsinline>
  68. </video>
  69. <div class="clear"></div>
  70. </div>
  71. </div>
  72. <div class="listmod">
  73. <div class="eattitle list_height t1">
  74. 泉州人才港湾计划
  75. </div>
  76. <div class="picmod">
  77. <video id="player-container-id2" preload="auto" playsinline webkit-playsinline>
  78. </video>
  79. <div class="clear"></div>
  80. </div>
  81. </div>
  82. @endsection
  83. @section('script')
  84. <script>
  85. var player = TCPlayer('player-container-id', {
  86. sources: [{
  87. src: '{{ theme_asset('mobile/0e93030f7d1d74f6d738bbbd4511e2a6.mp4') }}?v=1', // 播放地址
  88. }],
  89. autoplay: true,
  90. licenseUrl: 'https://license.vod2.myqcloud.com/license/v2/1251164517_1/v_cube.license', // license 地址,参考准备工作部分,在视立方控制台申请 license 后可获得 licenseUrl
  91. posterImage: true,
  92. bigPlayButton: true,
  93. poster: "{{ theme_asset('mobile/images/health_thumb.jpg') }}",
  94. });
  95. var player = TCPlayer('player-container-id1', {
  96. sources: [{
  97. src: '{{ theme_asset('mobile/chuangjinjiang.mp4') }}?v=1', // 播放地址
  98. }],
  99. autoplay: true,
  100. licenseUrl: 'https://license.vod2.myqcloud.com/license/v2/1251164517_1/v_cube.license', // license 地址,参考准备工作部分,在视立方控制台申请 license 后可获得 licenseUrl
  101. posterImage: true,
  102. bigPlayButton: true,
  103. poster: "{{ theme_asset('mobile/chuangjinjiang.jpg') }}",
  104. });
  105. var player = TCPlayer('player-container-id2', {
  106. sources: [{
  107. src: '{{ theme_asset('mobile/gangwanjihua.mp4') }}?v=1', // 播放地址
  108. }],
  109. autoplay: true,
  110. licenseUrl: 'https://license.vod2.myqcloud.com/license/v2/1251164517_1/v_cube.license', // license 地址,参考准备工作部分,在视立方控制台申请 license 后可获得 licenseUrl
  111. posterImage: true,
  112. bigPlayButton: true,
  113. poster: "{{ theme_asset('mobile/gangwanjihua.jpg') }}",
  114. });
  115. </script>
  116. @endsection