<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org"
       xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8">
    <title>搜索</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=0.5, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta name="sharetitle" content="全科界-精品课" />
    <meta name="sharedesc" content="赋能全科医生，培养百姓良医" />
    <meta name="sharepic" content="https://qkj-web.oss-cn-beijing.aliyuncs.com/html5/share.png" />
    <meta name="shareurl" content="" />

    <script src="/static/js/jquery-3.5.1.min.js?v="+Math.random()></script>
    <script src="/static/js/common.js?v="+Math.random()></script>
    <script>
        document.write('<link href="/static/css/html5/search/search.css?v=' + Math.random() + '" rel="stylesheet" type="text/css"/>');
    </script>
    <link href="/static/css/html5/common.css?v=" +Math.random() rel="stylesheet" type="text/css"/>

    <script src="/static/js/ucenter.js?v="+Math.random()></script>
    <link rel="stylesheet" href="/static/css/swiper-bundle.min.css">
    <script src="/static/js/swiper-bundle.min.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>
<body>
<div id="container" class="container">
    <div  th:include="html5/common::common-loading"></div>
<!--    <div  th:include="html5/common::common-header"></div>-->
    <input type="text" class="search" placeholder="请输入搜索内容..." v-model="search" @input="toSearch"/>
    <div class="info" v-if="search.length>0 && totalCount>0">共搜索<span>{{totalCount}}</span>条关于"{{search}}"</div>
    <div class="info" v-if="search.length>0 && totalCount==0">未查询到相关搜索内容</div>
    <div class="result">
        <div class="item">
            <div class="list">
                <div v-for="(item,i) in list" @click="toObjInfo(item)" class="list-item float">
                    <div class="left">
                        <img onload="AutoResizeImage(288,162,this)" :src="item.obj_cover_img">
                        <div v-if="item.zq_flag == 1" class="zq">专区</div>
                    </div>

                    <div class="right">
                        <div class="title">{{item.obj_title}}</div>
                        <div class="time" v-if="item.zq_flag == 1 && item.obj_type==1">{{item.son_count}}讲</div>
                        <div class="time" v-if="item.zq_flag == 1 && item.obj_type==3">{{item.son_count}}场</div>
                        <div class="time" v-if="item.zq_flag == 1 && item.obj_type==5">{{item.son_count}}场</div>
                        <div v-if="item.is_sell == 0  && (item.price==0 && item.point_flag==0) || (item.price==0 && item.point_flag==1 && item.point==0)" class="free">免费</div>
                        <div v-if="item.is_sell == 0 && item.point_flag==0 && item.price>0" class="money"><span>¥</span>{{item.price}}</div>
                        <div v-if="item.is_sell == 0 && item.point_flag == 1 && item.point>0" class="jf">{{item.point}}<span>积分</span></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--    <p id="bottomInfo">全科在线提供技术支持</p>-->
</div>
<footer>
    <div th:include="html5/common::common-footer"></div>
</footer>
</body>
<script src="/static/js/vue.js"></script>
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
<script type="text/javascript" src="/static/js/ucenter.js"></script>
<script>
    document.write('<script src="/static/js/h5/search/search.js?v=' + Math.random() + '"><\/script\>');
</script>
<script src="/static/js/jweixin-1.0.0.js"></script>
<script src="/static/js/wxshare.js?version=20220630"></script>
</html>
