You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
269 lines
12 KiB
269 lines
12 KiB
<!DOCTYPE html>
|
|
<!--[if IE 8]> <html class="ie ie8"> <![endif]-->
|
|
<!--[if IE 9]> <html class="ie ie9"> <![endif]-->
|
|
<!--[if gt IE 9]><!--> <html> <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{$menu.menu_seo_title|default=$site_seo_title} {$site_name}</title>
|
|
<meta name="keywords" content="{$menu.menu_seo_key|default=$site_seo_keywords}" />
|
|
<meta name="description" content="{$menu.menu_seo_des|default=$site_seo_description}">
|
|
<link rel="stylesheet" type="text/css" href="{$yf_theme_path}public/css/lightbox.css">
|
|
{include file="public:head" /}
|
|
<style>
|
|
.modef1 p{line-height:1.8em;font-size:14px;}
|
|
.modef1 p span{color:#999;width:130px;display:inline-block;text-align:right}
|
|
</style>
|
|
</head>
|
|
<body class="home">
|
|
<div class="contenter">
|
|
{include file="public:nav" /}
|
|
<div class="content">
|
|
<div class="basictop" style="margin-top: 0; margin-bottom: 80px">
|
|
<div class="" style="padding: 0 20px 20px 20px;">
|
|
<div class="tabs modeub modeac">
|
|
<div class="iconfont icon-home hometabs"></div>
|
|
<div class="tabstitle"><a href="{:url('news/category',array('kind'=>$kind))}">{$title}</a></div>
|
|
<div class="marketsegment segment">/</div>
|
|
<div class="tabstitle tabslast modef1"><a href="{:url('news/category',array('kind'=>$kind,'cid'=>$list['c_parent']))}">{$parent}</a></div>
|
|
|
|
</div>
|
|
<div class="detailsdes-new clearfix">
|
|
<div class="left">
|
|
<div class="de-img-wrapper">
|
|
<div class="img-shell">
|
|
{notempty name="list.c_logo"}
|
|
<a href="{$list.c_logo}" data-lightbox="image-1" data-title="{$list.c_name}"><img src="{$list.c_logo}" title="{$list.c_name}"/></a>
|
|
{/notempty}
|
|
</div>
|
|
</div>
|
|
<!--<div class="logobackimg liastedimg liastedimgimg">-->
|
|
<!--<a href="http://www.szcaee.cn/data/upload/2019-02-21/5c6e1beeb21c0.jpg" data-lightbox="image-1" data-title="红釉兽头耳直�瓶(一对)"><img src="http://www.szcaee.cn/data/upload/2019-02-21/5c6e1beeb21c0.jpg" title="红釉兽头耳直�瓶(一对)"/></a>-->
|
|
<!--</div>-->
|
|
</div>
|
|
<div class="right">
|
|
<p><span>托管资产�称:</span><span>{$list.c_name}</span></p>
|
|
<p><span>资产托管代ç �:</span><span>{$list.c_code}</span></p>
|
|
<p><span>数�:</span><span>{$list.c_num|default="--"}</span></p>
|
|
<p><span>�家报价:</span><span>{$list.c_price|default="--"}</span></p>
|
|
<p><span>本所指导价:</span><span>{$list.c_gprice|default="--"}</span></p>
|
|
{if condition="!empty($list['c_tprice']) and $list['c_tprice']!='/'"}
|
|
<p><span>第三方评估价:</span><span>{$list.c_tprice|default="--"}</span></p>
|
|
{/if}
|
|
<p><span>买家应价:</span><span><button type="button" id="askprice" class="redbtn">柜�预约</button></span></p>
|
|
<p><span>托管类别:</span><span><?php echo isset($showtypes[$list['c_cid']])?$showtypes[$list['c_cid']]:'--';?></span></p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="dmenus">
|
|
<div class="dmenu active">资产档案</div>
|
|
<div class="dmenu">鉴评情况</div>
|
|
<div class="dmenu">交易/展览记录</div>
|
|
<div class="dmenu">报价登记</div>
|
|
<div class="dmenu">买家预约�程</div>
|
|
</div>
|
|
<div class="dbodys">
|
|
<div class="dbody">
|
|
{if condition="$list['c_notice'] and file_exists('.'.$list['c_notice'])"}
|
|
<div class="detailshow">
|
|
<div class="show" style="font-size:1.1em;">�家承诺书:</div><br/>
|
|
{if condition="pathinfo($list['c_notice'],PATHINFO_EXTENSION ) eq 'pdf'"}
|
|
<embed src="{$list.c_notice}#toolbar=0&navpanes=0&scrollbar=0" width="80%" height="625">
|
|
{else}
|
|
<img src="{$list.c_notice}" style="max-width:80%;"/>
|
|
{/if}
|
|
</div>
|
|
{/if}
|
|
<div class="detailshow">
|
|
<div class="show">尺寸:{$list.c_size|default="-"}</div>
|
|
<div class="show">�质:{$list.c_material|default="-"}</div>
|
|
<div class="show">é£Žæ ¼ï¼š{$list.c_class|default="-"}</div>
|
|
<div class="show">年代:{$list.c_year|default="-"}</div>
|
|
<div class="show">托管日期:{$list.c_gptime|date='Y-m-d',###}</div>
|
|
</div>
|
|
<br/>
|
|
{$list.c_content|default="-"}
|
|
</div>
|
|
<div class="dbody">
|
|
{$list.c_evaluation|default="-"}
|
|
</div>
|
|
<div class="dbody">
|
|
{$list.c_transaction|default="-"}
|
|
</div>
|
|
<div id="subform" class="dbody">
|
|
<form method="post" id="subForm" action="{:url('subscription',array('c_id'=>$list['c_id'],'kind'=>$kind))}">
|
|
{:token()}
|
|
<div class="formrow">
|
|
<label>ä»·æ ¼ :</label>
|
|
<div class="input">
|
|
<input type="text" id="price" name="price" /><div class="error"></div>
|
|
</div>
|
|
</div>
|
|
<div class="formrow">
|
|
<label>姓� :</label>
|
|
<div class="input">
|
|
<input type="text" id="username" name="username" /><div class="error"></div>
|
|
</div>
|
|
</div>
|
|
<div class="formrow">
|
|
<label>�系电� :</label>
|
|
<div class="input">
|
|
<input type="text" id="mobile" name="mobile" /><div class="error"></div>
|
|
</div>
|
|
</div>
|
|
<div class="formrow">
|
|
<label>邮箱 :</label>
|
|
<div class="input">
|
|
<input type="text" id="email" name="email" /><div class="error"></div>
|
|
</div>
|
|
</div>
|
|
<div class="formrow">
|
|
<label> </label>
|
|
<div class="input">
|
|
<button type="button" id="submit" name="submit" class="redbtn">�交</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div id="subform2" class="dbody">
|
|
<form method="post" id="subForm2" action="{:url('subscription',array('c_id'=>$list['c_id'],'kind'=>$kind))}">
|
|
{:token()}
|
|
<div class="formrow">
|
|
<label>姓� :</label>
|
|
<div class="input">
|
|
<input type="text" id="username2" name="username" /><div class="error"></div>
|
|
</div>
|
|
</div>
|
|
<div class="formrow">
|
|
<label>�系电� :</label>
|
|
<div class="input">
|
|
<input type="text" id="mobile2" name="mobile" /><div class="error"></div>
|
|
</div>
|
|
</div>
|
|
<div class="formrow">
|
|
<label>邮箱 :</label>
|
|
<div class="input">
|
|
<input type="text" id="email2" name="email" /><div class="error"></div>
|
|
</div>
|
|
</div>
|
|
<div class="formrow">
|
|
<label> </label>
|
|
<div class="input">
|
|
<button type="button" id="submit2" name="submit" class="redbtn">�交</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{include file="public:footer"/}
|
|
{include file="public:scripts"/}
|
|
<script type="text/javascript" src="{$yf_theme_path}public/js/lightbox.js" charset="utf-8"></script>
|
|
<script type="text/javascript" >
|
|
$(function(){
|
|
$(".dbody").eq(0).show();
|
|
$(".dmenu").each(function(){
|
|
$(this).hover(function(){
|
|
var index=$(this).index();
|
|
$(".dmenu").removeClass('active');
|
|
$(".dmenu").eq(index).addClass('active');
|
|
|
|
$(".dbody").hide();
|
|
$(".dbody").eq(index).show();
|
|
},function(){});
|
|
});
|
|
$("#askprice").click(function(){
|
|
var index=3;
|
|
$(".dmenu").removeClass('active');
|
|
$(".dmenu").eq(index).addClass('active');
|
|
|
|
$(".dbody").hide();
|
|
$(".dbody").eq(index).show();
|
|
});
|
|
$("#submit").click(function(event){
|
|
var price=$("#price").val();
|
|
var username=$("#username").val();
|
|
var mobile=$("#mobile").val();
|
|
var email=$("#email").val();
|
|
$(".formrow .error").html('');
|
|
if(typeof price=='undefined'||price==''){
|
|
$(".formrow .error").eq(0).html('è¯·è¾“å…¥ä»·æ ¼');
|
|
return false;
|
|
}
|
|
if(typeof username=='undefined'||username==''){
|
|
$(".formrow .error").eq(1).html('请输入姓�');
|
|
return false;
|
|
}
|
|
if(typeof mobile=='undefined'||mobile==''){
|
|
$(".formrow .error").eq(2).html('请输入�系电�');
|
|
return false;
|
|
}
|
|
if(typeof email=='undefined'||email==''){
|
|
$(".formrow .error").eq(3).html('请输入邮箱');
|
|
return false;
|
|
}
|
|
var reg = new RegExp("^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$");
|
|
if(!reg.test(email)){
|
|
$(".formrow .error").eq(3).html('请输入æ£ç¡®é‚®ç®±');
|
|
return false;
|
|
}
|
|
var url="{:url('subscription',array('c_id'=>$list['c_id'],'kind'=>$kind,'type'=>2))}";
|
|
var postData=$("#subForm").serialize();
|
|
console.log(postData);
|
|
$.post(url,postData,function(data){
|
|
var code=data.code;
|
|
var url=data.url;
|
|
var msg=data.msg;
|
|
if(code==0&&(typeof url!='undefined'&&url!='')){
|
|
window.location.reload();
|
|
}else if(code==1){
|
|
alert(msg);
|
|
window.location.reload();
|
|
}
|
|
});
|
|
});
|
|
$("#submit2").click(function(event){
|
|
var username=$("#username2").val();
|
|
var mobile=$("#mobile2").val();
|
|
var email=$("#email2").val();
|
|
$("#subform2.formrow .error").html('');
|
|
if(typeof username=='undefined'||username==''){
|
|
$("#subform2 .formrow .error").eq(0).html('请输入姓�');
|
|
return false;
|
|
}
|
|
if(typeof mobile=='undefined'||mobile==''){
|
|
$("#subform2 .formrow .error").eq(1).html('请输入�系电�');
|
|
return false;
|
|
}
|
|
if(typeof email=='undefined'||email==''){
|
|
$("#subform2.formrow .error").eq(2).html('请输入邮箱');
|
|
return false;
|
|
}
|
|
var reg = new RegExp("^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$");
|
|
if(!reg.test(email)){
|
|
$("#subform2 .formrow .error").eq(2).html('请输入æ£ç¡®é‚®ç®±');
|
|
return false;
|
|
}
|
|
var url="{:url('subscription',array('c_id'=>$list['c_id'],'kind'=>$kind,'type'=>1))}";
|
|
var postData=$("#subForm2").serialize();
|
|
console.log(postData);
|
|
$.post(url,postData,function(data){
|
|
var code=data.code;
|
|
var url=data.url;
|
|
var msg=data.msg;
|
|
if(code==0&&(typeof url!='undefined'&&url!='')){
|
|
window.location.reload();
|
|
}else if(code==1){
|
|
alert(msg);
|
|
window.location.reload();
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|