<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">

<head>
    <meta charset="UTF-8">
    <meta name="author" content="全科界"/>
    <meta name="keywords" content="全科界,全科医生,健康教育,中华医学教育在线,基石计划,中医药,公共卫生,基层卫生"/>
    <meta name="description"
          content="全科界 · 智慧赋能平台是一个服务广大基层医疗机构，为基层医务人员持续赋能的综合性平台。 平台依托全科场景，倾心打造了以“医-教”为核心的赋能架构，通过远程教学培训、全科医生职业发展、远程医疗协作等子系统建设，结合优质的专家资源，高效精准地进行专业能力的输出，同时灵活丰富的培训教学方式，真正实现基层医务人员的“个性化”学，促进基层医务人员能力提升，落实国家分级诊疗政策，让社区群众便捷接触到优质医疗资源，增进民生福祉。"/>
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>全科界-智慧赋能平台</title>
    <link href="/web/css/common.css" rel="stylesheet"/>
    <link href="/web/css/layer.css" rel="stylesheet"/>
    <link href="/web/css/new.css" rel="stylesheet"/>
    <script src="/web/js/jquery-3.5.1.min.js"></script>
    <script src="/web/js/layer.js"></script>
    <script src="/static/js/common.js?v=" +Math.random()></script>
    <script type="text/javascript" src="/js/jquery.cookie.js"></script>
    <link rel="stylesheet" href="/css/swiper-bundle.min.css?v=" +Math.random()>
    <link href="/web/css/page.css" rel="stylesheet"/>
    <script src="/js/swiper-bundle.min.js?v=" +Math.random()></script>
    <script src="/static/js/wxLogin.js?v=" +Math.random()></script>
    <script src="/static/js/md5.js?v=" +Math.random()></script>
    <script type="text/javascript" src="/static/js/checkysrz.js"></script>
    <script src="/web/js/common.js"></script>

    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?0305f34866fc4fe377f1bec6dc84d92f";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
