update data detail page

This commit is contained in:
avene 2018-06-24 14:22:40 +08:00
parent cbc081caed
commit fc5a43097d
1 changed files with 20 additions and 3 deletions

View File

@ -140,8 +140,10 @@ if ($md): ?>
<div class="col-md-4 rightOne" style="padding-right: 0;">
<h6>站内搜索</h6>
<div class="searchBox">
<i>搜索</i>
<input type="text" placeholder="请输入搜索内容"/>
<form action="/search" id="search-form">
<i onclick="$('#search-form').submit()">搜索</i>
<input type="text" placeholder="请输入搜索内容"/>
</form>
</div>
<h6>空间位置</h6>
<div class="spaceLocation" id='watermap'>
@ -193,7 +195,22 @@ if ($md): ?>
endforeach;
?>
</div>
<a href="" class="addBtn">加入数据篮</a>
<?php if ($md->status > 0 and $md->status < 5) : ?>
<a href="/review/review/uuid/<?php echo $md->uuid; ?>" class="addBtn">数据评审</a>
<?php else : if (!$md->datatype) : ?>
<a href="/data/todownload/?uuid=<?= $md->uuid ?>" class="addBtn">下载数据</a>
<?php else: ?>
<?php
if (!empty($this->dataService)) { ?>
<?php $this->theme->AppendPlus($this, 'datepicker'); ?>
<a href="javascript:void(0);" class="addBtn" title="此数据需要选择要下载的子集" onclick="westdc.dataservice.choiceData('<?= $md->uuid ?>',this);">
<?php } else { ?>
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="addBtn"
title="免费!离线申请此数据(在线数据和离线数据都可申请)">放入数据篮</a>
<?php } ?>
放入数据篮
</a>
<?php endif;endif; ?>
</div>
</div>
</div>