videodetails.php 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/6/4
  6. * Time: 上午11:18
  7. */
  8. use mobile\assets\AppAsset;
  9. use yii\helpers\Url;
  10. AppAsset::addCss($this,Yii::$app->request->baseUrl."/overseas/js/videolist/videoPlug/zy.media.min.css");
  11. AppAsset::addCss($this,Yii::$app->request->baseUrl."/overseas/css/vid_details.css");
  12. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/overseas/js/videolist/videoPlug/zy.media.min.js');
  13. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/overseas/js/videolist/details.js');
  14. $this->title = '视频详情-品房海外';
  15. ?>
  16. <!-- 导航 -->
  17. <?php $this->beginContent('@app/views/public/nav.php'); ?>
  18. <?php $this->endContent(); ?>
  19. <div class="body_box">
  20. <!-- 视频 -->
  21. <div class="deta-box">
  22. <div class="playvideo">
  23. <div class="poay"><img src="/image/video/play.png" alt=""></div>
  24. <div id="oid" class="zy_media" data-off="2" data-id="<?php echo $info['id']; ?>">
  25. <video poster="<?= Yii::$app->params['httpImg']['hosts'], Yii::$app->params['httpImg']['houses'] ,$info['thumb'],'/same' ?>" data-config='{"mediaTitle": "<?=$info['name']?>--视频"}' style="width: 100%; height: 100%; object-fit: fill">
  26. <source src="<?php echo $info['video_url']; ?>" type="video/mp4">您的浏览器不支持HTML5视频
  27. </video>
  28. </div>
  29. </div>
  30. </div>
  31. <!-- 楼盘名称 -->
  32. <div class="lpname">
  33. <div class="lpname-box">
  34. <div class="lpname-img"><img src="/image/video/icon-1.png" alt=""></div>
  35. <div class="lpname-font">
  36. <p class="lpname-title">
  37. <span><?=$info['name']?></span>
  38. <a href="javascript:void(0);">+&nbsp;关注</a>
  39. </p>
  40. <p class="tag">
  41. <?php if(!empty($info['characteristic'])){ foreach ($info['characteristic'] as $val){?>
  42. <i><?=$val?></i>
  43. <?php }}?>
  44. </p>
  45. </div>
  46. <span class="lpname-map"><?=$info['city_name']?></span>
  47. </div>
  48. <!-- <div class="lpname-label">-->
  49. <!-- <p class="video-list-label">-->
  50. <!-- <span>--><?php //echo $info['plays'] + 1000; ?><!--播放</span>-->
  51. <!-- <span class="give" data-id="--><?php //echo $info['id']; ?><!--" data-type="2">--><?php //echo $info['thumbs_up'] + 500; ?><!--点赞</span>-->
  52. <!-- </p>-->
  53. <!-- </div>-->
  54. </div>
  55. </div>
  56. <!-- 报名窗口 -->
  57. <div class="lpapply2">
  58. <div class="lpapply2_main">
  59. <i class="lpapple_xian"></i>
  60. <div class="lpapply2_top">
  61. <form class="submit_area">
  62. <input type="hidden" name="hid" value="<?=$info['id']?>"> <!-- 0 为公共报名,其它为楼盘ID-->
  63. <input type="hidden" name="source" value="138"> <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
  64. <input type="hidden" name="equipment" value="1"> <!--来源设备 ( PC端 2,手机端 1 )-->
  65. <p class="topimg"><img src="/overseas/img/lpapply_ico2.png" alt=""></p>
  66. <div class="lpapply2_topconter">
  67. <input class="input_text" name="mobile" type="text" placeholder="输入手机号码可免费查看全集" >
  68. <input type="button" value="查看视频" class="bmipc apply_bmipc">
  69. </div>
  70. </form>
  71. </div>
  72. <div class="lpapply2_gb"><a href="javascript:;"><img src="/overseas/img/lpapply_ico3.png" alt=""></a></div>
  73. </div>
  74. </div>
  75. <!-- 遮挡层 -->
  76. <div class="keep"></div>