在data/view页面中添加了dataservice
This commit is contained in:
parent
849918408b
commit
643ccaad7a
|
@ -9,6 +9,9 @@
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->theme->AppendPlus($this,'google_map_v3');
|
$this->theme->AppendPlus($this,'google_map_v3');
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
$this->theme->AppendPlus($this,'colorbox');
|
||||||
|
if(!empty($this->dataService)) {
|
||||||
|
$this->theme->AppendModel($this,"dataservice");
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
h3.gs_rt{font-size:110%;}
|
h3.gs_rt{font-size:110%;}
|
||||||
|
@ -336,12 +339,14 @@ endforeach;
|
||||||
在线下载
|
在线下载
|
||||||
</a>
|
</a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?php if(!empty($this->dataService)) { ?>
|
<?php
|
||||||
<a href="javascript:void(0);" class="btn btn-primary btn-large btn-block" title="此数据需要选择要下载的子集" onclick="westdc.dataservice.choiceData('<?= $md->uuid ?>');">
|
if(!empty($this->dataService)) { ?>
|
||||||
|
<?php $this->theme->AppendPlus($this,'datepicker'); ?>
|
||||||
|
<a href="javascript:void(0);" class="btn btn-primary btn-large btn-block" title="此数据需要选择要下载的子集" onclick="westdc.dataservice.choiceData('<?= $md->uuid ?>',this);">
|
||||||
<?php }else{ ?>
|
<?php }else{ ?>
|
||||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="免费!离线申请此数据(在线数据和离线数据都可申请)">
|
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="免费!离线申请此数据(在线数据和离线数据都可申请)">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
放入数据篮
|
放入数据篮
|
||||||
</a>
|
</a>
|
||||||
<?php endif;endif; ?>
|
<?php endif;endif; ?>
|
||||||
<a href="javascript:void(0);" class="btn btn-block" title="喜欢此数据可以将它放到收藏夹中下次浏览">
|
<a href="javascript:void(0);" class="btn btn-block" title="喜欢此数据可以将它放到收藏夹中下次浏览">
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
$this->theme->AppendPlus($this,'google_map_v3');
|
$this->theme->AppendPlus($this,'google_map_v3');
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
$this->theme->AppendPlus($this,'colorbox');
|
||||||
if(!empty($this->dataService)) {
|
if(!empty($this->dataService)) {
|
||||||
$this->theme->AppendModel($this,"dataservice");
|
$this->theme->AppendModel($this,"dataservice");
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<?= $this->render('breadcrumbs.phtml') ?>
|
<?= $this->render('breadcrumbs.phtml') ?>
|
||||||
|
@ -371,7 +371,7 @@ endforeach;
|
||||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="免费!离线申请此数据(在线数据和离线数据都可申请)">
|
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="免费!离线申请此数据(在线数据和离线数据都可申请)">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
放入数据篮
|
放入数据篮
|
||||||
</a>
|
</a>
|
||||||
<?php endif;endif; ?>
|
<?php endif;endif; ?>
|
||||||
<a href="javascript:void(0);" onclick="method.like('<?php echo $md->uuid; ?>',this)" class="btn btn-block" title="喜欢此数据可以将它放到收藏夹中下次浏览">
|
<a href="javascript:void(0);" onclick="method.like('<?php echo $md->uuid; ?>',this)" class="btn btn-block" title="喜欢此数据可以将它放到收藏夹中下次浏览">
|
||||||
收藏此数据
|
收藏此数据
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
$this->theme->AppendPlus($this,'google_map_v3');
|
$this->theme->AppendPlus($this,'google_map_v3');
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
$this->theme->AppendPlus($this,'colorbox');
|
||||||
$this->nav[] = array('link'=>"/water",'title'=>'黑河综合遥感联合试验');
|
$this->nav[] = array('link'=>"/water",'title'=>'黑河综合遥感联合试验');
|
||||||
|
if(!empty($this->dataService)) {
|
||||||
|
$this->theme->AppendModel($this,"dataservice");
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
h3.gs_rt{font-size:110%;}
|
h3.gs_rt{font-size:110%;}
|
||||||
|
@ -336,9 +339,15 @@ endforeach;
|
||||||
在线下载
|
在线下载
|
||||||
</a>
|
</a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="免费!离线申请此数据(在线数据和离线数据都可申请)">
|
<?php
|
||||||
|
if(!empty($this->dataService)) { ?>
|
||||||
|
<?php $this->theme->AppendPlus($this,'datepicker'); ?>
|
||||||
|
<a href="javascript:void(0);" class="btn btn-primary btn-large btn-block" title="此数据需要选择要下载的子集" onclick="westdc.dataservice.choiceData('<?= $md->uuid ?>',this);">
|
||||||
|
<?php }else{ ?>
|
||||||
|
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="免费!离线申请此数据(在线数据和离线数据都可申请)">
|
||||||
|
<?php } ?>
|
||||||
放入数据篮
|
放入数据篮
|
||||||
</a>
|
</a>
|
||||||
<?php endif;endif; ?>
|
<?php endif;endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue