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.
263 lines
11 KiB
263 lines
11 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}
|
|
.detailsdes-new .left{width:400px;}
|
|
.detailsdes-new .right{padding-left:50px;font-size:16px;color:#a0a0a0;}
|
|
.detailsdes-new .right p{color:#a0a0a0;margin-top:6px;line-height:1.8rem;}
|
|
.detailsdes-new .right span:nth-child(1){width:200px;}
|
|
.pagetabs{margin-bottom:10px;padding-left:25px;}
|
|
.pagetabs a{color:#000;font-size:1.1em;margin-right:25px;display: inline-block;vertical-align: top;line-height:2.4em;}
|
|
.pagetabs a:hover,.pagetabs a.active{color:red;border-bottom:2px solid red;display: inline-block;}
|
|
.pagedetail{margin:20px 0px;}
|
|
.pagetitle{font-size:1.2em;line-height:1em;margin-bottom:15px;border-left:3px solid #438EB9;padding-left:5px;}
|
|
</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'=>$c_parent))}">{$parent}</a></div>
|
|
<div class="marketsegment segment">/</div>
|
|
<div class="tabstitle tabslast modef1"><a href="javascript:void(0);">{$list.c_name}</a></div>
|
|
</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="{$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>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="right">
|
|
<p><span><strong>资产名称:</strong></span><span>{$list.c_name}</span>{if condition="$list['c_tag'] eq 1"} <button type="button" style="vertical-align:top;margin-top:3px;" class="redbtn">已摘牌</button>{/if}</p>
|
|
<p><span><strong>古建资产类别:</strong></span><span>{$parent}</span></p>
|
|
<p><span><strong>资产托管代码:</strong></span><span>{$list.c_code}</span></p>
|
|
<p><span><strong>资产等级*:</strong></span><span>{$list.capital_level?$list.capital_level:'--'}</span></p>
|
|
<p><span><strong>托管日期(一年有效期):</strong></span><span>{$list.c_gptime?date("Y-m-d",$list.c_gptime):''}</span></p>
|
|
<p><span><strong>资产托管要素:</strong></span><span>{$list.capital_elem?$list.capital_elem:'--'}</span></p>
|
|
{if condition="$list['c_type'] eq 2 and $list['c_fare']"}
|
|
<!--<p><span><strong>交易见证服务费:</strong></span><span>{$list.c_fare?$list.c_fare.'元':'--'}</span></p>-->
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="dmenus">
|
|
<div class="dmenu active">资产档案</div>
|
|
<div class="dmenu">买家预约流程</div>
|
|
</div>
|
|
<div class="dbodys">
|
|
<div class="dbody">
|
|
{if condition="$list['c_content'] and empty($list['capital_desc'])"}
|
|
{$list.c_content|default="-"}
|
|
{/if}
|
|
{$list.capital_desc|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=1;
|
|
$(".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>
|
|
|