</head>
<div class="index-box">
    <!--导航栏-->
    <div th:include="web/common::common-header-web"></div>
    <div th:include="web/common::common-conMusic"></div>
    <!--首页主体盒子-->
    <div class="indexmainbox">
        <div class="in_main_leftbox">
            <!--轮播图-->
            <div class="inswiperbox" style="margin-top:20px;">
                <div class="swiper">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide" v-for="(item,i) in indexData.swriperRecommends"
                             @click="jumpTo(item.rcmdUrl)"
                             style="cursor: pointer;">
                            <img :src="item.rcmdImgpath" style="width:100%;height:100%;"/>
                        </div>
                    </div>
                    <div class="swiper-pagination"></div>
                    <div class="swiper-button-prev"></div>
                    <div class="swiper-button-next"></div>
                </div>
            </div>
            <!--直播推荐版位-->
            <div class="zbtj_box" v-for="(item,i) in indexData.seriesRecommends.children">
                <div class="tjtitle" v-if="item.adFlag===0 && item.rcmdData.length>0" v-cloak>{{item.posName}}</div>
                <div class="zblisoutbox">
                    <div :class="item.adFlag===0  ? 'zbtjlist' : ''" v-for="(item1,i) in item.rcmdData">
                        <!-- {{item}} -->
                        <!--直播中（living）、未开始（nostart）、已结束（gameover）、可回看（relook）、专区（zhuanqu）-->
                        <div v-show="item.adFlag===0" @click="jumpToLive(item1)">
                            <div class="zbtjicon living"
                                 v-if="item1.rcmdType==2 && item1.zqFlag == 0 && item1.objStatus==1">直播中
                            </div>
                            <div class="zbtjicon zhuanqu" v-if="item1.zqFlag == 1">专区</div>
                            <div class="zbtjicon nostart"
                                 v-if="item1.rcmdType==2 && item1.zqFlag == 0 && item1.objStatus==0">未开始
                            </div>
                            <div class="zbtjicon gameover"
                                 v-if="item1.rcmdType==2 && item1.zqFlag == 0 && item1.objStatus==2">已结束
                            </div>
                            <div class="zbtjicon relook"
                                 v-if="item1.rcmdType==2 && item1.zqFlag == 0 && item1.objStatus==3">可回看
                            </div>
                            <div class="tjtoppicbox">
                                <img onload="AutoResizeImage(280,159,this)" :src="item1.rcmdImgpath">
                            </div>
                            <div class="tjzbbotbox" :class="{'tjzbbotboxZq':(item.posName=='品牌专区')}">
                                <div class="listtitle" v-cloak>{{item1.rcmdTitle}}</div>
                                <div class="listtitleSecond" v-if="item.posName=='品牌专区'" v-cloak>{{item1.subTitle}}
                                </div>
                                <div class="listdata">
                                    <span class="time1" v-if="item1.time1" v-cloak>{{item1.time1}}</span>
                                    <span class="time" v-cloak>{{item1.time}}</span>
                                    <div class="jpdkprize" v-if="item1.isSell==1"></div>
                                    <div class="jpdkprize" v-else-if="item1.price>0" v-cloak><span>¥</span>{{item1.price}}
                                    </div>
                                    <div class="jpdkprize" v-else-if="item1.point>0" v-cloak>
                                        {{item1.point}}<span>积分</span></div>
                                    <div class="jpdkprize" v-else v-cloak>免费</div>
                                    <div class="clear"></div>
                                </div>
                            </div>
                        </div>


                        <!--                        <div v-if="item.adFlag===1  && item.rcmdData.length>0" style="margin-top: -30px;cursor: pointer;"-->
                        <!--                             @click="jumpTo(item1.rcmdUrl)">-->
                        <!--                            <img :src="item1.rcmdImgpath" alt="" style="width:890px;height: 160px;">-->
                        <!--                        </div>-->
                    </div>
                    <!--  广告位  -->
                    <!--                    一张直接渲染  -->
                    <div v-if="item.adFlag===1  && item.rcmdData.length==1" style="margin-top: -30px;cursor: pointer;">
                        <div v-for="(item1,i) in item.rcmdData" @click="jumpTo(item1.rcmdUrl)">
                            <img :src="item1.rcmdImgpath" alt="" style="width:890px;height: 160px;">
                        </div>
                    </div>
                    <!--                    多张轮播  -->

                    <div v-if="item.adFlag===1  && item.rcmdData.length>1" class="swiperIndex">
                        <div class="swiper-wrapper">
                            <div class="swiper-slide" v-for="(item1,i) in item.rcmdData" style="cursor: pointer;"
                                 @click="jumpTo(item1.rcmdUrl)">
                                <img :src="item1.rcmdImgpath" alt="" style="width:890px;height: 160px;">
                            </div>
                        </div>
                        <div class="swiper-pagination"></div>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
        </div>
        <div class="in_main_rightbox">
            <!--登录后展示个人信息-->
            <div v-if="isLogin" class="usershowbox">
                <div class="userphotobox">
                    <div class="userpho">
                        <img src="/images/close.png">
                    </div>
                    <div class="nicknanmebox">
                        <span class="nickn" v-cloak>{{info.memNickname}}</span>
                        <span class="dayed" v-cloak>已加入{{info.days + 1}}天</span>
                    </div>
                    <div @click="goView('jf')" class="jfphbin">积分排行榜</div>
                    <div class="clear"></div>
                </div>
                <!--打卡签到-->
                <div class="qiandaobox">
                    <div class="qddata">
                        <span class="mysouce" v-cloak>我的积分:{{info.memResidualPoints}}</span>
                        <span class="qdbtn" @click="getSignIn()" id="sign" v-if="info.siginStatus == 0">签到</span>
                        <button id="signed" v-if="info.siginStatus == 1">已签到</button>
                        <div class="clear"></div>
                    </div>
                    <div class="qddaylist">
                        <img v-if="info.sign && info.sign[0].isTodayChenckIn == 0"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/1.png">
                        <img v-if="info.sign && info.sign[0].isTodayChenckIn == 1 && info.sign[1].isTodayChenckIn == 0 && info.sign[0].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/1-q.png">
                        <img v-if="info.sign && info.sign[1].isTodayChenckIn == 0 && info.sign[0].isTodayChenckIn == 1 && info.sign[1].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/2.png">
                        <img v-if="info.sign && info.sign[1].isTodayChenckIn == 1 && info.sign[2].isTodayChenckIn == 0 && info.sign[1].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/2-q.png">
                        <img v-if="info.sign && info.sign[2].isTodayChenckIn == 0 && info.sign[1].isTodayChenckIn == 1 && info.sign[2].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/3.png">
                        <img v-if="info.sign && info.sign[2].isTodayChenckIn == 1 && info.sign[3].isTodayChenckIn == 0 && info.sign[2].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/3-q.png">
                        <img v-if="info.sign && info.sign[3].isTodayChenckIn == 0 && info.sign[2].isTodayChenckIn == 1 && info.sign[3].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/4.png">
                        <img v-if="info.sign && info.sign[3].isTodayChenckIn == 1 && info.sign[4].isTodayChenckIn == 0 && info.sign[3].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/4-q.png">
                        <img v-if="info.sign && info.sign[4].isTodayChenckIn == 0 && info.sign[3].isTodayChenckIn == 1 && info.sign[4].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/5.png">
                        <img v-if="info.sign && info.sign[4].isTodayChenckIn == 1 && info.sign[5].isTodayChenckIn == 0 && info.sign[4].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/5-q.png">
                        <img v-if="info.sign && info.sign[5].isTodayChenckIn == 0 && info.sign[4].isTodayChenckIn == 1 && info.sign[5].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/6.png">
                        <img v-if="info.sign && info.sign[5].isTodayChenckIn == 1 && info.sign[6].isTodayChenckIn == 0 && info.sign[5].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/6-q.png">
                        <img v-if="info.sign && info.sign[6].isTodayChenckIn == 0 && info.sign[5].isTodayChenckIn == 1 && info.sign[6].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/7.png">
                        <img v-if="info.sign && info.sign[6].isTodayChenckIn == 1 && info.sign[6].isCuur == 1"
                             onload="AutoResizeImage(598,122,this)" src="http://files.qkyxzx.com/html5/7-q.png">
                        <div class="clear"></div>
                    </div>
                </div>
                <!--版块-->
                <div class="bankuanlist">
                    <div @click="goView('buy')" class="bklistbox">
                        <div class="bklist"><img src="../web/img/index_gmjl.png"></div>
                        <span>购买记录</span>
                    </div>
                    <div @click="goView('person')" class="bklistbox">
                        <div class="bklist"><img src="../web/img/index_jfsc.png"></div>
                        <span>积分商城</span>
                    </div>
                    <div @click="goView('person')" class="bklistbox">
                        <div class="bklist"><img src="../web/img/index_grzx.png"></div>
                        <span>个人中心</span>
                    </div>
                    <div class="loginOut bklistbox tcdlbox">
                        <div class="bklist"><img src="../web/img/index_tcdl.png"></div>
                        <span>退出登录</span>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
            <!--加入圈子-->
            <div class="joinus">
                <div class="tjtitle">加入圈子</div>
                <div class="joinbox">
                    <div class="joinlistbox" v-for="(item,i) in queryQrCode">
                        <div class="qunnamne">{{item.name}}</div>
                        <div class="joinbtn">加入</div>
                        <div class="qewmbox">
                            <div class="qewmpic"><img :src="item.qrImg"></div>
                            <div class="qewmright">
                                <span class="qunliaotitle">扫码加入群聊</span>
                                <span class="qunliaotext">进群请备注一下您的姓名、城市、职称</span>
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="clear"></div>
                    </div>
                </div>
