在data/view页面中添加了dataservice
This commit is contained in:
parent
849918408b
commit
643ccaad7a
|
@ -9,6 +9,9 @@
|
|||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->theme->AppendPlus($this,'google_map_v3');
|
||||
$this->theme->AppendPlus($this,'colorbox');
|
||||
if(!empty($this->dataService)) {
|
||||
$this->theme->AppendModel($this,"dataservice");
|
||||
}
|
||||
?>
|
||||
<style>
|
||||
h3.gs_rt{font-size:110%;}
|
||||
|
@ -336,8 +339,10 @@ endforeach;
|
|||
在线下载
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<?php if(!empty($this->dataService)) { ?>
|
||||
<a href="javascript:void(0);" class="btn btn-primary btn-large btn-block" title="此数据需要选择要下载的子集" onclick="westdc.dataservice.choiceData('<?= $md->uuid ?>');">
|
||||
<?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 } ?>
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
$this->theme->AppendPlus($this,'google_map_v3');
|
||||
$this->theme->AppendPlus($this,'colorbox');
|
||||
$this->nav[] = array('link'=>"/water",'title'=>'黑河综合遥感联合试验');
|
||||
if(!empty($this->dataService)) {
|
||||
$this->theme->AppendModel($this,"dataservice");
|
||||
}
|
||||
?>
|
||||
<style>
|
||||
h3.gs_rt{font-size:110%;}
|
||||
|
@ -336,7 +339,13 @@ endforeach;
|
|||
在线下载
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<?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>
|
||||
<?php endif;endif; ?>
|
||||
|
|
Loading…
Reference in New Issue