CINXE.COM
证券市场周刊-证券专业媒体
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="format-detection" content="telephone=no"> <meta http-equiv="Content-Type"> <meta http-equiv="x-dns-prefetch-control" content="on" /> <meta name="viewport" content="width=device-width,height=500,user-scalable=no,initial-scale=0.3"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="renderer" content="webkit" /> <meta name="keywords" content="股票,大盘,股市,投资,基金,财经,IPO,期货,金融,证券,美股,上市公司,港股,交易,资讯,行情,股票学习,股票信息,证券市场周刊" /> <meta name="description" content="1992年《证券市场周刊》创刊,由中国证券市场研究设计中心主办,发行量位居全国证券类周刊首位。《证券市场周刊》立足证券市场,服务于职业投资人和专业投资机构,内容以专业的分析和深度报道见长,是证券市场忠实的记录者。" /> <title>证券市场周刊-证券专业媒体</title> <link rel="stylesheet" href="/css/header.css"> <link rel="stylesheet" href="/css/footer.css"> <link rel="stylesheet" type="text/css" href="/css/index2023.css" /> <!-- <link rel="stylesheet" href="/css/ie-css3.htc"> --> <link rel="stylesheet" href="/css/swiper3.min.css"> <link rel="stylesheet" href="/css/iconfont.css"> <link rel="stylesheet" href="/iconfont/iconfont.css"> <script src="/js/hm.baidu.js"></script> <base href="" target="_blank"> <style> .animate-up { transition: all 1s linear; transform: translateY(-60px); } </style> </head> <body> <div id="homeContainer" class="homeContainer" v-cloak> <!-- 顶部导航 --> <div class="shortcut clearfix"> <div class="inner"> <div id="logo" class="logo"> <img src="./images/hzk-logo.svg" alt=""> </div> <div class="nav_icon"> <ul> <!-- <li id="hzk_app" class="shortcut_btn hzk_app_btn"> <a href="javascript:;" class="" target="_self"> <img class="active_icon" src="./images/svg/hzk_icon.svg" alt=""> <img class="vacancy_icon" src="./images/svg/hzk_icon1.svg" alt=""> <p> APP </p> </a> </li> <li id="toufu_app" class="shortcut_btn toufu_app_btn"> <a href="javascript:;" class="" target="_self"> <img class="active_icon" src="./images/svg/hktf_icon.svg" alt=""> <img class="vacancy_icon" src="./images/svg/hktf_icon1.svg" alt=""> <p> 投服平台APP </p> </a> </li> --> <li class="shortcut_btn "> <!-- <a href="http://edu.zhoukan1992.com.cn/activity/20221021/" class=""> --> <a href="https://app79xa6dfy6225.h5.xiaoeknow.com/p/decorate/homepage" class=""> <!-- <i class="iconfont icon-gupiaohong"></i> --> <img class="active_icon" src="./images/svg/n_icon.svg" alt=""> <img class="vacancy_icon" src="./images/svg/n_icon1.svg" alt=""> <p> <!-- N字模型训练系统 --> 知股汇 </p> </a> </li> </ul> <div id="link_login" class="link_login before-log"> <a id="login" href="https://www.weeklyonstock.com/userlogin.php"> 登录 </a> <span></span> <a href="https://www.weeklyonstock.com/register.php"> 注册 </a> </div> <div id="login_desc" class="login_desc after-log" style="display: none;"> <i class="iconfont icon-wode"></i> <a class="username" target="_blank" href="https://www.weeklyonstock.com/member/myorder.php"></a> <a href="https://www.weeklyonstock.com/eMag_list.php?eid=17" target="_blank" class="read_btn"> 杂志阅读 </a> <a id="logoutlink" href="https://www.weeklyonstock.com/check_landing.php?action=logout" class="sign_out"> 退出 </a> <!-- 阅读期限弹窗 s --> <div id="term_container" class="term_container" style="display:none;"> <div class="left_img" > <img id="itemcover" src="" alt="" width="207" height="271"> </div> <div class="right_desc"> <h6>尊敬的读者,您好!</h6> <p>您的阅读有效期到</p> <span id="roledate"></span> <a class="go_reading" href="https://www.weeklyonstock.com/eMag_list.php?eid=17" target="_blank">开始阅读</a> <a class="xuding_btn" href="https://www.weeklyonstock.com/mag_buy.php" target="_blank">点击续订</a> </div> <div id="term_off_btn" class="term_off_btn"> <img src="/images/off_btn412.png" alt=""> </div> </div> <!-- 阅读期限弹窗 e --> </div> <!-- <div class="subscribe_btn"> <a href="https://www.weeklyonstock.com/mag_buy.php"> <i class="iconfont icon-jiahao1"></i> <p>订阅</p> </a> </div> --> <!-- 弹窗 遮罩 s--> <div id="hzk_app_maskd" class="maskd" style="display: none;"> <div id="download_container" class="hzk_app_down app_down_item"> <div id="hzk_app_off" class="off-btn"> <img src="/images/off-btn-im.png"> </div> </div> </div> <!-- 弹窗 遮罩 s--> <div id="toufu_app_maskd" class="maskd" style="display: none;"> <div class="toufu_app_down app_down_item"> <div id="toufu_app_off" class="off-btn"> <img src="/images/off-btn-img.png"> </div> </div> </div> </div> </div> </div> <div class="nav_container"> <div class="inner"> <ul> <li class="active"> <a href="https://www.weeklyonstock.com">首页</a> </li> <!-- <li style="display:none"> <a href="onedaylist.php" target="_blank"></a> </li> --> <li> <a href="https://www.weeklyonstock.com/weekly.php">杂志</a> </li> <li> <a href="https://www.weeklyonstock.com/market.php">看市场</a> </li> <li> <a href="https://www.weeklyonstock.com/company.php">公司动态</a> </li> <!-- <li> <a href="https://www.weeklyonstock.com/esg/">ESG</a> </li> --> <li> <a href="https://edu.weeklyonstock.com">交流会入口</a> </li> <li> <a href="https://www.weeklyonstock.com/mjwq/index.php">投资者权益</a> </li> <li> <a href="https://www.weeklyonstock.com/activity/20241011/ad.php">ESG金曙光奖评选</a> </li> </ul> <!-- <div class="search_container"> <form action="search.php" methor="GET"> <input type="text" name="k" class="search_input"> <input type="submit" value="" class="submit_btn"> </form> </div> --> </div> </div> <div class="header_container"> <div class="inner"> <!-- 轮播图 --> <div class="swiper-container swiper-container1"> <div class="swiper-wrapper"> <div class="swiper-slide" v-for="(item,index) in lz_arr" :key="index + 'lz_arr'"> <div class="container"> <a :href="item.url"> <img :data-src="item.thumb_image" alt="" width="547" height="292" class="swiper-lazy"> <div class="desc"> <p>{{item.title}}</p> </div> <div class="swiper-lazy-preloader"></div> </a> </div> </div> </div> <div class="swiper-pagination swiper-pagination-white"></div> <div class="swiper-button-prev swiper-button-prev1"> <i class="iconfont icon-xiangzuojiantou"></i> </div> <div class="swiper-button-next swiper-button-next1"> <i class="iconfont icon-xiangyoujiantou"></i> </div> </div> <ul class="header_list"> <li v-for="(item,index) in jrtt_arr" :key="index + 'jrtt_arr'"> <a :href="item.url"> {{item.title}}</a> <p>{{item.summary}}</p> </li> </ul> </div> </div> <div class="banner_container"> <div class="inner"> <div class="banner_left"> <div class="header_list"> <div class="item_container"> <div class="item_title"> <a href="https://static.weeklyonstock.com/nlist.html?p=/xblm/zkyc_133/&t=1"> <h5>周刊原创</h5> </a> </div> <div class="item_cont"> <ul> <li v-for="(item,index) in jrtt2_arr" :key="index + 'jrtt2_arr'"> <a :href="item.url">{{item.title}}</a> </li> </ul> </div> </div> <div class="item_container"> <div class="item_title"> <!-- <h5>综合要闻</h5> --> </div> <div class="item_cont"> <ul> <li v-for="(item,index) in zhxw_arr" :key="index + 'jrtt2_arr'"> <a :href="item.url">{{item.title}}</a> </li> </ul> </div> </div> </div> <div class="ad_container"> <a :href="ad_two.url" v-if="ad_two.url != ''"> <img :src="ad_two.pic" alt="" width="845" height="125"> </a> <img v-else :src="ad_two.pic" alt="" width="845" height="125"> </div> </div> <div class="banner_right"> <div class="item_container"> <div class="item_title Ai_title"> <h5>早盘/涨停解析</h5> </div> <div class="item_cont"> <ul> <li v-for="(item,index) in tz_gd.slice(0,2)" :key="index + 'tz_gd'"> <a :href="item.url">{{item.title}}</a> </li> </ul> </div> </div> <div class="item_container"> <div class="item_title Ai_title"> <h5>ESG金曙光奖评选</h5> </div> <div class="item_cont"> <ul> <li v-for="(item,index) in tz_sj.slice(0,3)" :key="index + 'tz_sj'"> <a :href="item.url">{{item.title}}</a> </li> </ul> </div> </div> <!-- <div class="item_container"> <div class="item_title Ai_title"> <a href="https://static.weeklyonstock.com/nlist.html?p=/xblm/tzrsj_996/&t=1"> <i> <img src="./images/hot_svg8.svg" alt=""> </i> <h5>数据</h5> </a> </div> <div class="item_cont"> <ul> <li v-for="(item,index) in tz_sj.slice(0,3)" :key="index + 'tz_sj'"> <a :href="item.url">{{item.title}}</a> </li> </ul> </div> </div> --> <div class="item_container"> <div class="item_cont"> <div class="swiper-container swiper-container2"> <div class="item_title hot_title"> <a href="https://static.weeklyonstock.com/nlist.html?p=/xblm/tzrrd_994/&t=1"> <i> <img src="./images/hot_svg5.svg" alt=""> </i> <h5>热点</h5> </a> </div> <div class="swiper-wrapper"> <div class="swiper-slide" v-for="(item,index) in rd_array"> <ul> <li v-for="item2 in item.slice(0,3)"> <a :href="item2.url">{{item2.title}}</a> </li> </ul> </div> </div> <div class="swiper-button-prev swiper-button-prev2"> <i class="iconfont icon-xiangzuojiantou"></i> </div> <div class="swiper-button-next swiper-button-next2"> <i class="iconfont icon-xiangyoujiantou"></i> </div> </div> </div> </div> <!-- <div class="item_container"> <div class="item_cont"> <div class="swiper-container swiper-container3"> <div class="item_title Ai_title"> <a href="https://static.weeklyonstock.com/nlist.html?p=/xblm/hkxw_1004/&t=1"> <i> <img src="./images/hot_svg6.svg" alt=""> </i> <h5>AI快讯</h5> </a> </div> <div class="swiper-wrapper"> <div class="swiper-slide" v-for="(item,index) in ai_array"> <ul> <li v-for="item in item.slice(0,3)"> <a :href="item.url">{{item.title}}</a> </li> </ul> </div> </div> <div class="swiper-button-prev swiper-button-prev3"> <i class="iconfont icon-xiangzuojiantou"></i> </div> <div class="swiper-button-next swiper-button-next3"> <i class="iconfont icon-xiangyoujiantou"></i> </div> </div> </div> </div> --> <!-- <div class="item_container"> <div class="item_title Ai_title"> <a href="https://static.weeklyonstock.com/nlist.html?p=/xblm/tzrsj_996/&t=1"> <i> <img src="./images/hot_svg8.svg" alt=""> </i> <h5>数据</h5> </a> </div> <div class="item_cont"> <ul> <li v-for="(item,index) in tz_sj.slice(0,3)" :key="index + 'tz_sj'"> <a :href="item.url">{{item.title}}</a> </li> </ul> </div> </div> --> </div> </div> </div> <div class="main_container"> <div class="inner"> <div class="main_left"> <div class="six_list clearfix"> <div class="item_container" v-for="item in mainList"> <div class="item_title"> <a :href="item.url">{{item.industry_name}}</a> </div> <div class="item_cont"> <ul> <li :class="index== 0 ? 'frist_list' : 'item_li'" v-for="(item,index) in item.newslist"> <a :href="item.url" v-if="index == 0"> <div class="left_img"> <img :src="item.thumb_image" width="148" height="88" alt=""> </div> <div class="right_desc"> <p>{{item.title}}</p> <!-- <em>{{item.createTime}}</em> --> </div> </a> <a :href="item.url" v-else> <span></span> <p>{{item.title}}</p> </a> </li> </ul> </div> </div> </div> <div class="ad2_container"> <a :href="ad_four.url" v-if="ad_four.url != ''"> <img :src="ad_four.pic" width="845" height="100" alt=""> </a> <img v-else :src="ad_four.pic" width="845" height="100" alt=""> </div> <div class="four_list clearfix"> <div class="item_container" v-for="item in mainList1"> <div class="item_title"> <a :href="item.url">{{item.industry_name}}</a> </div> <div class="item_cont"> <ul> <li :class="index== 0 ? 'frist_list' : 'item_li'" v-for="(item,index) in item.newslist"> <a :href="item.url" v-if="index == 0"> <div class="left_img"> <img :src="item.thumb_image" width="148" height="88" alt=""> </div> <div class="right_desc"> <p>{{item.title}}</p> <!-- <em>{{item.createTime}}</em> --> </div> </a> <a :href="item.url" v-else> <span></span> <p>{{item.title}}</p> </a> </li> </ul> </div> </div> </div> </div> <div class="main_right"> <div class="item_container mh_qy"> <div class="item_title"> <a href="https://static.weeklyonstock.com/nlist.html?p=/xblm/mjzh_1000/&t=1">民间智慧</a> </div> <div class="item_cont"> <ul> <li class="item_li" v-for="item in mjzh_arr"> <a :href="item.url"> <p>{{item.title}}</p> </a> </li> </ul> </div> </div> <div class="item_container yx_jyy"> <div class="item_title"> <!-- <a href="https://www.weeklyonstock.com/yxjyy.php">优秀交易员</a> --> <a href="https://static.weeklyonstock.com/nlist.html?p=/xblm/hkxw_1004/&t=1">AI快讯</a> </div> <div class="item_cont"> <ul> <!-- <li :class="index == 0 ? 'frist_list' : 'item_li'" v-for="(item,index) in jyy_arr"> --> <li class="item_li" v-for="(item,index) in jyy_arr"> <!-- <a :href="item.url" v-if="index == 0"> <div class="left_img"> <img :src="item.img" width="110" height="62" alt=""> </div> <div class="right_desc"> <p>{{item.title}}</p> </div> </a> --> <a :href="item.url"> <p>{{item.title}}</p> </a> </li> </ul> </div> </div> <div class="item_container mj_wq"> <div class="item_title"> <a href="https://www.weeklyonstock.com/mjwq/news_list.php?cid=630">投资者权益</a> </div> <div class="item_cont"> <ul> <li class="item_li" v-for="item in mjwq_arr"> <a :href="item.url"> <p>{{item.title}}</p> </a> </li> </ul> </div> </div> <div class="ad3_container"> <a :href="ad_one.url" v-if="ad_one.url != ''"> <img :src="ad_one.pic" alt="" width="325" height="176"> </a> <img v-else :src="ad_one.pic" alt="" width="325" height="176"> </div> <!-- 今日股指 --> <div class="item_container jr_gz"> <div class="item_title"> <h5>今日股指</h5> </div> <div class="share_cont" style="height: 300px;"> <!-- <iframe src="http://stock.10jqka.com.cn/api/hongzhoukan_market.html" frameborder="0" marginwidth="0" marginheight="0" style="width:325px;height:300px;" scrolling="no" allowtransparency="true"></iframe> --> <iframe src="/info/ths_stock_info.php?action=ths&n=1" frameborder="0" marginwidth="0" marginheight="0" style="width:325px;height:300px;" scrolling="no" allowtransparency="true"></iframe> </div> </div> <div class="item_container bk_hq"> <div class="item_title"> <h5>板块行情</h5> </div> <div class="share_cont" style="height: 269px;"> <!-- <iframe src="http://stock.10jqka.com.cn/api/hongzhoukan_plate.html" frameborder="0" marginwidth="0" marginheight="0" style="width:325px;height: 269px;" scrolling="no" allowtransparency="true"></iframe> --> <iframe src="/info/ths_stock_info.php?action=ths&n=2" frameborder="0" marginwidth="0" marginheight="0" style="width:325px;height:300px;" scrolling="no" allowtransparency="true"></iframe> </div> </div> <!-- 个股行情 --> <div class="item_container"> <div class="item_title"> <h5>个股行情</h5> </div> <div class="share_cont" style="height: 300px;"> <!-- <iframe src="http://stock.10jqka.com.cn/api/hongzhoukan_stock.html" frameborder="0" marginwidth="0" marginheight="0" style="width:325px;height: 300px;" scrolling="no" allowtransparency="true"></iframe> --> <iframe src="/info/ths_stock_info.php?action=ths&n=3" frameborder="0" marginwidth="0" marginheight="0" style="width:325px;height:300px;" scrolling="no" allowtransparency="true"></iframe> </div> </div> </div> </div> </div> <!-- 通栏广告 下 页面 --> <div class="ipo_container"> <div class="inner clearfix"> <div class="left_container"> <!-- 新股攻略 --> <div class="Introduction"> <ul> <li :class="curIndex == index ? 'active' : '' " v-for="(item,index) in xg_tabs" :key="index + 'xg_tabs'" @click="IpoClick(index)"> {{item.name}} </li> <!-- <li> 交易参考 </li> --> </ul> </div> <!-- 选项卡 --> <div id="Introduction_cont" class="card_cont"> <div class="new_shares" v-if="curIndex == 0"> <div class="table_th"> <div class="item_div" v-for="(item1,index) in Ipo_list.data_title" :key="item1.name"> {{item1}}</div> </div> <ul> <li v-for="(item1,index) in Ipo_list.data_info" :key="item1.name"> <div class="item_div" :style="{'color':item1.color}">{{item1.sg}}</div> <div class="item_div" :style="{'color':item1.color}">{{item1.scode}}</div> <div class="item_div" :style="{'color':item1.color}">{{item1.sname}}</div> <div class="item_div" :style="{'color':item1.color}">{{item1.sprice}}</div> <div class="item_div" :style="{'color':item1.color}">{{item1.snum}}</div> <div class="item_div" :style="{'color':item1.color}">{{item1.sdate}}</div> <div class="item_div" :style="{'color':item1.color}">{{item1.sy}}</div> <div class="item_div" :style="{'color':item1.color}">{{item1.jys}}</div> </li> </ul> </div> <div class="trade" v-if="curIndex == 1"> <ul> <li> <a href="http://os.weeklyonstock.com/kcb.php"> <p>科创板</p> </a> </li> <li> <a href="http://os.weeklyonstock.com/rzrq.php"> <p>融资融券</p> </a> </li> <li> <a href="http://os.weeklyonstock.com/ggzjl.php"> <p>大单流向</p> </a> </li> <li> <a href="http://os.weeklyonstock.com/dzjy.php"> <p>大宗交易</p> </a> </li> <li> <a href="http://os.weeklyonstock.com/yjgg.php"> <p>业绩快报</p> </a> </li> <li> <a href="http://os.weeklyonstock.com/yjyg.php"> <p>业绩预告</p> </a> </li> <li> <a href="http://os.weeklyonstock.com/longhu.php"> <p>龙虎榜单</p> </a> </li> <li> <a href="http://os.weeklyonstock.com/xgsgyzq.php"> <p>新股申购</p> </a> </li> </ul> </div> </div> </div> <div class="right_container"> <!-- 左侧广告位2 --> <div class="left_advert2"> <a :href="ad_three.url" v-if="ad_three.url != ''"> <img :src="ad_three.pic" alt="" width="325" height="176"> </a> <img v-else :src="ad_three.pic" alt="" width="325" height="176"> </div> </div> </div> </div> <!-- 推荐 --> <div class="recommend_container"> <div class="inner clearfix"> <div class="tf_recommend"> <a href="https://edu.weeklyonstock.com/activity/241030/ad.html"> <div class="title_recommend"> <p>投服平台推荐</p> </div> <div class="cont_recommend"> <div> <img src="/images/pz_241031.jpg" alt="" style="width:145px;height:146px;"> <div class="desc"> <h6>牛市主线</h6> <!-- <p>时间:2022年10月</p> --> <p>形式:线上交流会</p> <p>电话:010-50876622</p> <p style="text-indent:40px"></p> <a class="item" href="https://edu.weeklyonstock.com/">进入投服平台>></a> </div> </div> </div> </a> </div> <div class="App_recommend"> <div class="title_recommend"> <p> APP <span></span>推荐 </p> </div> <div class="cont_recommend"> <div> <img src="/images/ad_app_210401.jpg" alt=""> </div> <!-- <a class="item hzk_app_btn" href="javascript:;" target="_self">APP>></a> --> </div> </div> <div class="dlcj_recommend"> <div class="title_recommend"> <p> 读览财经<span></span>推荐 </p> </div> <div class="cont_recommend clearfix"> <div> <div class="left_img fl"> <img style="width:100%;height:100%;" src="/images/dlcj_img.jpg" alt=""> </div> <div class="desc"> <img style="width:70px;height:73px;" src="/images/dlcj_desc.png" alt=""> <p>《操盘心髓》</p> <p>作者:边惠宗</p> <a class="item" href="https://edu.weeklyonstock.com/activity/200430/ad.html">进入读览财经>></a> </div> </div> </div> </div> </div> </div> <!-- 底部导航区 --> <div class="bottom_shortcut"> <div class="inner"> <div class="cont"> <ul> <li> <a href="https://www.weeklyonstock.com/about/home.html?p=aboutus" target="_blank">关于我们</a> </li> <li> <a href="https://www.weeklyonstock.com/about/home.html?p=copyright" target="_blank">网站声明</a> </li> <li> <a href="https://www.weeklyonstock.com/about/home.html?p=pay_way" target="_blank">支付方式</a> </li> <li> <a href="https://www.weeklyonstock.com/about/home.html?p=contactus" target="_blank">联系我们</a> </li> <li> <a href="https://www.weeklyonstock.com/about/home.html?p=adver_jianjie" target="_blank">广告服务</a> </li> <li> <a href="https://www.weeklyonstock.com/about/home.html?p=hzhb" target="_blank">友情链接</a> </li> <li> <a href="https://www.weeklyonstock.com/about/home.html?p=sitemap" target="_blank">网站地图</a> </li> </ul> </div> </div> </div> <div class="hzk_footer"> <div class="inner clearfix"> <div class="flag fl"> <img src="/images/flag_img.png" alt=""> </div> <div class="contact fr"> <p>客服热线:010-85650488</p> <p>发行服务热线:010-85651165 / 010-85651103</p> <p>交流会热线:010-50876622</p> <p>投资者权益热线:010-85651425</p> <!-- <p>刊社地址:北京市东城区新中街68号聚龙花园7号楼</p> --> <!-- <p>北段三层《证券市场周刊》;邮政编码:100027</p> --> <p>建议与投诉邮箱:service@hongzhoukan.com</p> <p>投诉、建议:<a href="https://www.weeklyonstock.com/help/tousu.php">在线提交</a> </p> </div> <!-- 主要产品 --> <div class="product"> <h6>主要产品</h6> <p>平媒产品:《证券市场周刊》</p> <p>电子产品:《证券市场周刊》电子版</p> <p>移动产品:《证券市场周刊》手机客户端、《证券市场周刊》中国移动手机报</p> <p>微信产品:《证券市场周刊》官方微信、投资者服务平台微信、读览财经服务平台</p> </div> </div> </div> <div class="keep_record"> <div class="inner"> <p>Copyright 《证券市场研究设计中心》All RightReserved 版权所有 [京ICP备2022020594号-15][京公网安备11010102000187号]</p> </div> </div> </div> <script src="/js/swiper3.js"></script> <script src="/js/jquery-1.10.1.min.js"></script> <script src="/js/vue.js"></script> <script type="text/javascript" src="/js/axios.min.js"></script> <script src="/js/polyfill.min.js"></script> <script src="/js/es6-promise.auto.min.js"></script> <script src="/js/babel.min.js"></script> <script type="text/babel"> var app = new Vue({ el: '#homeContainer', data: { jrtt_arr: [], //头条 jrtt2_arr: [], //头条2 zhxw_arr:[],//综合要闻 lz_arr: [], //轮播图 agzzd_arr: [],//A股早知道 agzzd_url:'', sjt_arr: [],//数据通 sjt_url:'', mjzh_arr: [], //民间智慧 mjzh_url: '', jjipo_arr: [], //聚焦IPO jjipo_url:'', tz_rd: [],//热点 rd_array: [],//热点 tz_ai: [],//ai ai_array: [],//ai tz_sj: [],//数据 tz_gd: [], //观点 mainList: {},//6条列表 mainList1: {},//4条列表 jyy_arr: [],//优秀交易员 mhqy_arr: [], //漫画权益 mjwq_arr: [], //民间维权 cur_index: 0, //选项卡索引 xg_tabs: [ { name: '新股攻略' }, { name: '交易参考' } ], industry_arr: [], //行业板块 industry_names: [], //行业板块title industry_lists: [], //行业板块title Ipo_list: [], curIndex: 0, ad_one: [], ad_two: [], ad_three: [], ad_four: [], }, created() { }, mounted() { //dom挂在完成 相当于onload,方法的调用 this.getAdData(); this.getHeaderData(); this.getIpoData(); this.getMainData(); $('#hzk_app').click(function() { $('#hzk_app_maskd').show(); }) $('#hzk_app_off').click(function() { $('#hzk_app_maskd').hide(); }) $('#toufu_app').click(function() { $('#toufu_app_maskd').show(); }) $('#toufu_app_off').click(function() { $('#toufu_app_maskd').hide(); }) // 登陆后弹窗关闭功能 $('#term_off_btn').click(function() { $('#term_container').hide() document.cookie = 'hzkweeklyrole=; expires=0;domain=.weeklyonstock.com;path=/' }) }, computed: { //计算属性 }, methods: { //这里面添加所有的方法 // 广告 getAdData() { var _this = this; axios.get('info/index_tt_ad_2023.json',) .then(res => { let data = res.data; this.ad_one = data[0]; this.ad_two = data[1]; this.ad_three = data[2]; this.ad_four = data[3] }) .catch(function (err) { console.log(err) }) }, getHeaderData() { var _this = this; axios.get('info/index_tt_1_2023.json',) .then(res => { let data = res.data; this.jrtt_arr = data.jrtt_arr; this.jrtt2_arr = data.jrtt2_arr; this.zhxw_arr = data.zhxw_arr; this.lz_arr = data.lz_arr; this.mjzh_arr = data.mjzh_arr; this.mjzh_url = data.mjzh_url; this.agzzd_arr = data.agzzd_arr; this.agzzd_url = data.agzzd_url; this.sjt_arr = data.sjt_arr; this.sjt_url = data.sjt_url; this.jjipo_arr = data.jjipo_arr; this.jjipo_url = data.jjipo_url; this.tz_rd = data.tz_rd; this.rd_array = this.splitArray(data.tz_rd, 4) this.tz_ai = data.tz_ai; this.ai_array = this.splitArray(data.tz_ai, 4) this.tz_sj = data.tz_sj; this.tz_gd = data.tz_gd; _this.$nextTick(() => { var mySwiper = new Swiper('.swiper-container1', { pagination: '.swiper-pagination', loop: true, paginationClickable: true, nextButton: '.swiper-button-next1', prevButton: '.swiper-button-prev1', parallax: true, speed: 600, lazyLoading: true, autoplay: 2000 //自动轮播间隔时间 }); $('.swiper-container1 ').mouseover(function () { mySwiper.stopAutoplay(); }).mouseleave(function () { mySwiper.startAutoplay(); }); // 热点 var mySwiper = new Swiper('.swiper-container2', { nextButton: '.swiper-button-next2', prevButton: '.swiper-button-prev2', parallax: true, speed: 600, }); $('.swiper-container2 ').mouseover(function () { mySwiper.stopAutoplay(); }).mouseleave(function () { mySwiper.startAutoplay(); }); // AI快讯 var mySwiper = new Swiper('.swiper-container3', { nextButton: '.swiper-button-next3', prevButton: '.swiper-button-prev3', parallax: true, speed: 600, }); $('.swiper-container3 ').mouseover(function () { mySwiper.stopAutoplay(); }).mouseleave(function () { mySwiper.startAutoplay(); }); }) }) .catch(function (err) { console.log(err) }) }, //数据按照每组4条创新分组 splitArray(array, subGroupLength) { let index = 0; let newArray = []; while (index < array.length) { newArray.push(array.slice(index, index += subGroupLength)); } return newArray; }, getMainData() { var _this = this; axios.get('info/index_tt_2_2023.json',) .then(res => { let data = res.data; this.mainList = data.industry1; this.mainList1 = data.industry2; this.jyy_arr = data.industryr.jyy_arr; this.mjwq_arr = data.industryr.mjwq_arr; this.mhqy_arr = data.industryr.mhqy_arr; }) .catch(function (err) { console.log(err) }) }, // IPO数据列表 getIpoData() { var _this = this; axios.get('info/index_tt_3_2.json',) // axios.get('/data/index_tt_3.json',) .then(res => { // console.log(res.data) this.Ipo_list = res.data // setTimeout(function () { // _this.getAdData() // }, 500) }) .catch(function (err) { console.log(err) }) }, // 新股攻略 交易参考 选项卡 IpoClick(index) { console.log(index) this.curIndex = index }, }, destroyed() { }, filters: { } }) </script> <script type="text/javascript"> var loginurl,regurl,logout; var login_arr,role_arr; var loginreg=new RegExp("(^| )hzklogin=([^;]*)(;|$)"); var rolereg=new RegExp("(^| )hzkweeklyrole=([^;]*)(;|$)"); login_arr=document.cookie.match(loginreg) if (login_arr == null){ islogin= 0; }else{ if(unescape(login_arr[2])){ islogin= 1; }else{ islogin= 0; } } if (islogin) { localStorage.nickname = unescape(login_arr[2]); localStorage.username = unescape(login_arr[2]); $('.before-log').css('display', 'none'); $('.after-log').css('display', ''); $('.after-log').find('.username').html(unescape(login_arr[2])); logout = 'https://www.weeklyonstock.com/check_landing.php?action=logout&forward=' + encodeURIComponent(window.location.href); $("#logoutlink").attr("href",logout); } else { localStorage.uid = ''; localStorage.nickname = ''; localStorage.username = ''; $('.before-log').css('display', ''); $('.after-log').css('display', 'none'); $('.after-log').find('.username').html(''); loginurl = 'https://www.weeklyonstock.com/userlogin.php?forward=' + encodeURIComponent(window.location.href); $("#loginlink").attr("href",loginurl); regurl = 'https://www.weeklyonstock.com/register.php?forward=' + encodeURIComponent(window.location.href); $("#reglink").attr("href",regurl); } //处理权限 role_arr=document.cookie.match(rolereg) // console.log(role_arr) var item_arr,itemcover,itemrol,itemdate; if (role_arr != null){ item_arr=decodeURI(unescape(role_arr[2])).split("%2C"); itemcover=unescape(item_arr[2]); itemdate=item_arr[1]; itemrol=item_arr[0]; if (itemrol==1) {//如果有权限,弹窗 $('#term_container').show() $('#itemcover').attr('src', itemcover); $('#roledate').html(itemdate); }; } </script> </body> </html>