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.
2481 lines
114 KiB
2481 lines
114 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{include file="public:config"/}
|
|
<meta name="author" content="{$Think.config.sys_name}">
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta http-equiv="pragma" content="no-cache">
|
|
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
|
|
<link rel="icon" href="favicon.ico">
|
|
<base href="{$yf_theme_path}static/" />
|
|
<title>{$site_seo_title} {$site_name}</title>
|
|
<meta name="keywords" content="{$site_seo_keywords}" />
|
|
<meta name="description" content="{$site_seo_description}">
|
|
<!--美化select-->
|
|
<link rel="stylesheet" type="text/css" href="{$yf_theme_path}public/css/widget/selectFilter.css">
|
|
<link rel="stylesheet" type="text/css" href="{$yf_theme_path}public/css/fonts/font-awesome/css/font-awesome.min.css">
|
|
<link rel="stylesheet" type="text/css" href="{$yf_theme_path}public/css/font2/iconfont.css">
|
|
<link rel="stylesheet" type="text/css" href="css/swiper.min.css">
|
|
<link rel="stylesheet" type="text/css" href="{$yf_theme_path}public/css/public.css">
|
|
<link rel="stylesheet" type="text/css" href="css/common.css">
|
|
<link rel="stylesheet" type="text/css" href="css/index.css">
|
|
<style>
|
|
/*<!-- 登录窗口的样式 -->*/
|
|
.reveal-modal-bg {
|
|
position: fixed;
|
|
height: 100%;
|
|
width: 100%;
|
|
z-index: 100;
|
|
display: none;
|
|
top: 0;
|
|
left: 0;
|
|
background: rgba(0, 0, 0, 0.4)
|
|
}
|
|
.reveal-modal{
|
|
top: 50% !important;
|
|
transform: translateY(-50%);
|
|
}
|
|
/*<!-- 登录窗口的样式 -->*/
|
|
/* 首页弹窗样式 */
|
|
.lesstbmt{
|
|
left: 0px;
|
|
top: 550px;
|
|
}
|
|
.radio .radio-bg{
|
|
transition: none;
|
|
}
|
|
.radio input:checked + span.radio-on, .reveal-modal .checked span.radio-on{
|
|
transition: none;
|
|
}
|
|
/* */
|
|
#header .slider_list{
|
|
/*height: auto !important;*/
|
|
height: 535px !important;
|
|
}
|
|
#header .slider_list a img{
|
|
height: 535px;
|
|
}
|
|
.d-flex-wrap{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
.w-70{
|
|
width: 70%;
|
|
}
|
|
.w-65{
|
|
width: 65%;
|
|
}
|
|
.w-50{
|
|
width: 50%;
|
|
}
|
|
.w-35{
|
|
width: 35%;
|
|
}
|
|
.w-30{
|
|
width: 30%;
|
|
}
|
|
.d-flex-1{
|
|
flex: 1;
|
|
}
|
|
.b-grey-a{
|
|
border: 1px solid #C3C4C5;
|
|
}
|
|
.bg-grey-a{
|
|
background-color: #C3C4C5;
|
|
}
|
|
.part-two-t{
|
|
width: 100%;
|
|
height: 138px;
|
|
padding: 10px;
|
|
margin-bottom: 15px;
|
|
box-sizing: border-box;
|
|
border-radius: 5px;
|
|
overflow: hidden;
|
|
background-color: #D40F1E;
|
|
}
|
|
.part-two-t table{
|
|
width: 100%;
|
|
height: 100%;
|
|
display: inline-table;
|
|
border-collapse: collapse;
|
|
}
|
|
.part-two-c{
|
|
border: 1px solid #C40816;
|
|
color: #fff;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
}
|
|
.part-two-c .div{
|
|
padding: 5px 0px;
|
|
transition: 0.5s;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.part-two-c:hover .div{
|
|
color: #D40F1E;
|
|
overflow: hidden;
|
|
border-radius: 5px;
|
|
background-color: rgba(255,255,255,.8);
|
|
transition: 0.5s;
|
|
}
|
|
.part-two-c .img{
|
|
display: inline-block;
|
|
width: 40px;
|
|
height: 40px;
|
|
margin: 0px 15px 0px 10px;
|
|
}
|
|
/* 第一行icon */
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(1) .img{
|
|
background-image: url("/public/img/icon/icon_1_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(1):hover .img{
|
|
background-image: url("/public/img/icon/icon_1_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(2) .img{
|
|
background-image: url("/public/img/icon/icon_2_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(2):hover .img{
|
|
background-image: url("/public/img/icon/icon_2_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(3) .img{
|
|
background-image: url("/public/img/icon/icon_3_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(3):hover .img{
|
|
background-image: url("/public/img/icon/icon_3_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(4) .img{
|
|
background-image: url("/public/img/icon/icon_4_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(4):hover .img{
|
|
background-image: url("/public/img/icon/icon_4_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(5) .img{
|
|
background-image: url("/public/img/icon/icon_5_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(5):hover .img{
|
|
background-image: url("/public/img/icon/icon_5_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(6) .img{
|
|
background-image: url("/public/img/icon/icon_6_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(6):hover .img{
|
|
background-image: url("/public/img/icon/icon_6_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(7) .img{
|
|
background-image: url("/public/img/icon/icon_7_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(1) .part-two-c:nth-of-type(7):hover .img{
|
|
background-image: url("/public/img/icon/icon_7_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
/* 第2行icon */
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(1) .img{
|
|
background-image: url("/public/img/icon/icon_8_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(1):hover .img{
|
|
background-image: url("/public/img/icon/icon_8_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(2) .img{
|
|
background-image: url("/public/img/icon/icon_9_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(2):hover .img{
|
|
background-image: url("/public/img/icon/icon_9_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(3) .img{
|
|
background-image: url("/public/img/icon/icon_10_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(3):hover .img{
|
|
background-image: url("/public/img/icon/icon_10_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(4) .img{
|
|
background-image: url("/public/img/icon/icon_11_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(4):hover .img{
|
|
background-image: url("/public/img/icon/icon_11_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(5) .img{
|
|
background-image: url("/public/img/icon/icon_12_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(5):hover .img{
|
|
background-image: url("/public/img/icon/icon_12_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(6) .img{
|
|
background-image: url("/public/img/icon/icon_13_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(6):hover .img{
|
|
background-image: url("/public/img/icon/icon_13_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(7) .img{
|
|
background-image: url("/public/img/icon/icon_14_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
tr:nth-of-type(2) .part-two-c:nth-of-type(7):hover .img{
|
|
background-image: url("/public/img/icon/icon_14_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
/* 第2行icon结束 */
|
|
.part-two-c a{
|
|
color: #fff;
|
|
}
|
|
.part-two-b{
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
.part-two-b ul{
|
|
margin: 0px 18px;
|
|
}
|
|
.part-two-b ul li{
|
|
float: left;
|
|
font-size: 18px;
|
|
color: #555;
|
|
padding: 0px 10px;
|
|
cursor: pointer;
|
|
}
|
|
.part-two-b ul li.active{
|
|
color: #D40F1E;
|
|
font-weight: bold;
|
|
}
|
|
.part-two-b .headtitle.title {
|
|
float: left;
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #313131;
|
|
padding-left: 10px;
|
|
border-left: 5px solid #c20d14;
|
|
padding-bottom: 2px;
|
|
}
|
|
.part-two-b .part-two-b-table{
|
|
width: 20%;
|
|
height: 439px;
|
|
display: inline-block;
|
|
float: left;
|
|
}
|
|
.part-two-b-r.content ul{
|
|
margin: 0;
|
|
}
|
|
.part-two-b-r.content li {
|
|
padding: 15px 0px 2px 5px;
|
|
float: none;
|
|
}
|
|
.jy-box-l{
|
|
height: 520px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
background-image: url("/public/img/xczxbj.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
.jy-box-l .jy-box-l-t{
|
|
width: 160px;
|
|
font-size: 40px;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
line-height: 56px;
|
|
}
|
|
.jy-box-l .btnL{
|
|
width: 260px;
|
|
height: 50px;
|
|
line-height: 50px;
|
|
border: 1px solid #fff;
|
|
text-align: center;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
transition: 0.5s;
|
|
}
|
|
.jy-box-l .btnL:hover{
|
|
border: 1px solid #D3101E;
|
|
color: #D3101E;
|
|
}
|
|
.jy-box-a{
|
|
margin: 7px;
|
|
width: 415px;
|
|
width: 395px;
|
|
height: 240px;
|
|
padding: 50px 60px 60px 30px;
|
|
box-sizing: border-box;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
font-size: 30px;
|
|
line-height: 34px;
|
|
}
|
|
.jy-box-a .btnA{
|
|
display: inline-block;
|
|
background-color: #C7A462;
|
|
padding: 10px 40px;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
margin-top: 20px;
|
|
line-height: 18px;
|
|
color: #fff;
|
|
}
|
|
.jy-box-a:hover{
|
|
/*color: #000;*/
|
|
transition: 1.5s;
|
|
}
|
|
.jy-box-a:hover .btnA{
|
|
color: #D40F1E;
|
|
transition: 1.5s;
|
|
cursor: pointer;
|
|
}
|
|
.jy-box-a:nth-of-type(1){
|
|
background-image: url("/public/img/platform_bg_3.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
.jy-box-a:nth-of-type(2){
|
|
background-image: url("/public/img/platform_bg_2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
.jy-box-a:nth-of-type(3){
|
|
color: #4C4238;
|
|
background-image: url("/public/img/platform_bg_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
.jy-box-a:nth-of-type(4){
|
|
background-image: url("/public/img/platform_bg_4.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
.jy-box-b-l{
|
|
width: 590px;
|
|
height: 336px;
|
|
background-image: url("/public/img/guanyu.png");
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
margin-right: 10px;
|
|
}
|
|
.jy-box-b-l .text_1{
|
|
font-weight: bold;
|
|
font-size: 30px;
|
|
color: #fff;
|
|
padding-left: 30px;
|
|
}
|
|
.jy-box-b-l .text_2{
|
|
font-size: 20px;
|
|
color: #fff;
|
|
padding-left: 30px;
|
|
margin: 12px 0px;
|
|
}
|
|
.jy-box-b-l .play_btn_1{
|
|
font-size: 20px;
|
|
color: rgb(255, 219, 135);
|
|
padding-left: 30px;
|
|
margin: 12px 0px;
|
|
}
|
|
.jy-box-b-l .play_btn_1::before{
|
|
content: '';
|
|
display: inline-block;
|
|
width: 30px;
|
|
height: 30px;
|
|
background-image: url("/public/img/video_btn.png");
|
|
background-size: 100% 100%;
|
|
margin-bottom: 3px;
|
|
margin-right: 3px;
|
|
vertical-align: middle;
|
|
}
|
|
.jy-box-b{
|
|
margin-left: 4px;
|
|
width: 290px;
|
|
height: 160px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
}
|
|
.jy-box-b .text_1{
|
|
font-weight: bold;
|
|
font-size: 26px;
|
|
color: #fff;
|
|
padding-left: 20px;
|
|
}
|
|
.jy-box-b .play_btn_2{
|
|
font-size: 18px;
|
|
color: rgb(255, 219, 135);
|
|
padding-left: 20px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.jy-box-b .play_btn_2::before{
|
|
content: '';
|
|
display: inline-block;
|
|
width: 30px;
|
|
height: 30px;
|
|
background-image: url("/public/img/video_btn.png");
|
|
background-size: 100% 100%;
|
|
margin-bottom: 2px;
|
|
margin-right: 3px;
|
|
vertical-align: middle;
|
|
}
|
|
.jy-box-b:nth-of-type(1){
|
|
background-image: url("/public/img/video_bg_2.png");
|
|
}
|
|
.jy-box-b:nth-of-type(2){
|
|
background-image: url("/public/img/video_bg_3.png");
|
|
}
|
|
.jy-box-b:nth-of-type(3){
|
|
background-image: url("/public/img/video_bg_5.png");
|
|
}
|
|
.jy-box-b:nth-of-type(4){
|
|
background-image: url("/public/img/video_bg_4.png");
|
|
}
|
|
.jy-box-c-title{
|
|
color: #333;
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
.jy-box-c-title2{
|
|
width: 60px;
|
|
height: 4px;
|
|
background-color: #333;
|
|
margin: 8px auto 12px;
|
|
}
|
|
.jy-box-c{
|
|
width: 280px;
|
|
background-color: #fff;
|
|
padding: 15px;
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
}
|
|
.jy-box-c:hover{
|
|
box-shadow: 0px 0px 4px 4px rgba(0,0,0,.03);
|
|
transition: 0.5s;
|
|
}
|
|
.jy-box-c .img{
|
|
width: 250px;
|
|
height: 250px;
|
|
margin-bottom: 15px;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
}
|
|
.jy-box-c div{
|
|
color: #333;
|
|
font-size: 18px;
|
|
line-height: 27px;
|
|
}
|
|
.jy-box-c span{
|
|
color: #666;
|
|
font-size: 14px;
|
|
line-height: 22px;
|
|
}
|
|
.jy-box-c-2{
|
|
display: inline-block;
|
|
width: 640px !important;
|
|
/*width: 33%;*/
|
|
height: 315px;
|
|
position: relative;
|
|
margin: 50px 15px;
|
|
}
|
|
.jy-box-c-2 img{
|
|
position: absolute;
|
|
left: 19px;
|
|
top: 0px;
|
|
/*width: 56%;*/
|
|
width: 360px;
|
|
z-index: 2;
|
|
}
|
|
.jy-box-c-2 .jy-box-c-con{
|
|
width: 100%;
|
|
height: 284px;
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
padding-left: 62%;
|
|
box-sizing: border-box;
|
|
color: #555555;
|
|
background-color: #fff;
|
|
position: absolute;
|
|
left: 0px;
|
|
top: 31px;
|
|
z-index: 1;
|
|
}
|
|
.jy-box-c-2 .jy-box-c-con.current_1{
|
|
color: #fff;
|
|
background-color: #BB0816;
|
|
}
|
|
.jy-box-c-2 .jy-box-c-con span:nth-of-type(1){
|
|
font-size: 16px;
|
|
display: none;
|
|
}
|
|
.jy-box-c-2 .jy-box-c-con span:nth-of-type(2){
|
|
font-size: 32px;
|
|
font-weight: bold;
|
|
line-height: 46px;
|
|
margin-top: 10px;
|
|
}
|
|
.jy-box-c-2 .jy-box-c-con span:nth-of-type(3){
|
|
width: 60px;
|
|
height: 4px;
|
|
background-color: #D40F1E;
|
|
margin: 15px 0px 20px;
|
|
}
|
|
.jy-box-c-2 .jy-box-c-con.current_1 span:nth-of-type(3){
|
|
background-color: #FFF;
|
|
}
|
|
.jy-box-c-2 .jy-box-c-con span:nth-of-type(4){
|
|
font-size: 12px;
|
|
color: #666;
|
|
display: none;
|
|
}
|
|
.jy-box-c-2 .jy-box-c-con span:nth-of-type(5){
|
|
display: inline-block;
|
|
width: 24px;
|
|
height: 24px;
|
|
margin: 32px 0px;
|
|
background-image: url("/public/img/icon_a-2.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
.jy-box-c-2 .jy-box-c-con.current_1 span:nth-of-type(5){
|
|
background-image: url("/public/img/icon_a_1.png");
|
|
background-size: 100% 100%;
|
|
}
|
|
.jy-box-c-2 .jy-box-c-con.current_1 span:nth-of-type(4){
|
|
color: #FFF;
|
|
}
|
|
|
|
/*.swiper-container-horizontal>.swiper-pagination-bullets.swiper4-pagination{*/
|
|
/* bottom: -20px;*/
|
|
/*}*/
|
|
/*查看更多的无类名按钮*/
|
|
a:hover{
|
|
color: #333;
|
|
}
|
|
/* 首页的首页导航样式 */
|
|
#header .head .tnav li[id=menu-item-7] a{
|
|
color: #D40F1E;
|
|
font-weight: 700;
|
|
border-bottom: 3px solid #D40F1E;
|
|
}
|
|
|
|
.swiper-slide{
|
|
cursor: pointer;
|
|
}
|
|
#mainshow .headtitle .title{
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #333;
|
|
padding-bottom: 2px;
|
|
}
|
|
.mytable1 .tbody .td{font-size:14px!important;}
|
|
</style>
|
|
|
|
<!--引入jquery-->
|
|
<script type="text/javascript" src="{$yf_theme_path}public/js/jquery.js"></script>
|
|
<script type="text/javascript" src="{$yf_theme_path}public/js/widget/selectFilter.js"></script>
|
|
<!--引入弹出层-->
|
|
<script type="text/javascript" src="{$yf_theme_path}public/js/widget/reveal.js"></script>
|
|
<!--返回顶部逻辑-->
|
|
<script type="text/javascript" src="{$yf_theme_path}public/js/backtop.js"></script>
|
|
<script src="libs/swiper.min.js"></script>
|
|
<script src="libs/host.js"></script>
|
|
|
|
<script src="https://ssl.captcha.qq.com/TCaptcha.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="header" style="padding-bottom: 10px;">
|
|
<div class="inner">
|
|
|
|
{include file="public:newnav" /}
|
|
<div class="list_flex" style="background-color: #eee;width: 100%;margin: 0px auto;">
|
|
<div class="slider_list" style="width:100%;">
|
|
<div class="swiper-container">
|
|
<div class="swiper-wrapper"></div>
|
|
<div class="swiper-pagination"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="list_flex" style="width: 1200px;margin:10px auto 20px auto;display: none;">
|
|
<div class="banner" id="bbsbanner"><a href="javascript:void(0);"><img src="{$yf_theme_path}public/images/tbanner.png" alt=""></a></div>
|
|
<script>
|
|
$(function(){
|
|
$("#bbsbanner a").click(function(event){
|
|
event.preventDefault();
|
|
var url="{:url('bbs/index/check_login',['check'=>1])}";
|
|
$.get(url,function(data){
|
|
if(data.code==1){
|
|
window.location.href="{:url('bbs/index/index')}";
|
|
}else{
|
|
layer.msg(data.msg);
|
|
if(data.msg=='请先登录(只限会员登录)')$('#LoginPage').reveal($(this).data());
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
</div>
|
|
<div class="list_flex d-flex-wrap" style="width: 1200px;margin: 20px auto;">
|
|
<div class="part-two-t">
|
|
<table frame=void >
|
|
<tr>
|
|
<td class="part-two-c" onclick="orgcheck()"><div class="div"><div class="img"></div>合作申请</div></td>
|
|
<td class="part-two-c" onclick="toUrl('/list/21/catid/10/cid/4')"><div class="div"><div class="img"></div>交易规则</div></td>
|
|
<td class="part-two-c" onclick="actcheck()"><div class="div"><div class="img"></div>活动入口</div></td>
|
|
<td class="part-two-c"><div class="div"><div class="img"></div>培训专区</div></td>
|
|
<td class="part-two-c" onclick="tgcheck()"><div class="div"><div class="img"></div>资产登记</div></td>
|
|
<td class="part-two-c" onclick="toUrl('/home/index/apply7')"><div class="div"><div class="img"></div>转让申请</div></td>
|
|
<td class="part-two-c" onclick="toUrl('/home/index/apply6')"><div class="div"><div class="img"></div>求购申请</div></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="part-two-c" onclick="toUrl('/list/50/catid/17/cid/1.html')"><div class="div"><div class="img"></div>操作指南</div></td>
|
|
<td class="part-two-c" onclick="toUrl('/list/50/catid/17/cid/1')"><div class="div"><div class="img"></div>表单下载</div></td>
|
|
<td class="part-two-c" onclick="toUrl('/list/333.html')"><div class="div"><div class="img"></div>国有业务</div></td>
|
|
<td class="part-two-c"><div class="div"><div class="img"></div>事业部</div></td>
|
|
<td class="part-two-c" onclick="toUrl('/home/agency/index/kind/1.html')"><div class="div"><div class="img"></div>服务机构</div></td>
|
|
<td class="part-two-c"><div class="div"><div class="img"></div>版权认证</div></td>
|
|
<td class="part-two-c" onclick="toUrl('https://visual.pelerin.cn/#/')"><div class="div"><div class="img"></div>交易大屏</div></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="part-two-b">
|
|
<div class="w-65 b-grey-a" style="height: 450px;overflow: hidden;padding: 0px 10px 10px;">
|
|
<div style="height: 439px;overflow: hidden;">
|
|
<div style="display: flex;align-items: center;height: 54px;">
|
|
<div class="headtitle title">最新项目</div>
|
|
<ul>
|
|
<li class="active" data-cate="1">数据超市</li>
|
|
<li data-cate="2">国有项目</li>
|
|
<li data-cate="3">投融资项目</li>
|
|
<li data-cate="4">求购信息</li>
|
|
<li data-cate="5">会员俱乐部</li>
|
|
</ul>
|
|
<div style="margin-left: 20px;cursor: pointer;" id="readMore">查看更多<i class="iconfont_tm iconarrow_r" style="font-size: 12px;"></i></div>
|
|
</div>
|
|
<div style="width:500%;position: relative;left: 0px;top: 0px;" id="positioningBar">
|
|
<div class="part-two-b-table" id="big_category_ct_b"></div>
|
|
<div class="part-two-b-table" id="whjrzx_category_ct_b"></div>
|
|
<div class="part-two-b-table" id=""></div>
|
|
<div class="part-two-b-table" id=""></div>
|
|
<div class="part-two-b-table" id="whjrzx_category_ct_jlb"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="w-35 b-grey-a" style="height: 450px;margin-left: 15px;padding: 10px;">
|
|
<div class="msgshow">
|
|
<div class="top">
|
|
<img src="/public/img/important_notice.png" style="width: 100%;" />
|
|
<div class="txt"><p><strong>重要信息公示</strong></p></div>
|
|
<div class="more" style="cursor: pointer;"><a href="/list/23.html" target="__blank">查看更多 <i class="iconfont_tm iconarrow_r"></i></a></div>
|
|
</div>
|
|
<div class="part-two-b-r content">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="list_flex" style="width: 1200px;margin: 0px auto;display: none;">
|
|
<div class="box_item">
|
|
<div class="catemenu">
|
|
<dl>
|
|
<dt><img src="img/cate_menu_w.jpg" width="241" height="56"></dt>
|
|
<dd><a href="/page/33/kind/60.html" title='招拍挂平台'><span class="iconfont_tm iconjiaoyi"></span>招拍挂平台<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd>
|
|
<a href="javascript:void(0);" title='文化产业策略联盟挂牌平台'><span class="iconfont_tm iconzhongguo"></span>文化产业策略联盟挂牌平台<span class="iconfont_tm iconarrow_r"></span></a>
|
|
<dl>
|
|
<dd><a href="/page/257/kind/124.html">挂牌业务线上流程指引</a></dd>
|
|
<dd><a href="javascript:void(0);" onclick="lication()">我要挂牌</a></dd>
|
|
<dd><a href="/home/agency/index/kind/1.html">文化产业专业推荐机构</a></dd>
|
|
<dd><a href="/list/80/cid/1.html">挂牌项目查找</a></dd>
|
|
<dd><a href="javascript:void(0);">挂牌展示专区</a>
|
|
<dl>
|
|
<dd><a href="/list/275/cid/1.html">副理事长单位成员</a></dd>
|
|
<dd><a href="/list/275/cid/2.html">理事长单位成员</a></dd>
|
|
<dd><a href="/list/275/cid/3.html">专家委员会成员</a></dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dd><a href="https://whtg.szcaee.cn/mztg/#/home" target="__blank" title='要素交易中心'><span class="iconfont_tm iconwenhuamingsheng"></span>要素交易中心<span class="iconfont_tm iconarrow_r"></span></a>
|
|
<dl>
|
|
<dd><a href="javascript:void(0);">民宿产业要素交易平台</a></dd>
|
|
<dd><a href="javascript:void(0);">乡村振兴产业要素交易平 台</a></dd>
|
|
<dd><a href="javascript:void(0);">文化大数据资产交易平台</a></dd>
|
|
<dd><a href="javascript:void(0);">全民艺术普及文创中心资产交易平台</a></dd>
|
|
<dd><a href="javascript:void(0);">人才产权交易平台</a></dd>
|
|
<dd><a href="javascript:void(0);">其他</a></dd>
|
|
</dl>
|
|
</dd>
|
|
<dd style="display:none;"><a href="/page/230/kind/102.html" title='知识产权托管平台'><span class="iconfont_tm iconluyan"></span>知识产权托管平台<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="/page/217/kind/90.html" title='文化贸易一站式金融综合服务平台'><span class="iconfont_tm iconmeitituoguan"></span>文化贸易一站式金融综合服务平台<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="/page/219/kind/92.html" title='文化金融城市学院'><span class="iconfont_tm iconwenhua"></span>文化金融城市学院<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="javascript:void(0);" title='文化和旅游产业专项债券顾问咨询服务'><span class="iconfont_tm iconzhishichanquan"></span>文化和旅游产业专项债券顾问咨询服务<span class="iconfont_tm iconarrow_r"></span></a>
|
|
<dl>
|
|
<dd><a href="javascript:void(0);" onclick="applycheck(1)">专项债申报入口</a></dd>
|
|
<dd><a href="javascript:void(0);" onclick="applycheck(2)">投资基金申报入口</a></dd>
|
|
</dl>
|
|
</dd>
|
|
<dd><a href="/page/233/kind/105.html" title='"地方政府专项债券"支持重大文旅项目顾问咨询服务'><span class="iconfont_tm icondianying"></span>"地方政府专项债券"支持重大文旅项目顾问咨询服务<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="javascript:void(0);" title='创新创业服务中心'><span class="iconfont_tm iconhouse"></span>创新创业服务中心<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><img src="img/cate_menu_y.jpg" width="241" height="56"></dt>
|
|
<dd><a href="/page/155/kind/86.html" title='艺术金融俱乐部'><span class="iconfont_tm iconhuiyuan"></span> 艺术金融俱乐部<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="/page/75/kind/44.html" title='版权管理系统'><span class="iconfont icon-wenhuayishuxian"></span> 版权管理系统<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="/page/63/kind/46.html" title='"艺资管"产品'><span class="iconfont icon-fenxiang"></span> "艺资管"产品<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="/page/64/kind/45.html" title='艺品拍平台'><span class="iconfont_tm iconpaimai"></span> 艺品拍平台<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="/page/63/kind/46.html" title='艺享拍平台'><span class="iconfont icon-fenxiang"></span> 艺享拍平台<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="/page/62/kind/47.html" title='艺版拍平台'><span class="iconfont icon-copyrightbanquan"></span> 艺版拍平台<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="/page/244/kind/118.html" title='会员服务'><span class="iconfont icon-dianshang"></span> 会员服务<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><img src="img/cate_menu_q.jpg" width="241" height="56"></dt>
|
|
<dd><a href="/home/news/category/kind/15.html" title='乡村振兴平台'><span class="iconfont_tm icondajiangtang"></span>乡村振兴<span class="iconfont_tm iconarrow_r"></span></a>
|
|
<dl>
|
|
<dd><a href="javascript:void(0);">专区</a>
|
|
<dl>
|
|
<dd><a href="/home/index/dehua.html">德化专区</a></dd>
|
|
<dd><a href="/home/index/jinxi.html">金溪专区</a></dd>
|
|
<dd><a href="/home/news/category/kind/15/cid/3.html">普宁专区</a></dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dd><a href="/page/236/kind/111.html" title='中国古建系列文化园'><span class="iconfont_tm icondiamond"></span>中国古建系列文化园<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="/home/index/gucun.html" title='中国古村落振兴计划'><span class="iconfont_tm iconyinhangcunguan"></span>中国古村落振兴计划<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="/list/82/cid/13.html" title='策略联盟'><span class="iconfont_tm iconxueyuan"></span>策略联盟<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
<dd><a href="/list/82/cid/14.html" title='项目进场'><span class="iconfont_tm icontouzi"></span>项目进场<span class="iconfont_tm iconarrow_r"></span></a></dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
<div class="box_item box_flex_1">
|
|
<div class="jc_box" style="width:950px">
|
|
<div class="tab">
|
|
<a class="item active">文化金融中心</a>
|
|
<a class="item">艺术金融中心</a>
|
|
<a class="item">乡村振兴</a>
|
|
<a class="item" >数据超市</a>
|
|
</div>
|
|
<div class=" jc_list active">
|
|
<div class="list_flex">
|
|
<div class="jc_panel" style="width:100%">
|
|
<div id="whjrzx_category_nav" class="pl_menus clearfix"></div>
|
|
<div id="whjrzx_category_ct" class="pl_ct">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class=" jc_list">
|
|
<div class="jc_panel" style="width:100%">
|
|
<div id="yszx_category_nav" class="pl_menus clearfix"></div>
|
|
<div id="yszx_category_ct" class="pl_ct"></div>
|
|
</div>
|
|
</div>
|
|
<div class=" jc_list">
|
|
<div class="jc_panel" style="width:100%">
|
|
<div id="gj_category_nav" class="pl_menus clearfix"></div>
|
|
<div id="gj_category_ct" class="pl_ct"></div>
|
|
</div>
|
|
</div>
|
|
<div class=" jc_list">
|
|
<div class="jc_panel" style="width:100%">
|
|
<div id="big_category_nav" class="pl_menus clearfix"></div>
|
|
<div id="big_category_ct" class="pl_ct"></div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="mainshow">
|
|
<div class="inner" style="overflow: hidden;">
|
|
<div class="list_flex" style="width: 1200px;margin: 20px auto;flex-wrap: wrap;">
|
|
<div class="headtitle">
|
|
<p class="title">合作孵化专区</p>
|
|
<a href="/page/318/kind/13528.html" style="float: right;line-height: 24px;cursor: pointer;">查看更多<i class="iconfont_tm iconarrow_r" style="font-size: 12px;"></i></a>
|
|
</div>
|
|
<div class="b-grey-a" style="display: flex;width: 100%;">
|
|
<div class="bg-grey-a d-flex-1 jy-box-l" onclick="toUrl('/page/314/kind/13515')">
|
|
<div class="jy-box-l-t">乡村振兴业务版块</div>
|
|
<div class="btnL">进入专区</div>
|
|
</div>
|
|
<div class="d-flex-wrap" style="width:832px;height: 520px;justify-content: center;align-content: center;">
|
|
<div class="bg-grey-a jy-box-a" onclick="toUrl('/page/330/kind/13540')">
|
|
<div><br />影视音像事业部</div>
|
|
<div class="btnA">进入专区</div>
|
|
</div>
|
|
<div class="bg-grey-a jy-box-a" onclick="toUrl('/page/328/kind/13538')">
|
|
<div><br />城乡文化IP运营事业部</div>
|
|
<div class="btnA">进入专区</div>
|
|
</div>
|
|
<div class="bg-grey-a jy-box-a">
|
|
<div>古典艺术品<br />数字版权事业部</div>
|
|
<div class="btnA">进入专区</div>
|
|
</div>
|
|
<div class="bg-grey-a jy-box-a">
|
|
<div><br />名酒文化拍卖事业部</div>
|
|
<div class="btnA">进入专区</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="background-color: #F5F9FA;padding: 30px 0px;background-image: url('/public/img/index_bg_1.png');background-size: 100% 100%;">
|
|
<div class="jy-box-c-title">乡村振兴分中心</div>
|
|
<div class="jy-box-c-title2"></div>
|
|
<div style="color: #555;font-size: 16px;text-align: center;">目前已建成乡村振兴要素交易平台,江西金溪、福建德化、陕西稷山县等系列子平台</div>
|
|
<div class="swiper" id="swiper2" style="position: relative;left: -78px;">
|
|
<!-- swiper2-pagination 的left与 swiper2 的left 相对应 -->
|
|
<div class="swiper-wrapper">
|
|
<div class="swiper-slide jy-box-c-2">
|
|
<img class="img" src="/public/img/village_pic_1.png" />
|
|
<div class="jy-box-c-con">
|
|
<span>乡村振兴要素交易平台</span>
|
|
<span>金溪专区</span>
|
|
<span></span>
|
|
<span>一座没有围墙的古村落博物馆0</span>
|
|
<span></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper2-pagination swiper-pagination" style="left: 78px;"></div>
|
|
</div>
|
|
</div>
|
|
<div style="background-color: #FFF;padding: 30px 0px;">
|
|
<div class="jy-box-c-title">中国油画交易中心</div>
|
|
<div class="jy-box-c-title2"></div>
|
|
<!-- <div style="color: #555;font-size: 16px;text-align: center;"></div>-->
|
|
<div style="display: flex;justify-content: center;">
|
|
<a class="jy-box-c-2" href="/home/index/weihai.html">
|
|
<img class="img" src="/public/img/canvas_pic_1.jpg" />
|
|
<div class="jy-box-c-con current_1">
|
|
<span></span>
|
|
<span style="font-size: 28px;">中国油画交易中心</span>
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="list_flex" style="width: 1200px;margin: 0 auto;">
|
|
<div class="msgs" id="homeMsgs" style="width:100%;">
|
|
<div class="headtitle">
|
|
<p class="title">信息公开</p>
|
|
</div>
|
|
<div class="msglist">
|
|
<div class="msgshow">
|
|
<div class="top">
|
|
<img src="img/newsbg1.png" />
|
|
<div class="txt"><p><strong>要 闻</strong></p></div>
|
|
<div class="more"><a href="/list/23.html" target="__blank">查看更多 <i class="iconfont_tm iconarrow_r"></i></a></div>
|
|
</div>
|
|
<div class="content">
|
|
</div>
|
|
</div>
|
|
<div class="msgshow">
|
|
<div class="top">
|
|
<img src="img/newsbg2.png" />
|
|
<div class="txt"><p><strong>公 告</strong></p></div>
|
|
<div class="more"><a href="/list/22/cid/1.html" target="__blank">查看更多 <i class="iconfont_tm iconarrow_r"></i></a></div>
|
|
</div>
|
|
<div class="content">
|
|
</div>
|
|
</div>
|
|
<div class="msgshow">
|
|
<div class="top">
|
|
<img src="img/newsbg3.png" />
|
|
<div class="txt"><p><strong>活 动</strong></p></div>
|
|
<div class="more"><a href="/list/24.html" target="__blank">查看更多 <i class="iconfont_tm iconarrow_r"></i></a></div>
|
|
</div>
|
|
<div class="content">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="list_flex" style="width: 1200px;margin: 20px auto;flex-wrap: wrap;">
|
|
<div class="headtitle">
|
|
<p class="title">视频展示</p>
|
|
<a href="/list/19" style="float: right;line-height: 24px;cursor: pointer;">查看更多<i class="iconfont_tm iconarrow_r" style="font-size: 12px;"></i></a>
|
|
</div>
|
|
<div class="" style="display: flex;width: 100%;height: 380px">
|
|
<div class="bg-grey-a jy-box-b-l play_btn_10" onclick="play(event)" data-video="" data-img="/public/img/guanyu.png">
|
|
<!-- <div class="text_1" data-video="">关于深圳文化产权交易所</div>-->
|
|
<!-- <div class="text_2" data-video="">中国文化产业专属的要素交易市场</div>-->
|
|
<!-- <div class="play_btn_1" data-video="">点击播放</div>-->
|
|
</div>
|
|
<div class="swiper w-50" id="swiper4" style="position: relative;overflow: hidden;">
|
|
<div class="swiper-wrapper">
|
|
<div class="swiper-slide">
|
|
<div class="d-flex-wrap" style="height: 336px;justify-content: space-between;align-content: space-between;">
|
|
<div class="bg-grey-a jy-box-b">
|
|
<!-- <div class="play_btn_2">专版介绍</div>-->
|
|
<!-- <div class="text_1">视频专区缩略展示</div>-->
|
|
</div>
|
|
<div class="bg-grey-a jy-box-b">
|
|
<!-- <div class="play_btn_2">会议要闻</div>-->
|
|
<!-- <div class="text_1">视频专区缩略展示</div>-->
|
|
</div>
|
|
<div class="bg-grey-a jy-box-b">
|
|
<!-- <div class="play_btn_2">热点动态</div>-->
|
|
<!-- <div class="text_1">视频专区缩略展示</div>-->
|
|
</div>
|
|
<div class="bg-grey-a jy-box-b">
|
|
<!-- <div class="play_btn_2">活动回顾</div>-->
|
|
<!-- <div class="text_1">视频专区缩略展示</div>-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper4-pagination swiper-pagination"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="background-color: #F5F9FA;padding: 30px 0px;background-image: url('/public/img/index_bg_2.png');background-size: 100% 100%;">
|
|
<div class="jy-box-c-title">全国文化大数据交易中心</div>
|
|
<div class="jy-box-c-title2"></div>
|
|
<div style="color: #555;font-size: 16px;text-align: center;">热门标的推荐</div>
|
|
<div class="swiper" id="swiper3" style="position: relative;">
|
|
<div class="swiper-wrapper">
|
|
<div class="swiper-slide">
|
|
<div class="list_flex" style="width: 1200px;margin: 20px auto 50px;justify-content: space-between;">
|
|
<div class="jy-box-c">
|
|
<img class="img" src="/public/img/test1.png" />
|
|
<div>狻猊-龙生九子</div>
|
|
<span>深圳国夏文化数学科技有限公司</span>
|
|
</div>
|
|
<div class="jy-box-c">
|
|
<img class="img" src="/public/img/test1.png" />
|
|
<div>狻猊-龙生九子</div>
|
|
<span>深圳国夏文化数学科技有限公司</span>
|
|
</div>
|
|
<div class="jy-box-c">
|
|
<img class="img" src="/public/img/test1.png" />
|
|
<div>狻猊-龙生九子</div>
|
|
<span>深圳国夏文化数学科技有限公司</span>
|
|
</div>
|
|
<div class="jy-box-c">
|
|
<img class="img" src="/public/img/test1.png" />
|
|
<div>狻猊-龙生九子</div>
|
|
<span>深圳国夏文化数学科技有限公司</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper3-pagination swiper-pagination"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="about_v_msk"></div>
|
|
|
|
<script>
|
|
|
|
// 跳转链接
|
|
function toUrl(url, local) {
|
|
// 大括号后面不能写注释,会报错
|
|
if(local){
|
|
// 在原标签页跳转链接
|
|
window.location.href = url;
|
|
}else{
|
|
// 打开新标签页
|
|
window.open(url, '_blank');
|
|
}
|
|
};
|
|
function play(e){
|
|
let img = e.target.dataset.img;
|
|
var video = e.target.dataset.video;//获取视频路径
|
|
$('.about_v_msk').html("<video id=\"video\" poster='"+img+"' src='"+video+"' preload=\"auto\" controls=\"controls\" autoplay=\"autoplay\"></video><a onClick=\"closeVideo()\" href=\"javascript:;\">×</a>");
|
|
$('.about_v_msk').show();
|
|
}
|
|
function closeVideo(){
|
|
$('.about_v_msk').hide();
|
|
}
|
|
//通知公告跳转
|
|
function tzgg(id) {
|
|
window.location.href='/home/news/content/n_id/'+id+'/s_id/22.html';
|
|
}
|
|
//本所要闻跳转
|
|
function bsyw(id) {
|
|
window.location.href='/home/news/content/n_id/'+id+'/s_id/23.html';
|
|
}
|
|
//融资快讯
|
|
function rzkx(id) {
|
|
window.location.href='/home/news/rzkx/n_id/'+id+'.html';
|
|
}
|
|
//文化产业板单击跳转
|
|
function home_data_dj(obj,t,kind) {
|
|
var url = obj ? obj.getAttribute("data-url") : "";
|
|
if(url=='javascript:void(0)')return false;
|
|
if(url){
|
|
// 国有项目走的这里
|
|
console.log('国有项目走的这里--------243jk4irjekr', url)
|
|
window.open(url);
|
|
}else{
|
|
window.location.href='/home/news/finance/c_id/'+t+'/kind/'+kind+'.html';
|
|
}
|
|
}
|
|
|
|
//国有业务单击跳转
|
|
function lc_gyxm_dj(t) {
|
|
window.location.href='/home/Mpdepc/gyxm_list?count='+t+'';
|
|
}
|
|
|
|
//国有资产单击跳转
|
|
function home_data_gy_dj(t) {
|
|
window.location.href='/home/News/gyxm?c_id='+t+'';
|
|
}
|
|
(function () {
|
|
//----轮播图
|
|
var home_slides={$home_slides_json};
|
|
//---公告
|
|
var home_ggs_json={$home_ggs_json};
|
|
//---政策
|
|
var home_bszc_json={$home_bszc_json};
|
|
|
|
for(var index in home_bszc_json){
|
|
var one=home_bszc_json[index];
|
|
one["url"]="/home/news/content/n_id/"+one["n_id"]+"/s_id/25.html";
|
|
}
|
|
|
|
for(var index in home_ggs_json){
|
|
var one=home_ggs_json[index];
|
|
one["url"]="javascript:tzgg('"+one["n_id"]+"')";
|
|
}
|
|
//--要闻
|
|
var home_news_json={$home_news_json};
|
|
|
|
for(var index in home_news_json){
|
|
var one=home_news_json[index];
|
|
one["url"]="javascript:bsyw('"+one["n_id"]+"')";
|
|
}
|
|
|
|
//--活动(融资快讯)
|
|
var home_rzkx_json={$home_rzkx_json};
|
|
|
|
for(var index in home_rzkx_json){
|
|
var one=home_rzkx_json[index];
|
|
one["url"]="javascript:rzkx('"+one["n_id"]+"')";
|
|
}
|
|
|
|
//----文化金融中心--分类
|
|
var whjrzx_category=[
|
|
{
|
|
"kindid":"2","name": "招拍挂平台",
|
|
"url": "/list/80/cid/2.html"
|
|
},
|
|
{
|
|
"kindid":"1","name": "文化产业策略联盟挂牌平台",
|
|
"url": "/list/80/cid/1.html"
|
|
},
|
|
{
|
|
"kindid": "3", "name": "要素交易中心",
|
|
"url": "/home/news/category/kind/3.html",
|
|
"childs":[{"index":"1","name":"民宿产业要素交易平台","url":"javascript:;"},{"index":"2","name":"乡村振兴产业要素交易平台","url":"javascript:;"},{"index":"3","name":"文化数据资产交易平台","url":"javascript:;"},{"index":"4","name":"全民艺术普及文创中心资产交易平台","url":"javascript:;"},{"index":"5","name":"人才产权交易平台","url":"javascript:;"},{"index":"6","name":"其他","url":"javascript:;"}]
|
|
}
|
|
];
|
|
/**“
|
|
|
|
,
|
|
{
|
|
"kindid":"10","name": "文化企业专项债",
|
|
"url": "/home/news/category/kind/10.html"
|
|
}
|
|
*/
|
|
//----文化金融中心--国有业务-列表数据 》 挂牌代码(c_code) 公司简称(c_name) 挂牌日期(c_gptime) 挂牌价格(c_price)
|
|
var temp_category2datas={$show2_json};
|
|
//----文化金融中心--文化产业板挂牌-列表数据 》 (c_code) 公司简称(c_name) 挂牌日期(c_gptime) 挂牌价格(c_price)
|
|
var temp_category1datas={$show1_json};
|
|
//----文化金融中心--各分类下数据映射,通过 kindid 和 c_kind
|
|
var whjrzx_categorydatas={};
|
|
whjrzx_categorydatas["c_kind_1"]=temp_category1datas;
|
|
whjrzx_categorydatas["c_kind_2"]=temp_category2datas;
|
|
|
|
var showtypes_json=[
|
|
{id:11,name:'古陶瓷专区'},
|
|
{id:7,name:'邢东艺术专区'},
|
|
{id:10,name:'蓝图胜艺术专区'},
|
|
{id:9,name:'宝安收藏家专区'},
|
|
{id:18,name:'河南自贸区专区'},
|
|
{id:8,name:'演员艺术创作和收藏专区'},
|
|
{id:12,name:'古典艺术'},
|
|
{id:13,name:'近现代艺术'},
|
|
{id:14,name:'当代艺术'},
|
|
{id:15,name:'工艺美术'},
|
|
{id:19,name:'蓝宝石托管专区'}
|
|
];
|
|
var yszx_categorychilds=[{"index":"1","name": "全部","url": "/home/news/category/kind/4.html"}];
|
|
for(key in showtypes_json){
|
|
yszx_categorychilds.push({
|
|
"index":showtypes_json[key]['id']+"",
|
|
"name":showtypes_json[key]['name'],
|
|
"url": "/home/news/category/kind/4/cid/"+showtypes_json[key]['id']+".html"
|
|
});
|
|
}
|
|
var yszx_category=[
|
|
{
|
|
"kindid":"4","name": "艺术资产托管平台",
|
|
"url": "/home/news/category/kind/4.html",
|
|
"childs":yszx_categorychilds
|
|
},
|
|
{"kindid":"16","name": "艺术公馆 ","url": "/home/news/category/kind/4/cid/16.html","childs":[{'index':'1','name':'全部','url':'/home/news/category/kind/4/cid/16.html'}]},
|
|
{"kindid":"9","name": "艺品拍","url": "http://www.szcaee.cn/home/news/category/kind/9.html"},
|
|
{"kindid":"12","name": "当代中青年艺术家成长和创作支持计划","url": "http://www.szcaee.cn/home/news/category/kind/12.html",
|
|
"childs":[{'index':'1','name':'中华艺术经典传承计划工笔画专区','url':"/list/100/cid/1/pid/279.html"}]
|
|
}
|
|
//{"kindid":"10","name": "中国古建资产托管交易平台","url": "http://tg.szcaee.cn"}
|
|
];
|
|
var gj_categorychilds=[{"index":"1","name": "全部","url": "/home/news/category/kind/15.html"}];
|
|
var showtypes_json={$gjchilds_json};
|
|
for(key in showtypes_json){
|
|
gj_categorychilds.push({
|
|
"index":parseInt(key),
|
|
"name":showtypes_json[key],
|
|
"url": "/home/news/category/kind/15/cid/"+key+".html"
|
|
});
|
|
}
|
|
|
|
var gj_category=[
|
|
{"kindid":"15","name": "乡村振兴","url": "/home/news/category/kind/15.html","childs":gj_categorychilds}
|
|
];
|
|
var big_categorychilds=[{"index":"1","name": "全部","url": "/home/news/bigdata/kind/17.html"}];
|
|
var big_category=[
|
|
{"kindid":"17","name": "数据超市","url": "/home/news/bigdata/kind/17.html","childs":big_categorychilds}
|
|
];
|
|
|
|
//----艺术中心--艺术品资产托管平台
|
|
var temp_category4datas={$show4_json};
|
|
//----艺术中心--艺品拍 )
|
|
var temp_category9datas={$show9_json};
|
|
//----艺术中心--艺术公馆
|
|
var temp_category16datas={$show16_json};
|
|
//中青年艺
|
|
var temp_category12datas={$show12_json};
|
|
//艺享拍 艺版拍
|
|
|
|
//策略联盟
|
|
var temp_category13datas={$show13|json_encode};
|
|
//项目进场
|
|
var temp_category14datas={$show14|json_encode};
|
|
|
|
//文化大数据
|
|
var temp_categorybigdatas={$big_json};
|
|
|
|
//乡村振兴分中心
|
|
let xczq_data_json = {$xczq_data_json};
|
|
|
|
//乡村振兴分中心
|
|
function xczq_dataInit(){
|
|
// console.log(xczq_data_json, '乡村振兴分中心-----------');
|
|
let html = "";
|
|
for(let i = 0; i<xczq_data_json.length;i++){
|
|
let item = xczq_data_json[i];
|
|
|
|
html += `
|
|
<div class="swiper-slide jy-box-c-2" onclick="toUrl('${item.menu_address}')">
|
|
<img class="img" src="/public/img/village_pic_1.png" />
|
|
<div class="jy-box-c-con">
|
|
<span>${item.menu_name}</span>
|
|
<span>${item.menu_name}</span>
|
|
<span></span>
|
|
<span>${item.menu_name}</span>
|
|
<span></span>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
}
|
|
// 数据太少了,动不起来,先手动复制一遍
|
|
for(let i = 0; i<xczq_data_json.length;i++){
|
|
let item = xczq_data_json[i];
|
|
|
|
html += `
|
|
<div class="swiper-slide jy-box-c-2" onclick="toUrl('${item.menu_address}')">
|
|
<img class="img" src="/public/img/village_pic_1.png" />
|
|
<div class="jy-box-c-con">
|
|
<span>${item.menu_name}</span>
|
|
<span>${item.menu_name}</span>
|
|
<span></span>
|
|
<span>${item.menu_name}</span>
|
|
<span></span>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
}
|
|
|
|
$("#swiper2 .swiper-wrapper").html(html);
|
|
|
|
}
|
|
|
|
//全国文化大数据交易中心
|
|
var temp_big_data={$big_data_json};
|
|
let imgRoot = '{:SITE_PATH}';
|
|
// 全国文化大数据交易中心
|
|
function temp_big_dataInit(){
|
|
// console.log(temp_big_data[0], '全国文化大数据交易中心-----------');
|
|
let html = "";
|
|
// debugger;
|
|
for(let i = 0; i<temp_big_data[0].length;i++){
|
|
|
|
let item = temp_big_data[0][i];
|
|
if(i%4==0){
|
|
html += `<div class="swiper-slide">
|
|
<div class="list_flex" style="width: 1200px;margin: 20px auto 50px;">`;
|
|
// justify-content: space-between;
|
|
}
|
|
html += `<div class="jy-box-c" onclick="toUrl(' ${item.c_jump} ')" style="margin: 0px 20px;">
|
|
<img class="img" src="${imgRoot + item.c_logo}" />
|
|
<div>${item.c_name}</div>
|
|
<span>${item.c_seller}</span>
|
|
</div>`;
|
|
if(i%4==3){
|
|
html += `</div></div>`;
|
|
}
|
|
}
|
|
if(temp_big_data[0].length%4!==0){
|
|
html += `</div></div>`;
|
|
}
|
|
$("#swiper3 .swiper-wrapper").html(html);
|
|
}
|
|
|
|
// 视频展示
|
|
let szxct_data_json = {$szxct_data_json} || [];
|
|
let vd_class_json = {$vd_class_json}; // 视频分类
|
|
|
|
// 视频展示--轮播--旧
|
|
function videoDataInitOld(){
|
|
// let zqjs_data_json = {zqjs_data_json} || []; // 专版介绍
|
|
// let hyjs_data_json = {hyjs_data_json} || []; // 会议要闻
|
|
// let rddt_data_json = {rddt_data_json} || []; // 热点动态
|
|
// let hdhg_data_arr = {hdhg_data_arr} || []; // 活动回顾
|
|
let lengthArr = [zqjs_data_json, hyjs_data_json, rddt_data_json, hdhg_data_arr];
|
|
console.log(lengthArr, '------------------')
|
|
var ii = jj = tt = 0;
|
|
for (ii = 0; ii < lengthArr.length; ii++){
|
|
for (jj = 0; jj < lengthArr.length; jj++){
|
|
if (lengthArr[ii].length < lengthArr[jj].length){
|
|
tt = lengthArr[ii];
|
|
lengthArr[ii] = lengthArr[jj];
|
|
lengthArr[jj] = tt;
|
|
}
|
|
}
|
|
}
|
|
|
|
let slider4Num = lengthArr[0].length;
|
|
let htmlAA = '';
|
|
for(let aaItem = 0;aaItem < slider4Num; aaItem++){
|
|
htmlAA += `
|
|
<div class="swiper-slide">
|
|
<div class="d-flex-wrap" style="height: 336px;justify-content: space-between;align-content: space-between;">
|
|
<div class="bg-grey-a jy-box-b" style="background-image: url('${zqjs_data_json[aaItem].vd_img}');background-size: 100% 100%;" onclick="play(event)" data-video="${zqjs_data_json[aaItem].vd_video}">
|
|
<div class="play_btn_2">专版介绍</div>
|
|
<div class="text_1">视频专区缩略展示</div>
|
|
</div>
|
|
<div class="bg-grey-a jy-box-b" style="background-image: url('${hyjs_data_json[aaItem].vd_img}');background-size: 100% 100%;" onclick="play(event)" data-video="${hyjs_data_json[aaItem].vd_video}">
|
|
<div class="play_btn_2">会议要闻</div>
|
|
<div class="text_1">视频专区缩略展示</div>
|
|
</div>
|
|
<div class="bg-grey-a jy-box-b" style="background-image: url('${rddt_data_json[aaItem].vd_img}');background-size: 100% 100%;" onclick="play(event)" data-video="${rddt_data_json[aaItem].vd_video}">
|
|
<div class="play_btn_2">热点动态</div>
|
|
<div class="text_1">视频专区缩略展示</div>
|
|
</div>
|
|
<div class="bg-grey-a jy-box-b" style="background-image: url('${hdhg_data_arr[aaItem].vd_img}');background-size: 100% 100%;" onclick="play(event)" data-video="${hdhg_data_arr[aaItem].vd_video}">
|
|
<div class="play_btn_2">活动回顾</div>
|
|
<div class="text_1">视频专区缩略展示</div>
|
|
</div>
|
|
</div>
|
|
</div>`
|
|
}
|
|
|
|
$("#swiper4 .swiper-wrapper").html(htmlAA);
|
|
$(".play_btn_10").attr("data-video", szxct_data_json.vd_video);
|
|
}
|
|
// 视频展示--轮播
|
|
function videoDataInit(){
|
|
let picArr=['zhuanban','huiyi','rd','huodong','xuanchuan','gongkaike','gengduo']
|
|
let videoHtml = "";
|
|
for(let i = 0; i<vd_class_json.length;i++){
|
|
let videoTypeItem = vd_class_json[i];
|
|
if(i%4==0){
|
|
videoHtml += `<div class="swiper-slide">
|
|
<div class="d-flex-wrap" style="height: 336px;justify-content: space-between;align-content: space-between;">`;
|
|
}
|
|
videoHtml += `
|
|
<div class="bg-grey-a jy-box-b" style="background-image: url('/public/img/${picArr[i]}.png');background-size: 100% 100%;" onclick="toUrl('${videoTypeItem.menu_address}')">
|
|
|
|
</div>
|
|
`;
|
|
if(i%4==3){
|
|
videoHtml += `</div></div>`;
|
|
}
|
|
}
|
|
if(vd_class_json.length%4!==0){
|
|
videoHtml += `</div></div>`;
|
|
}
|
|
$("#swiper4 .swiper-wrapper").html(videoHtml);
|
|
$(".play_btn_10").attr("data-video", szxct_data_json.vd_video);
|
|
// $(".play_btn_10 .text_1").attr("data-video", szxct_data_json.vd_video);
|
|
// $(".play_btn_10 .text_2").attr("data-video", szxct_data_json.vd_video);
|
|
// $(".play_btn_10 .play_btn_1").attr("data-video", szxct_data_json.vd_video);
|
|
}
|
|
|
|
var temp_category15datas={$show15_json};
|
|
//----艺术中心--各分类下数据映射,通过 kindid 和 c_kind
|
|
var yszx_categorydatas={};
|
|
yszx_categorydatas["c_kind_4"]=temp_category4datas;
|
|
yszx_categorydatas["c_kind_9"]=temp_category9datas;
|
|
yszx_categorydatas["c_kind_12"]=temp_category12datas;
|
|
yszx_categorydatas["c_kind_16"]=temp_category16datas;
|
|
|
|
var gj_categorydatas={};
|
|
|
|
gj_categorydatas["c_kind_15"]=temp_category15datas;
|
|
//gj_categorydatas["c_kind_13"]=temp_category13datas;
|
|
//gj_categorydatas["c_kind_14"]=temp_category14datas;
|
|
var menuid='0';
|
|
|
|
var home_ryq_json={$home_ryq_json};
|
|
var kindDataIsGet={};
|
|
|
|
var big_categorydatas={};
|
|
big_categorydatas["c_kind_17"]=temp_categorybigdatas;
|
|
$(document).ready(function(){
|
|
createBanner();
|
|
createMsg();
|
|
part2init();
|
|
honorinit();
|
|
xczq_dataInit();
|
|
createBannerTwo();
|
|
temp_big_dataInit();
|
|
createBannerThree();
|
|
videoDataInit();
|
|
createBannerFour();
|
|
});
|
|
|
|
|
|
function createBanner(){
|
|
var slidesdata = home_slides||[];
|
|
if(slidesdata.length){
|
|
var $container = $('.slider_list').children('.swiper-container');
|
|
var $pagination = $container.find('.swiper-pagination');
|
|
var mySwiper = new Swiper($container, {
|
|
loop:true,
|
|
autoplay: {
|
|
delay: 5000,
|
|
},
|
|
//disableOnInteraction:false,
|
|
pagination: {
|
|
el: $pagination,
|
|
},
|
|
});
|
|
for(var i=0;i<slidesdata.length;i++){
|
|
var sub = slidesdata[i];
|
|
var lk_pic = sub.lk_pic||'';
|
|
// var lk_pic = '/public/img/banner.png';
|
|
var lk_url = sub.lk_url||'';
|
|
var html='<div class="swiper-slide">';
|
|
if(lk_url){
|
|
html+='<a href="'+lk_url+'" target="_blank"><img src="'+lk_pic+'" width="100%"></a>';
|
|
}else{
|
|
html+='<img src="'+lk_pic+'" width="100%">';
|
|
}
|
|
html+='</div>';
|
|
mySwiper.appendSlide(html);
|
|
}
|
|
mySwiper.slideToLoop(0);
|
|
mySwiper.autoplay.start();
|
|
}
|
|
}
|
|
function createMsg(){
|
|
var msgsdata = {
|
|
"0":{cn:'要闻',data:home_news_json||[]},
|
|
"1":{cn:'公告',data:home_ggs_json||[]},
|
|
"2":{cn:'活动',data:home_rzkx_json||[]},
|
|
};
|
|
|
|
var $box = $('#homeMsgs');
|
|
var $con = $box.children('.msgshow .content');
|
|
function _show (activeTab) {
|
|
var _d = msgsdata[activeTab]['data'];
|
|
if(_d.length){
|
|
if(_d.length>7){
|
|
_d = _d.slice(0,7)
|
|
}
|
|
var _html='<ul>';
|
|
for(var k=0;k<_d.length;k++){
|
|
var _s = _d[k];
|
|
var top='';
|
|
if(typeof _s.n_top!='undefined'&&_s.n_top==1)top='top';
|
|
_html+='<li class="'+top+'"><a href="'+(_s.url||"javascript:void(0);")+'">'+_s.n_title+' </a><span class="date">'+date2str(new Date(Number(_s.n_time)*1000),'MM-dd')+'</span></li>';
|
|
}
|
|
_html+='</ul>';
|
|
$con.empty();
|
|
$('.msglist .msgshow .content').eq(activeTab).html(_html);
|
|
if(activeTab==0){
|
|
$('.part-two-b .part-two-b-r.content').html(_html);
|
|
}
|
|
}
|
|
}
|
|
for(var i=0;i<3;i++){
|
|
_show(i);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* 乡村兴振中心轮播
|
|
*/
|
|
function createBannerTwo(){
|
|
var swiper2 = new Swiper('#swiper2', {
|
|
loop: true,//最后一张与第一张无缝链接
|
|
loopFillGroupWithBlank: true,//在loop 模式下,将用空白slide 填充slide 数量不足的组。需要与 slidesPerGroup 一起使用。
|
|
autoplay: {
|
|
delay: 2000,
|
|
},
|
|
slidesPerView : 'auto',
|
|
slidesPerGroup : 1,//定义slides的数量多少为一组
|
|
slidesPerGroupAuto: true,
|
|
loopedSlides: 4,//在loop 模式下使用 slidesPerview:'auto' ,还需使用该参数
|
|
pagination: {
|
|
el: '.swiper2-pagination',
|
|
clickable :true,
|
|
},
|
|
on: {
|
|
slideChangeTransitionEnd: function(){
|
|
// console.log(this.activeIndex);//切换结束时,告诉我现在是第几个slide
|
|
let amount = $(".jy-box-c-2").size();
|
|
let index = 0;
|
|
let num = 1;
|
|
if(amount/3 !== (this.activeIndex-amount/3)){
|
|
index = this.activeIndex-amount/3;
|
|
num = this.activeIndex-amount/3+1;
|
|
}
|
|
// console.log(amount/3+'个,第'+num+'个,索引:'+index);
|
|
$(".jy-box-c-2").eq(this.activeIndex+1).siblings().find(".jy-box-c-con").removeClass("current_1");
|
|
$(".jy-box-c-2").eq(this.activeIndex+1).find(".jy-box-c-con").addClass("current_1");
|
|
|
|
},
|
|
},
|
|
});
|
|
|
|
// 鼠标移入停止自动滚动
|
|
$('.swiper-slide').mouseenter(function() {
|
|
swiper2.autoplay.stop();
|
|
})
|
|
// 鼠标移出开始自动滚动
|
|
$('.swiper-slide').mouseleave(function() {
|
|
swiper2.autoplay.start();
|
|
})
|
|
// swiper2.slideNext();
|
|
}
|
|
function createBannerThree(){
|
|
var swiper3 = new Swiper('#swiper3', {
|
|
loop: true,//最后一张与第一张无缝链接
|
|
autoplay: {
|
|
delay: 2000,
|
|
},
|
|
pagination: {
|
|
el: '.swiper3-pagination',
|
|
clickable :true,
|
|
},
|
|
});
|
|
// swiper3.slideNext();
|
|
// 鼠标移入停止自动滚动
|
|
$('.swiper-slide').mouseenter(function() {
|
|
swiper3.autoplay.stop();
|
|
})
|
|
// 鼠标移出开始自动滚动
|
|
$('.swiper-slide').mouseleave(function() {
|
|
swiper3.autoplay.start();
|
|
})
|
|
}
|
|
function createBannerFour(){
|
|
var swiper4 = new Swiper('#swiper4', {
|
|
loop: true,//最后一张与第一张无缝链接
|
|
autoplay: {
|
|
delay: 2000,
|
|
},
|
|
pagination: {
|
|
el: '.swiper4-pagination',
|
|
clickable :true,
|
|
},
|
|
});
|
|
|
|
// 鼠标移入停止自动滚动
|
|
$('.swiper-slide').mouseenter(function() {
|
|
swiper4.autoplay.stop();
|
|
})
|
|
// 鼠标移出开始自动滚动
|
|
$('.swiper-slide').mouseleave(function() {
|
|
swiper4.autoplay.start();
|
|
})
|
|
}
|
|
|
|
function part2init() {
|
|
$(".jc_box .tab").addClass('red');
|
|
|
|
var whjrzx_category_navEl=$("#whjrzx_category_nav");
|
|
var yszx_category_navEl=$("#yszx_category_nav");
|
|
var gj_category_navEl=$("#gj_category_nav");
|
|
var big_category_navEl=$("#big_category_nav");
|
|
|
|
$(".tab .item").hover(function(){
|
|
var curindex=$(this).index();
|
|
var claname='red';
|
|
var obj=whjrzx_category_navEl;
|
|
var objdata=whjrzx_category;
|
|
if(curindex==1){
|
|
claname='yellow';
|
|
obj=yszx_category_navEl;
|
|
objdata=yszx_category;
|
|
}
|
|
if(curindex==2){
|
|
claname='blue';
|
|
obj=gj_category_navEl;
|
|
objdata=gj_category;
|
|
}
|
|
if(curindex==3){
|
|
claname='bblue';
|
|
obj=big_category_navEl;
|
|
objdata=big_category;
|
|
}
|
|
obj.find('.item').removeClass('active');
|
|
var first=obj.find('.item').eq(0);
|
|
var kindid=first.attr('data-id')||'';
|
|
first.addClass('active');
|
|
showKindList(kindid,first.attr('href')||'',objdata);
|
|
|
|
var self=$(this);
|
|
$(".tab .item").removeClass('active');
|
|
self.addClass('active');
|
|
$(".jc_box .jc_list").removeClass('active');
|
|
$(".jc_box .jc_list").eq(curindex).addClass('active');
|
|
$(".jc_box .tab").removeClass('red').removeClass('yellow').removeClass('blue').removeClass('bblue');
|
|
$(".jc_box .tab").addClass(claname);
|
|
|
|
|
|
});
|
|
|
|
// 最新项目
|
|
let last_pro_cate = [
|
|
{"kindid":"17","name": "数据超市","url": "https://www.cn-cde.cn/Supermarketpage.html","list":{}},
|
|
{"kindid":"2","name": "国有项目","url": "/list/22/cid/4.html","list":{$show2_json}},
|
|
{"kindid":"","name": "投融资项目","url": "","list":{}},
|
|
{"kindid":"","name": "求购信息","url": "","list":{}},
|
|
{"kindid":"1","name": "会员俱乐部","url": "/list/80/cid/1.html","list":{$show1_json}}
|
|
]
|
|
for(let i = 0;i<last_pro_cate.length;i++){
|
|
if(i==1 || i==4){
|
|
// 渲染国有项目、会员俱乐部
|
|
showKindListNew(last_pro_cate[i].kindid,last_pro_cate[i])
|
|
}
|
|
}
|
|
// 最新项目选项卡点击事件
|
|
$('.part-two-b li').click((e)=>{
|
|
// console.log(e.target.dataset.cate);
|
|
let cate = e.target.dataset.cate;
|
|
if(cate == 3 || cate == 4){
|
|
return;
|
|
}
|
|
|
|
let arr = document.getElementsByClassName('part-two-b-table');
|
|
let liArr = document.getElementsByClassName('part-two-b')[0].getElementsByTagName('li');
|
|
let positioningBar = document.getElementById('positioningBar');
|
|
let num = 748.17;
|
|
for (let i =0;i<arr.length;i++){
|
|
// arr[i].classList.remove('active');// 会导致轮播失效
|
|
// arr[i].style.display='none';// 会导致轮播失效
|
|
liArr[i].classList.remove('active');
|
|
if(cate == i+1){
|
|
// arr[i].classList.add('active');
|
|
// arr[i].style.display='block';
|
|
positioningBar.style.left='-'+num*i+'px';
|
|
liArr[i].classList.add('active');
|
|
}
|
|
}
|
|
})
|
|
// 最新项目查看更多点击事件
|
|
$(".part-two-b #readMore").click((e)=>{
|
|
let cate = $(".part-two-b li[class='active']").attr("data-cate");
|
|
console.log(cate);
|
|
window.open(last_pro_cate[cate-1].url, '_blank');
|
|
})
|
|
|
|
whjrzx_category_navEl.on('mouseover','.item',function (e) {
|
|
var self=$(this);
|
|
console.log(111,self, this, whjrzx_category_navEl)
|
|
whjrzx_category_navEl.find('.item').removeClass('active');
|
|
self.addClass('active');
|
|
showKindList(self.attr('data-id')||'',self.attr('href')||'javascript:void(0);',whjrzx_category);
|
|
});
|
|
|
|
yszx_category_navEl.on('mouseover','.item',function (e) {
|
|
var self=$(this);
|
|
yszx_category_navEl.find('.item').removeClass('active');
|
|
self.addClass('active');
|
|
showKindList(self.attr('data-id')||'',self.attr('href')||'javascript:void(0);',yszx_category);
|
|
});
|
|
gj_category_navEl.on('mouseover','.item',function (e) {
|
|
var self=$(this);
|
|
gj_category_navEl.find('.item').removeClass('active');
|
|
self.addClass('active');
|
|
showKindList(self.attr('data-id')||'',self.attr('href')||'javascript:void(0);',gj_category);
|
|
});
|
|
big_category_navEl.on('mouseover','.item',function (e) {
|
|
var self=$(this);
|
|
big_category_navEl.find('.item').removeClass('active');
|
|
self.addClass('active');
|
|
showKindList(self.attr('data-id')||'',self.attr('href')||'javascript:void(0);',big_category);
|
|
});
|
|
|
|
create_category(whjrzx_category,whjrzx_category_navEl);
|
|
create_category(yszx_category,yszx_category_navEl);
|
|
create_category(gj_category,gj_category_navEl);
|
|
create_category(big_category,big_category_navEl);
|
|
|
|
|
|
$("#gotop").click(function (e) {
|
|
$('html,body').animate({scrollTop:0},200);
|
|
});
|
|
window.addEventListener('scroll', function(){
|
|
var _this = document.documentElement;
|
|
var _scrolltop = document.documentElement.scrollTop||document.body.scrollTop;
|
|
|
|
if(_scrolltop>_this.clientHeight){
|
|
$("#gotop").css('visibility','visible');
|
|
}else{
|
|
$("#gotop").css('visibility','hidden');
|
|
}
|
|
}, false);
|
|
}
|
|
|
|
|
|
function setImgItemShow(wrapEl) {
|
|
if(!wrapEl||wrapEl.length==0){return;}
|
|
var imgListEl=wrapEl.children('.imgitem');
|
|
for(var i=0,len=imgListEl.length;i<len;i++){
|
|
var imgEl=$(imgListEl[i]);
|
|
var imgUrl=imgEl.attr('data-img');
|
|
imgEl.removeAttr('data-img');
|
|
if(imgUrl){
|
|
imgEl.find('.coverimg').css('backgroundImage','url('+imgUrl+')');
|
|
}
|
|
}
|
|
}
|
|
|
|
function create_category(data,navEl) {
|
|
var navhtml='<ul>';
|
|
data.forEach(function (item) {
|
|
var kindid=item.kindid||'';
|
|
var name=item.name||'';
|
|
var url=item.url||'';
|
|
if(url==''||url=='javascript:void(0);'){
|
|
navhtml+='<li class="item" data-id="'+kindid+'"><a href="javascript:void(0);"><span>'+name+'</span></a></li>';
|
|
}else{
|
|
navhtml+='<li class="item" data-id="'+kindid+'" href="'+url+'"><a href="'+url+'" target="_blank"><span>'+name+'</span></a></li>';
|
|
}
|
|
});
|
|
navhtml+='</ul>';
|
|
navEl.html(navhtml);
|
|
navEl.find('.item:first').mouseover();
|
|
}
|
|
|
|
// 最新项目渲染
|
|
function showKindListNew(kindid,dataList){
|
|
let contentEl=null,childsData=null;
|
|
if(kindid=='2'){
|
|
//文化--国有项目
|
|
contentEl=$("#whjrzx_category_ct_b");
|
|
childsData=dataList.list;
|
|
}else if(kindid=='1'){
|
|
//文化--会员俱乐部
|
|
contentEl=$("#whjrzx_category_ct_jlb");
|
|
childsData=dataList.list;
|
|
}
|
|
//table列表
|
|
var html='';
|
|
var elId='pl_child_nav_'+kindid;
|
|
html+='<div class="mytable1" id="'+elId+'" data-id="'+kindid+'">';
|
|
if(kindid=='11'){
|
|
html+='<div class="thead" style="height:90px;">';
|
|
}else{
|
|
html+='<div class="thead">';
|
|
}
|
|
if(kindid=='1'){
|
|
//文化-会员俱乐部
|
|
html+='<div class="tr"><div class="td">挂牌代码</div><div class="td flex_2">企业名称</div><div class="td">挂牌有效期</div></div>';
|
|
}else if(kindid=='2'){
|
|
//文化-国有项目
|
|
html+='<div class="tr"><div class="td">挂牌代码</div><div class="td">项目简称</div><div class="td">挂牌日期</div><div class="td">挂牌价格(元)</div><div class="td">挂牌类型</div></div>';
|
|
}
|
|
html+='</div>';
|
|
html+='<div class="tbody"></div>';
|
|
html+='</div>';
|
|
contentEl.html(html);
|
|
var curindex='';
|
|
|
|
createTableListNew(kindid,childsData,contentEl.find('.tbody'),curindex);
|
|
}
|
|
function showKindList(kindid,url,childs_category) {
|
|
if(!kindid)return;
|
|
var contentEl=null,childsData=null;
|
|
if(kindid=='2'){
|
|
//文化--国有项目
|
|
contentEl=$("#whjrzx_category_ct");
|
|
childsData=whjrzx_categorydatas;
|
|
}else if(kindid=='1'){
|
|
//文化--会员俱乐部
|
|
contentEl=$("#whjrzx_category_ct");
|
|
childsData=whjrzx_categorydatas;
|
|
}else if(kindid=='3'){
|
|
|
|
}else if(kindid=='11'||kindid=='13'||kindid=='14'){
|
|
contentEl=$("#gj_category_ct");
|
|
childsData=gj_categorydatas;
|
|
}else if(kindid=='15'){
|
|
contentEl=$("#gj_category_ct");
|
|
childsData=gj_categorydatas;
|
|
}else if(kindid=='17'){
|
|
// 数据超市
|
|
// contentEl=$("#big_category_ct");
|
|
contentEl=$("#big_category_ct_b");
|
|
childsData=big_categorydatas;
|
|
}else{
|
|
//艺术
|
|
contentEl=$("#yszx_category_ct");
|
|
childsData=yszx_categorydatas;
|
|
}
|
|
|
|
if(kindid=='1'||kindid=='2'||kindid=='0'||kindid=='11'||kindid=='15'||kindid=='17'||kindid=='13'||kindid=='14'){
|
|
//table列表
|
|
var html='';
|
|
var elId='pl_child_nav_'+kindid;
|
|
html+='<div class="mytable1" id="'+elId+'" data-id="'+kindid+'">';
|
|
if(kindid=='11'){
|
|
html+='<div class="thead" style="height:90px;">';
|
|
}else{
|
|
html+='<div class="thead">';
|
|
}
|
|
if(kindid=='1'){
|
|
//文化-会员俱乐部
|
|
html+='<div class="tr"><div class="td">挂牌代码</div><div class="td flex_2">企业名称</div><div class="td">挂牌有效期</div></div>';
|
|
}else if(kindid=='13'){
|
|
//文化-
|
|
html+='<div class="tr"><div class="td">企业名称</div><div class="td">联盟类别</div><div class="td">合作有效期</div></div>';
|
|
}else if(kindid=='14'){
|
|
//文化-
|
|
html+='<div class="tr"><div class="td">项目名称</div><div class="td">企业名称</div><div class="td">进场日期</div></div>';
|
|
}else if(kindid=='17'){
|
|
//文化-数据超市
|
|
html+='<div class="tr"><div class="td">标的名称</div><div class="td">标的编码</div><div class="td">委托日期</div><div class="td">委托状态</div><div class="td">标的价款</div><div class="td">交易方式</div></div>';
|
|
}else if(kindid=='11'||kindid=='15'){
|
|
var childs=childs_category[0]['childs'];
|
|
console.log("childs",childs);
|
|
var len=childs.length;
|
|
var isHideNavbar=len==1&&childs[0].index==-1?'hidden':'';
|
|
html+='<div class="pl_child_nav clearfix '+isHideNavbar+'"><div class="swiper-container"><div class="swiper-wrapper">';
|
|
for(var i=0;i<len;i++){
|
|
var info=childs[i];
|
|
var index=i;
|
|
var childname=info.name||'';
|
|
var childurl=info.url||'javascript:void(0)';
|
|
var valid=kindid;
|
|
var target='';
|
|
if(info.url&&info.url.indexOf('javascript')==-1){
|
|
target=' target="_blank"';
|
|
}
|
|
html+='<a class="swiper-slide item" data-kindid="'+valid+'" data-id="'+index+'" href="'+childurl+'" '+target+'>'+childname+'</a>';
|
|
}
|
|
html+='</div></div></div>';
|
|
//文化-
|
|
html+='<div class="tr"><div class="td">资产挂牌代码</div><div class="td flex_2">挂牌资产名称</div><div class="td flex_2">资产类型</div><div class="td">挂牌起始日期</div><div class="td">挂牌方报价</div></div>';
|
|
}else if(kindid=='2'){
|
|
//文化-国有项目
|
|
html+='<div class="tr"><div class="td">挂牌代码</div><div class="td">项目简称</div><div class="td">挂牌日期</div><div class="td">挂牌价格(元)</div><div class="td">挂牌类型</div></div>';
|
|
}else if(kindid=='7'){
|
|
//艺术-艺版拍
|
|
html+='<div class="tr"><div class="td">序号</div><div class="td">拍品代码</div><div class="td">拍品名称</div><div class="td">昨落槌价</div><div class="td">结拍时间</div></div>';
|
|
}else if(kindid=='5'){
|
|
//文化-
|
|
html+='<div class="tr"><div class="td">拍品代码</div><div class="td">拍品名称</div><div class="td">起拍价</div><div class="td">开拍时间</div></div>';
|
|
}
|
|
else if(kindid=='0'){
|
|
//艺享拍-拍品代码 拍品名称 拍品种类 拍品类型 起拍价格 每次加价幅度
|
|
html+='<div class="tr"><div class="td">拍品代码</div><div class="td">拍品名称</div><div class="td">拍品种类</div><div class="td">拍品类型</div><div class="td">起拍价格</div><div class="td">每次加价幅度</div></div>';
|
|
}
|
|
html+='</div>';
|
|
html+='<div class="tbody"></div>';
|
|
html+='</div>';
|
|
contentEl.html(html);
|
|
var curindex='';
|
|
// var curindex=0;
|
|
if(kindid=='11'||kindid=='15'||kindid=='17'){curindex=0;}
|
|
// if(kindid=='1'){curindex=0;}
|
|
// if(kindid=='2'){curindex=0;}
|
|
|
|
console.log(kindid,childsData,contentEl.find('.tbody'),curindex, '---22222----')
|
|
createTableList(kindid,childsData,contentEl.find('.tbody'),curindex);
|
|
if(kindid=='11'||kindid=='15'){
|
|
var citemEl=$("#"+elId);
|
|
var childNavEl=citemEl.find('.pl_child_nav');
|
|
new Swiper(childNavEl.find('.swiper-container'), {
|
|
slidesPerView: 'auto',
|
|
slidesPerGroup: 2,
|
|
// loop:true,
|
|
navigation: {
|
|
nextEl: childNavEl.find('.swiper-button-next'),
|
|
prevEl: childNavEl.find('.swiper-button-prev'),
|
|
},
|
|
});
|
|
|
|
childNavEl.on('mouseover','.item',function (e) {
|
|
var self=$(this);
|
|
childNavEl.find('.item').removeClass('active');
|
|
self.addClass('active');
|
|
var index=self.attr('data-id');
|
|
if(kindid==11||kindid==15){
|
|
kindid=self.attr('data-kindid');
|
|
}
|
|
console.log("mouseover",kindid,index);
|
|
createTableList(kindid,childsData,contentEl.find('.tbody'),index);
|
|
});
|
|
childNavEl.find('.item').eq(0).mouseover();
|
|
}else{
|
|
contentEl.append('<a class="load_more" href="'+url+'" target="_blank" style="visibility: visible">查看更多</a>');
|
|
}
|
|
}else{
|
|
//图片列表
|
|
// 3 文化 4 艺术品资产托管平台、 5 艺品拍、 6 艺享拍、 7 艺版拍、
|
|
var item=getWhCategoryInfo(kindid,childs_category);
|
|
if(!item)return;
|
|
contentEl.empty();
|
|
if((kindid==3||kindid==9||kindid==6||kindid==7||kindid==8)&&!kindDataIsGet[kindid]){
|
|
getKindData(kindid,function (data) {
|
|
if(data) {
|
|
kindDataIsGet[kindid] = true;
|
|
if(kindid==7||kindid==8){
|
|
//index=-1 没有子分类
|
|
item.childs=[{index:-1,name:'全部'}];
|
|
childsData['c_kind_'+kindid]={'-1':data};
|
|
}else{
|
|
var fomartData=getFomartKindData(data);
|
|
item.childs=fomartData.childs;
|
|
childsData['c_kind_'+kindid]=fomartData.list;
|
|
}
|
|
}
|
|
createImgNavbar(kindid,item.childs,childsData,contentEl);
|
|
})
|
|
}else{
|
|
createImgNavbar(kindid,item.childs,childsData,contentEl);
|
|
}
|
|
}
|
|
}
|
|
|
|
function createImgNavbar(kindid,childs,childsData,contentEl) {
|
|
var len=1;
|
|
if(childs instanceof Array){
|
|
len=childs.length;
|
|
}
|
|
if(!len){
|
|
contentEl.empty();
|
|
return;
|
|
}
|
|
var elId='pl_child_nav_'+kindid;
|
|
var isHideNavbar=len==1&&childs[0].index==-1?'hidden':'';
|
|
|
|
var html='';
|
|
html+='<div id="'+elId+'" class="ct_item active">';
|
|
html+='<div class="pl_child_nav clearfix '+isHideNavbar+'"><div class="swiper-container"><div class="swiper-wrapper">';
|
|
for(var i=0;i<len;i++){
|
|
var info=childs[i];
|
|
var index=info.index||(i+1);
|
|
var childname=info.name||'';
|
|
var childurl=info.url||'javascript:void(0)';
|
|
var target='';
|
|
if(info.url&&info.url.indexOf('javascript')==-1){
|
|
target=' target="_blank"';
|
|
}
|
|
html+='<a class="swiper-slide item" data-kindid="'+kindid+'" data-id="'+index+'" href="'+childurl+'" '+target+'>'+childname+'</a>';
|
|
}
|
|
html+='</div></div>';
|
|
html+='<div class="swiper-button-next swiper-button"><i class="iconfont_tm iconarrow_r"></i></div>';
|
|
html+='<div class="swiper-button-prev swiper-button"><i class="iconfont_tm iconarrow_l"></i></div>';
|
|
html+='</div>';
|
|
html+='<div class="child_item active"><div class="item_wrap"></div><a class="load_more" href="#" target="_blank">查看更多</a></div>';
|
|
html+='</div>';
|
|
contentEl.html(html);
|
|
var citemEl=$("#"+elId);
|
|
var childNavEl=citemEl.children('.pl_child_nav');
|
|
new Swiper(childNavEl.find('.swiper-container'), {
|
|
slidesPerView: 'auto',
|
|
slidesPerGroup: 2,
|
|
// loop:true,
|
|
navigation: {
|
|
nextEl: childNavEl.find('.swiper-button-next'),
|
|
prevEl: childNavEl.find('.swiper-button-prev'),
|
|
},
|
|
});
|
|
|
|
childNavEl.on('mouseover','.item',function (e) {
|
|
var self=$(this);
|
|
childNavEl.find('.item').removeClass('active');
|
|
self.addClass('active');
|
|
createImgList(self.attr('data-kindid')||'',self.attr('data-id')||'',self.attr('href')||'',childsData,self.closest('.ct_item').find('.item_wrap'));
|
|
});
|
|
childNavEl.find('.item').eq(0).mouseover();
|
|
}
|
|
function getFomartKindData(data) {
|
|
var childs=[];
|
|
var listdata={};
|
|
for(var type in data){
|
|
var typeinfo=data[type];
|
|
childs.push({
|
|
index:typeinfo.type||'',
|
|
name:typeinfo.type_name,
|
|
url:typeinfo.type_url||'',
|
|
});
|
|
var onetypelist=[];
|
|
(typeinfo.list||[]).forEach(function (oneinfo) {
|
|
onetypelist.push(oneinfo);
|
|
});
|
|
listdata[typeinfo.type]=onetypelist;
|
|
}
|
|
return {childs:childs,list:listdata};
|
|
}
|
|
function getKindData(kindid,callback){
|
|
var hostname=location.hostname.indexOf('localhost')!=-1?'http://dev-hsx.hdsj.tvm.cn':'';
|
|
var url=hostname+'/api/Finance/gitList?kind='+kindid;
|
|
(function (call) {
|
|
$.ajax({
|
|
url:url,
|
|
type:'get',
|
|
dataType:'json',
|
|
success:function (rs) {
|
|
try{
|
|
if(rs && typeof(rs)=="string"){
|
|
rs=JSON.parse(rs);
|
|
}
|
|
}catch(ex){
|
|
call&&call();
|
|
}
|
|
if(rs.code==200){
|
|
call&&call(rs.data);
|
|
}else{
|
|
call&&call();
|
|
}
|
|
},
|
|
error:function (e) {
|
|
call&&call();
|
|
}
|
|
})
|
|
})(callback);
|
|
}
|
|
function createImgList(kindid,index,url,childsData,listBodyEl) {
|
|
var jsonList=childsData['c_kind_'+kindid]||{};
|
|
var loadMoreEl=listBodyEl.parent().children('.load_more');
|
|
loadMoreEl.removeClass('show');
|
|
if(jsonList instanceof Array){
|
|
jsonList={};
|
|
}
|
|
if(!jsonList||$.isEmptyObject(jsonList)){
|
|
return;
|
|
}
|
|
var onPageMax=0;
|
|
var itemlist=jsonList[index]||[];
|
|
var html='<div class="swiper-container"><div class="swiper-wrapper">';
|
|
if (kindid == '4'||kindid == '16'||kindid == '10') {
|
|
onPageMax = 15;
|
|
|
|
html += '<div class="swiper-slide">';
|
|
for (var j = 0, jlen = itemlist.length; j < jlen; j++) {
|
|
if (j > 0 && j % onPageMax == 0) {
|
|
html += '</div><div class="swiper-slide">';
|
|
}
|
|
var item = itemlist[j];
|
|
var c_logo = item.c_logo || '';
|
|
var c_name = item.c_name || '';
|
|
var c_jump = item.c_jump || '';
|
|
var c_id = item.c_id;
|
|
var c_kind = item.c_kind;
|
|
if (c_jump) {
|
|
|
|
}else{
|
|
c_jump='javascript:home_data_dj(null,'+c_id+','+c_kind+')'
|
|
}
|
|
//data-url="'+c_jump+'" onclick="home_data_dj(this,'+c_id+','+c_kind+')"
|
|
html += '<a class="imgitem" href="' + c_jump + '" data-img="' + c_logo + '">';
|
|
html+=' <div class="imgpanel">';
|
|
html+=' <div class="coverimg"></div>';
|
|
html+=' </div>';
|
|
html+=' <div class="desc">'+c_name+'</div>';
|
|
html+='</a>';
|
|
}
|
|
|
|
html += ' </div>';
|
|
}else if(kindid=='3'){
|
|
onPageMax = 3;
|
|
|
|
html += '<div class="swiper-slide">';
|
|
for (var j = 0, jlen = itemlist.length; j < jlen; j++) {
|
|
if (j > 0 && j % onPageMax == 0) {
|
|
html += '</div><div class="swiper-slide">';
|
|
}
|
|
var item = itemlist[j];
|
|
var c_id = item.c_id || '';
|
|
var c_logo = item.c_logo || '';
|
|
var c_name = item.c_name || '';
|
|
var c_code = item.c_code || '';
|
|
var c_date = item.c_gptime?Utils.date2str(new Date(item.c_gptime*1000),'yyyy-MM-dd'):'--';
|
|
var c_order = item.c_order||'--';
|
|
html += '<a class="imgitem cols_3" data-id="'+c_id+'" data-img="' + c_logo + '">';
|
|
html += ' <div class="imgpanel">';
|
|
html += ' <div class="coverimg"></div>';
|
|
html += ' </div>';
|
|
html += ' <div class="text">';
|
|
html += ' <div class="title">'+c_name+'</div>';
|
|
html += ' <div><span class="labname">托管代码:</span>'+c_code+'</div>';
|
|
html += ' <div><span class="labname">托管时间:</span>'+c_date+'</div>';
|
|
html += ' <div><span class="labname">托管数量:</span>'+c_order+'</div>';
|
|
html += ' </div>';
|
|
html += '</a>';
|
|
}
|
|
html += ' </div>';
|
|
}else if(kindid=='5'||kindid=='6'){
|
|
onPageMax = 4;
|
|
|
|
html += '<div class="swiper-slide">';
|
|
for (var j = 0, jlen = itemlist.length; j < jlen; j++) {
|
|
if (j > 0 && j % onPageMax == 0) {
|
|
html += '</div><div class="swiper-slide">';
|
|
}
|
|
var item = itemlist[j];
|
|
var c_id = item.c_id || '';
|
|
var c_logo = item.c_logo || '';
|
|
var c_name = item.c_name || '';
|
|
var c_code = item.c_code || '';
|
|
var c_price = item.c_price||'--';
|
|
var c_gprice = item.c_gprice||'--';
|
|
html += '<a class="imgitem cols_4" data-id="'+c_id+'" data-img="' + c_logo + '">';
|
|
html += ' <div class="imgpanel">';
|
|
html += ' <div class="coverimg"></div>';
|
|
html += ' </div>';
|
|
html += ' <div class="text">';
|
|
html += ' <div class="title">'+c_name+'</div>';
|
|
html += ' <div><span class="labname">编 码:</span>'+c_code+'</div>';
|
|
html += ' <div><span class="labname">估 价:</span>¥'+c_gprice+'</div>';
|
|
html += ' <div><span class="labname">起拍价:</span>¥'+c_price+'</div>';
|
|
html += ' </div>';
|
|
html += '</a>';
|
|
}
|
|
html += ' </div>';
|
|
}else if(kindid=='9'||kindid=='12'){
|
|
onPageMax =15;
|
|
html += '<div class="swiper-slide">';
|
|
for (var j = 0, jlen = itemlist.length; j < jlen; j++) {
|
|
if (j > 0 && j % onPageMax == 0) {
|
|
html += '</div><div class="swiper-slide">';
|
|
}
|
|
var item = itemlist[j];
|
|
var c_id = item.c_id || '';
|
|
var c_logo = item.c_logo || '';
|
|
var c_name = item.c_name || '';
|
|
var c_year = item.c_year || '--';
|
|
|
|
html += '<a class="imgitem " data-id="'+c_id+'" data-img="' + c_logo + '" onclick="home_data_dj(this,'+c_id+','+kindid+')">';
|
|
html += ' <div class="imgpanel">';
|
|
html += ' <div class="coverimg"></div>';
|
|
html += ' </div>';
|
|
html += ' <div class="desc">'+c_name+'</div>';
|
|
html += '</a>';
|
|
}
|
|
html += ' </div>';
|
|
}else if(kindid=='7'||kindid=='8'){
|
|
onPageMax = 6;
|
|
|
|
html += '<div class="swiper-slide">';
|
|
for (var j = 0, jlen = itemlist.length; j < jlen; j++) {
|
|
if (j > 0 && j % onPageMax == 0) {
|
|
html += '</div><div class="swiper-slide">';
|
|
}
|
|
var item = itemlist[j];
|
|
var c_id = item.c_id || '';
|
|
var c_logo = item.c_logo || '';
|
|
var c_name = item.c_name || '';
|
|
var c_content = item.c_content || '';
|
|
var c_jump = item.c_jump || '';
|
|
if(c_jump!=''){
|
|
html += '<a class="imgitem cols_3 rows_2" data-id="'+c_id+'" data-img="' + c_logo + '" href="'+c_jump+'" target="__blank">';
|
|
}else{
|
|
html += '<a class="imgitem cols_3 rows_2" data-id="'+c_id+'" data-img="' + c_logo + '">';
|
|
}
|
|
html += ' <div class="imgpanel">';
|
|
html += ' <div class="coverimg"></div>';
|
|
if(c_content){
|
|
html += ' <div class="introduce">'+c_content+'</div>';
|
|
}
|
|
html += ' </div>';
|
|
html += ' <div class="text">';
|
|
html += ' <div class="title">'+c_name+'</div>';
|
|
html += ' </div>';
|
|
html += '</a>';
|
|
}
|
|
html += ' </div>';
|
|
}
|
|
html+=' </div></div>';
|
|
listBodyEl.html(html);
|
|
|
|
loadMoreEl.attr('href',url);
|
|
var loop=false;
|
|
if(jlen>onPageMax){
|
|
loop=true;
|
|
if(url&&(url.indexOf('javascript')==-1)){
|
|
loadMoreEl.addClass('show');
|
|
}
|
|
}
|
|
|
|
new Swiper(listBodyEl.find('.swiper-container'),{
|
|
autoplay : {
|
|
delay:2000
|
|
},
|
|
loop:loop,
|
|
on:{
|
|
slideNextTransitionStart: function(el,aa){
|
|
var slideEl=this.slides.eq(this.activeIndex);
|
|
setImgItemShow($(slideEl))
|
|
},
|
|
},
|
|
});
|
|
setImgItemShow(listBodyEl.find('.swiper-slide').eq(0));
|
|
}
|
|
|
|
// 最新项目表格渲染
|
|
function createTableListNew(kindid,childsData,listBodyEl,index){
|
|
let list=childsData||{};
|
|
console.log(list, '-----111-----');
|
|
// console.log(JSON.stringify(list))
|
|
let len=list.length;
|
|
if(!len){
|
|
listBodyEl.empty();
|
|
return;
|
|
}
|
|
let onePageMax=12;
|
|
let html='';
|
|
for(let i=0;i<len;i++){
|
|
var info=list[i];
|
|
var c_code=info.c_code||'';
|
|
var c_name=info.c_name||'';
|
|
var c_parent=info.c_parent||'';
|
|
var c_child=info.c_child||'';
|
|
var c_jcname=info.c_jcname||'';
|
|
var c_code=info.c_code||'';
|
|
var c_gptime=info.c_gptime||0;
|
|
var c_date=date2str(new Date(Math.round(Number(c_gptime)*1000)) ,'yyyy-MM-dd');
|
|
|
|
|
|
var c_stime=info.c_infostime||0;
|
|
var c_sdate='';
|
|
if(c_stime!=0)c_sdate=date2str(new Date(Math.round(Number(c_stime)*1000)) ,'yyyy-MM-dd');
|
|
|
|
var c_etime=info.c_infoetime||0;
|
|
var c_edate='';
|
|
if(c_etime!=0)c_edate=date2str(new Date(Math.round(Number(c_etime)*1000)) ,'yyyy-MM-dd');
|
|
|
|
var c_price=info.c_price||'';
|
|
var c_jump=info.c_jump||'';
|
|
var c_id=info.c_id;
|
|
var c_kind=info.c_kind;
|
|
var c_mold=info.c_mold||'';
|
|
var c_moldname='';
|
|
if(c_mold==1){
|
|
c_moldname='增资交易';
|
|
}else if(c_mold==2){
|
|
c_moldname='产权转让';
|
|
}else if(c_mold==3){
|
|
c_moldname='资产转让';
|
|
}else if(c_mold==4){
|
|
c_moldname='资产租赁';
|
|
}
|
|
//判断类型2
|
|
if(kindid=='1'){
|
|
//文化产业板挂牌
|
|
html+='<div class="swiper-slide tr" data-id="'+c_id+'" data-url="'+c_jump+'" onclick="home_data_dj(this,'+c_id+','+c_kind+')">';
|
|
if(c_code&&c_code.substring(0,3)!='910')c_jcname=c_name;
|
|
html+='<div class="td">'+c_code+'</div>' +
|
|
'<div class="td flex_2">'+c_name+'</div>' +
|
|
'<div class="td">'+c_sdate+'/'+c_edate+'</div>' +
|
|
'</div>';
|
|
}else if(kindid=='2'){
|
|
//国有产权
|
|
html+='<div class="swiper-slide tr" data-url="'+c_jump+'" onclick="home_data_dj(this,'+c_id+','+c_kind+')">' +
|
|
'<div class="td">'+c_code+'</div>' +
|
|
'<div class="td">'+c_name+'</div>' +
|
|
'<div class="td">'+c_date+'</div>' +
|
|
'<div class="td">'+c_price+'</div>' +
|
|
'<div class="td">'+c_moldname+'</div>' +
|
|
'</div>';
|
|
}
|
|
}
|
|
listBodyEl.html('<div class="swiper-container" style="width: 100%;height: 100%;"><div class="swiper-wrapper">'+html+'</div></div>');
|
|
let loop=false;
|
|
if(len>onePageMax){
|
|
loop=true;
|
|
listBodyEl.closest('.pl_ct').find('.load_more').addClass('show');
|
|
}
|
|
let swiperVertical = new Swiper(listBodyEl.find('.swiper-container'), {
|
|
direction: 'vertical',
|
|
slidesPerView: onePageMax,
|
|
spaceBetween: 0,
|
|
autoplay : {
|
|
delay:2000
|
|
},
|
|
loop:loop
|
|
});
|
|
console.log('---swiper创建后---', swiperVertical, loop)
|
|
}
|
|
function createTableList(kindid,childsData,listBodyEl,index) {
|
|
// console.log("createTableList",kindid,childsData,listBodyEl,index);
|
|
var list=childsData['c_kind_'+kindid]||{};
|
|
if(typeof childsData['c_kind_'+kindid][index]!='undefined'){
|
|
list=childsData['c_kind_'+kindid][index];
|
|
}
|
|
if(!(list instanceof Array)){
|
|
list=[];
|
|
}
|
|
var len=list.length;
|
|
if(!len){
|
|
listBodyEl.empty();
|
|
return;
|
|
}
|
|
// console.log(list, 'list---------')
|
|
var onePageMax=12;
|
|
var html='';
|
|
for(var i=0;i<len;i++){
|
|
var info=list[i];
|
|
var c_code=info.c_code||'';
|
|
var c_name=info.c_name||'';
|
|
var c_parent=info.c_parent||'';
|
|
var c_child=info.c_child||'';
|
|
var c_jcname=info.c_jcname||'';
|
|
var c_code=info.c_code||'';
|
|
var c_gptime=info.c_gptime||0;
|
|
var c_date=date2str(new Date(Math.round(Number(c_gptime)*1000)) ,'yyyy-MM-dd');
|
|
|
|
|
|
var c_stime=info.c_infostime||0;
|
|
var c_sdate='';
|
|
if(c_stime!=0)c_sdate=date2str(new Date(Math.round(Number(c_stime)*1000)) ,'yyyy-MM-dd');
|
|
|
|
var c_etime=info.c_infoetime||0;
|
|
var c_edate='';
|
|
if(c_etime!=0)c_edate=date2str(new Date(Math.round(Number(c_etime)*1000)) ,'yyyy-MM-dd');
|
|
|
|
var c_price=info.c_price||'';
|
|
var c_jump=info.c_jump||'';
|
|
var c_id=info.c_id;
|
|
var c_kind=info.c_kind;
|
|
var c_mold=info.c_mold||'';
|
|
var c_moldname='';
|
|
if(c_mold==1){
|
|
c_moldname='增资交易';
|
|
}else if(c_mold==2){
|
|
c_moldname='产权转让';
|
|
}else if(c_mold==3){
|
|
c_moldname='资产转让';
|
|
}else if(c_mold==4){
|
|
c_moldname='资产租赁';
|
|
}
|
|
//判断类型2
|
|
if(kindid=='1'){
|
|
//文化产业板挂牌
|
|
html+='<div class="swiper-slide tr" data-id="'+c_id+'" data-url="'+c_jump+'" onclick="home_data_dj(this,'+c_id+','+c_kind+')">';
|
|
if(c_code&&c_code.substring(0,3)!='910')c_jcname=c_name;
|
|
html+='<div class="td">'+c_code+'</div>' +
|
|
'<div class="td flex_2">'+c_name+'</div>' +
|
|
'<div class="td">'+c_sdate+'/'+c_edate+'</div>' +
|
|
'</div>';
|
|
}else if(kindid=='13'){
|
|
//文化产业板挂牌
|
|
html+='<div class="swiper-slide tr" data-id="'+c_id+'" data-url="'+c_jump+'" onclick="home_data_dj(this,'+c_id+','+c_kind+')">';
|
|
|
|
html+='<div class="td">'+c_name+'</div>' +
|
|
'<div class="td flex_2">'+c_mold+'</div>' +
|
|
'<div class="td">'+c_sdate+'/'+c_edate+'</div>' +
|
|
'</div>';
|
|
}else if(kindid=='14'){
|
|
//文化产业板挂牌
|
|
html+='<div class="swiper-slide tr" data-id="'+c_id+'" data-url="'+c_jump+'" onclick="home_data_dj(this,'+c_id+','+c_kind+')">';
|
|
|
|
html+='<div class="td">'+c_jcname+'</div>' +
|
|
'<div class="td flex_2">'+c_name+'</div>' +
|
|
'<div class="td">'+c_date+'</div>' +
|
|
'</div>';
|
|
}else if(kindid=='11'||kindid=='15'){
|
|
//文化产业板挂牌
|
|
var parent='';
|
|
var child='-';
|
|
var parents=['资产资源类','商品版权类','项目类'];
|
|
if(typeof parents[c_parent-1]!='undefined'){
|
|
parent=parents[c_parent-1];
|
|
}
|
|
html+='<div class="swiper-slide tr" data-url="'+c_jump+'" onclick="home_data_dj(this,'+c_id+','+c_kind+')">' +
|
|
'<div class="td">'+c_code+'</div>' +
|
|
'<div class="td flex_2">'+c_name+'</div>' +
|
|
'<div class="td flex_2">'+parent+'</div>' +
|
|
'<div class="td">'+c_date+'</div>' +
|
|
'<div class="td">'+c_price+'</div>' +
|
|
'</div>';
|
|
}else if(kindid=='17'){
|
|
var c_pay=info.c_pay;
|
|
var c_seller=info.c_seller;
|
|
var c_tag=info.c_tag;
|
|
var ctag='委托中';
|
|
var cpay="授权";
|
|
if(c_pay==2)cpay="转让";
|
|
if(c_tag==1)ctag="已成交";
|
|
html+='<div class="swiper-slide tr" data-url="'+c_jump+'" onclick="home_data_dj(this,'+c_id+',17)">' +
|
|
'<div class="td" alt="'+c_name+'">'+c_name+'</div>' +
|
|
'<div class="td ">'+c_code+'</div>' +
|
|
'<div class="td">'+c_date+'</div>' +
|
|
'<div class="td">'+ctag+'</div>' +
|
|
'<div class="td">'+c_price+'</div>' +
|
|
'<div class="td">'+cpay+'</div>' +
|
|
'</div>';
|
|
}else if(kindid=='2'){
|
|
//国有产权
|
|
html+='<div class="swiper-slide tr" data-url="'+c_jump+'" onclick="home_data_dj(this,'+c_id+','+c_kind+')">' +
|
|
'<div class="td">'+c_code+'</div>' +
|
|
'<div class="td">'+c_name+'</div>' +
|
|
'<div class="td">'+c_date+'</div>' +
|
|
'<div class="td">'+c_price+'</div>' +
|
|
'<div class="td">'+c_moldname+'</div>' +
|
|
'</div>';
|
|
}else if(kindid=='7'){
|
|
//艺版拍
|
|
}else if(kindid=='5'){
|
|
//艺品拍
|
|
html += '<div class="swiper-slide tr" data-url="'+c_jump+'" onclick="home_data_dj(this,'+c_id+','+c_kind+')">' +
|
|
'<div class="td">' + c_code + '</div>' +
|
|
'<div class="td">' + c_name + '</div>' +
|
|
'<div class="td">' + c_price + '</div>' +
|
|
'<div class="td">' + c_date + '</div>' +
|
|
'</div>';
|
|
}
|
|
}
|
|
listBodyEl.html('<div class="swiper-container" style="width: 100%;height: 100%;"><div class="swiper-wrapper">'+html+'</div></div>');
|
|
var loop=false;
|
|
if(len>onePageMax){
|
|
loop=true;
|
|
listBodyEl.closest('.pl_ct').find('.load_more').addClass('show');
|
|
}
|
|
let swiperVertical = new Swiper(listBodyEl.find('.swiper-container'), {
|
|
direction: 'vertical',
|
|
slidesPerView: onePageMax,
|
|
spaceBetween: 0,
|
|
autoplay : {
|
|
delay:1500
|
|
},
|
|
loop:loop
|
|
});
|
|
// console.log('---swiper创建后---', swiperVertical, loop)
|
|
listBodyEl.find('.cpname').click(function (e) {
|
|
e.preventDefault();e.stopPropagation();
|
|
var id=$(this).closest('.tr').attr('data-id')||'';
|
|
if(id){
|
|
window.open('/home/pviews/render/content/cpintroduction.html?id='+id);
|
|
}
|
|
})
|
|
}
|
|
|
|
//获取文化金融中心--分类
|
|
function getWhCategoryInfo(kindid,data) {
|
|
for(var i=0,len=data.length;i<len;i++){
|
|
var item=data[i];
|
|
if(item.kindid==kindid){
|
|
return item;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
|
|
function honorinit () {
|
|
var html = "";
|
|
for(var i=0;i<home_ryq_json.length;i++){
|
|
var dom ='<div class="swiper-slide"><a href="'+home_ryq_json[i].lk_url+'" target="_blank"><img src="'+home_ryq_json[i].lk_pic+'"></a></div>'
|
|
html +=dom;
|
|
}
|
|
$("#swiper_box .swiper-wrapper").html(html);
|
|
var swiper = new Swiper('#swiper_box .swiper-container', {
|
|
slidesPerView: 4,
|
|
slidesPerGroup: 1,
|
|
spaceBetween: 15,
|
|
loop: true,
|
|
autoplay: {
|
|
delay: 2500,
|
|
//disableOnInteraction: false,
|
|
},
|
|
navigation: {
|
|
nextEl: '#swiper_box .swiper-button-next',
|
|
prevEl: '#swiper_box .swiper-button-prev',
|
|
},
|
|
});
|
|
|
|
}
|
|
|
|
|
|
function date2str(_data,format){
|
|
format=format||"yyyy-MM-dd hh:mm:ss";
|
|
var o = {
|
|
"M+" : _data.getMonth()+1, //month
|
|
"d+" : _data.getDate(), //day
|
|
"h+" : _data.getHours(), //hour
|
|
"m+" : _data.getMinutes(), //minute
|
|
"s+" : _data.getSeconds(), //second
|
|
"q+" : Math.floor((_data.getMonth()+3)/3), //quarter
|
|
"S" : _data.getMilliseconds() //millisecond
|
|
};
|
|
if(/(y+)/.test(format)) format=format.replace(RegExp.$1,
|
|
(_data.getFullYear()+"").substr(4 - RegExp.$1.length));
|
|
for(var k in o)if(new RegExp("("+ k +")").test(format))
|
|
format = format.replace(RegExp.$1,
|
|
RegExp.$1.length==1 ? o[k] :
|
|
("00"+ o[k]).substr((""+ o[k]).length));
|
|
return format;
|
|
}
|
|
|
|
|
|
})();
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<!--右侧悬浮窗口开始-->
|
|
{include file="public:newfooter" /}
|
|
<!--右侧悬浮窗口结束-->
|
|
|
|
</body>
|
|
</html>
|
|
|