<!--                <div class="qzadverti">-->
<!--                    <img src="http://files.qkyxzx.com/test/recommend/20220622/jyjk001-20220622151109.jpg" alt="广告">-->
<!--                </div>-->
            </div>
            <div v-for="item in consulting" :key="item.posName">
                <div v-if="item.rcmdData.length > 0">
                    <!--广告位置-->
                    <div v-if="item.adFlag === 1">
                        <div class="adboxright" v-if="item.rcmdData.length == 1">
                            <div v-for="adver in item.rcmdData" :key="adver.rcmdImgpath"
                                 @click="jumpTo(adver.rcmdUrl)">
                                <img :src="adver.rcmdImgpath" alt="广告">
                            </div>
                        </div>
                        <div class="adboxrightSwiper" v-if="item.rcmdData.length > 1">
                            <div class="swiper-wrapper">
                                <div class="swiper-slide" v-for="adver in item.rcmdData" :key="adver.rcmdImgpath"
                                     @click="jumpTo(adver.rcmdUrl)">
                                    <img :src="adver.rcmdImgpath" alt="广告">
                                </div>
                            </div>
                            <div class="swiper-pagination"></div>

                        </div>

                    </div>
                    <!--资讯推荐-->
                    <div class="zixunlistbox" v-if="item.adFlag === 0">
                        <div class="haveckgd">
                            <div class="tjtitle">资讯推荐</div>
                            <a class="lookmore" href="/view/index?from=web" target="_blank">查看更多</a>
                            <div class="clear"></div>
                        </div>
                        <div class="zxtjbox">
                            <div class="zxlisttext">
                                <a class="zxtjtextbox" v-for="(consult,i) in item.rcmdData"
                                   :href="'/view/detail?from=web&artId=' + consult.rcmdObjId" target="_blank">
                                    <span class="zxtjlistnu threelist">{{  i + 1 }}</span>
                                    <div class="zxtjlistbitle">
                                        <div class="zxtitle">{{consult.rcmdTitle}}</div>
                                        <div class="zxdatabox">
                                            <span>{{consult.author}}</span>
                                            <span>{{consult.click}}阅读</span>
                                        </div>
                                    </div>
                                    <div class="clear"></div>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!--课件推荐-->
            <div class="haveckgd">
                <div class="tjtitle">课件下载</div>
                <a class="lookmore" href="/courseware/index?from=web" target="_blank">查看更多</a>
                <div class="clear"></div>
            </div>
            <div class="zxtjbox">
                <div class="kjtjlist" v-for="(item,i) in courseware" @click="gotoPay(item)">
                    <div class="kjleftpic">
                        <img onload="AutoResizeImage(288,162,this)" :src="item.coverImg">
                        <!--                        <img v-if="item.fileType == 3" onload="AutoResizeImage(288,162,this)"-->
                        <!--                             src="http://files.qkyxzx.com/html5/pdf.png">-->
                        <!--                        <img v-if="item.fileType == 2" onload="AutoResizeImage(288,162,this)"-->
                        <!--                             src="http://files.qkyxzx.com/html5/word.png">-->
                        <!--                        <img v-if="item.fileType == 1" onload="AutoResizeImage(288,162,this)"-->
                        <!--                             src="http://files.qkyxzx.com/html5/ppt.png">-->
                        <!--                        <img v-if="item.fileType == 4" onload="AutoResizeImage(288,162,this)"-->
                        <!--                             src="http://files.qkyxzx.com/html5/excel.png">-->
                    </div>
                    <div class="kjtitlebox">
                        <div class="kjtitletext">{{item.title}}</div>
                        <div class="kjxzdatas">
                            <span class="kjdatas">{{ item.downloadMembers }}</span>
                            <div v-if="item.isPurchased == 0 && item.pointFlag == 0 && item.price > 0"
                                 class="needpayfor"><span>¥</span>{{item.price}}
                            </div>
                            <div v-if="item.isPurchased == 0 && item.pointFlag == 0 && item.price == 0"
                                 class="needpayfor">免费
                            </div>
                            <div v-if="item.isPurchased == 0 && item.pointFlag == 1 && item.point == 0"
                                 class="needpayfor">免费
                            </div>
                            <div v-if="item.isPurchased == 0 && item.pointFlag == 1 && item.point > 0 "
                                 class="needpayfor">{{item.point}}<span>积分</span></div>
                            <div v-if="item.isPurchased == 1" class="needpayfor down" @click.stop="downFile(item.id)">
                                下载
                            </div>
                        </div>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
            <!-- 用户注册数据-->
            <div class="regCount">
                <p class="regCountAll">
                    <span class="regCountNum" v-cloak>{{regCount}}</span>
                    <span class="regCountTxt">注册人数</span>
                </p>
                <p class="regCountAll">
                    <span class="regCountNum" v-cloak>{{lineCount}}</span>
                    <span class="regCountTxt">在线人数</span>
                </p>
            </div>
            <!--广告位置-->
            <!--			<div class="adboxright">-->
            <!--				<img src="../web/img/jpkadpic.png">-->
            <!--			</div>-->
        </div>
        <div class="clear"></div>
    </div>
    <!--底部公共区域-->
    <div th:include="web/common::common-bottom-web"></div>
    <!--返回顶部-->
    <div th:include="web/common::common-back-web"></div>
</div>

<!--认证信息公共部分-->
<div th:include="web/common::common-authentication"></div>
<script type="text/javascript" src="/static/js/web/authentication.js"></script>
<script src="/js/vue.js"></script>
<script>
    document.write('<script src="/js/web/index.js?v=' + Math.random() + '"><\/script\>');
</script>
<script src="/web/js/common.js"></script>
</html>
