<!DOCTYPE html>
<html lang="en">

<head>
<title>创新助理</title>
<meta name="keywords" content="创新助理">
<meta name="description" content="创新助理">
<meta charset="UTF-8">
<script language="javascript" src="libs/base.js"></script>
<script language="javascript" src="libs/jquery_002.js"></script>
<link href="//at.alicdn.com/t/font_2971922_4suwv6le22e.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="app">
	<v-header></v-header>
    
    <div class="swiper-container banner">
        <ul class="swiper-wrapper" id="swiper-box">
           <li class="swiper-slide" style="background:url(http://www.360inno.com/images/area/banner/default/1.jpg) no-repeat center top;height:360px"><a href="" target="_blank"></a></li>
           <li class="swiper-slide" style="background:url(http://www.360inno.com/images/area/banner/default/2.jpg) no-repeat center top;height:360px"><a href="" target="_blank"></a></li>
            <li class="swiper-slide" style="background:url(http://www.360inno.com/images/area/banner/default/3.jpg) no-repeat center top;height:360px"><a href="" target="_blank"></a></li>
           <li class="swiper-slide" style="background:url(http://www.360inno.com/images/area/banner/default/4.jpg) no-repeat center top;height:360px"><a href="" target="_blank"></a></li>
            <li class="swiper-slide" style="background:url(http://www.360inno.com/images/area/banner/default/5.jpg) no-repeat center top;height:360px"><a href="" target="_blank"></a></li>
           <li class="swiper-slide" style="background:url(http://www.360inno.com/images/area/banner/default/6.jpg) no-repeat center top;height:360px"><a href="" target="_blank"></a></li>
        </ul>
        <div class="swiper-pagination sp01"></div>
        <div class="swiper-button-prev swiper-button-white"></div>
        <div class="swiper-button-next swiper-button-white"></div>
    </div>
	
	<div class="main1 c-1100">
	<div class="left">
    	<div class="slider">
                <div class="swiper-container slider-news" id="slider" style="height: 300px">
                  <div class="swiper-wrapper" style="background:#fff">
                    <div class="swiper-slide" v-for="item in items_piczc">
                        <a :href="item.islink==1?item.url:['show.html?catid='+item.catid+'&id='+item.id]" :key="item.id">
                            <img :src="item.thumb" /></a>
                        <div class="title">
                            <div class="content ">{{item.title}}</div>
                        </div>
                    </div>
                  </div>
                  <div class="swiper-pagination slider-pagination"></div>
                </div>
        </div>
    </div>
	
    <div class="center newsdt">
    	<div class="n_top">                        
            <div class="n_bt2 cur"><a href="lists.html?catid=6">新闻资讯</a></div>
            <span style="float: left;height: 29px; font-size: 16px; margin-top: 15px; line-height: 29px;">/</span>
            <div class="n_bt2 "><a href="/info/list.html?type=All#type=Notice" class="zczxhref">政策资讯</a></div>
        </div>
        
        <div class="n_list yqdt">
			<li v-for="item in items_xwzx">
				<a :title="item.title" target="_blank"  :href="['show.html?catid='+item.catid+'&id='+item.id]" :key="item.id">
					<span class="fr inputtime" style="font-size: 14px;">{{item.inputtime}}</span>
					<div class="title textover" style="width: 80%">{{item.title}}</div>
				</a>
			</li>
		</div>
        <div class="n_list tzgg">
			<li v-for="item in items_zczx">
				<a :title="item.name" target="_blank"  :href="['/info/showcpm.html?pid='+item.pid]" :key="item.pid">
					<span class="fr inputtime" style="font-size: 14px;">{{item.pubdate.substr(0,10)}}</span>
					<div class="title textover" style="width: 80%">{{item.name}}</div>
				</a>
			</li>
		</div>
        
        <style type="text/css">
        .hd{height: 44px;line-height: 44px;background:url(images/jchd_bg.png) no-repeat;padding: 0 120px 0 30px;}
		.jchd li{height: 44px;line-height: 44px;overflow:hidden;}
        </style>
        <!--<div class="swiper-container hd">
            <ul class="swiper-wrapper jchd"><li class="swiper-slide lib" style="height:30px"> <a title="《新收入准则深度解读、案例分析及税会差异分析》课程分享" target="_blank" href="https://www.a0598.com/huodong/huodong_264.html">《新收入准则深度解读、案例分析及税会差异分析》课程分享</a></li><li class="swiper-slide lib"  style="height:30px"> <a title="2021注册会计师考情分析和过关策略" target="_blank" href="https://www.a0598.com/huodong/huodong_263.html">2021注册会计师考情分析和过关策略</a></li><li class="swiper-slide lib"  style="height:30px"> <a title="公司治理一课通" target="_blank" href="https://www.a0598.com/huodong/huodong_262.html">公司治理一课通</a></li><li class="swiper-slide lib"  style="height:30px"> <a title="2021第二届金沙产业互联网沙龙暨跨区域产业创新协同服务平台产学研合作对接会专题活动" target="_blank" href="https://www.a0598.com/huodong/huodong_261.html">2021第二届金沙产业互联网沙龙暨跨区域产业创新协同服务平台产学研合作对接会专题活动</a></li></ul>
        </div>-->
    </div>
    <div class="right fr">
            <div class="hd_link" style="background:none">
            	<a href="/vip.html" target="_blank" style="display:block;padding:10px;border-bottom:1px solid #ddd;margin: 0px 0px 0 15px;"><i class="iconfont icon-VIP" style="font-size:1.4rem;color:#ff3c00;margin-right: 15px;vertical-align: middle;"></i><span style="color:#007dcc;font-size:18px;font-weight:bold">VIP专区</span><i class="iconfont icon-anniu-jiantouxiangyou_o fr" style="font-size:1.8rem;color:#bfbfbf;vertical-align: middle;"></i></a>
                <a href="/manage/" target="_blank" style="display:block;padding:10px;border-bottom:1px solid #ddd;margin: 0px 0px 0 15px;"><i class="iconfont icon-24gl-paperPlane" style="font-size:1.4rem;color:#ff3c00;margin-right: 15px;vertical-align: middle;"></i><span style="color:#007dcc;font-size:18px;font-weight:bold">发信息</span><i class="iconfont icon-anniu-jiantouxiangyou_o fr" style="font-size:1.8rem;color:#bfbfbf;vertical-align: middle;"></i></a>
                <a href="dxx.html" target="_blank" style="display:block;padding:10px;border-bottom:1px solid #ddd;margin: 0px 0px 0 15px;"><i class="iconfont icon-duihuaxinxi" style="font-size:1.4rem;color:#ff3c00;margin-right: 15px;vertical-align: middle;"></i><span style="color:#007dcc;font-size:18px;font-weight:bold">订信息</span><i class="iconfont icon-anniu-jiantouxiangyou_o fr" style="font-size:1.8rem;color:#bfbfbf;vertical-align: middle;"></i></a>
                <a href="zk.html" target="_blank" style="display:block;padding:10px;border-bottom:1px solid #ddd;margin: 0px 0px 0 15px;"><i class="iconfont icon-rencaizhongxin" style="font-size:1.4rem;color:#ff3c00;margin-right: 15px;vertical-align: middle;"></i><span style="color:#007dcc;font-size:18px;font-weight:bold">找人才</span><i class="iconfont icon-anniu-jiantouxiangyou_o fr" style="font-size:1.8rem;color:#bfbfbf;vertical-align: middle;"></i></a>
                <a href="/search/cam_fwjg.html" target="_blank" style="display:block;padding:10px;border-bottom:1px solid #ddd;margin: 0px 0px 0 15px;"><i class="iconfont icon-touzijigou" style="font-size:1.4rem;color:#ff3c00;margin-right: 15px;vertical-align: middle;"></i><span style="color:#007dcc;font-size:18px;font-weight:bold">找机构</span><i class="iconfont icon-anniu-jiantouxiangyou_o fr" style="font-size:1.8rem;color:#bfbfbf;vertical-align: middle;"></i></a>
                <a href="bxm.html" target="_blank" style="display:block;padding:10px;border-bottom:1px solid #ddd;margin: 0px 0px 0 15px;"><i class="iconfont icon-xiangmu" style="font-size:1.4rem;color:#ff3c00;margin-right: 15px;vertical-align: middle;"></i><span style="color:#007dcc;font-size:18px;font-weight:bold">报项目</span><i class="iconfont icon-anniu-jiantouxiangyou_o fr" style="font-size:1.8rem;color:#bfbfbf;vertical-align: middle;"></i></a>
                <a href="http://www.3a0598.com/index.php?m=content&amp;c=index&amp;a=lists&amp;catid=88" target="_blank" style="display:block;padding:10px;margin: 0px 0px 0 15px;"><i class="iconfont icon-tuandui" style="font-size:1.4rem;color:#ff3c00;margin-right: 15px;vertical-align: middle;"></i><span style="color:#007dcc;font-size:18px;font-weight:bold">建团队</span><i class="iconfont icon-anniu-jiantouxiangyou_o fr" style="font-size:1.8rem;color:#bfbfbf;vertical-align: middle;"></i></a>
            </div>
    </div>
