|
@@ -12,13 +12,14 @@
|
|
|
<div style="margin-top: 10px;color: #e60d0d;">
|
|
|
请先选择时间
|
|
|
</div>
|
|
|
- <form method="get" action="index.php" name="formSearch" id="formSearch">
|
|
|
+ <form method="get" action="index.php" name="formSearch" id="formSearch" style="min-width: 1200px;">
|
|
|
<table class="tb-type1 noborder search tableFixed">
|
|
|
<tr>
|
|
|
<th><label>起始日期</label></th>
|
|
|
<td>
|
|
|
<select name="time_stamp" id="timeSelect">
|
|
|
<option value=""><?php echo $lang['nc_please_choose']; ?></option>
|
|
|
+ <option value="1621440000">2021-05-20</option>
|
|
|
<?php foreach ($output['days'] as $day => $txt) {?>
|
|
|
<option value="<?php echo $day; ?>"><?php echo $txt; ?></option>
|
|
|
<?php }?>
|
|
@@ -86,9 +87,9 @@
|
|
|
</tr>
|
|
|
</table>
|
|
|
</form>
|
|
|
- <div>
|
|
|
- <iframe
|
|
|
- src="" scrolling="no" id="Iframe" frameborder="0"></iframe>
|
|
|
+ <div id="box">
|
|
|
+ <!-- <iframe
|
|
|
+ src="https://www.xyzshops.cn/plot/index?time_stamp=1621488600&interval=60" scrolling="no" id="Iframe" frameborder="0"></iframe> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/laydate/laydate.js"></script>
|
|
@@ -101,15 +102,16 @@
|
|
|
<script type="text/javascript">
|
|
|
$(function () {
|
|
|
|
|
|
- $("#Iframe").load(function(){
|
|
|
- $(this).css("min-height", '900px')
|
|
|
- $(this).css("min-width", '1650px')
|
|
|
- // var iframeHeight = $(this).contents().find("html").height();
|
|
|
- // var iframeWidth = $(this).contents().find("html").scrollWidth;
|
|
|
- // $(this).attr("height",iframeHeight)
|
|
|
- // $(this).attr("width",iframeWidth)
|
|
|
- // console.log('iframeHeight', iframeHeight, iframeWidth);
|
|
|
- });
|
|
|
+ // $("#Iframe").load(function(){
|
|
|
+ // $(this).css("min-height", '900px')
|
|
|
+ // $(this).css("min-width", '1650px')
|
|
|
+ // // var iframeHeight = $(this).contents().find("html").height();
|
|
|
+ // // var iframeWidth = $(this).contents().find("html").scrollWidth;
|
|
|
+ // // $(this).attr("height",iframeHeight)
|
|
|
+ // // $(this).attr("width",iframeWidth)
|
|
|
+ // // console.log('iframeHeight', iframeHeight, iframeWidth);
|
|
|
+ // });
|
|
|
+
|
|
|
//默认获取 当前日期 当前时间点前一个小时, 间隔15 900
|
|
|
// 前15分钟
|
|
|
let frontOneHour = new Date(new Date().getTime() - 15 * 60 * 1000)
|
|
@@ -132,7 +134,8 @@
|
|
|
if (!data) {
|
|
|
return
|
|
|
}
|
|
|
- $('iframe').attr('src',s)
|
|
|
+ // $('iframe').attr('src',s)
|
|
|
+ $('#box').html(data)
|
|
|
});
|
|
|
|
|
|
function TimeGetWhere(time){
|
|
@@ -209,7 +212,8 @@
|
|
|
if (!data) {
|
|
|
return
|
|
|
}
|
|
|
- $('iframe').attr('src',src)
|
|
|
+ // $('iframe').attr('src',src)
|
|
|
+ $('#box').html(data)
|
|
|
});
|
|
|
});
|
|
|
})
|