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.
282 lines
12 KiB
282 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>
|
|
{if condition="isset($state)"}
|
|
<div class="tabstitle tabslast modef1"><a href="{:url('news/category',array('kind'=>$kind))}">{$parent}</a></div>
|
|
{else}
|
|
<div class="tabstitle tabslast modef1"><a href="{:url('news/category',array('kind'=>$kind,'cid'=>$c_parent))}">{$parent}</a></div>
|
|
{/if}
|
|
</div>
|
|
<div class="detailsdes-new clearfix">
|
|
<div class="left">
|
|
<div class="de-img-wrapper">
|
|
<div class="img-shell">
|
|
{if condition="count($list['photos'])"}
|
|
<div id="bswiper" class="swiper-container">
|
|
<div class="swiper-wrapper">
|
|
{if condition="$list['c_video']"}
|
|
<div class="swiper-slide" >
|
|
<div class="bannerimg">
|
|
<video src="{$list.c_video}" poster="{$list.c_logo}" width="100%" controls="controls" autoplay>您的浏览器不支持 video 标签。</video>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
{foreach name="list['photos']" item="vo"}
|
|
<div class="swiper-slide" >
|
|
<div class="bannerimg">
|
|
<a href="<?php echo trim($vo,'.');?>" data-lightbox="image-1" data-title="{$list.c_name}"><img src="<?php echo trim($vo,'.');?>" title="{$list.c_name}"/></a>
|
|
</div>
|
|
</div>
|
|
{/foreach}
|
|
</div>
|
|
<div class="swiper-pagination"></div>
|
|
</div>
|
|
{else}
|
|
{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}
|
|
{/if}
|
|
</div>
|
|
{if condition="isset($list['detect']) and !is_null($list['detect'])"}<div class="detect">{$list.detect==1?'检测未通过':($list.detect==2?'检测通过':'未检测')}</div>{/if}
|
|
</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>{if condition="$list['c_tag'] eq 1"} <button type="button" class="redbtn" style="vertical-align:top;margin-top:3px;">已摘牌</button>{/if}</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_child']])?$showtypes[$list['c_child']]:'--';?></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>
|
|
<div class="dbodys">
|
|
<div class="dbody">
|
|
{if condition="$list['c_notice'] and file_exists('.'.$list['c_notice'])"}
|
|
<div class="detailshow">
|
|
<div class="show" style="text-align:left;">卖家承诺书:</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_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="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(){
|
|
var swiper = new Swiper('#bswiper', {
|
|
paginationClickable: true,
|
|
pagination:'.swiper-pagination',
|
|
centeredSlides: true
|
|
});
|
|
$(".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;
|
|
}
|
|
var han = /^[\u4e00-\u9fa5]+$/;
|
|
if(!han.test(username)){
|
|
$(".formrow .error").eq(1).html('请输入中文姓名');
|
|
return false;
|
|
}
|
|
if(typeof mobile=='undefined'||mobile==''){
|
|
$(".formrow .error").eq(2).html('请输入联系电话');
|
|
return false;
|
|
}
|
|
if(mobile.length!=11||!/^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1}))+\d{8})$/.test(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;
|
|
layer.msg(msg);
|
|
if(code==1){
|
|
setTimeout(function(){
|
|
window.location.reload();
|
|
},3000);
|
|
}
|
|
});
|
|
});
|
|
$("#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;
|
|
}
|
|
var han = /^[\u4e00-\u9fa5]+$/;
|
|
if(!han.test(username)){
|
|
$("#subform2 .formrow .error").eq(0).html('请输入中文姓名');
|
|
return false;
|
|
}
|
|
if(typeof mobile=='undefined'||mobile==''){
|
|
$("#subform2 .formrow .error").eq(1).html('请输入联系电话');
|
|
return false;
|
|
}
|
|
if(mobile.length!=11||!/^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1}))+\d{8})$/.test(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;
|
|
layer.msg(msg);
|
|
if(code==1){
|
|
setTimeout(function(){
|
|
window.location.reload();
|
|
},3000);
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|