</div>
    
	<div class="main2" style=" background: none;">
		<div class="c-1100 main2flex">
			<a href="zct.html" target="_blank"><img src="images/t_zct.png"></a>
			<a href="xxt.html" target="_blank"><img src="images/t_xxt.png"></a>
			<a href="xmt.html" target="_blank"><img src="images/t_xmt.png"></a>
			<a href="yxt.html" target="_blank"><img src="images/t_yxt.png"></a>
		</div>
	</div>
	
	<div class="main3">
		<div class="c-1100">
			<div class="titbg"><img src="images/3a0598_t.png"></div>
			<div style="text-align:center; margin-top:22px; color:#747474">从科技型中小企业创新创业项目服务需求出发，以企业竞争情报服务为核心，打造一个专业、精益、开放、全程的O2O协同服务云平台</div>
			<div class="serviceflex">
				<div class="flexitem">
					<a href="/info/" target="_blank"><img src="images/t_zczl.png" alt="" width="100%"></a>
					<div class="li" style=""><a href="bxm.html" target="_blank">项目申报</a></div>
					<div class="li" style=""><a href="fyxy.html" target="_blank">防疫兴业</a></div>
					<!-- <div class="li" style=""><a href="http://www.3a0598.com/index.php?m=content&amp;c=index&amp;a=lists&amp;catid=72" target="_blank">智能制造</a></div> -->
					<div class="li" style=""><a href="lists.html?catid=337" target="_blank">空间动态</a></div>
					<div class="li" style=""><a href="lists.html?catid=11" target="_blank">扶持政策</a></div>
					<div class="phone" style="background-color:#85a4e9;">17350598820</div>
				</div>
				
				<div class="flexitem">
					<a href="qbzl.html" target="_blank"><img src="images/t_qbzl.png" alt="" width="100%"></a>
					<div class="li"><a href="lists_cyzt.html#catid=89" target="_blank">产业情报专题</a></div>
					<div class="li"><a href="dxx.html" target="_blank">信息订阅</a></div>
					<div class="li"><a href="cxzsgz.html" target="_blank">创新知识跟踪</a></div>
					<div class="li"><a href="vtec/twly.html" target="_blank">专利检索</a></div>
					<div class="phone" style="background-color:#ffa852;">17350598802</div>
				</div>
				
				<div class="flexitem">
					<a href="https://www.a0598.com/" target="_blank"><img src="images/t_yxzl.png" alt="" width="100%"></a>
					<div class="li"><a href="https://www.a0598.com/mallzhuanti_4.html" target="_blank">立体展示</a></div>
					<div class="li"><a href="http://www.3a0598.com/index.php?m=content&amp;c=index&amp;a=lists&amp;catid=53" target="_blank">电商服务</a></div>
					<div class="li"><a href="http://www.3a0598.com/index.php?m=content&amp;c=index&amp;a=lists&amp;catid=54" target="_blank">营销推广</a></div>
					<div class="li"><a href="https://www.a0598.com/cuxiao/" target="_blank">促销优惠</a></div>
					<div class="phone" style="background-color:#a9cc5f;">17350598810</div>
				</div>
				
				<div class="flexitem">
					<a href="lists.html?catid=241" target="_blank"><img src="images/t_cjzl.png" alt="" width="100%"></a>
					<div class="li" style=" background-image:url(http://www.3a0598.com/2019images/ico_cjzl_li.png)"><a href="lists.html?catid=243" target="_blank">金融服务</a></div>
					<div class="li" style=" background-image:url(http://www.3a0598.com/2019images/ico_cjzl_li.png)"><a href="lists.html?catid=244" target="_blank">财税服务</a></div>
					<div class="li" style=" background-image:url(http://www.3a0598.com/2019images/ico_cjzl_li.png)"><a href="http://www.lakala.com/group/pay/pay/" target="_blank">第三方支付平台</a></div>
					<div class="li" style=""></div>
				   <div class="phone" style="background-color:#6dc6ff;">17350598859</div>
				</div>
				
				<div class="flexitem">
					<a href="http://www.cam0598.cn/" target="_blank"><img src="images/t_zzzl.png" alt="" width="100%"></a>
					<div class="li" style=" background-image:url(http://www.3a0598.com/2019images/ico_zzzl_li.png)"><a href="http://www.cam0598.cn/index.php?m=content&amp;c=index&amp;a=lists&amp;catid=89" target="_blank">先进制造</a></div>
					<div class="li" style=" background-image:url(http://www.3a0598.com/2019images/ico_zzzl_li.png)"><a href="http://www.cam0598.cn/index.php?m=content&amp;c=index&amp;a=lists&amp;catid=49" target="_blank">协同研发设计</a></div>
					<div class="li" style=" background-image:url(http://www.3a0598.com/2019images/ico_zzzl_li.png)"><a href="http://www.cam0598.cn/index.php?m=content&amp;c=index&amp;a=lists&amp;catid=74" target="_blank">检测认证</a></div>
					<div class="li" style=" background-image:url(http://www.3a0598.com/2019images/ico_zzzl_li.png)"><a href="http://www.cam0598.cn/index.php?m=content&amp;c=index&amp;a=lists&amp;catid=67" target="_blank">标准数据库</a></div>
					<div class="phone">15080568007</div>
				</div>
			</div>
			
	
		</div>
	</div>
	
	<div class="lhsc" style="width:100%; overflow:hidden; padding-top: 40px; background: #f8f8f8;">
		<div class="c-1100" style="width: 1200px;">
		<div class="fwlm_t" style="width:100%; height:24px; background: url(images/news/lhsc.png) no-repeat center;"></div>
		<div class="coltabs">
			<div class="coltab colcurr " style="width: 88px;"><a href="http://yrth.you0598.com" target="_blank">悠然特荟</a></div> / 
			<div class="coltab" style="width: 106px;"><a href="http://shop.3a0598.com" target="_blank">创新超市</a></div> / 
			<div class="coltab" style="width: 105px;"><a href="http://ly.3a0598.com" target="_blank">产品导购</a></div>
		</div>
		<div style="float:left; margin-top:30px; height:auto;" class="lhsc_content yrth"></div>
		<div style="float:left; margin-top:30px; height:auto;display:none" class="lhsc_content cxcs"></div>
		<div style="float:left; margin-top:30px; height:auto;display:none" class="lhsc_content cpdg"></div>
		</div>
	</div>
	
	<div class="main4">
		<div class="c-1100">
			<div class="serviceflex">
				<a href="/manage/oauthself?clientid=1175076511145787392" target="_blank" class="flexitem"><img src="images/xt_wsgzs.png" data-over="images/xt_wsgzs1.png"></a>
				<a href="zk.html" target="_blank"  class="flexitem"><img src="images/xt_zzb.png" data-over="images/xt_zzb1.png"></a>
				<a href="cxxt.html" target="_blank" class="flexitem"><img src="images/xt_cxxt.png" data-over="images/xt_cxxt1.png"></a>
				<a href="/manage/oauthself?clientid=1176228828347891712" target="_blank" class="flexitem"><img src="images/xt_fwfb.png" data-over="images/xt_fwfb1.png"></a>
				<a href="http://shop.3a0598.com/" target="_blank" class="flexitem"><img src="images/xt_cxcs.png" data-over="images/xt_cxcs1.png"></a>
				<a href="http://ycgf.3a0598.com/" target="_blank" class="flexitem"><img src="images/xt_ycgf.png" data-over="images/xt_ycgf1.png"></a>
			</div>
		</div>
	</div>
	
	<div class="main5">
		<div class="c-1100">
			<div class="titbg"><a href="company.html"><img src="images/yqqy_t2.png"></a></div>
			<div class="hyqy">
				
				<li v-for="item in items_company">
					<a :href="['/company/index.html?catid=300&id='+item.id]" target="_blank">
					<div class="xwimg"><img :src="item.thumb"></div>
					<div class="xwbt">{{item.unitname}}</div><div class="xwjj">{{stripTags(item.content).substr(0,100)}}</div></a>
				</li>
			</div>
		</div>
	</div>
	
	<div class="main7">
		<div class="c-1100">
			<div class="titbg"><a href="lists.html?catid=239"><img src="images/fwlm_t.png"></a></div>
			<div style="width:100%; float:left; margin:30px 0 30px; height:auto;" class="swiper-container swiper-container-initialized swiper-container-horizontal swiper-container-css-mode">
			<div class="swiper-wrapper">
				<div class="swiper-slide swiper-slide-active" style="width: 1200px;">
						<div class="lm" style="width:304px; height:60px; float:left;">
						   <a href="http://www.camhx.cn/" target="_blank"> <img src="images/lm_cam.png" alt="" /></a>
						</div>
						<div class="lm" style="width:238px; height:60px; margin-left:8px; float:left;">
							<a href="http://www.si.net.cn/" target="_blank"><img src="images/lm_hx.png" alt="" /></a>
						</div>
						<div class="lm" style="width:150px; height:60px; margin-left:8px; float:left;">
							<a href="http://www.cnki.net" target="_blank"><img src="images/lm_cnki.png" alt="" /></a>
						</div>
						
						<div class="lm" style="width:164px; height:60px; margin-left:8px; float:left;">
							<a href="http://public.3a0598.com/index.php?m=content&amp;c=shop&amp;shopid=1862" target="_blank"><img src="images/lm_hxct.png" alt="" /></a>
						</div>
						<div class="lm" style="width:144px; height:60px;  margin-left:8px; float:left;">
							<a href="http://public.3a0598.com/index.php?m=content&c=shop&shopid=1864" target="_blank"><img src="images/lm_mygc.png" alt="" /></a>
						</div>
						<div class="lm" style="width:151px; height:60px;  margin-left:8px; float:left;">
							<a href="https://www.learningtech.com.cn/Home/XM/" target="_blank"><img src="images/lm_ly.png" alt=""  style="height:60px;" /></a>
						</div>
						
						<div class="lm" style="width:253px; height:60px; margin-top:29px;margin-left:10px; float:left;">
							<a href="http://www.ciur.org.cn/" target="_blank"><img src="images/lm_cxy.png" alt="" style="height:60px;" /></a>
						</div>
						
						
						<div class="lm" style="height:60px; width:216px;margin-top:29px;  margin-left:10px; float:left; ">
							<a href="http://www.twguoxin.com/" target="_blank" style=""><img src="images/lm_gx.png" style="height:60px;"></a>
						</div>
						 <div class="lm" style="height:60px; width:226px;margin-top:29px;  margin-left:10px; float:left; ">
							<a href="http://www.fjinfo.org.cn/" target="_blank" style=""><img src="images/lm_scl.png" style="height:60px;"></a>
						</div>
						
						<div class="lm" style="height:60px; width:196px;margin-top:29px; float:left; ">
							<a href="http://www.nsrjlb.com/" target="_blank" style=""><img src="images/dc.png" style="height:60px;"></a>
						</div>
						<div class="lm" style="height:60px; width:216px;margin-top:29px;  margin-left:10px; float:left; ">
							<a href="http://www.v-instru.com/" target="_blank" style=""><img src="images/jy.png" style="height:60px;"></a>
						</div>
						
						<div class="lm" style="height:60px; width:139px;margin-top:29px;  margin-left:10px; float:left; ">
							<a href="#" target="_blank" style=""><img src="images/zql.png" style="height:60px;"></a>
						</div>
				
				</div>
					
				
			 </div>
			 
		 </div>
		</div>
	</div>
	
	
	
	
	
	<v-footer></v-footer>
	
	
