D:
/
virtualhost
/
localuser
/
host3914537801
/
www
/
templates
/
default
/
Upload File
HOME
{include file=html/head.html} {include file=html/banner.html} {include file=html/nav.html} <div class="list"> <div class="container-1360"> {pboot:list num=222226} <a onclick="vdFtion('[list:ext_spsz]')" > <div class="case-list-item" style="height:auto"> <div class="img-container" style="height:auto"> <img src="[list:ico]" > </div> <div class="title"> <h3 > [list:title] </h3> <p >[list:description]</p> </div> </div> </a> {/pboot:list} </div> <div class="container flex justify-center items-center " style="display:none"> <div class="paging " > <a id="firstPage" href="{page:index}">首页</a> <span><a id="nextPage" href="{page:pre}" ><</a></span> {page:numbar} <span><a id="preNext" href="{page:next}">></a></span> <a id="lastPage" href="{page:last}">尾页</a> </div> </div> </div> <div class="videoBg"> </div> <div class="videoBox"> <span class="xxBut"> <img src="{pboot:sitetplpath}/web/images/xx-ico.png" /> </span> <div class="videoDiv"> <video id="videos" data-src="" controls="controls"> </video> </div> </div> <style> .videoBg{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0,0,0,.85);z-index:998;display:none} .videoBox{position:fixed;top:0;left:0;width:100%;padding:0 15px;z-index:999;height:80vh;width:100vw;display:none} .xxBut{position:absolute;right:50px;top:50px;cursor:pointer;z-index:9999} .videoDiv{position:absolute;width:auto;left:30%;height:80%} .videoDiv #videos{max-width:1200px;max-height:80vh;margin-top:10vh} </style> {include file=html/foot.html} <script> function vdFtion(tt){ $("#videos").each(function(){ var _this = $(this); document.getElementById("videos").src=tt ; /* $("#videos").attr({ src: _this.data("src") });*/ }) $("#videos").get(0).play(); $(".videoBg").fadeIn(); $(".videoBox").fadeIn(); } $(".xxBut").click(function(){ $(".videoBg").fadeOut(); $(".videoBox").fadeOut(); setTimeout(function(){ $("#videos").attr({ src: "" }); },300) }) </script>