</div>

</body>
<script language="javascript">
function getGoods(div,url){
				$.ajax({
                    url: url,
                    dataType: "json",
                    type: "get",
                    jsonp: "callback",
                    async: "true",
                    beforeSend: function () {
						$("."+div).append('数据加载中');
                    },
                    complete: function () {

                    },
                    success: function (data) {
						html='<div class="goods">';
						datalist=data.data.data_list.data
						$.each(datalist, function (i, item) {
							 html=html+"<div class='gooditem' style=''> <a title='" + item.title + "' target='_blank' href='"+item.goods_url+"' ><img src='"+item.images+"'><div class='title'>" + item.title + "</div></a><p class='num'>  <del>原价：<i class='currency_sy'>￥</i>"+item.min_original_price+"</del>  <span>  <b><i class='currency_sy'>￥</i>"+item.min_price+"</b>起  </span> </p></div>"
						})
						html=html+'</div><div class="hotph"><div class="navtit"><span>热销排行</span></div>'
						datalist=data.data.data_hotlist.data
						$.each(datalist, function (i, item) {
							if(i==0){
								html=html+"<div class='gooditem gooditem_one' style=''> <a title='" + item.title + "' target='_blank' href='"+item.goods_url+"' ><img src='"+item.images+"'><span class='title'>" + item.title + "</span><span class='price'><b><i class='currency_sy'>￥</i>"+item.price+"</b></span></a></div>";
								}
							else{
							 html=html+"<div class='gooditem' style=''> <a title='" + item.title + "' target='_blank' href='"+item.goods_url+"' ><span class='title'>" + item.title + "</span><span class='price'><b>"+item.min_price+"</b></span></a></div>";
							 }
						})
						html=html+'</div>';
						
						$("."+div).empty().append(html);
					}
				}
				)
			}
// 先加载所有资源，再初始化Vue
resourcesToLoad.push("libs/css.css");
resourcesToLoad.push("statics/css/index.css");
loadResources(resourcesToLoad)
  .then(() => {
    console.log('开始初始化Vue...');
    
    // 确保Vue已加载
    if (typeof Vue === 'undefined') {
      throw new Error('Vue未正确加载');
    }
   // Vue.prototype.$appName = 'My App';
    // 初始化Vue实例
	
	var swiper = new Swiper('.banner', {
            pagination: '.sp01',
            paginationClickable: true,
            autoplay:false,
            loop:"ture",
            speed:500,
            nextButton: '.swiper-button-next',
            prevButton: '.swiper-button-prev',
            autoplayDisableOnInteraction : false,
        });
	
    var app=new Vue({
      el: '#app',
      data() {
        return {
          message: '所有资源加载完成，Vue已初始化！',
		  banners:[],
		  items:[],
		  items_piczc:[],
		  items_xwzx:[],
		  items_zczx:[],
		  items_company:[],
		  thispage:1,
			pagesize:20,
			total:0,
        };
      },
      mounted() {
        console.log('Vue实例已挂载');
		
		var swiper = new Swiper('.banner', {
			pagination: '.sp01',
			paginationClickable: true,
			autoplay:false,
			loop:"ture",
			speed:500,
			nextButton: '.swiper-button-next',
			prevButton: '.swiper-button-prev',
			autoplayDisableOnInteraction : false,
		});
		
		var swiper_hd = new Swiper('.hd', {
            autoplay:"3000",
            loop:"ture",
            speed:500,
			height: 44,
			direction : 'vertical'
        });
		
		$(".n_top .n_bt2").bind("hover", function () {
                var index = $(this).index();
                var divs = $(".n_list");
                $(this).siblings().removeClass("cur"); //将所有选项置为未选中
                $(this).addClass("cur"); //设置当前选中项为选中样式
                divs.hide(); //隐藏所有选中项内容
                if(index==2){
                    index = 1;
                }
                if(index==4){
                    index = 2;
                }
                divs.eq(index).show(); //显示选中项对应内容
            });
			
		
		this.$ismobile();
		//this.getInfo();
        // 可以在这里执行需要依赖所有资源的操作
		this.initData();
		
		$(".lhsc .coltab").bind("hover", function () {
			var index = $(this).index();
			var divs = $(".lhsc_content");
			$(this).siblings().removeClass("colcurr"); //将所有选项置为未选中
			$(this).addClass("colcurr"); //设置当前选中项为选中样式
			divs.hide(); //隐藏所有选中项内容
			divs.eq(index).show(); //显示选中项对应内容
		});
		getGoods("yrth","http://yrth.you0598.com/index.php?s=/api/selfapi");
		getGoods("cxcs","http://shop.3a0598.com/index.php?s=/api/selfapi");
		getGoods("cpdg","http://ly.3a0598.com/index.php?s=/api/selfapi");
		
      },
	  watch:{
		banners:function(){
			this.$nextTick(function(){
				var swiper = new Swiper('.banner', {
					pagination: '.sp01',
					paginationClickable: true,
					autoplay:false,
					loop:"true",
					speed:500,
					nextButton: '.swiper-button-next',
					prevButton: '.swiper-button-prev',
					autoplayDisableOnInteraction : false,
				});
            })
		}, 
		
		items_piczc:function(){     
			this.$nextTick(function(){
				var swiper = new Swiper('#slider', {
					autoplay: false,
					speed:500,
					loop:true,
					pagination:'.slider-pagination',
					paginationClickable :true,
					nextButton: '.slider-button-next',
					prevButton: '.slider-button-prev',

				});
            }) 
		},
		
		
	  },
	  methods:{
	  	getInfo(){
			let that=this;
			let timestamp=new Date().getTime();
			let ak='ak-pFjyNHWRsJEFWlu6';
			let sk='4hV5dBrZtmGAtPdbA5yseaeKRYNpzGsS';
			let signature=CryptoJS.MD5(ak+sk+timestamp).toString()
			console.log(signature)
			axios.get("/api/web/cpm/list",{
				withCredentials: true,
				headers: {
					//"Content-Type", "application/json",
					'appkey': 'ak-pFjyNHWRsJEFWlu6',
					'signature': signature,
					'timestamp':timestamp
				  }
			
			}
			).then(res=>{
				var info_data = res.data.result.records;
				that.items=info_data;
				console.log(info_data)
			})
		},
		initData: function () {
			this.getList('/web/company/news/list',{pageNo:this.thispage,pageSize:this.pagesize,catid:302}).then(res=>{
					res=res.data;
                	app.total = res.result.total
                	//app.items = res.data.records.map(item => ({ ...item, inputtime: app.formatInputtime(item.inputtime)}))
					app.items = res.result.records
					this.loading=false
			})
			//this.getJsonp({pagesize:8,catid:6,area:15});
			this.getJsonp('http://www.3a0598.com/api.php?op=commonapi&act=getinfosbycatid&thumb=1',{pagesize:8,catid:6,area:area}).then(res=>{
					res=res.data;
                	app.items_piczc = res.data.map(item => ({ ...item, 
						thumb:(item.thumb.indexOf("http")==-1)?'http://www.3a0598.com'+item.thumb:item.thumb
					}))
			});
			
			this.getJsonp('http://www.3a0598.com/api.php?op=commonapi&act=getinfosbycatid',{pagesize:8,catid:6,area:area}).then(res=>{
					res=res.data;
                	//app.items = res.data.records.map(item => ({ ...item, inputtime: app.formatInputtime(item.inputtime)}))
					app.items_xwzx = res.data
			});
			
			this.getJsonp('http://www.3a0598.com/api.php?op=cpmapinew&act=ajax_getinfo',{pagesize:8,area:15,type:"All",timetype:-1}).then(res=>{
					res=res.data;
					app.items_zczx = res.data
			});
			
			this.getList('/web/company/list',{pageNo:1,pageSize:3,area:area,"column":"listorder","order":"desc",}).then(res=>{
					res=res.data;
					app.items_company = res.result.records.map(item => ({ ...item, 
						thumb:(item.thumb.indexOf("http")==-1)?'http://www.3a0598.com'+item.thumb:item.thumb
					}))
			})

		},
		
		getJsonp:function(url,data){
			//axios.get('http://www.3a0598.com/api.php?op=commonapi&act=getinfosbycatid', {params:data})
			return axios.get(url, {params:data}) 
		},
		
		getList:function (url,data){
            return axiosInstance_cxzl({
                url:url,
                method:'get',
                params:data
            })
        },
		
		handleSizeChange:function(val) {
			console.log(`每页 ${val} 条`);
		},
		handleCurrentChange:function(val) {
			console.log(`当前页: ${val}`);
			//location.hash="#page="+val;
			var hashUrlobj={};
			var hashUrl="";
			hashUrlobj=getHashParameters();
			hashUrlobj.page=val;
			hashUrl=Object.keys(hashUrlobj).map(key => key + '=' + hashUrlobj[key]).join('&');
			location.replace("#"+hashUrl);
			this.thispage=val;
			this.initData();
			//$("html,body").animate({scrollTop:0}, 100);
		},
		stripTags(htmlString) {
			const doc = new DOMParser().parseFromString(htmlString, 'text/html');
			return doc.body.textContent || "";
		  }
		
		
	  }
    });
  }).then(
  	()=>{console.log("222")}
  )
  .catch(error => {
    console.error('初始化失败:', error);
    // 显示错误信息给用户
    document.body.innerHTML = `<div style="color: red; padding: 20px;">
      加载资源时发生错误: ${error.message}
    </div>`;
  });

</script>
</html>
