Sunucu yanıtını kontrol edin

Sunucu yanıtı
NS kayıtları
Whois alanı
Yanıt başlıkları
İstek başlıkları
Ham HTML kodu
302 Found - dyaod.com
HTTP Status: 302
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
Date: Sat, 24 May 2025 02:05:33 GMT
Content-Type: text/html
Content-Length: 154
Connection: keep-alive
Location: https://dyaod.com/
Via: HTTP/1.1 SLB.28
date: Sat, 24 May 2025 02:05:34 GMT
content-type: text/html;charset=utf-8
vary: Accept-Encoding
vary: Accept-Encoding
vary: Accept-Encoding
tlogtraceid: 69311078256296575012864
tlogtraceid: 69311078256296579207168
content-language: en-US

HTTP Kodu 302 Bulundu (Geçici Olarak Taşındı)

302 durum kodu, istenen kaynağın geçici olarak farklı bir URL'de mevcut olduğunu gösterir.

Kod 302 ne zaman kullanılır?

  • Bir sayfa URL'sini geçici olarak değiştirirken
  • Yeni içerik test edilirken
  • Geçici bakım sırasında

Kod 302 kullanıcı için ne anlama geliyor?

Kullanıcı otomatik olarak yeni URL'ye yönlendirilir, ancak arama motorları eski adresi dizine eklemeye devam eder.

GET / HTTP/1.1
Host: dyaod.com
Accept: */*
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>点药达商城|一站式药品批发采购平台</title>
    <meta name="keywords" content="医药批发,医药采购,中西成药,中药材,医疗器械,免费ERP系统"/>
    <meta name="description" content="点药达医药平台以药品超市、控销专区、医院专区、药店配套、集中采购等专业频道,为药房、诊所、医院等提供定制化采购服务,为传统医药企业创造产业营销新渠道。"/>
    <link rel="shortcut icon" href="/static/yuncai/client/img/mate/bitbug_favicon.ico">
    <link rel="stylesheet" href="/static/yuncai/client/css/config.css?20241210"/>
    <link rel="stylesheet" href="/static/yuncai/client/css/style.css?20241217"/>
    <style>
        .dialog {position: fixed;top: 0;bottom: 0;left: 0;right: 0;z-index: 99;background: rgba(0, 0, 0, .6)}
        .dialog .box-content {padding: 20px;background: #fff;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 500px;}
        .dialog .box-content > .title {color: #333;font-size: 16px;font-weight: bold;margin-bottom: 20px;}
        .dialog .box-content > .middle {min-height: 40px;max-height: 100px;margin-bottom: 10px;overflow: auto;}
        .dialog .box-content > .middle::-webkit-scrollbar {width: 7px;}
        .dialog .box-content > .middle::-webkit-scrollbar-button {display: none}
        .dialog .box-content > .middle::-webkit-scrollbar-thumb {background: #EBEBEB;border-radius: 20px;}
        .dialog .box-content > .middle li {margin-bottom: 10px;color: #666666;font-size: 14px}
        .dialog .box-content > .bottom .left {float: left;color: #999;}
        .dialog .box-content > .bottom .right {float: right;}
        .layui-btn.btn {background: #0CB95F;}
        .check-wrap {position: relative;display: inline-block;vertical-align: middle;height: 24px;padding-left: 13px;line-height: 24px;font-size: 14px;color: #999;}
        .check-wrap > .icheck {opacity: 0;position: absolute;top: 0;left: 0;width: 16px;height: 16px;z-index: 1}
        .check-wrap > .ilabel {border-radius: 3px;cursor: pointer;display: block;position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
        .check-wrap > .ilabel:after {content: " ";margin-top: 4px;border: 1px solid #999;display: block;font-weight: bold;text-align: center;border-radius: 3px;width: 16px;height: 16px;line-height: 14px;}
        .check-wrap > .icheck:checked + .ilabel:after {content: "✓";border-color: #999;background-color: #fff;color: #0CB95F;}
        #updateBtn {border: 1px solid #0CB95F;color: #fff;width: 80px;border-radius: 4px;font-size: 14px;}
        #updateBtn:hover {opacity: .8;}
        .hide {display: none;}
        .ms-controller {visibility: hidden;}

        .double-twelve{width: 210px;height: 344px;position: absolute;right: 6px;top: 200px;z-index: 11;}
        .double-twelve .content{width: 166px;height: 234px;position: absolute;left: 22px;top: 60px;z-index: 13;overflow: hidden;}
        .double-twelve .content>ul{width: 166px;position: absolute;left: 0;top: 0;z-index: 14;}
        .double-twelve .content>ul>li{width: 166px;height: 28px;line-height: 28px;font-size: 12px;}
        .double-twelve .content>ul>li>p{width: 80px;color: #666;}
        .double-twelve .content>ul>li>b{width: 86px;display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;color: #EF3D3D;text-align: right;}
        .double-twelve .go-lucky-draw{width: 90px;height: 28px;position: absolute;right: 22px;bottom: 10px;z-index: 13;border-radius: 14px;background: #F93744;color: #FFF;font-size: 14px;line-height: 28px;text-align: center;cursor: pointer;}
        .double-twelve .close{position: absolute;left: 22px;bottom: 10px;z-index: 12;cursor: pointer;color: #F93744;background: #FFEFF0;width: 70px;height: 28px;height: 28px;text-align: center;line-height: 28px;border-radius: 14px;}
        /*强制公告弹窗*/
        #notice{position: fixed;top: 0; right: 0;bottom: 0; left: 0; overflow: auto; background: rgba(0,0,0,.7); z-index: 999}
        #notice .dialog{width: 620px; height: 460px; background-color: #fff; margin: 50px auto auto auto;}
        #notice .dialog .dialog_header{height: 40px; line-height: 40px; background-color: #F8F8F8; padding-left: 20px; color: #666;}
        #notice .dialog .dialog_body{height: 370px; width: 580px; overflow-y: auto; padding: 20px; color: #666;}
        #notice .dialog .dialog_body::-webkit-scrollbar{width: 3px;}
        #notice .dialog .dialog_body::-webkit-scrollbar-thumb{width: 3px; border-radius: 2px;background: #DEDEDE;}
        #notice .dialog .dialog_footer{background-color: #F8F8F8; text-align: right;}
        #notice .dialog .dialog_footer .btn{width: 168px; height: 30px; line-height: 30px; font-size: 12px; color: #fff; margin: 10px 20px 10px 0;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;}
        #notice .dialog .notice-content{width: 100%; word-break: break-all;}
        #notice .dialog .dialog_footer .btn.nomal{background-color: #CCCCCC}
        #notice .dialog .dialog_footer .btn.active{background-color: #26B7BC; cursor: pointer;}
        #notice .dialog .deliveryTime{color: #999999; font-size: 12px; margin-bottom: 15px;}
        #notice .dialog .notice-content{margin-bottom: 10px;}
        #notice .color-blue{color: #409eff}
        #notice .dialog .list{cursor: pointer;}
        #notice .dialog .list img{vertical-align: middle; margin-bottom: 5px; margin-right: 5px;}

        .ft-icon{height: 16px;font-size: 12px;color: #fff; line-height: 16px;border: 0; margin-top: 2px;border-radius: 2px;padding: 0 5px;margin-right: 5px;position: relative;}

        .top_more:hover{
            color:#666 !important
        }
        .pt20{
            padding-top: 20px !important;
        }
        .adv-v1 {width: 1200px;height: 140px;margin: 0 auto;padding-top: 10px;display: grid;grid-template-columns: repeat(4, 1fr);grid-template-rows: repeat(1, 1fr);grid-gap: 6px;}
        .adv-v1 > li {width: 100%;}
        .adv-v1 > li > img{width: 100%;height: 100%;border-radius: 5px;}
        .glb-bg {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            object-fit: cover;
        }
        /*    pc换皮*/
        .glb-bg{width: 100%;height: auto;}
        .leftSide{width: 64px;height: auto;position: absolute;background:#fff;right: 50%!important;top: 560px;margin-right: 620px!important;line-height: 16px;z-index: 10;border: 1px solid #ececec;}
        .indexSeckill li .name{margin:10px auto!important;}
        /*.indexSeckill li .img{width:160px!important;height:160px!important;}*/
        .indexSeckill-th li .price{text-align: center!important;padding-bottom: 30px!important;justify-content: center!important;}
        .listTopTimeSurplus p{padding:0!important;text-align: center!important;}
        #index-avalon .recommend ul.product li{height:325px!important;}
        .indexSeckill li .img>img.label_img{left: 20px!important;top: 7px!important;}
        .layui-layer-btn .layui-layer-btn0 {
            border: 1px solid #0CB95F !important;
            background: #0CB95F !important;
        }
        .barnarInfo .barnar .bodyImg img{border-radius: 8px;}
        #index-avalon .chain li .price b{font-size: 23px !important;}
        .indexSeckill li .img>img{margin:auto;}
        /*    pc换皮end*/

    </style>
<script type="text/javascript">
var basePath = '';
var image_website = 'https://ossprod.dyaod.com/';
</script>
<script src="/static/yuncai/client/js/jquery.js"></script>    <script src="/static/yuncai/client/js/pvuv.js"></script>
    <script type="text/javascript" src="/static/yuncai/client/avalon/avalon2.2.7.js"></script>
</head>
<style>
    .btn_group{
        display: flex;
        justify-content: center;
    }
</style>
<body class="background-F9FAFB">

<!-- 头部公共区域 start -->
<div id="topads">
</div>
<!-- 头部 -->
<!-- 头部公共区域 start -->
<link rel="stylesheet" href="/static/yuncai/client/css/style.css?20250506"/>
<style>
    .headSelect ul {
        max-height: 370px;
        overflow-y: auto;
    }

    .color-9-green {
        color: #0CB95F;
    }
</style>
<div class="headAll background-F9FAFB color-9">
    <div class="headBody body">
        <div class="headLeft relative">
                <span class="left">欢迎光临点药达!</span>
                <a href="/login" class="color-9 left">请登录</a>
                <a href="/register" class="color-v1-green left">免费注册</a>
        </div>
        <ul class="headRight">
            <li class="relative my_yuncai">
                <a href="/user/center" target="_blank" title="">我的点药达</a>
                <div class="sj"></div>
                <div class="my_yuncai_content background-white">
                    <div class="left mr40">
                        <div class="color-6 mb15">
                            <a href="/user/coupon/gotoMyCoupon" target="_blank"
                               class="color-9">我的优惠券</a>
                        </div>
                        <div class="color-6 mb15">
                            <a href="/user/pharmacy/gotoIndex" target="_blank"
                               class="color-9">药店管理</a>
                        </div>
                        <div class="color-6">
                            <a href="/user/myFootprint/gotoMyFootprint" target="_blank" class="color-9">我的足迹</a>
                        </div>
                    </div>
                    <div class="left">
                        <div class="color-6 mb15">
                            <a href="/user/certificatelist" target="_blank" class="color-9">资质管理</a>
                        </div>
                        <div class="color-6">
                            <a href="/user/message/gotoUserMessage" target="_blank" class="color-9 left">消息<span
                                        class="color-blue" id="smessagecount"></span></a>
                        </div>
                    </div>
                </div>
            </li>
            <li><a href="/order/list" target="_blank" title="">我的订单</a></li>
            <!--<li><a href="/sitemap/list">网站地图</a></li>-->
            <li class="relative down_phone" style="margin-left: 12px;">
                <a href="javascript:;" class="wap">
                    <div class="topImg" style="position: relative;">
                        <img style="position: absolute;left: -2px;top: 7px;"
                             src="/static/yuncai/client/img/index/header_phone_icon.png?20191223">
                    </div>
                    手机版
					<div class="wapCont" style="width: 242px;">
						<div class="left" style="margin-right: 10px;">
							<div>
								<img class="TwoWeiMa" src="/static/yuncai/client/img/index/dyaod_download.png" width="100" height="100" style="display: block"/>
							</div>
							<p class="text-center h5 color-9" style="line-height: 15px;">扫一扫</p>
							<p class="text-center h5 color-9" style="line-height: 15px;">下载点药达APP</p>
						</div>
						<div class="left" style="display:flex;align-items: center;justify-content: center;flex-direction: column;">
							<div>
								<img class="TwoWeiMa" src="/static/yuncai/client/img/index/dyaod_download_02.png" width="100" height="100" style="display: block"/>
							</div>
							<div class="text-center h5 color-9" style="line-height: 15px;">请使用手机浏览器扫一扫</div>
							<div class="text-center h5 color-9" style="line-height: 15px;">下载业务员APP</div>
						</div>

					</div>
                </a>
            </li>
                <li>
                    <a href="/user/feedback/list" target="_blank">建议反馈</a>
                </li>
            <li style="cursor: auto;">客服热线:18092169355</li>
        </ul>
    </div>
</div>
<style>
    .couponListTip-box {
        width: 100%;
        height: 100%;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 100;
        background: url("/static/yuncai/client/img/70.png");
    }

    .couponListTip-box .couponListTip {
        width: 420px;
        height: auto;
        position: absolute;
        left: 50%;
        top: 50%;
        margin-left: -210px;
        transform: translateY(-50%);
        background: #FFF;
        border-radius: 10px;
    }

    .couponListTip-box .couponListTip > ul {
        width: 405px;
        height: auto;
        margin: 0 auto;
        max-height: 230px;
        overflow-y: auto;
    }

    .couponListTip-box .couponListTip > ul::-webkit-scrollbar { /*滚动条整体样式*/
        width: 4px; /*高宽分别对应横竖滚动条的尺寸*/
        height: 4px;
        scrollbar-arrow-color: red;
    }

    .couponListTip-box .couponListTip > ul::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
        border-radius: 5px;
        -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
        background: rgba(0, 0, 0, 0.2);
        scrollbar-arrow-color: red;
    }

    .couponListTip-box .couponListTip > ul::-webkit-scrollbar-track { /*滚动条里面轨道*/
        -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
        border-radius: 0;
        background: rgba(0, 0, 0, 0.1);
    }

    .couponListTip-box .couponListTip > ul > li {
        width: 400px;
        height: 120px;
        position: relative;
        margin-top: -12px;
        overflow: hidden;
    }

    .couponListTip-box .couponListTip > ul > li:first-child {
        margin: 0;
    }

    .couponListTip-box .couponListTip > ul > li > img {
        display: block;
    }

    .couponListTip-box .couponListTip > ul > li .cont {
        width: 360px;
        height: auto;
        position: absolute;
        left: 32px;
        top: 25px;
    }

    .couponListTip-box .couponListTip > ul > li .cont .price > b {
        font-size: 32px;
        line-height: 42px;
    }

    .couponListTip-box .couponListTip > ul > li .cont .price > p {
        font-size: 16px;
        color: #585858;
    }

    .couponListTip-box .couponListTip > ul > li .cont .get {
        width: 16px;
        height: 66px;
        padding: 0 30px;
        border-left: dashed 1px #26B7BC;
        font-size: 16px;
    }

    .couponListTip-box .couponListTip .btn {
        width: 378px;
        height: 70px;
        padding: 0 21px;
    }

    .couponListTip-box .couponListTip .btn > button {
        width: 378px;
        height: 55px;
        border-radius: 28px;
        background: #26B7BC;
        color: white;
        cursor: pointer;
        font-size: 20px;
        border: 0;
    }

    .couponListTip-box .couponListTip .couponListTip-close {
        position: absolute;
        left: 195px;
        bottom: -60px;
        cursor: pointer;
    }
</style>
<script>
    $('.couponListTip-box .couponListTip').css('transform', 'transform: translateY(-50%)')
    $('.couponListTip-box .couponListTip>ul>li:first-child').css('margin', '0')

    function jumpSupplyIndex(shopid) {
        window.location.href = basePath + "/supply/gotoIndex?id=" + shopid;
    }

    var commonTimer = 90, // 滚动间隔
        orderLong = 1, // 一次滚动长度
        orderTop = 0 // 订单模块移动距离
    function play() {
        orderTop = orderTop - orderLong // 移动后的距离
        if (orderTop <= -252) { // 移动距离等于高度一半时,距离归0
            orderTop = 0
        }
        $('.realOrder').eq(0).find('ul').eq(0).css('top', orderTop + 'px')
        setTimeout(function () {
            play()
        }, commonTimer)
    }

    // 请求实时订单数据
    // $.ajax({
    // 	url: "/home/getRealTimeOrder",
    // 	type: "GET",
    // 	dataType: "JSON",
    // 	success: function (notify) {
    // 		let content = ""
    // 		notify.data.forEach(function (e) {
    // 			content += "<li><span class='left'>" + e.shopName + "</span><span class='right text-right'>¥"+ e.payAmount +"</span><p class='clear'></p></li>"
    // 		})
    // 		$(".realOrder-box ul").append(content).append(content)
    // 		$(".realOrder-box").removeClass("hide")
    // 		play()
    // 	}, error: function(notify) {
    // 	}
    // })

    $('.my_salesman').on('mouseenter', function () {
        var salesman_name = $('#salesman_name').html();
        if (!salesman_name) {
            $.ajax({
                url: basePath + '/user/findSalesmanInfo',
                type: 'get',
                dataType: 'json',
                success: function (rsp) {
                    console.info(rsp);
                    if (rsp.code == 1) {
                        var name = '', phone = ''
                        if (rsp.data.status == null) {
                            name = '暂无业务员'
                        } else {
                            if (rsp.data.status) {
                                name = rsp.data.name
                                phone = rsp.data.phone
                            } else {
                                name = '业务员已离职'
                            }
                        }
                        $("#salesman_name").html(name);
                        $("#salesman_phone").html(phone);
                    }
                },
                error: function (error) {

                }
            })
        }
    })

    // 搜索药店输入框 阻止冒泡
    function closeBubble() {
        window.event ? window.event.cancelBubble = true : e.stopPropagation()
    }

    var isSearchDrug = true // 判断是否执行搜索
    // 开始中文输入,不执行搜索
    document.addEventListener('compositionstart', function (e) {
        isSearchDrug = false
    })
    // 中文输入结束,可执行搜索
    document.addEventListener('compositionend', function (e) {
        isSearchDrug = true
    })

    // 触发keyup事件
    var isExecuteSearch = null

    function changeVal(e) {
        clearTimeout(isExecuteSearch)
        isExecuteSearch = setTimeout(function () {
            console.log(e.value, isSearchDrug)
            if (isSearchDrug) {
                searchDrug(e)
            }
        }, 30)
    }

    // 搜索药店输入框keyup事件
    function searchDrug(e) {
        var _this = $(e), // input对象
            val = _this.val(), // 输入的值
            list = _this.next().find('li') // 药店列表
        list.each(function (i, e) { // i-下标 e-药店li原生js对象
            var html = $(e).attr('data-title')
            if (html.indexOf(val) === -1) {
                $(e).addClass('hide')
            } else {
                if (val.length) { // input有值
                    var arr = html.split(val)
                    for (var i = 0; i < arr.length; i++) {
                        arr[i] = '<span style="color: #999;">' + arr[i] + '</span>'
                    }
                    var txt = '<span>' + val + '</span>'
                    var htmlStr = arr.join(txt)
                    $(e).html(htmlStr)
                } else {
                    $(e).html(html)
                }
                $(e).removeClass('hide')
            }
        })
    }

    // 药店点击事件,打开药店列表
    function openDrugList(e) {
        window.event ? window.event.cancelBubble = true : e.stopPropagation();
        var _this = $(e)
        if (_this.hasClass('active')) {
            _this.removeClass('active')
        } else {
            _this.addClass('active')
        }
    }

    // 点击药店
    function clickDrug(e) {
        var _this = $(e)
        if (!_this.hasClass('selected')) {
            var text = '您确定要更换到【' + _this.attr('data-title') + '】么?<br />更换后购物车、订单和优惠等数据也会切换为该药店的数据。'
            layer.confirm(text, {
                btn: ['确定', '取消'], //按钮
                title: '温馨提示',
                success: function () {
                    $(".layui-layer-btn0").css({
                        "background-color": "#0CB95F",
                        "border-color": "#0CB95F"
                    });
                }
            }, function (lay) {
                layer.close(lay) // 关闭弹框
                lis(_this) // 切换药店
            }, function () {

            })
        }
    }

    // 切换选中药店
    function lis(obj) {
        var _this = $(obj),
            _text = _this.attr('data-title'),
            _value = _this.attr('data-value'),
            old = _this.parent().siblings('span').attr('data-value');
        _this.parent().siblings('span').html(_text).attr('data-value', _value);
        if (_value != old) {
            selectshop(obj) // 切换药店-发送请求
        }
    }

    // 设置选中药店
    function getSelectDrug() {
        var headLi = $('.headSelect').find('li'),
            headNum = headLi.length,
            selectNum = 0;
        for (var i = 0; i < headNum; i++) {
            if (headLi.eq(i).hasClass('selected')) {
                selectNum = i;
            }
        }
        var old = headLi.eq(selectNum).attr('data-value'),
            sp = $('.headSelect').find('span').attr('data-value'),
            val = headLi.eq(selectNum).attr('data-title');
        $('.headSelect').find('span').html(val).attr('data-value', old)
    }

    getSelectDrug()

    $('.close-coupon').click(function () {
        $('.giftCoupon').hide();
    });
    $('.close-coupon-expire').click(function () {
        $('.expireCoupon').hide();
    });
    $('.couponCancel').click(function () {
        $('.couponExpires').hide();
        document.documentElement.style.overflowY = 'scroll';
    })

    //判断有几个优惠券
    var liSize = $('.couponList ul li').length;
    var isNotLogin = $("#isNotLogin").val();
    var isNotCoupon = $("#isNotCoupon").val();	//是否有优惠券	0优惠券	1没有优惠券
    var Money = $(".Money");
    var size = Money.length;
    for (var i = 0; i < size; i++) {
        if (Money.eq(i).html().length >= 5) {
            $(".Money").eq(i).addClass("indexFonts40");
            $(".Money").eq(i).removeClass("indexFonts");
        }
    }

    // alert(isNotLogin)
    // alert(isNotCoupon)
    //判断是否有优惠券
    if (isNotLogin == 0 && isNotCoupon == 0) {
        document.documentElement.style.overflowY = 'scroll';
    } else if (isNotLogin == 1 && isNotCoupon == 0) {  //已登录,没有优惠券
        $('.couponExpires').hide();
        document.documentElement.style.overflowY = 'scroll';
    } else if (isNotLogin == 1 && isNotCoupon == 1) {    //已登录,有优惠券
        //禁用滚动条
        document.documentElement.style.overflowY = 'hidden';
    } else {
    }

    if (liSize == 1) {
        $('.couponList ul').attr("class", "class1")
    }
    if (liSize == 2) {
        $('.couponList ul').attr("class", "class2")
    }
    if (liSize == 3) {
        $('.couponList ul').attr("class", "class3")
    }


    //    判断是否是手机打开
    var ua = navigator.userAgent;
    var ipad = ua.match(/(iPad).*OS\s([\d_]+)/),
        isIphone = !ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/),
        isAndroid = ua.match(/(Android)\s+([\d.]+)/),
        isMobile = isIphone || isAndroid
    // TODO 等IOS发布完成后打开下载,注意修改App Store 跳转地址
    isMobile = false
    //判断
    if (isMobile) {
        !(function (doc, win) {
            var docEle = doc.documentElement,
                evt = 'onorientationchange' in window ? 'orientationchange' : 'resize',
                fn = function () {
                    var width = docEle.clientWidth
                    docEle.style.fontSize = 100 * (width / 750) + 'px'
                }
            win.addEventListener(evt, fn, false)
            doc.addEventListener('DOMContentLoaded', fn, false)
        }(document, window))

        $('body').css('scroll', 'none')

        var str = '<div id="goWap" style="width: 100%;height: 100%;position: fixed;left: 0;top: 0;background: rgba(0, 0, 0, .7);z-index: 21;" onclick="closeMask()">' +
            '<div style="width: 80%;height: auto;position: absolute;left: 10%;top: 50%;transform: translateY(-50%);border-radius: .1rem;">' +
            '<img src="https://ossrelease.dyaod.com/static/yuncai/client/img/goWap-cont.png" onclick="window.event? window.event.cancelBubble = true : e.stopPropagation()" data-title="提示内容" style="width: 100%;display: block;" />' +
            '<img src="https://ossrelease.dyaod.com/static/yuncai/client/img/goWap-go.png" onclick="goWap()" data-title="确定" style="width: 100%;display: block;transform: translateY(-3px);" />' +
            '<img src="/static/yuncai/client/img/goWap-close.png" style="width: 100%;display: block;" onclick="closeMask()" data-title="关闭" />' +
            '</div>' +
            '</div>'

        $('body').append(str)

        // 尝试直接打开app
        setTimeout(function () {
            var u = navigator.userAgent
            var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1 //android终端
            var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) //ios终端
            if (isAndroid) {
                window.location.href = 'myapp://yuncai:8080/pathmain'
            }
            if (isiOS) {
                window.location.href = 'com.yuncai.app://oss.dyaod.com/yuncai'
            }
        }, 500)
    }

    function goWap() {
        window.event ? window.event.cancelBubble = true : e.stopPropagation()
        var u = navigator.userAgent
        var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1 //android终端
        var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) //ios终端
        if (isAndroid) {
            var localName = window.location.host
            var uri = ''
            switch (localName) {
                case 'www.dyaod.com':
                    uri = 'https://m.dyaod.com/download'
                    break
                case 'testclient.dyaod.com':
                    uri = 'https://testm.dyaod.com/download'
                    break
                default:
                    uri = 'http://m.yaoda.co/download'
                    break
            }
            window.location.href = uri
        }
        if (isiOS) {
            window.location.href = 'https://apps.apple.com/cn/app/id1440363220'
        }
    }

    function closeMask() {
        $('#goWap').remove()
    }

</script>
<!-- 头部公共区域 end -->
<!--顶部漂浮搜索框-->
<style>
    .ads_a {
        color: -webkit-link;
        cursor: pointer;
        color: #999;
    }

    .ads_a:hover {
        color: #0CB95F;
        text-decoration: underline;
    }

    .commodityAll .navType > li .detail::-webkit-scrollbar {
        width: 3px;
    }

    .commodityAll .navType > li .detail::-webkit-scrollbar-thumb {
        width: 3px;
        border-radius: 2px;
        background: #DEDEDE;
    }

    .newTag {
        padding: 0 4px;
        border: 1px solid #7698F5;
        color: #fff;
        margin-right: 10px;
        background: linear-gradient(90deg, #5c9bff 0%, #3f76fc 100%), #D8D8D8;;
    }

    .nav .commodityAll {
        background: linear-gradient(205deg, #0CB95F 0%, #0AC590 100%);
        border-radius: 10px 10px 0px 0px;
    }

    .commodityAll .navType > li .detail dt {
        width: 200px !important;
        font-size: 14px;
        font-weight: 100;
        margin-bottom: 10px;
    }

    .nav .Navigation {
        left: 6px;
    }
</style>
<div class="width-all background-white logo">
	<div class="body">
		<div class="logo_img">
			<a href="/">
				<img style="position: relative;top:-18px;" src="/static/yuncai/client/img/logo.png" width="217"
				     height="auto"/>
			</a>
		</div>
		<div class="logo_search">
			<div class="from">
				<form method="post" action="/product/list">
					<input type="hidden" name="searchType" value="0">
					<div class="inputs relative">
						<img src="/static/yuncai/client/img/index/search_icon.png"
						     style="position: absolute; top: 12px; left: 12px;" width="16" height="16"/>
						<input type="text" name="keyword" placeholder="药品/规格/货号/批准文号/厂家/供应商"
						       autocomplete="off" id="values" class="myValue" value=""/>
						<ul class="hide mylists">
							<li onclick="searchShop(this, 0) " class="dist">
								<img style="vertical-align: middle;" src="/static/yuncai/client/img/store.png"
								     class="marginLeft"/>
								<span style="color: #0CB95F;">搜索 "<span id="logoKeyword"></span>" 店铺</span>
							</li>
						</ul>
						<ul class="hide mylists two " id="search_list">
						</ul>
					</div>
					<button type="button" class="background-v1-green color-white custom-v1-search-btn"
					        onclick="searchPsku(this,0)">搜索
					</button>
					<div class="clear"></div>
				</form>
			</div>
					<ul class="Recommend h5">
						<li style="padding-left: 0;"><a class="ads_a" href="javascript:;"
						                                onclick="searchRecommend('肠宁炎片')">肠宁炎片</a>
						</li>
						<li><a class="ads_a" href="javascript:;"
						       onclick="searchRecommend('金银花露')">金银花露</a>
						</li>
						<li><a class="ads_a" href="javascript:;"
						       onclick="searchRecommend('复方板蓝根颗粒')">复方板蓝根颗粒</a>
						</li>
						<li><a class="ads_a" href="javascript:;"
						       onclick="searchRecommend('阿司匹林肠溶片')">阿司匹林肠溶片</a>
						</li>
						<li><a class="ads_a" href="javascript:;"
						       onclick="searchRecommend('风油精')">风油精</a>
						</li>
						<li><a class="ads_a" href="javascript:;"
						       onclick="searchRecommend('苯磺酸氨氯地平片')">苯磺酸氨氯地平片</a>
						</li>
					</ul>
		</div>
		<div class="logo_online ml10 left" style="display: flex;">
			<div class="shopping-cart relative color-v1-green pointer" onclick="verifyCustomerData('/cart/list')">
				<img src="/static/yuncai/client/img/index/car_icon.png"
				     style="position: absolute; top: 11px; left: 14px;" width="16" height="16"/>
				<div style="text-indent: 40px;font-size: 14px;">购物车</div>
				<span class="cart_num color-v1-green"></span>
				<span class="cart_num_point"></span>
			</div>
			<div class="shopping-apply relative color-blue pointer ml10" onclick="openMerchantApply()">
				<img src="/static/yuncai/client/img/index/apply.png"
				     style="position: absolute; top: 11px; left: 10px;" width="16" height="16"/>
				<div style="text-indent: 30px;margin-left: 10px;">商家入驻</div>
			</div>
		</div>
	</div>
</div>
<!--logo、搜索、联系方式 公共区域  end -->

<!--滑到一定高度显示 start-->
<div class="width-all background-white hSearch">
	<div class="body">
		<div class="hSearch_logo left">
			<a class="hSearch_logo_a" href="/"><img
								src="/static/yuncai/client/img/logo.png"/></a>
		</div>
		<div class="hSearch_search left">
			<form method="post" action="/product/list" target="_blank">
				<div class="inputs">
					<img src="/static/yuncai/client/img/index/search_icon.png"
					     style="position: absolute; top: 12px; left: 12px;" width="16" height="16"/>
					<input class="left border-none myValue " type="text" name="keyword" autocomplete="off"
					       placeholder="药品/规格/货号/批准文号/厂家/供应商" value="" id="hValues"/>
					<ul class="hide mylistss">
						<li onclick="searchShop(this, 1)" class="dist1">
							<img src="/static/yuncai/client/img/store.png" class="marginLeft"/>
							<span>搜索 "<span id="hSearchKeyword"></span>" 店铺</span>
						</li>
					</ul>
					<ul class="hide mylistss" id="search_list1">
					</ul>
				</div>
				<input type="text" style="display: none;"/>
				<button class="left border-none color-white" type="button" onclick="searchPsku(this,1)">搜索</button>
				<div class="shopping-cart ml10 left background-white relative color-blue pointer"
				     onclick="verifyCustomerData('/cart/list')">
					<img src="/static/yuncai/client/img/index/car_icon.png" width="16" height="16"/>
					<div style="text-indent: 10px;color: #0CB95F;box-sizing: border-box;">购物车</div>
					<span class="cart_num color-v1-green"></span>
					<span class="cart_num_point"></span>
				</div>
			</form>
					<ul class="Recommend h5 custom-hSearch-his">
						<li style="padding-left: 0;"><a class="ads_a" href="javascript:;"
						                                onclick="searchRecommend('肠宁炎片')">肠宁炎片</a>
						</li>
						<li><a class="ads_a" href="javascript:;"
						       onclick="searchRecommend('金银花露')">金银花露</a>
						</li>
						<li><a class="ads_a" href="javascript:;"
						       onclick="searchRecommend('复方板蓝根颗粒')">复方板蓝根颗粒</a>
						</li>
						<li><a class="ads_a" href="javascript:;"
						       onclick="searchRecommend('阿司匹林肠溶片')">阿司匹林肠溶片</a>
						</li>
						<li><a class="ads_a" href="javascript:;"
						       onclick="searchRecommend('风油精')">风油精</a>
						</li>
						<li><a class="ads_a" href="javascript:;"
						       onclick="searchRecommend('苯磺酸氨氯地平片')">苯磺酸氨氯地平片</a>
						</li>
					</ul>
		</div>
	</div>
</div>
<!--滑到一定高度显示 end-->

<!--导航 公共区域 start-->
<div class="width-all background-white nav">
	<div class="body relative">
		<div class="commodityAll background-v2-green color-white text-center" style="z-index: 11;">
			<img style="position: absolute; top: 13px; left: 18px;"
			     src="/static/yuncai/client/img/index/all_product_type_icon.png" width="16" height="16"/>
			全部商品分类
			<div class="navTypeWrap">
				<ul class="navType">
					<div style="height: 10px;" class="background-white"></div>
									<li class="navType_list1 color-3"
									    onclick="goProductList('/product/list?typeId=1')">
										<img width="36" height="36" class="icon_icon"
										     src="/static/yuncai/client/img/index20201117/v1-nav-icon-1.png">
										<div class="name-subname">
											<span>中西成药</span>
											<span class="subname-elc">
			                                        <span style="font-size: 10px;color: #666;">感冒用药&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">内外科用药&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">妇科用药&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">儿科用药&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">皮肤用药&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">心脑血管&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">五官用药&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">其他用药&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">保健药品&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">注射用药&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">肿瘤用药&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">清热解毒&nbsp;</span>
                                    </span>
										</div>
										<img width="16" height="16" class="icon_more" src="/static/yuncai/client/img/combing_right.png">


												<dl class="detail color-6 background-white" style="top: -19px"
												    onclick="window.event? window.event.cancelBubble = true : e.stopPropagation()">
													<!-- 热门分类 -->
															<div class="hotType">
                                            <span class="hotType-box left" style="cursor: auto;">
                                                <span class="hotType-name" style="">热门分类</span>
                                                <p class="clear"></p>
                                            </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=25')">
                                                    <span class="hotType-name" style="">感冒用药</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=45')">
                                                    <span class="hotType-name" style="">心血管药</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=27')">
                                                    <span class="hotType-name" style="">抗感染药</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=33')">
                                                    <span class="hotType-name" style="">骨科用药</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=28')">
                                                    <span class="hotType-name" style="">消化系统</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=34')">
                                                    <span class="hotType-name" style="">男科用药</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=26')">
                                                    <span class="hotType-name" style="">清热解毒</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=39')">
                                                    <span class="hotType-name" style="">儿童感冒</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=30')">
                                                    <span class="hotType-name" style="">糖尿病药</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=515')">
                                                    <span class="hotType-name" style="">注射用药</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																<p class="clear"></p>
															</div>

													<!-- 正常分类 -->
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=7"
																	   target="_blank">感冒用药</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=25')"
																					                    href="javascript: ;">感冒用药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=26')"
																					                    href="javascript: ;">清热解毒</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=27')"
																					                    href="javascript: ;">抗感染药</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=8"
																	   target="_blank">内外科用药</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=28')"
																					                    href="javascript: ;">消化系统</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=29')"
																					                    href="javascript: ;">呼吸系统</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=30')"
																					                    href="javascript: ;">糖尿病药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=31')"
																					                    href="javascript: ;">泌尿系统</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=32')"
																					                    href="javascript: ;">内分泌药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=33')"
																					                    href="javascript: ;">骨科用药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=34')"
																					                    href="javascript: ;">男科用药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=517')"
																					                    href="javascript: ;">内科用药</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=9"
																	   target="_blank">妇科用药</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=36')"
																					                    href="javascript: ;">洗剂</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=37')"
																					                    href="javascript: ;">栓剂</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=38')"
																					                    href="javascript: ;">妇科口服药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=516')"
																					                    href="javascript: ;">避孕药</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=10"
																	   target="_blank">儿科用药</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=39')"
																					                    href="javascript: ;">儿童感冒</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=40')"
																					                    href="javascript: ;">儿童止咳</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=41')"
																					                    href="javascript: ;">儿童消化</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=42')"
																					                    href="javascript: ;">儿科其他</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=11"
																	   target="_blank">皮肤用药</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=43')"
																					                    href="javascript: ;">皮肤外用药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=44')"
																					                    href="javascript: ;">皮肤口服药</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=12"
																	   target="_blank">心脑血管</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=45')"
																					                    href="javascript: ;">心血管药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=46')"
																					                    href="javascript: ;">血液系统</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=47')"
																					                    href="javascript: ;">神经系统</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=13"
																	   target="_blank">五官用药</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=48')"
																					                    href="javascript: ;">口咽用药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=49')"
																					                    href="javascript: ;">眼科用药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=50')"
																					                    href="javascript: ;">鼻科用药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=51')"
																					                    href="javascript: ;">耳科用药</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=14"
																	   target="_blank">其他用药</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=52')"
																					                    href="javascript: ;">止疼药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=53')"
																					                    href="javascript: ;">营养滋补</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=54')"
																					                    href="javascript: ;">免疫抑制剂</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=55')"
																					                    href="javascript: ;">生物制品</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=91')"
																					                    href="javascript: ;">维生素与矿物质</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=520')"
																					                    href="javascript: ;">药品辅料</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=96"
																	   target="_blank">保健药品</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=514"
																	   target="_blank">注射用药</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=515')"
																					                    href="javascript: ;">注射用药</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=518"
																	   target="_blank">肿瘤用药</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=35')"
																					                    href="javascript: ;">抗肿瘤药</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=519')"
																					                    href="javascript: ;">辅助性用药</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=527"
																	   target="_blank">清热解毒</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																</div>
																<div class="clear"></div>
															</div>
													<div class="clear"></div>
												</dl>
									</li>
									<li class="navType_list2 color-3"
									    onclick="goProductList('/product/list?typeId=472')">
										<img width="36" height="36" class="icon_icon"
										     src="/static/yuncai/client/img/index20201117/v1-nav-icon-2.png">
										<div class="name-subname">
											<span>医疗器械</span>
											<span class="subname-elc">
			                                        <span style="font-size: 10px;color: #666;">计生器械&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">医疗材料&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">中医器械&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">口腔器械&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">医疗设备&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">医用康复&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">家用康复&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">手术器械&nbsp;</span>
                                    </span>
										</div>
										<img width="16" height="16" class="icon_more" src="/static/yuncai/client/img/combing_right.png">


												<dl class="detail color-6 background-white" style="top: -82px"
												    onclick="window.event? window.event.cancelBubble = true : e.stopPropagation()">
													<!-- 热门分类 -->
															<div class="hotType">
                                            <span class="hotType-box left" style="cursor: auto;">
                                                <span class="hotType-name" style="">热门分类</span>
                                                <p class="clear"></p>
                                            </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=20')">
                                                    <span class="hotType-name" style="">避孕套</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=87')">
                                                    <span class="hotType-name" style="">棉签/纱布类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=88')">
                                                    <span class="hotType-name" style="">润滑/情趣用品类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=511')">
                                                    <span class="hotType-name" style="">吸引器械</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=89')">
                                                    <span class="hotType-name" style="">口罩类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=21')">
                                                    <span class="hotType-name" style="">验孕类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=90')">
                                                    <span class="hotType-name" style="">面罩/手套/防护服类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=484')">
                                                    <span class="hotType-name" style="">贴类器械</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=491')">
                                                    <span class="hotType-name" style="">监护仪</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=487')">
                                                    <span class="hotType-name" style="">中医器具</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																<p class="clear"></p>
															</div>

													<!-- 正常分类 -->
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=4"
																	   target="_blank">计生器械</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=20')"
																					                    href="javascript: ;">避孕套</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=21')"
																					                    href="javascript: ;">验孕类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=88')"
																					                    href="javascript: ;">润滑/情趣用品类</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=473"
																	   target="_blank">医疗材料</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=87')"
																					                    href="javascript: ;">棉签/纱布类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=89')"
																					                    href="javascript: ;">口罩类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=90')"
																					                    href="javascript: ;">面罩/手套/防护服类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=481')"
																					                    href="javascript: ;">器材类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=482')"
																					                    href="javascript: ;">注射输液类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=483')"
																					                    href="javascript: ;">敷料类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=484')"
																					                    href="javascript: ;">贴类器械</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=474"
																	   target="_blank">中医器械</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=486')"
																					                    href="javascript: ;">治疗仪器</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=487')"
																					                    href="javascript: ;">中医器具</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=475"
																	   target="_blank">口腔器械</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=489')"
																					                    href="javascript: ;">口腔材料类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=490')"
																					                    href="javascript: ;">口腔器具</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=476"
																	   target="_blank">医疗设备</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=491')"
																					                    href="javascript: ;">监护仪</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=493')"
																					                    href="javascript: ;">心电图机</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=494')"
																					                    href="javascript: ;">手术台</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=477"
																	   target="_blank">医用康复</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=495')"
																					                    href="javascript: ;">拐杖助行器类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=496')"
																					                    href="javascript: ;">医用轮椅车类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=497')"
																					                    href="javascript: ;">固定带</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=498')"
																					                    href="javascript: ;">助听器</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=500')"
																					                    href="javascript: ;">关节训练设备</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=478"
																	   target="_blank">家用康复</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=501')"
																					                    href="javascript: ;">呼吸机类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=502')"
																					                    href="javascript: ;">血压计类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=503')"
																					                    href="javascript: ;">血糖检测类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=504')"
																					                    href="javascript: ;">其他检测类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=505')"
																					                    href="javascript: ;">体温计类</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=480"
																	   target="_blank">手术器械</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=506')"
																					                    href="javascript: ;">切割器械</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=507')"
																					                    href="javascript: ;">缝合器械</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=508')"
																					                    href="javascript: ;">止血器械</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=509')"
																					                    href="javascript: ;">吻合器械</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=511')"
																					                    href="javascript: ;">吸引器械</a></dd>
																</div>
																<div class="clear"></div>
															</div>
													<div class="clear"></div>
												</dl>
									</li>
									<li class="navType_list3 color-3"
									    onclick="goProductList('/product/list?typeId=2')">
										<img width="36" height="36" class="icon_icon"
										     src="/static/yuncai/client/img/index20201117/v1-nav-icon-3.png">
										<div class="name-subname">
											<span>中药饮片</span>
											<span class="subname-elc">
			                                        <span style="font-size: 10px;color: #666;">贵细类&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">中药饮片&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">炮制辅料类&nbsp;</span>
                                    </span>
										</div>
										<img width="16" height="16" class="icon_more" src="/static/yuncai/client/img/combing_right.png">


												<dl class="detail color-6 background-white" style="top: -145px"
												    onclick="window.event? window.event.cancelBubble = true : e.stopPropagation()">
													<!-- 热门分类 -->
															<div class="hotType">
                                            <span class="hotType-box left" style="cursor: auto;">
                                                <span class="hotType-name" style="">热门分类</span>
                                                <p class="clear"></p>
                                            </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=61')">
                                                    <span class="hotType-name" style="">果实种子类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=60')">
                                                    <span class="hotType-name" style="">根茎类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=56')">
                                                    <span class="hotType-name" style="">粉末类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=57')">
                                                    <span class="hotType-name" style="">除粉末类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=62')">
                                                    <span class="hotType-name" style="">花类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=70')">
                                                    <span class="hotType-name" style="">其他类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=59')">
                                                    <span class="hotType-name" style="">炮制辅料类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=58')">
                                                    <span class="hotType-name" style="">炮制辅料类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																<p class="clear"></p>
															</div>

													<!-- 正常分类 -->
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=15"
																	   target="_blank">贵细类</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=56')"
																					                    href="javascript: ;">粉末类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=57')"
																					                    href="javascript: ;">除粉末类</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=16"
																	   target="_blank">中药饮片</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=60')"
																					                    href="javascript: ;">根茎类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=61')"
																					                    href="javascript: ;">果实种子类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=62')"
																					                    href="javascript: ;">花类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=70')"
																					                    href="javascript: ;">其他类</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=58"
																	   target="_blank">炮制辅料类</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=59')"
																					                    href="javascript: ;">炮制辅料类</a></dd>
																</div>
																<div class="clear"></div>
															</div>
													<div class="clear"></div>
												</dl>
									</li>
									<li class="navType_list4 color-3"
									    onclick="goProductList('/product/list?typeId=5')">
										<img width="36" height="36" class="icon_icon"
										     src="/static/yuncai/client/img/index20201117/v1-nav-icon-4.png">
										<div class="name-subname">
											<span>食品</span>
											<span class="subname-elc">
			                                        <span style="font-size: 10px;color: #666;">成人保健&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">儿童保健&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">普通食品&nbsp;</span>
                                    </span>
										</div>
										<img width="16" height="16" class="icon_more" src="/static/yuncai/client/img/combing_right.png">


												<dl class="detail color-6 background-white" style="top: -208px"
												    onclick="window.event? window.event.cancelBubble = true : e.stopPropagation()">
													<!-- 热门分类 -->
															<div class="hotType">
                                            <span class="hotType-box left" style="cursor: auto;">
                                                <span class="hotType-name" style="">热门分类</span>
                                                <p class="clear"></p>
                                            </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=92')">
                                                    <span class="hotType-name" style="">补益类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=93')">
                                                    <span class="hotType-name" style="">蛋白质类</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=94')">
                                                    <span class="hotType-name" style="">免疫调节</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=101')">
                                                    <span class="hotType-name" style="">减肥瘦身</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=100')">
                                                    <span class="hotType-name" style="">保健其它</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=103')">
                                                    <span class="hotType-name" style="">健胃消食</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=102')">
                                                    <span class="hotType-name" style="">维生素和矿物质</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=96')">
                                                    <span class="hotType-name" style="">保健药品</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=570')">
                                                    <span class="hotType-name" style="">儿科其它</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																<p class="clear"></p>
															</div>

													<!-- 正常分类 -->
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=22"
																	   target="_blank">成人保健</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=92')"
																					                    href="javascript: ;">补益类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=93')"
																					                    href="javascript: ;">蛋白质类</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=94')"
																					                    href="javascript: ;">免疫调节</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=100')"
																					                    href="javascript: ;">保健其它</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=101')"
																					                    href="javascript: ;">减肥瘦身</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=23"
																	   target="_blank">儿童保健</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=102')"
																					                    href="javascript: ;">维生素和矿物质</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=103')"
																					                    href="javascript: ;">健胃消食</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=570')"
																					                    href="javascript: ;">儿科其它</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=569"
																	   target="_blank">普通食品</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																</div>
																<div class="clear"></div>
															</div>
													<div class="clear"></div>
												</dl>
									</li>
									<li class="navType_list5 color-3"
									    onclick="goProductList('/product/list?typeId=6')">
										<img width="36" height="36" class="icon_icon"
										     src="/static/yuncai/client/img/index20201117/v1-nav-icon-5.png">
										<div class="name-subname">
											<span>非药品</span>
											<span class="subname-elc">
			                                        <span style="font-size: 10px;color: #666;">消毒类&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">其他&nbsp;</span>
			                                        <span style="font-size: 10px;color: #666;">其他商品&nbsp;</span>
                                    </span>
										</div>
										<img width="16" height="16" class="icon_more" src="/static/yuncai/client/img/combing_right.png">


												<dl class="detail color-6 background-white" style="top: -271px"
												    onclick="window.event? window.event.cancelBubble = true : e.stopPropagation()">
													<!-- 热门分类 -->
															<div class="hotType">
                                            <span class="hotType-box left" style="cursor: auto;">
                                                <span class="hotType-name" style="">热门分类</span>
                                                <p class="clear"></p>
                                            </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=104')">
                                                    <span class="hotType-name" style="">美容护肤</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=105')">
                                                    <span class="hotType-name" style="">日常用品</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=85')">
                                                    <span class="hotType-name" style="">消毒产品</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																		<span class="hotType-box left"
																		      onclick="goProductList('/product/list?typeId=108')">
                                                    <span class="hotType-name" style="">其他商品</span>
                                                    <img style="display: block;float: left;"
                                                         src="/static/yuncai/client/img/index/index-type-icon-right.png"
                                                         width="12" height="16">
                                                    <p class="clear"></p>
                                                </span>
																<p class="clear"></p>
															</div>

													<!-- 正常分类 -->
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=19"
																	   target="_blank">消毒类</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=85')"
																					                    href="javascript: ;">消毒产品</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=24"
																	   target="_blank">其他</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=104')"
																					                    href="javascript: ;">美容护肤</a></dd>
																					<dd class="left"><a class="color-6 h5" style="font-family: monospace;"
																					                    onclick="goProductList('/product/list?typeId=105')"
																					                    href="javascript: ;">日常用品</a></dd>
																</div>
																<div class="clear"></div>
															</div>
															<div>
																<dt class="left text-left">
																	<a class="color-3 b" href="/product/list?typeId=108"
																	   target="_blank">其他商品</a>
																	<img style="vertical-align: middle; margin-bottom: 5px;"
																	     src="/static/yuncai/client/img/index/type_left_arrow.png"
																	     width="16"
																	     height="16"/>
																</dt>
																<div class="left mb10" style="width: 750px;">
																</div>
																<div class="clear"></div>
															</div>
													<div class="clear"></div>
												</dl>
									</li>
					<div style="height: 10px;" class="background-white"></div>
				</ul>
			</div>

		</div>

        <ul class="Navigation color-3 text-center">
            <li id="navIndex" class="left"><a class="color-6" onclick="goProductList('/')"
                                              href="javascript: ;">点药达首页</a></li>
                <li class="left"><a class="color-6" href="/login">黄金果</a></li>
            <li class="left"><a class="color-6" onclick="goProductList('/supply/gotoCouponCenter')"
                                href="javascript: ;">领券中心</a></li>
            <li class="left"><a class="color-6" onclick="goProductList('/product/list?kind=1')"
                                href="javascript: ;">药品超市</a></li>
            <li class="left"><a class="color-6" onclick="goProductList('/product/list?kind=2')"
                                href="javascript: ;">高毛优选</a></li>
            <li class="left"><a class="color-6" onclick="goProductList('/supply/gotoBusiness')"
                                href="javascript: ;">合作商家</a></li>
            <li class="left"><a class="color-6" onclick="goProductList('/exchange/list')"
                                href="javascript: ;">换货专区</a></li>
            <li class="left"><a class="color-6" onclick="goProductList('/prefecture/listBody?pageSize=15')"
                                href="javascript: ;">活动专区</a></li>
            <li class="left"><a class="color-6" onclick="goProductList('/collect/goList?status=doing')"
                                href="javascript: ;">集采专区</a>
            </li>

			<!-- <li class="left"><a class="color-3">药店配套</a></li> -->
		</ul>

		<!-- 智能一键采购 -->
		<div class="right" style="width: 188px;height: 40px;">
			<img onclick="goProductList('/user/myPurchaseOrder/gotoMyPurchaseOrder')"
			     src="/static/yuncai/client/img/index20201117/index-smart-one-click-purchasing.png" class="pointer"
			     height="20" style="display: block;margin: 10px auto;">
		</div>
		<div class="clear"></div>
		<!--左侧商家列表-->

		<!--中间商品-->
		<!--右侧登录信息-->
	</div>
</div>
<script type="text/javascript">
    // 跳转商家入驻申请页
    function openMerchantApply() {
        // window.open('/web/html/merchantApply/merchantApply.html?' + new Date().valueOf(), '商家入驻申请')
        window.open(basePath + '/merchant/gotoJoin', '商家入驻申请')
    }

    function getCartCount() {
        $.ajax({
            url: '/cart/cartcount',
            type: 'post',
            headers: {'Content-Type': 'application/json;charset=utf8'},
            dataType: 'json',
            success: function (rsp) {
                console.log('rsp.......cartNum', rsp);
                if (rsp.code !== '-1') {
                    var cartNum = ((+rsp.cartcount) < 99) ? ('(' + rsp.cartcount + ')') : '(99)';
                    $('.cart_num').html(cartNum)
                    if (rsp.cartcount > 0) {
                        $('.cart_num_point').html('•')
                    } else {
                        $('.cart_num_point').html('')
                    }
                } else {
                    $('.cart_num').html('(0)')
                    $('.cart_num_point').html('')
                }
            }
        })
    }

    function goToOrder(status) {
        localStorage.setItem('orderStatus', status);
        window.open(basePath + "/order/list")
    }

    function formateAmount() {

    }

    $('img').error(function () {
        $(this).attr('src', '/static/yuncai/client/img/mate/noimg.png');
    });
    $(function () {
        var index = -1;

        getCartCount();//获取购物车数量
        $('.left_shop li:last-child').css('border-bottom', 'none')
        $('.commodityAll .navType .oneTypeAll').each(function () { //分类字超过2行显示...
            var text = $(this).html().replace(/\s+/g, "");
            if (text.length > 20) {
                text = text.substr(0, 20) + '...';
                $(this).html(text);
            }
        })
        $('.center_product  .product_name').each(function () { //轮播中间字超过2行显示...
            var text = $(this).html().replace(/\s+/g, "");
            if (text.length > 13) {
                text = text.substr(0, 13) + '...';
                $(this).html(text);
            }
        })
        $('.left_shop .couponInfoAmount').each(function () { //左侧满减金额处理
            var amount = '';
            var val = $(this).html().replace(/\s+/g, "");
            if (!!val) {
                var valArr = val.split('.');
                if (valArr.length > 1) {
                    //有小数点
                    if (Number(valArr[1]) > 0) {
                        amount = valArr[0] + '.' + valArr[1].substring(0, 1);
                    } else {
                        amount = valArr[0]
                    }
                } else {
                    amount = valArr[0]
                }
            } else {
                amount = '';
            }
            $(this).html(amount);
        })
        var limitAmount = $('.limitAmount');
        for (var i = 0; i < limitAmount.length; i++) {
            var amount = $(limitAmount[i]).text().split(".")[0]
            $(limitAmount[i]).text(amount)
        }
        $('.logo_search').find("form").find(".inputs").find("input[name=keyword]").on('keyup', function (e) {
            var keyCode = e.keyCode
            if (keyCode == 8) {
                index = -1
            }
            if (keyCode != 38 && keyCode != 40) {
                $(this).nextAll().removeClass("hide")
                var values = $(this).val();
                $("#logoKeyword").html(values);
                if (values != "") {
                    getTitleByKeyWord(values);
                }
                if (e.keyCode == 8 && values == "" || values == null) {
                    $(this).nextAll().addClass("hide")
                }
            }
        })

        $('.logo_search').find("form").find(".inputs").find("input[name=keyword]").on('keydown', function (e) {
            var list = document.getElementsByClassName("dist");
            console.log(e.keyCode)
            switch (e.keyCode) {
                case 38: {
                    if (index > 0 && index < list.length) {
                        index--;
                        $(".mylists").find("li").eq(index).css("background", "#eeeeee");
                        $(".mylists").find("li").eq(index).css("color", "#0CB95F");
                        $(".mylists").find("li").eq(index).focus();
                        $(".mylists").find("li").eq(index + 1).css("background", "white");
                        $(".mylists").find("li").eq(index + 1).css("color", "#666666");
                        $(".mylists").find("li").eq(index).blur();
                        var html = $(".mylists").find("li").find("span").eq(index + 1).html()
                        html = html.replaceAll('</b>', '')
                        html = html.replaceAll('<b class="color-v1-green">', '')
                        $("#values").val(html);
                    }
                    break;
                }
                case 40: {
                    if (index < list.length) {
                        index++;
                        $(".mylists").find("li").eq(index).css("background", "#eeeeee");
                        $(".mylists").find("li").eq(index).css("color", "#0CB95F");
                        $(".mylists").find("li").eq(index).focus();
                        $(".mylists").find("li").eq(index - 1).css("background", "white");
                        $(".mylists").find("li").eq(index - 1).css("color", "#666666");
                        $(".mylists").find("li").eq(index).blur();
                        if (index == list.length) {
                            $(".mylists").find("li").eq(0).css("background", "#eeeeee");
                            $(".mylists").find("li").eq(0).css("color", "#0CB95F");
                            $(".mylists").find("li").eq(0).focus();
                            index = 0;
                        }
                        var html = $(".mylists").find("li").find("span").eq(index + 1).html()
                        html = html.replaceAll('</b>', '')
                        html = html.replaceAll('<b class="color-v1-green">', '')
                        $("#values").val(html);
                    }
                    break;
                }
                case  13: {
                    if (index == 0) {
                        searchShop(this, 0)
                    } else {
                        searchPsku(this, 0)
                    }
                    break;
                }
            }
        })
        var index1 = -1;
        $('.hSearch_search').find("form").find(".inputs").find("input[name=keyword]").on('keyup', function (e) {
            var keyCode = e.keyCode
            if (keyCode == 8) {
                index1 = -1
            }
            if (keyCode != 38 && keyCode != 40 && keyCode != 39 && keyCode != 37) {
                $(this).nextAll().removeClass("hide")
                var values = $(this).val();
                if (values != "") {
                    getTitleByKeyWord1(values);
                }
                $("#hSearchKeyword").html(values);
                if (e.keyCode == 8 && values == "" || values == null) {
                    $(this).nextAll().addClass("hide")
                }
            }

        });

        $('.logo_search').find('form').find('.inputs').find("input[name=keyword]").focus(function (e) {
            $(this).next().removeClass('hide');
            $(this).next().next().removeClass('hide');
        })
        //失去焦点
        $("body").click(function (e) {
            if (!$(e.target).closest(".inputs").length) {
                $(".mylists").addClass('hide')
                $(".mylistss").addClass('hide')
            }
        })

        $('.hSearch_search').find('form').find('.inputs').find("input[name=keyword]").focus(function () {
            $(this).next().removeClass('hide');
            $(this).next().next().removeClass('hide');
        })
        $('.hSearch_search').find("form").find(".inputs").find("input[name=keyword]").on('keydown', function (e) {
            var list1 = document.getElementsByClassName("dist1");
            switch (e.keyCode) {
                case 38: {
                    if (index1 > 0 && index1 < list1.length) {
                        index1--;
                        $(".mylistss").find("li").eq(index1).css("background", "#eeeeee");
                        $(".mylistss").find("li").eq(index1).css("color", "#0CB95F");
                        $(".mylistss").find("li").eq(index1).focus();
                        $(".mylistss").find("li").eq(index1 + 1).css("background", "white");
                        $(".mylistss").find("li").eq(index1 + 1).css("color", "#666666");
                        $(".mylistss").find("li").eq(index1).blur();
                        var html = $(".mylistss").find("li").find("span").eq(index1 + 1).text()
                        $("#hValues").val(html);
                    }
                    break;
                }
                case 40: {
                    if (index1 < list1.length) {
                        index1++;
                        $(".mylistss").find("li").eq(index1).css("background", "#eeeeee");
                        $(".mylistss").find("li").eq(index1).css("color", "#0CB95F");
                        $(".mylistss").find("li").eq(index1).focus();
                        $(".mylistss").find("li").eq(index1 - 1).css("background", "white");
                        $(".mylistss").find("li").eq(index1 - 1).css("color", "#666666");
                        $(".mylistss").find("li").eq(index1).blur();
                        if (index1 == list1.length) {
                            $(".mylistss").find("li").eq(0).css("background", "#eeeeee");
                            $(".mylistss").find("li").eq(0).css("color", "#0CB95F");
                            $(".mylistss").find("li").eq(0).focus();
                            index1 = 0;
                        }
                        var html = $(".mylistss").find("li").find("span").eq(index1 + 1).text()
                        $("#hValues").val(html);
                    }
                    break;
                }
                case  13: {
                    if (index1 == 0) {
                        searchShop(this, 1)
                    } else {
                        searchPsku(this, 1)
                    }
                    break;
                }
            }
        })

        var Recommend = $(".Recommend li a")
        var lengh = Recommend.length;
        var values = $(".myValue").val();
        console.log(values)
        for (var i = 0; i < lengh; i++) {
            Recommend.eq(i).on('click', function () {
                var indexA = $(this).html()
                sessionStorage.setItem("indexA", indexA)
            })
        }


    })
    //鼠标滚轮事件
    $(document).on('mousewheel DOMMouseScroll', onMouseScroll);

    function onMouseScroll(e) {
        var wheel = e.originalEvent.wheelDelta || -e.originalEvent.detail;
        var delta = Math.max(-100, Math.min(100, wheel));

        if (delta < 0) {//向下滚动
        } else {//向上滚动
            // $('.hSearch_search').find("form").find(".inputs").find("input[name=keyword]").val("") //注释是因为搜索导航logo的时候向下滑动,第一次有值,向上滑动再向下滑动就没有值了的问题
            $('.hSearch_search').find("form").find(".inputs").find("input[name=keyword]").nextAll().addClass("hide")
        }
    }


    function searchPsku(_this, num) {
        var _parent = $(_this).parent().parent().parent();
        var _form = _parent.find("form");
        var _values = $(".myValue").eq(num).val();
        if (_values === "" || _values.trim().length === 0) {
            layer.msg("请输入搜索内容");
            return false;
        } else {
            sessionStorage.setItem("_values", _values);
            _form.attr("action", basePath + "/product/list?keyword=" + encodeURI(_values) + "");
            _form.submit();
        }
    }

    function searchPsku1(_this, num, keyword) {
        var _parent = $(_this).parent().parent().parent().parent();
        var _form = _parent.find("form");
        $(".myValue").eq(num).val(keyword);
        sessionStorage.setItem("_values", keyword);
        _form.attr("action", basePath + "/product/list?keyword=" + encodeURI(keyword) + "");
        _form.submit();
    }

    function searchShop(_this, num) {
        var _parent = $(_this).parent().parent().parent().parent().parent().parent();
        var _form = _parent.find("form");
        var _values = $(".myValue").eq(num).val();
        sessionStorage.setItem("_values", _values);
        _form.attr("action", basePath + "/supply/gotoBusiness");
        _form.submit();
    }

    function getTitleByKeyWord(keyword) {
        var url = basePath + "/product/getPskuTileByKeyWordMap";
        $.ajax({
            type: "POST",
            url: url,
            dataType: "JSON",
            data: {"keyword": keyword},
            success: function (data) {
                $("#search_list").html("");
                if (data.code == 1) {
                    // var result = eval("("+data.msg+")");
                    var result = data.msg;
                    for (var i = 0; i < result.length; i++) {
                        if (result[i].itemType === 1) {
                            // $("#search_list").append("<li class=\"dist\" onclick=\"searchPsku1(this, 0,'"+result[i].name+"')\"><span>"+replaceName(result[i].name, keyword)+"</span><span class=\"newTag\">"+result[i].itemTypeDesc+"</span> </li>").focus();

                            $("#search_list").append("<li class=\"dist\" onclick=\"searchPsku1(this, 0,'" + result[i].name + "')\"><span class=\"newTag\">" + result[i].itemTypeDesc + "</span><span>" + replaceName(result[i].name, keyword) + "</span></li>").focus();

                        } else {
                            $("#search_list").append("<li class=\"dist\" onclick=\"searchPsku1(this, 0,'" + result[i].name + "')\"><span>" + replaceName(result[i].name, keyword) + "</span> </li>").focus();
                        }
                    }
                }
            },
            error: function (notify) {
                layer.msg(notify.msg);
            }
        })
    }

    function getTitleByKeyWord1(keyword) {
        var url = basePath + "/product/getPskuTileByKeyWordMap";
        $.ajax({
            type: "POST",
            url: url,
            dataType: "JSON",
            data: {"keyword": keyword},
            success: function (data) {
                $("#search_list1").html("");
                if (data.code == 1) {
                    // var result = eval("("+data.msg+")");
                    var result = data.msg;
                    console.log('result1', result)
                    for (var i = 0; i < result.length; i++) {
                        $("#search_list1").append("<li class=\"dist1\" onclick=\"searchPsku1(this, 1,'" + result[i] + "')\"><span>" + replaceName(result[i], keyword) + "</span> </li>").focus();
                    }
                }
            },
            error: function (notify) {
                layer.msg(notify.msg);
            }
        })
    }

    function replaceName(str, keyword) {
        str = str.replaceAll(keyword, '<b class="color-v1-green">' + keyword + '</b>')
        return str
    }

    // 推荐搜索的跳转
    function searchRecommend(param) {
        window.location.href = "/product/list?keyword=" + encodeURI(param) + "";
    }

    //点击跳转
    function goProductList(url) {
        event.stopPropagation() // 阻止冒泡
        sessionStorage.removeItem('_values')
        window.open(url)
    }
</script>

<!--领取pc优惠券成功弹窗-->
<div class="get-coupons-box pc-coupon">
    <div class="get-coupon-info">
        <div class="head">
            <span class="center">领取成功</span>
            <img class="right close-pc-coupon" onclick="closeCouponPop()" src="/static/yuncai/client/img/close_gray.png" />
            <div style="clear: both;"></div>
        </div>
        <div class="info">
            <p style="color: #FC3B3B;">恭喜您,领券成功!</p>
            <span class="center custom-sec">
                <span class="count-num">5</span>秒后自动关闭
            </span>
        </div>
        <div class="box-foot coupon-popup-foot" style="margin-top:30px;">
            <div onclick="gotoMyCoupon()" class="btn my-coupon">我的优惠券</div>
            <div onclick="useCoupon()" data-id="0" data-type="0" class="btn immediate-use">立即使用</div>
        </div>
    </div>
</div>
<!--领取app优惠券成功弹窗-->
<div class="get-coupons-box app-coupon">
    <div class="app-coupon">
        <div class="close-app-coupon"><img class="right" src="/static/yuncai/client/img/close_gray.png" /></div>
        <img src="/static/yuncai/client/img/new-coupon/app-location.png" />
    </div>
</div>
<script type="text/javascript">
    function gotoMyCoupon(){
        window.location.href = basePath+"/user/coupon/gotoMyCoupon";
    }
    function useCoupon(){
        //立即使用优惠券
        var id = $('.pc-coupon .immediate-use').attr('data-id');
        $.ajax({
            type: "POST",
            url: basePath + "/coupon/gotoUseCoupon",
            dataType: "JSON",
            data: {
                'id': id
            },
            success: function (data) {
                if (data.shopid >= 0) {
                    if(data.shopid == 0 && data.usePlatformType == 2){
                        $('.pc-coupon').hide();
                        $('.app-coupon').show();
                    }else{
                        window.open(basePath+"/coupon/gotoIndex?id="+id)
                    }
                }else{
                    layer.msg("优惠券已失效");
                }
            }
        });
    }

    function closeCouponPop() {
        $('.pc-coupon').hide()
    }
</script>
<!-- 头部公共区域 end -->

<img class="glb-bg" src="https://ossprod.dyaod.com/static/yuncai/client/img/v2_home_bg.png" alt="bg">

<!-- 弹屏广告 -->

<!-- 首页barnar start -->
<div class="width-all" style="background: transparent;">
    <div style="width: 1200px;height: 300px;margin: 0 auto;padding-top: 10px;" class="barnarInfo">
        <div class="left" style="width: 200px;height: 100%;">&nbsp;</div>

        <div class="module left" style="width: 790px;margin-left: 10px;">
            <div class="barnar">
                <ul class="bodyImg">
                            <li>
                                <a onclick="vm.skipUrl('/product/list?kind=1')" target="_blank">
                                    <img onerror="this.src='/static/yuncai/client/img/mate/noimg.png'"
                                         src="https://ossprod.dyaod.com/supply/2025/5/13/3ac72e9c-cecc-4c15-a834-f8312635e231.jpg" width="1200" height="485"/>
                                </a>
                            </li>
                            <li>
                                <a onclick="vm.skipUrl('/product/groupProductList')" target="_blank">
                                    <img onerror="this.src='/static/yuncai/client/img/mate/noimg.png'"
                                         src="https://ossprod.dyaod.com/supply/2025/5/15/5c1d7b3b-ee62-41e4-8699-20a26996091d.jpg" width="1200" height="485"/>
                                </a>
                            </li>
                            <li>
                                <a onclick="vm.skipUrl('/supply/gotoBusiness')" target="_blank">
                                    <img onerror="this.src='/static/yuncai/client/img/mate/noimg.png'"
                                         src="https://ossprod.dyaod.com/supply/2025/5/14/ce893dc8-0c86-46b8-b42b-a3f59f414275.jpg" width="1200" height="485"/>
                                </a>
                            </li>
                </ul>
                <ul class="barnarNav"></ul>
                <div class="prve"></div>
                <div class="next"></div>
            </div>
        </div>

        <div class="right right_login show" style="width: 191px;">
            <div class="login_info relative">
                    <div class="img">
                        <img src="/static/yuncai/client/img/index20201117/coupon_supply_icon.png" width="80" height="80">
                    </div>
                    <div class="text-center h5 color-3" style="padding: 12px 0;">Hi~<p>欢迎来到点药达医药平台</p></div>
                    <div class="btn background-v1-green">
                        <a href="/login" class="color-white left text-center">登录</a>
                    </div>
                    <div class="btn background-v1-lightgreen" style="margin-top: 8px;">
                        <a href="/register" class="color-v1-green left text-center">注册</a>
                    </div>
                <div class="function_area pt20">
                    <ul class="btn_group">
                        <li class="left text-center pointer">
                                <a class="h5 color-9-v1" href="/login">
                                    <img src="/static/yuncai/client/img/index20201117/loginInfo-icon-1.png"
                                         width="34" height="34">
                                    <div>消息</div>
                                </a>
                        </li>
                        <li class="left text-center pointer">
                                <a class="h5 color-9-v1" href="/login">
                                    <img src="/static/yuncai/client/img/index20201117/loginInfo-icon-3.png"
                                         width="34" height="34">
                                    <div>客服</div>
                                </a>
                        </li>
                        <p class="clear"></p>
                    </ul>
                </div>
            </div>
        </div>
        <p class="clear"></p>
    </div>
        <ul class="adv-v1">
                <li class="left img pointer"><img onclick="vm.skipUrl('/supply/gotoIndex?id=1000031')"
                                          src="https://ossprod.dyaod.com/supply/2025/1/9/006a0364-dac0-4066-b4aa-414d92184ebe.jpg"
                                          onerror="this.src='/static/yuncai/client/img/mate/noimg.png'"
                                          alt="陕西云仓"></li>
                <li class="left img pointer"><img onclick="vm.skipUrl('/supply/gotoIndex?id=1000036')"
                                          src="https://ossprod.dyaod.com/supply/2025/5/16/49ef0a2f-f481-44e8-a9f9-9a4564fccdb1.jpg"
                                          onerror="this.src='/static/yuncai/client/img/mate/noimg.png'"
                                          alt="云南云仓"></li>
                <li class="left img pointer"><img onclick="vm.skipUrl('/supply/gotoIndex?id=1000033')"
                                          src="https://ossprod.dyaod.com/supply/2025/3/26/90dcf2fc-195d-4f2d-bacb-9d154e584e12.jpg"
                                          onerror="this.src='/static/yuncai/client/img/mate/noimg.png'"
                                          alt="浙江云仓"></li>
                <li class="left img pointer"><img onclick="vm.skipUrl('/supply/gotoIndex?id=1000032')"
                                          src="https://ossprod.dyaod.com/supply/2025/3/26/19905870-3f99-45bc-b9e4-6c374fe2534b.jpg"
                                          onerror="this.src='/static/yuncai/client/img/mate/noimg.png'"
                                          alt="江苏云仓"></li>
            <li class="clear"></li>
        </ul>
</div>
<!-- 首页barnar end -->

<!-- 首页  start -->
<div class="index width-all" style="background: transparent;">
    <div id="giftCoupon">

    </div>
    <!--优惠券赠送提示-->
    <div id="expireCoupon">

    </div>
    <!--优惠券到期提示-->
    <!-- 公告信息 start -->
    <style>
        .notice{width: 1200px;height: 46px;margin: 20px auto 0;border-radius: 8px;border: 1px solid #83EAB4;}
        .notice .title{width: 160px;height: 46px;background: #FFF;border-radius: 8px 0 0 8px;position: relative;}
        .notice .title>img{display: block;margin: 11px auto 0 auto;}
        .notice .title:after{content: '';position: absolute;right: 0;top: 14px;display: block;width: 1px;height: 18px;background: #DDD;}
        .notice .cont{width: 920px;height: 46px;padding: 0 10px;}
        .notice .cont .contText{width: 800px;height: 46px;line-height: 46px;overflow: hidden;position: relative;}
        .notice .cont .contText ul{position: absolute;left: 0;top: 0;width: 795px;padding-left: 5px;}
        .notice .cont .contText ul li{width: 795px;height: 46px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}
        .notice .cont .contText ul li>img{margin: 8px 5px 0 0;}
        .notice .more{width: 100px;line-height: 46px;border-radius: 0 8px 8px 0;}
        .notice .more>span{margin-left: 20px;font-size: 13px;}
        .notice .more>img{margin-left: 5px;}
    </style>
    <div class="notice">
        <div class="title left"><img src="/static/yuncai/client/img/index20201117/index-notice-logo3.png" width="75" height="24"></div>
        <div class="cont left background-white">
            <div class="contText left">
                <ul>
                    <li class="pointer" onclick="goNoticeDetail(161)">
                        药品&nbsp;|&nbsp;云南省药品监督管理局关于云南七福药业有限公司暂停经营的通告(2025年 第14号
                    </li>
                    <li class="pointer" onclick="goNoticeDetail(159)">
                        药品&nbsp;|&nbsp;江苏省关于注销药品经营许可证的公告
                    </li>
                    <li class="pointer" onclick="goNoticeDetail(157)">
                        器械&nbsp;|&nbsp;济南尚润通达复合材料有限公司对远红外理疗贴主动召回
                    </li>
                    <!-- 需要两个,是为了滚动的时候不会从上往下滚,为了滚动连续性 -->
                            <li class="pointer" onclick="goNoticeDetail(161)">
                                药品&nbsp;|&nbsp;云南省药品监督管理局关于云南七福药业有限公司暂停经营的通告(2025年 第14号
                            </li>
                            <li class="pointer" onclick="goNoticeDetail(159)">
                                药品&nbsp;|&nbsp;江苏省关于注销药品经营许可证的公告
                            </li>
                            <li class="pointer" onclick="goNoticeDetail(157)">
                                器械&nbsp;|&nbsp;济南尚润通达复合材料有限公司对远红外理疗贴主动召回
                            </li>
                </ul>
            </div>
            <p class="clear"></p>
        </div>
        <div class="more right pointer background-white" style="height: 100%;box-sizing: border-box;" onclick="goMore()">
            <span class="color-9-v1">查看更多</span>
            <img src="/static/yuncai/client/img/mate/detail-right.png" width="6" height="11">
        </div>
        <p class="clear"></p>
    </div>
    <script>
        var noticeTime = 3000, // 滚动间隔
            noticeLong = 46, // 一次滚动长度
            noticeTop = 0 // 订单模块移动距离
        // 时间函数
        function noticePlay () {
            noticeTop = noticeTop - noticeLong // 移动后的距离
            $('.notice').eq(0).find('ul').eq(0).animate({'top': noticeTop + 'px'}, 1000, function () {
                // 过度动画结束再重新计算时间
                setTimeout(function () {
                    noticePlay()
                }, noticeTime)
            })
            if (noticeTop <= -34*4) { // 移动距离等于高度一半时,距离归0
                noticeTop = 0
                $('.notice').eq(0).find('ul').eq(0).animate({'top': noticeTop + 'px'}, 0)
            }
        }
        // 当只有一个公告的时候不执行滚动
        if ($('.notice').eq(0).find('ul').find('li').length > 1) {
            noticePlay()
        }

        // 更多,跳转列表
        function goMore() {
            window.open('/findAnnouncementPage')
        }

        // 跳转详情
        function goNoticeDetail(id) {
            window.open('/findAnnouncementById?id=' + id)
        }
    </script>
    <!-- 公告信息 end -->

    <div class="seckillContentList">
        <div class="clear"></div>
    </div>


        <!-- 活动专区 -->
        <div class="body pt20">
            <div class="indexActivity">
                <div class="activity-zone">
                    <img class="activity-zone-title" src="/static/yuncai/client/img/20241206Home/activity_zone_title_img.png" width="300" height="80" >
                    <ul class="activeUl"><!-- 最多6个 -->
                            <li class="left pointer pt20" onclick="vm.skipUrl('/supply/gotoCouponCenter')">
                                <img src="https://ossprod.dyaod.com/supply/2025/4/11/44987e3c-e8cf-4a38-a1d2-ba0d94d09f22.png"
                                     alt="超值组合" onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                            </li>
                            <li class="left pointer pt20" onclick="vm.skipUrl('https://dyaod.com/exchange/list')">
                                <img src="https://ossprod.dyaod.com/supply/2025/4/10/b9d6a7d4-61a9-49a6-b6fa-e62df33365b2.png"
                                     alt="换购专区" onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                            </li>
                            <li class="left pointer pt20" onclick="vm.skipUrl('/product/list?kind=1')">
                                <img src="https://ossprod.dyaod.com/supply/2025/4/10/5ae017b5-c637-49ea-b682-561166f3bc8a.png"
                                     alt="药品超市" onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                            </li>
                            <li class="left pointer pt20" onclick="vm.skipUrl('https://dyaod.com/product/list?typeId=472')">
                                <img src="https://ossprod.dyaod.com/supply/2025/4/10/bf1797ff-1362-433f-9520-0b00aa129bfc.png"
                                     alt="器械专区" onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                            </li>
                            <li class="left pointer pt20" onclick="vm.skipUrl('https://dyaod.com/product/list?typeId=2')">
                                <img src="https://ossprod.dyaod.com/supply/2025/4/10/ab8b41be-a4db-4564-90ec-8c118de33a0b.jpg"
                                     alt="中药饮片" onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                            </li>
                            <li class="left pointer pt20" onclick="vm.skipUrl('/supply/gotoBusiness')">
                                <img src="https://ossprod.dyaod.com/supply/2025/4/10/eb02c51a-19f5-4c28-965d-e987d4842499.png"
                                     alt="合作商家" onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                            </li>
                    </ul>
                </div>
            </div>
        </div>

    <div class="body" ms-controller="indexAvalon" id="index-avalon">
        <!-- 腰图广告1 -->
        <div class="waistImg pt20 pointer" :if="loadActity && data.waistList && data.waistList.length >= 1">
            <img width="1200" height="90" :click="skipUrl(data.waistList[0].linkUrl)"
                 :attr="{'src': 'https://ossprod.dyaod.com/' + data.waistList[0].imageUrl}"
                 onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
        </div>

        <!-- 腰图广告2 -->
        <div class="waistImg pt20 pointer" :if="loadActity && data.waistList && data.waistList.length >= 2">
            <img width="1200" height="90" :click="skipUrl(data.waistList[1].linkUrl)"
                 :attr="{'src': 'https://ossprod.dyaod.com/' + data.waistList[1].imageUrl}"
                 onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
        </div>

        <!-- 腰图广告3 -->
        <div class="waistImg pt20 pointer" :if="loadActity && data.waistList && data.waistList.length >= 3">
            <img width="1200" height="90" :click="skipUrl(data.waistList[2].linkUrl)"
                 :attr="{'src': 'https://ossprod.dyaod.com/' + data.waistList[2].imageUrl}"
                 onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
        </div>

        <div class="body pt20 hide group-goods-list">
            <div class="waistImg pt20 pointer">
                <img width="1200" height="220" onclick="goGroupProduct()"
                     src="https://ossprod.dyaod.com/static/yuncai/client/img/group_index_bg.gif">
            </div>
        </div>

        <!-- 商学院 -->

        <!-- 终端高毛 -->
        <div class="body productHigh terminal-gm" :if="loadActity && data.newRetailList && data.newRetailList.length > 0">
            <div class="terminal-gm-title">
                <span class="gm-title">终端高毛</span>
                <span class="gm-title-more" :click="goProductList('newRetail')">查看更多</span>
            </div>
            <ul class="indexSeckill gm-list">
                <li class="pointer left" :for="item in data.newRetailList" :click="productDetail(item.id)">
                    <div class="img">
                        <img width="160" height="160" :attr="{src: 'https://ossprod.dyaod.com/' + item.imageUrl}" onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                        <!-- 商家标签 -->
                        <img class="label_img" :if="item.supplyLabel" :attr="{src: 'https://ossprod.dyaod.com/' + item.supplyLabel}" width="160" height="160"/>
                        <!-- 平台标签 -->
                        <img class="label_img" :if="item.platformLabel" :attr="{src: 'https://ossprod.dyaod.com/' + item.platformLabel}" width="160" height="160"/>
                    </div>
                    <div class="name color-3 text-center">
                        <span :if="item.supplierType === 'SELF_EMPLOYED'" class="ft-icon" style="background: linear-gradient( 90deg, rgba(20, 134, 255, 1) 0%, rgba(0, 60, 255, 1) 100%), #D8D8D8;margin:0;">旗舰</span>
                        <span :if="item.supplierType === 'FLAGSHIP'" class="ft-icon" style="background: linear-gradient( 90deg, #9638F5 0%, #EB2F96 100%), #D8D8D8;">优质</span>
                        <span class="color-3" style="position: relative;">{{ item.name }}</span>
                    </div>
                    <div class="price text-center" style="width: auto;">
                        <span :if="item.userStatus === 'NORMAL'" class="color-0CB95F b h3" style="font-size: 18px;">¥{{ item.price }}&nbsp;</span>
                        <!-- 未登录 -->
                        <span :if="item.userStatus === 'NOT_LOGIN'" class="color-red b">&nbsp;点药达价登录可见</span>
                        <!-- 未认证 -->
                        <span :if="item.userStatus === 'UNVERIFIED'" class="color-red b ">&nbsp;点药达价认证可见</span>
                    </div>
                </li>
                <p class="clear"></p>
            </ul>
        </div>

        <!-- 连锁优选 -->
        <div class="body productHigh chain-box" :if="loadActity && data.chainList && data.chainList.length > 0">
            <div class="chain-box-title">
                <span class="chain-title">加盟优选</span>
                <span class="chain-box-title-more pointer" :click="goProductList('chain')">查看更多</span>
            </div>
            <ul class="chain">
                <li class="left pointer background-white" :for="item in data.chainList" :click="productDetail(item.id)">
                    <div class="img">
                        <img width="160" height="160" :attr="{src: 'https://ossprod.dyaod.com/' + item.imageUrl}"
                             onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                        <img class="label_img" :if="item.supplyLabel"
                             :attr="{src: 'https://ossprod.dyaod.com/' + item.supplyLabel}" width="160" height="160"/>
                        <!-- 商家标签 -->
                        <img class="label_img" :if="item.platformLabel"
                             :attr="{src: 'https://ossprod.dyaod.com/' + item.platformLabel}" width="160" height="160"/>
                        <!-- 平台标签 -->
                    </div>
                    <div class="name color-3 text-center">
                        <span :if="item.supplierType === 'SELF_EMPLOYED'" class="ft-icon" style="background: linear-gradient( 90deg, rgba(20, 134, 255, 1) 0%, rgba(0, 60, 255, 1) 100%), #D8D8D8;margin:0;">旗舰</span>
                        <span :if="item.supplierType === 'FLAGSHIP'" class="ft-icon" style="background: linear-gradient( 90deg, #9638F5 0%, #EB2F96 100%), #D8D8D8;">优质</span>
                        {{ item.name }}
                    </div>
                    <div class="price text-center" :if="item.userStatus === 'NORMAL'">
                        <span class="color-0CB95F b">¥</span>
                        <b class="color-0CB95F">{{ item.price }}</b>
                    </div>
                    <!-- 未登录 -->
                    <div class="price text-center" :if="item.userStatus === 'NOT_LOGIN'"><span
                                class="color-red b">点药达价登录可见</span></div>
                    <!-- 未认证 -->
                    <div class="price text-center" :if="item.userStatus === 'UNVERIFIED'"><span
                                class="color-red b">点药达价认证可见</span></div>
                </li>
                <p class="clear"></p>
            </ul>
        </div>

        <!-- 药房热销 -->
        <div class="body productHigh chain-box pharmacy" :if="loadActity && data.pharmacyList && data.pharmacyList.length > 0">
            <div class="chain-box-title">
                <span class="chain-title pharmacy-title">药房热卖</span>
                <span class="chain-box-title-more pointer" :click="goProductList('hot')">查看更多</span>
            </div>
            <ul class="chain">
                <li class="left pointer background-white" :for="item in data.pharmacyList" :click="productDetail(item.id)">
                    <div class="img">
                        <img width="160" height="160" :attr="{src: 'https://ossprod.dyaod.com/' + item.imageUrl}"
                             onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                        <img class="label_img" :if="item.supplyLabel"
                             :attr="{src: 'https://ossprod.dyaod.com/' + item.supplyLabel}" width="160" height="160"/>
                        <!-- 商家标签 -->
                        <img class="label_img" :if="item.platformLabel"
                             :attr="{src: 'https://ossprod.dyaod.com/' + item.platformLabel}" width="160" height="160"/>
                        <!-- 平台标签 -->
                    </div>
                    <div class="name color-3 text-center">
                        <span :if="item.supplierType === 'SELF_EMPLOYED'" class="ft-icon" style="background: linear-gradient( 90deg, rgba(20, 134, 255, 1) 0%, rgba(0, 60, 255, 1) 100%), #D8D8D8;margin:0;">旗舰</span>
                        <span :if="item.supplierType === 'FLAGSHIP'" class="ft-icon" style="background: linear-gradient( 90deg, #9638F5 0%, #EB2F96 100%), #D8D8D8;">优质</span>
                        {{ item.name }}
                    </div>
                    <div class="price text-center" :if="item.userStatus === 'NORMAL'">
                        <span class="color-0CB95F b">¥</span>
                        <b class="color-0CB95F">{{ item.price }}</b>
                    </div>
                    <!-- 未登录 -->
                    <div class="price text-center" :if="item.userStatus === 'NOT_LOGIN'"><span
                                class="color-red b">点药达价登录可见</span></div>
                    <!-- 未认证 -->
                    <div class="price text-center" :if="item.userStatus === 'UNVERIFIED'"><span
                                class="color-red b">点药达价认证可见</span></div>
                </li>
                <p class="clear"></p>
            </ul>
        </div>

        <!-- 诊所畅销 -->
        <div class="body productHigh chain-box clinic" :if="loadActity && data.clinicList && data.clinicList.length > 0">
            <div class="chain-box-title">
                <span class="chain-title clinic-title">诊所畅销</span>
                <span class="chain-box-title-more pointer" :click="goProductList('clinic')">查看更多</span>
            </div>
            <ul class="chain">
                <li class="left pointer background-white" :for="item in data.clinicList" :click="productDetail(item.id)">
                    <div class="img">
                        <img width="160" height="160" :attr="{src: 'https://ossprod.dyaod.com/' + item.imageUrl}"
                             onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                        <img class="label_img" :if="item.supplyLabel"
                             :attr="{src: 'https://ossprod.dyaod.com/' + item.supplyLabel}" width="160" height="160"/>
                        <!-- 商家标签 -->
                        <img class="label_img" :if="item.platformLabel"
                             :attr="{src: 'https://ossprod.dyaod.com/' + item.platformLabel}" width="160" height="160"/>
                        <!-- 平台标签 -->
                    </div>
                    <div class="name color-3 text-center">
                        <span :if="item.supplierType === 'SELF_EMPLOYED'" class="ft-icon" style="background: linear-gradient( 90deg, rgba(20, 134, 255, 1) 0%, rgba(0, 60, 255, 1) 100%), #D8D8D8;margin:0;">旗舰</span>
                        <span :if="item.supplierType === 'FLAGSHIP'" class="ft-icon" style="background: linear-gradient( 90deg, #9638F5 0%, #EB2F96 100%), #D8D8D8;">优质</span>
                        {{ item.name }}
                    </div>
                    <div class="price text-center" :if="item.userStatus === 'NORMAL'">
                        <span class="color-0CB95F b">¥</span>
                        <b class="color-0CB95F">{{ item.price }}</b>
                    </div>
                    <!-- 未登录 -->
                    <div class="price text-center" :if="item.userStatus === 'NOT_LOGIN'"><span
                                class="color-red b">点药达价登录可见</span></div>
                    <!-- 未认证 -->
                    <div class="price text-center" :if="item.userStatus === 'UNVERIFIED'"><span
                                class="color-red b">点药达价认证可见</span></div>
                </li>
                <p class="clear"></p>
            </ul>
        </div>

        <!-- 工厂直供 -->
        <div class="body productHigh chain-box factory" :if="loadActity && data.manufacturerList && data.manufacturerList.length > 0">
            <div class="chain-box-title">
                <span class="chain-title factory-title">工厂直供</span>
                <span class="chain-box-title-more pointer" :click="goProductList('plant')">查看更多</span>
            </div>
            <ul class="chain">
                <li class="left pointer background-white" :for="item in data.manufacturerList"
                    :click="productDetail(item.id)">
                    <div class="img">
                        <img width="160" height="160" :attr="{src: 'https://ossprod.dyaod.com/' + item.imageUrl}"
                             onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                        <img class="label_img" :if="item.supplyLabel"
                             :attr="{src: 'https://ossprod.dyaod.com/' + item.supplyLabel}" width="160" height="160"/>
                        <!-- 商家标签 -->
                        <img class="label_img" :if="item.platformLabel"
                             :attr="{src: 'https://ossprod.dyaod.com/' + item.platformLabel}" width="160" height="160"/>
                        <!-- 平台标签 -->
                    </div>
                    <div class="name color-3 text-center">
                        <span :if="item.supplierType === 'SELF_EMPLOYED'" class="ft-icon" style="background: linear-gradient( 90deg, rgba(20, 134, 255, 1) 0%, rgba(0, 60, 255, 1) 100%), #D8D8D8;margin:0;">旗舰</span>
                        <span :if="item.supplierType === 'FLAGSHIP'" class="ft-icon" style="background: linear-gradient( 90deg, #9638F5 0%, #EB2F96 100%), #D8D8D8;">优质</span>
                        {{ item.name }}
                    </div>
                    <div class="price text-center" :if="item.userStatus === 'NORMAL'">
                        <span class="color-0CB95F b">¥</span>
                        <b class="color-0CB95F">{{ item.price }}</b>
                    </div>
                    <!-- 未登录 -->
                    <div class="price text-center" :if="item.userStatus === 'NOT_LOGIN'"><span
                                class="color-red b">点药达价登录可见</span></div>
                    <!-- 未认证 -->
                    <div class="price text-center" :if="item.userStatus === 'UNVERIFIED'"><span
                                class="color-red b">点药达价认证可见</span></div>
                </li>
                <p class="clear"></p>
            </ul>
        </div>

        <!-- 新零售 -->
        <ul class="chain pt20" :if="false && loadActity && data.newRetailList && data.newRetailList.length > 0">
            <li class="left pointer" :click="goProductList('newRetail')">
                <img src="/static/yuncai/client/img/index20201117/index-left-big-newRetail.png" width="200" height="256"
                     alt="">
            </li>
            <li class="left pointer background-white" :for="item in data.newRetailList"
                :click="productDetail(item.id)">
                <div class="img">
                    <img width="160" height="160" :attr="{src: 'https://ossprod.dyaod.com/' + item.imageUrl}"
                         onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                    <img class="label_img" :if="item.supplyLabel"
                         :attr="{src: 'https://ossprod.dyaod.com/' + item.supplyLabel}" width="160" height="160"/>
                    <!-- 商家标签 -->
                    <img class="label_img" :if="item.platformLabel"
                         :attr="{src: 'https://ossprod.dyaod.com/' + item.platformLabel}" width="160" height="160"/>
                    <!-- 平台标签 -->
                </div>
                <div class="name color-3 text-center">
                    <span :if="item.supplierType === 'SELF_EMPLOYED'" class="ft-icon" style="background: linear-gradient( 90deg, rgba(20, 134, 255, 1) 0%, rgba(0, 60, 255, 1) 100%), #D8D8D8;margin:0;">旗舰</span>
                    <span :if="item.supplierType === 'FLAGSHIP'" class="ft-icon" style="background: linear-gradient( 90deg, #9638F5 0%, #EB2F96 100%), #D8D8D8;">优质</span>
                    {{ item.name }}
                </div>
                <div class="price text-center" :if="item.userStatus === 'NORMAL'">
                    <span class="color-0CB95F b">¥</span>
                    <b class="color-0CB95F">{{ item.price }}</b>
                </div>
                <!-- 未登录 -->
                <div class="price text-center" :if="item.userStatus === 'NOT_LOGIN'"><span
                            class="color-red b">点药达价登录可见</span></div>
                <!-- 未认证 -->
                <div class="price text-center" :if="item.userStatus === 'UNVERIFIED'"><span
                            class="color-red b">点药达价认证可见</span></div>
            </li>
            <p class="clear"></p>
        </ul>

        <!-- top商品 -->
        <div :if="loadTopProduct && producToptList.length" class="recommend topShop">
            <a href="/prefecture/top/list" target="_blank" class="top-shop-more">查看更多</a>
            <div class="cont top-shop-content">
                <ul class="product">
                    <li class="left pointer mt10 background-white color-9" :for="list in producToptList"
                        :click="productDetail(list.id)">
                        <div class="img">
                            <img width="160" height="160" :attr="{src: 'https://ossprod.dyaod.com/' + list.imageUrl}"
                                 onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                            <img class="label_img" :if="list.supplyLabel"
                                 :attr="{src: 'https://ossprod.dyaod.com/' + list.supplyLabel}" width="160"
                                 height="160"/><!-- 商家标签 -->
                            <img class="label_img" :if="list.platformLabel"
                                 :attr="{src: 'https://ossprod.dyaod.com/' + list.platformLabel}" width="160"
                                 height="160"/><!-- 平台标签 -->
                        </div>
                        <div class="price" :if="list.userStatus === 'NORMAL'">
                            <span class="color-0CB95F b">¥</span>
                            <b class="color-0CB95F">{{ list.price }}</b>
                        </div>
                        <!-- 未登录 -->
                        <div class="price color-red b" :if="list.userStatus === 'NOT_LOGIN'">点药达价登录可见</div>
                        <!-- 未认证 -->
                        <div class="price color-red b" :if="list.userStatus === 'UNVERIFIED'">点药达价认证可见</div>
                        <div class="name b color-3">
                            <span :if="list.supplierType === 'SELF_EMPLOYED'" class="ft-icon" style="background: linear-gradient( 90deg, rgba(20, 134, 255, 1) 0%, rgba(0, 60, 255, 1) 100%), #D8D8D8;margin:0;">旗舰</span>
                            <span :if="list.supplierType === 'FLAGSHIP'" class="ft-icon" style="background: linear-gradient( 90deg, #9638F5 0%, #EB2F96 100%), #D8D8D8;">优质</span>
                            {{ list.name }}
                        </div>
                        <div class="specification">规格:{{ list.specifications  || '--' }}</div>
                        <div class="manufacturers">厂家:{{ list.manufacturer || '--'  }}</div>
                        <div class="shopName">
                            <img class="left" width="14" height="12"
                                 src="/static/yuncai/client/img/20241206Home/icon-supply.png" alt="">
                            <span>{{ list.supplyName }}</span>
                        </div>
                    </li>
                    <p class="clear"></p>
                </ul>
            </div>
        </div>

        <!-- 推荐商品 -->
        <div :if="loadProduct && productList.length && (productList[0].adsList.length || productList[0].productList.length)" class="recommend pt20">
            <div class="title text-center" style="margin-bottom: 34px;">
                <img src="/static/yuncai/client/img/20241206Home/recommend_title_img.png" width="328" height="50" alt="">
            </div>
            <div class="cont pt10" :if="productList.length > 0" :for="item in productList">
                <ul class="adv pt10" :if="item.adsList.length > 0">
                    <li class="" :for="list in item.adsList">
                        <img class="pointer" :click="skipUrl(list.linkUrl)"
                             :attr="{src: 'https://ossprod.dyaod.com/' + list.imageUrl}"
                             onerror="this.src='/static/yuncai/client/img/mate/noimg.png'" width="400" height="171">
                    </li>
                    <p class="clear"></p>
                </ul>
                <ul class="product" :if="item.productList.length > 0">
                    <li class="left pointer mt10 background-white color-9" :for="list in item.productList"
                        :click="productDetail(list.id)">
                        <div class="img">
                            <img width="160" height="160" :attr="{src: 'https://ossprod.dyaod.com/' + list.imageUrl}"
                                 onerror="this.src='/static/yuncai/client/img/mate/noimg.png'">
                            <img class="label_img" :if="list.supplyLabel"
                                 :attr="{src: 'https://ossprod.dyaod.com/' + list.supplyLabel}" width="160"
                                 height="160"/><!-- 商家标签 -->
                            <img class="label_img" :if="list.platformLabel"
                                 :attr="{src: 'https://ossprod.dyaod.com/' + list.platformLabel}" width="160"
                                 height="160"/><!-- 平台标签 -->
                        </div>
                        <div class="price" :if="list.userStatus === 'NORMAL'">
                            <span class="color-0CB95F b">¥</span>
                            <b class="color-0CB95F">{{ list.price }}</b>
                        </div>
                        <!-- 未登录 -->
                        <div class="price color-red b" :if="list.userStatus === 'NOT_LOGIN'">点药达价登录可见</div>
                        <!-- 未认证 -->
                        <div class="price color-red b" :if="list.userStatus === 'UNVERIFIED'">点药达价认证可见</div>
                        <div class="name b color-3">
                            <span :if="list.supplierType === 'SELF_EMPLOYED'" class="ft-icon" style="background: linear-gradient( 90deg, rgba(20, 134, 255, 1) 0%, rgba(0, 60, 255, 1) 100%), #D8D8D8;margin:0;">旗舰</span>
                            <span :if="list.supplierType === 'FLAGSHIP'" class="ft-icon" style="background: linear-gradient( 90deg, #9638F5 0%, #EB2F96 100%), #D8D8D8;">优质</span>
                            {{ list.name }}
                        </div>
                        <div class="specification">规格:{{ list.specifications }}</div>
                        <div class="manufacturers">厂家:{{ list.manufacturer }}</div>
                        <div class="manufacturers" >效期:{{sampToDate(list.expireTime)}}</div>
                        <div class="shopName">
                            <img class="left" width="14" height="12"
                                 src="/static/yuncai/client/img/20241206Home/icon-supply.png" alt="">
                            <span>{{ list.supplyName }}</span>
                        </div>
                    </li>
                    <p class="clear"></p>
                </ul>
            </div>
        </div>


        <!-- 右侧导航 start -->
        <div class="leftSide">
            <ul>
                <li id="indexActivity" onclick="checkScroll(this)">活动<br/>中心</li>
                <li id="productHigh" :if="loadProduct && data.newRetailList && data.newRetailList.length > 0" onclick="checkScroll(this)">热销<br/>分类
                </li>
                <li id="recommend" :if="loadProduct && productList.length > 0" onclick="checkScroll(this)">常购<br/>商品</li>
                <li class="salesman">
                    <img src="/static/yuncai/client/img/20241206Home/index-salesman.png"
                         width="13" height="14">
                    业务员
                </li>
                    <li class="service" onclick="window.location.href = '/login'">
                        <img src="/static/yuncai/client/img/20241206Home/index-icon-service.png"
                             width="16" height="16">
                        客服
                    </li>

                <li onclick="feedBack()">
                    <img src="/static/yuncai/client/img/20241206Home/index-icon-feedback.png"
                         width="16" height="16">
                    反馈
                </li>
                <li onclick="goTop()">
                    <img class="black" src="/static/yuncai/client/img/index20201117/index-icon-goTop-black.png"
                         width="16" height="16">
                    <img class="white" src="/static/yuncai/client/img/index20201117/index-icon-goTop-white.png"
                         width="16" height="16">
                    顶部
                </li>
            </ul>
        </div>
        <!-- 右侧导航 end -->

        <!-- 双十二抽奖滚动 -->
        <div class="double-twelve hide" :if="isShowHistory">
            <img class="top" src="/static/yuncai/client/img/shuang12/double-twelve.png" width="210" height="344">
            <div class="content">
                <ul>
                    <li :for="item in scrollList">
                        <p class="left">{{ item.userAddressName }}</p>
                        <b class="right">{{ item.lotteryPrizeName }}</b>
                    </li>
                    <li :for="item in scrollList">
                        <p class="left">{{ item.userAddressName }}</p>
                        <b class="right">{{ item.lotteryPrizeName }}</b>
                    </li>
                </ul>
            </div>
            <div class="close" :click="isShowHistory = false">关闭</div>
            <div class="go-lucky-draw" onclick="luckyDraw()">马上去抽奖</div>
        </div>
    </div>
</div>
<!-- 首页  end -->
<!-- 底部公共区域 start -->
<!-- 侧边栏 公共区域 start -->
            <a class="proposal color-white" style="cursor: pointer;opacity: 0;" href="/login">客服</a>

        <p class="color-white hide" id="luckyDraw" style="cursor: pointer;position: fixed;right: 50px;bottom: 20%;width: 160px;z-index: 999;" onclick="luckyDraw()">

        </p>

<!-- 侧边栏 公共区域 end -->
<!-- 底部公共区域 start -->
<div class="footer_body"></div>
<div class="footer text-center">
    <div class="bottom" style="background-color: #FFFFFF;" id="foot-bottom-box">
        <ul class="body">
            <li class="left">
                <div class="left imgBody">
                    <img class="left" src="/static/yuncai/client/img/20241206Home/footer_small1.png" width="85" height="85" />
                </div>
                <div class="left imgBody text-left li-text">
                    <p class="color-3 mt6 b" style="font-size: 20px;">药监认证</p>
                    <p class="color-3 h5 b" style="font-size: 16px;">药监认证、值得信赖</p>
                </div>
            </li>
            <li class="left">
                <div class="left imgBody">
                    <img class="left" src="/static/yuncai/client/img/20241206Home/footer_small2.png" width="85" height="85" />
                </div>
                <div class="left imgBody text-left li-text">
                    <p class="color-3 mt6 b" style="font-size: 20px;">正品保障</p>
                    <p class="color-3 h5 b" style="font-size: 16px;">正品保障、提供发票</p>
                </div>
            </li>
            <li class="left">
                <div class="left imgBody">
                    <img class="left" src="/static/yuncai/client/img/20241206Home/footer_small3.png" width="85" height="85" />
                </div>
                <div class="left imgBody text-left li-text">
                    <p class="color-3 mt6 b" style="font-size: 20px;">品类齐全</p>
                    <p class="color-3 h5 b" style="font-size: 16px;">品类齐全、快捷选购</p>
                </div>
            </li>
            <li class="left">
                <div class="left imgBody">
                    <img class="left" src="/static/yuncai/client/img/20241206Home/footer_small4.png" width="85" height="85" />
                </div>
                <div class="left imgBody text-left li-text">
                    <p class="color-3 mt6 b" style="font-size: 20px;">精致服务</p>
                    <p class="color-3 h5 b" style="font-size: 16px;">精致服务、售后无忧</p>
                </div>
            </li>
        </ul>
    </div>
    <div class="last text-center color-9" style="padding: 20px 0;height: auto;background-color: #FFFFFF;">
        <div>
            <a href="javascript:;" onclick="helpContent(128)" class="color-9">买家认证</a><b>|</b>
            <a href="javascript:;" onclick="helpContent(101)" class="color-9">点药达规则</a><b>|</b>
            <a href="javascript:;" onclick="helpContent(100)" class="color-9">投诉维权</a><b>|</b>
            <a href="http://cyberpolice.mps.gov.cn/wfjb" class="color-9">互联网违法犯罪举报</a><b>|</b>
            <a href="javascript:;" onclick="helpContent(99)" class="color-9">发票信息</a><b>|</b>
            <a href="javascript:;" onclick="helpContent(98)" class="color-9">支付途径</a><b>|</b>
            <a href="javascript:;" onclick="helpContent(97)" class="color-9">售后服务</a><b>|</b>
            <a href="javascript:;" onclick="helpContent(96)" class="color-9">配送说明</a><b>|</b>
            <a href="javascript:;" onclick="helpContent(123)" class="color-9">关于我们</a>
        </div>
        <div style="padding-top:5px;">
            <span>
                 <a target="_blank" href="https://www.nmpa.gov.cn/" style="color:#939393;">药监查询</a>
            </span>
            <span onclick="window.open('https://ossprod.dyaod.com/idcard/idcard_business_license.jpg')" style="cursor: pointer;">
                <img src="/static/yuncai/client/img/mate/BusinessLicense.png" style="margin-bottom: -4px" />
                营业执照
            </span>
            <span onclick="window.open('https://ossprod.dyaod.com/idcard/idcard_internet_medicine.jpg')" style="cursor: pointer;">互联网药品信息服务资格证书</span>
            <span onclick="window.open('https://beian.miit.gov.cn/')" style="cursor: pointer;">备案号:陕ICP备2024046231号-2</span>
            <span onclick="window.open('https://ossprod.dyaod.com/idcard/idcard_drug_transaction.jpg')" style="cursor: pointer;">药品网络交易第三方平台备案信息号:(陕)网药平台备字(2024)第000009-001号</span>
        </div>
        <div>
            <span onclick="window.open('https://ossprod.dyaod.com/idcard/idcard_medica_trading.jpg')"
                  class="pointer" title="医疗器械网络交易服务第三方平台备案凭证">医疗器械网络交易服务第三方平台备案凭证号:(陕)网械平台备字(2024)第00003号</span>
            <span onclick="window.open('https://ossprod.dyaod.com/idcard/idcard_tele_service.jpg')" class="pointer">增值电信业务经营许可证:陕B2-20240292</span>
            <span>
                <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=61011202000931"
                    style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
                    <img src="/static/yuncai/client/img/mate/recordIcon.png" style="float:left;margin-top: 5px"/>
                    <p style="float:left;height:20px;line-height:30px;margin: 0px 0px 0px 5px; color:#939393;">陕公网安备 61011202000931号</p>
                </a>
            </span>
            <span style="position: relative;margin-right: 5px;">
                <img style="position: absolute;left: 0;" width="20" src="/static/yuncai/client/img/gshdimg_logo.png?20200929" />
            </span>
            <span style="padding-left: 15px;">陕西省网络食品交易平台备案凭证:陕网食备111012</span>
        </div>
        <div style="padding-top: 5px;">
            <span>联系我们:18092169355</span>
            <span>投诉举报:18092169355</span>
            <span>Copyright©2017&nbsp;-&nbsp;2025 陕西点药达网络信息科技有限公司 版权所有</span>
        </div>

    </div>
</div>
<div class="clear"></div>
<!-- 底部公共区域 end -->

<script src="/static/yuncai/client/js/pvuv.js"></script>
<script type="text/javascript">
    // 登录页面不展示
    if(window.location.href.indexOf('/login') > -1) {
        $('#foot-bottom-box').addClass('hide');
        $('.footer_body').height(120);
        $('.footer').height(120);
    }
    if(window.location.href.indexOf('/register') > -1) {
        $('#foot-bottom-box').addClass('hide');
        $('.footer_body').height(120);
        $('.footer').height(120);
    }
    $(function () {
    })

    function helpContent(id) {
        location.href = basePath + "/help/list?aid=" + id;
    }
    function isLuckyDraw() {
        $.ajax({
            url: basePath +'/lottery/lotteryEntrance',
            type: 'post',
            dataType: 'json',
            success: function (rsp) {
                if(rsp.data) {
                    var img = $('<img>').attr('src', image_website + rsp.data.entranceIcon).attr('width', '100%')
                    $('#luckyDraw').append(img).removeClass('hide')
                }
            },
            error: function (error) {

            }
        })
    }
    isLuckyDraw() // 是否显示抽奖入口
</script>
<!-- 底部公共区域 end -->

<!--操作指引-->

<!--资质到期提醒-->
<div class="dialog hide">
    <div class="box-content">
        <div class="title">资质临期/到期提示</div>
        <div class="middle">
            <ul>
                <li></li>
            </ul>
        </div>
        <div class="bottom">
            <div class="left">
                <div class="check-wrap">
                    <input type="checkbox" class="icheck" id="noRemind" name="remind"/>
                    <label for="noRemind" class="ilabel"></label>&nbsp;&nbsp;不在提示
                </div>
            </div>
            <div class="right">
                <button type="button" class="layui-btn btn" id="updateBtn">去更新</button>
            </div>
            <div style="clear: both;"></div>
        </div>
    </div>
</div>
<!-- 强制公告 -->
<!--js-->
<!--<script type="text/javascript" src="/static/yuncai/client/js/jquery.js"></script>-->
<script type="text/javascript" src="/static/yuncai/client/js/jquery.colorbox-min.js" class="library"></script>
<script type="text/javascript" src="/static/yuncai/client/js/fangdajing.js" class="library"></script>
<script src="/static/yuncai/client/layer/layer.js"></script>
<script type="text/javascript" src="/static/yuncai/client/js/style.js?2019120320190902"></script>
<script type="text/javascript" src="/static/yuncai/client/js/public.js?20210630"></script>
<script>
    // 更多秒杀商品
    function moreSecondKill() {
        window.open("/seckill/list")
    }

    // 更多top商品
    function moreTopPage() {
        window.open("/top/list")
    }

    // 跳转集采列表
    function moreCollect() {
        window.open("/collect/goList?status=doing")
    }

    // 跳转集采列表
    function goGroupProduct() {
        window.open("/product/groupProductList")
    }

    // 监听刷新前事件,用于刷新后返回顶部
    window.addEventListener("beforeunload", function () {
        $("html,body").animate({"scrollTop": 0}, 0)
    });


    var userId = $('#userUid').val();

    avalon.config({debug: false}) // 是否打开警告提示
    var vm = avalon.define({
        $id: 'indexAvalon',
        data: {}, // 广告数据
        pageNo: 1,
        productList: [], // 推荐商品列表
        loadActity: false, // 广告信息是否加载完
        loadProduct: false, // 推荐商品是否加载完
        loadTopProduct: false, // top商品是否加载完
        producToptList:[],
        loadEnd: false, // 加载完成
        scrollTimer: 90, // 滚动间隔
        scrollLong: 1, // 一次滚动长度
        scrollTop: 0, // 抽奖记录移动距离
        scrollList: [],
        isShowHistory: false,
        // 获取腰图、商学院广告、连锁优选、诊所畅销、工厂直销、药房热卖商品
        getActity: function () {
            offScroll()
            $.ajax({
                url: '/home/middle',
                type: 'get',
                dataType: 'json',
                success: function (rsp) {
                    if (rsp.status === 200) {
                        vm.data = rsp.data || {}
                        vm.loadActity = true
                        setTimeout(function () {
                            addScroll()
                        }, 50)
                    }
                }, error: function (x, h) {
                    console.log(x, h)
                }
            })
        },
        // 时间戳转年月日
        sampToDate(data) {
            if(data == ''|| data == null || data == undefined){
                return '--'
            }else{
                function addo(n) {
                    return +n < 10 ? '0' + n : n
                }

                var time = new Date(data);
                var y = time.getFullYear();
                var m = time.getMonth() + 1;
                var d = time.getDate();
                return y + '-' + addo(m) + '-' + addo(d)
            }
        },
        // 获取推荐商品列表
        getProductList: function () {
            offScroll()
            $.ajax({
                url: '/home/recommend?pageNo=' + vm.pageNo,
                type: 'get',
                dataType: 'json',
                success: function (rsp) {
                    if (rsp.status === 200) {
                        vm.loadProduct = true
                        // if (vm.pageNo == 1) {
                        //     vm.productList.push(rsp.data)
                        // } else if (vm.pageNo <= 5) {
                        //     if (rsp.data && rsp.data.adsList.length > 0) {
                        //         const list = rsp.data.adsList
                        //         for (let i = 0; i < list.length; i++) {
                        //             vm.productList[0].adsList.push(list[i])
                        //         }
                        //     }
                        //     if (rsp.data && rsp.data.productList.length > 0) {
                        //         const list = rsp.data.productList
                        //         for (let i = 0; i < list.length; i++) {
                        //             vm.productList[0].productList.push(list[i])
                        //         }
                        //     }
                        // }
                        if (vm.pageNo <= 10) {
                            vm.productList.push(rsp.data)
                        }
                        if (vm.pageNo >= 10) {
                            vm.loadEnd = true
                        }
                        if ((rsp.data.productList && rsp.data.productList.length > 0) || (rsp.data.adsList && rsp.data.adsList.length > 0)) {
                            vm.pageNo++
                        } else {
                            vm.loadEnd = true
                        }
                        setTimeout(function () {
                            addScroll()
                        }, 50)
                    }
                }, error: function (x, h) {
                    console.log(x, h)
                }
            })
        },
        // 获取top商品列表
        getTopProductList: function () {
            offScroll()
            $.ajax({
                url: '/home/topList?pageNo=' + 1,
                type: 'get',
                dataType: 'json',
                success: function (rsp) {
                    if (rsp.status === 200) {
                        vm.loadTopProduct = true
                        vm.producToptList = rsp.data
                    }
                }, error: function (x, h) {
                    console.log(x, h)
                }
            })
        },
        // 跳转商品列表页
        goProductList: function (type) {
            window.open('/product/productList?module=' + type)
        },
        // 跳转页面
        skipUrl: function (uri) {

            if (!userId) { //判断是否登录
                window.open('/login')
            } else {
                if (uri) {
                    window.open(uri)
                }
            }

        },
        // 跳转商品详情页
        productDetail: function (id) {
            window.open("/psku/" + id)
        },
        // 判断高度
        judgeHeight: function () {
            if (this.loadActity && this.loadEnd) {
                // 广告和商品加载完成
                return
            }
            var scrollTop = $(window).scrollTop(), // 滚动条高度
                bodyHeight = $('body').height(), // 网页高度
                windowHeight = window.innerHeight || document.body.clientHeight // 浏览器窗口高度
            if (bodyHeight - scrollTop - windowHeight < 250) {
                this.getInfo() // 判断获取数据
            }
        },
        // 判断获取数据
        getInfo: function () {
            // 判断数据是否加载完成,加载完成就不获取数据
            if (!this.loadActity) {
                this.getActity()
                this.getTopProductList()
            } else if (!this.loadEnd) {
                this.getProductList()
            }
        },
        // 设置抽奖记录滚动高度
        setHeight: function () {
            var _this = this
            $.ajax({
                url: '/lottery/lotteryNewEntrance', // 获取抽奖记录接口
                type: 'POST',
                dataType: 'json',
                success: function (rsp) {
                    if(rsp.status === 200 && rsp.data.winningList && rsp.data.winningList.length > 0) {
                        _this.scrollList = rsp.data.winningList
                        _this.isShowHistory = true
                        $('.double-twelve').removeClass('hide')
                        _this.play(_this.scrollList.length * 28)
                    }
                }, error: function(x, h) {
                    console.log(x, h)
                }
            })
        },
        // 抽奖记录滚动
        play: function (height) {
            this.scrollTop = this.scrollTop - this.scrollLong // 移动后的距离
            if (this.scrollTop <= -height) { // 移动距离等于高度一半时,距离归0
                this.scrollTop = 0
            }
            $('.double-twelve').eq(0).find('.content').eq(0).find('ul').eq(0).css('top', this.scrollTop + 'px')
            var _this = this
            setTimeout(function () {
                _this.play(height)
            }, _this.scrollTimer)
        }
    })

    addScroll()
    vm.getInfo() // 判断获取数据 加代码原因,若没有推荐集采商品和优惠券模块,稍大屏幕会造成无竖向滚动条,则不能触发scroll事件,就不能发起查询数据请求
    // vm.setHeight()
    document.addEventListener("DOMContentLoaded", function () {
        const scrollContent = document.querySelector(".li-box");
        const products = document.querySelectorAll(".scroll-i"); // 因无缝滚动功能,.scroll-i元素的个数永远是自身的2倍
        if (products.length <= 8) {
            // 如果商品数量小于等于4,禁用动画
            if (scrollContent && scrollContent.style && scrollContent.style.animation) {
                scrollContent.style.animation = "none";s
            }
        }
    });

    // 获取元素距离顶部高度
    function getDomTop(clas) {
        var top = $(clas).eq(0).offset()
        if (top) {
            return top.top
        } else {
            return ''
        }
    }

    var dom = ['.recommend', '.productHigh', '.activity', '.chain', '.indexActivity', '.indexCoupon', '.indexSeckill']

    function scroll() {
        vm.judgeHeight() // 判断高度
        var h = $(window).scrollTop() // 滚动条高度
        if (h > 500) {
            $('.leftSide').addClass('leftSide_fix')
        } else {
            $('.leftSide').removeClass('leftSide_fix')
        }
        for (var i = 0; i < dom.length; i++) {
            var top = getDomTop(dom[i])
            if (top) {
                var n = top - h
                if (n < 200) {
                    $(".leftSide ul li").removeClass("active")
                    $('#' + dom[i].split('.')[1]).addClass('active')
                    break
                }
            }
        }
    }

    // 添加滚动监听
    function addScroll() {
        $(window).on('scroll', scroll)
    }

    // 移除滚动监听
    function offScroll() {
        $(window).off('scroll', scroll)
    }

    // 跳转到相应模块
    function checkScroll(e) {
        var top = $('.' + $(e).attr('id')).eq(0).offset().top - 150
        $("html,body").animate({"scrollTop": top + 'px'}, 300)
    }

    // 反馈
    function feedBack() {
        var url = '/user/feedback/list'
        window.open(url)
    }

    // 返回顶部
    function goTop() {
        $("html,body").animate({"scrollTop": 0}, 300)
    }

    //点击查看商品详情
    function goProductDetail(skuId) {
        window.open("/psku/" + skuId)
    }

    // 跳转商家页
    function goShopIndex(id) {
        window.open(basePath + "/supply/gotoIndex?id=" + id + "&tab=3")
    }

    // 跳转领券中心
    function moreCoupon() {
        window.open(basePath + "/supply/gotoCouponCenter")
    }

    $('img').error(function () {
        $(this).attr('src', '/static/yuncai/client/img/mate/noimg.png');
    });

    $(function () {
        if ($('#notice').length > 0) {
            //说明有强制公告弹窗,让弹窗居中
            var mt = $(window).height()/2 - 250
            $('#notice .dialog').css({'margin-top': mt+'px'})
            countTime()
        }
        giveCoupons(); //获取赠送优惠券弹窗
        $(".new-coupon .coupon-item:nth-child(5n)").css("margin-right", "0");//解决IE8及其以下版本不支持nth-child伪类
        //判断登录账号是否已经弹过操作指引
        var account = $('.headBody .left #account').val();
        if (!!account) {
            // //判断该账号是否弹出过操作指引弹窗
            // var cook = document.cookie;
            // //获取账号
            // var getAccount = localStorage.getItem(account);
            // if (!getAccount) {
            //     //不存在,就该弹操作指引弹窗,并且将改账号存储在
            //     openOperational();
            //     localStorage.setItem(account, 'true');
            // }

            //登录之后判断该账号是否弹出过签到弹窗
            var signInfo = localStorage.getItem(account+'_signInfo');
            var nowTime = new Date();
            var nowTime2 = new Date(nowTime.getFullYear() + '-' + nowTime.getMonth() + '-' + nowTime.getDate()).getTime();//当天时间戳
            var endTime = new Date('2020-12-13 00:00:00').getTime();
            if (nowTime.getTime() < endTime) {
                if (!!signInfo) { //说明存储过
                    //判断是否是改账号
                    var JsonSignInfo = JSON.parse(signInfo);
                    var loginAccount = JsonSignInfo.account; //账号
                    var storageTime = JsonSignInfo.timer; //时间戳
                    if (storageTime < nowTime2 || loginAccount!==account) {//登录时间不是同一天,或者登录账号不是同一个账号都要弹
                        var json = {account: account, timer: nowTime2}
                        openSignInBox();
                        localStorage.setItem(account+'_signInfo',JSON.stringify(json));
                    }
                } else {
                    openSignInBox();
                    var json = {account: account, timer: nowTime2}
                    localStorage.setItem(account+'_signInfo',JSON.stringify(json));
                }
            }
        }

        getSalesman() // 获取业务员信息
    })
    //判断是否有左侧导航
    var hasLeftShop = $('#leftShop').val();
    if (!hasLeftShop && hasLeftShop !== 'true') {
        $('.navType').addClass('show');
    }
    $('.nav .left_shop').addClass('show');
    $('.nav .right_login').addClass('show');
    $('.nav .center_product').addClass('show');


    var bodyW = document.documentElement.clientWidth * 1;//浏览器宽度
    if (bodyW <= 1200) {
        bodyW = 1200;
    }
    var bodyImg = $('.bodyImg'),//图片容器
        imgLi = bodyImg.find('li'),//图片
        imgLen = imgLi.length,//图片数量
        Timer,//时间函数
        timeLong = 6000,//时间函数执行间隔,单位:毫秒
        isGo = true; //轮播是否继续
    var barnarNav = $('.barnarNav').css('margin-left', -(18 / 2) * imgLen);//barnar下部的小点容器
    for (var i = 0; i < imgLen; i++) {
        //添加小点
        var li = $('<li></li>').addClass('left background-f2').appendTo(barnarNav).on('click', function () {
            clearInterval(Timer);
            var i = $(this).index();
            // console.log(i);
            thisNum = i;
            calNum();
        });
    }
    var thisNum = 0;//当前图片下标
    barnar(0)

    function setTimer() {
        Timer = setTimeout(function () {//时间、循环
            thisNum++;
            calNum();
        }, timeLong);
    }

    // 鼠标移入的时候暂停轮播
    $('.bodyImg ,.barnarNav li ,.prve ,.next').on('mouseover', function () {
        // console.log('暂停轮播');
        isGo = false
        clearInterval(Timer);
    })
    //鼠标移出继续轮播
    $('.bodyImg').on('mouseout', function () {
        // console.log('开始轮播');
        isGo = true
        setTimer()
    })
    //点击上一个
    $('.prve').off('click').on('click', function () {
        prveNum()
    });
    //点击下一个
    $('.next').off('click').on('click', function () {
        console.log(1)
        nextNum()
    });

    function nextNum() {
        clearTimeout(Timer)
        calNum(thisNum++)
    }

    function prveNum() {
        clearTimeout(Timer)
        calNum(thisNum--)
    }

    //计算当前
    function calNum() {
        if (thisNum >= imgLen) {
            thisNum = 0
        }
        if (thisNum < 0) {
            thisNum = imgLen - 1
        }
        barnar(thisNum)
    }

    //轮播效果
    function barnar(eqI) {
        $('.next').off('click')
        $('.prve').off('click')
        imgLi.fadeOut(500).eq(eqI).fadeIn(500, function () {
            $('.next').off('click').on('click', function () {
                nextNum()
            })
            $('.prve').off('click').on('click', function () {
                prveNum()
            })
        })
        barnarNav.find('li').removeClass('active').eq(eqI).addClass('active');
        if (isGo) {
            setTimer()
        }
    }

    xiao(0);

    $('.close-pc-coupon').on('click', function () {
        //点击
        $('.pc-coupon').hide();
        clearInterval(countTime);
    });
    $('.close-app-coupon').on('click', function () {
        $('.app-coupon').hide();
    });

    //立即领取
    var countTime

    function receiveImmediately(id, type, obj) {
        var load = layer.load(1, {shade: [0.5, '#000']})
        $.ajax({
            type: "POST",
            url: basePath + "/user/coupon/checkIsReceive",
            dataType: "JSON",
            data: {
                'id': id,
                'type': type
            },
            success: function (data) {
                $('.pc-coupon .immediate-use').attr('data-id', data.id)
                layer.close(load)
                if (data.code == -1) {
                    window.location.href = basePath + "/login"
                } else if (data.code == 1) {
                    layer.msg(data.message)
                } else {
                    // layer.alert(data.message)
                    // $(obj).text(data.info).attr('onclick', 'gotoUseCoupon(' + data.id + ')')
                    $(obj.target).text(data.info);
                    $('.pc-coupon').show();
                    var count = 5;
                    $('.pc-coupon .custom-sec').find('.count-num').text(count);
                    countTime = setInterval(function () {
                        count--;
                        if (count <= 0) {
                            $('.pc-coupon').hide();
                            clearInterval(countTime);
                            window.location.reload();
                        } else {
                            $('.pc-coupon .custom-sec').find('.count-num').text(count);
                        }
                    }, 1000);
                }
            }, error: function (err) {
                layer.close(load)
                window.location.reload();
            }
        });

    }

    //使用优惠券
    function gotoUseCoupon(id) {
        var load = layer.load(1, {shade: [0.5, '#000']})
        $.ajax({
            type: "POST",
            url: basePath + "/coupon/gotoUseCoupon",
            dataType: "JSON",
            data: {
                'id': id
            },
            success: function (data) {
                layer.close(load)
                if (data.code == -1) {
                    window.location.href = basePath + "/login"
                }
                if (data.shopid >= 0) {
                    if (data.shopid == 0 && data.usePlatformType == 2) {
                        $('.pc-coupon').hide()
                        $('.app-coupon').show()
                    } else {
                        window.open(basePath + "/coupon/gotoIndex?id=" + id)
                    }
                } else {
                    layer.msg("优惠券已失效")
                }
            }, error: function (err) {
                layer.close(load)
            }
        });
    }

    //赠送优惠券
    function giveCoupons() {
        var url = basePath + "/coupon/remindUserForGiveCoupons";
        $("#giftCoupon").load(url, function (response, status, xhr) {
            if (!response.match("^\{(.+:.+,*){1,}\}$")) {
            } else {
                var result = eval("(" + response + ")");
                if (result.code === -1) {
                    layer.msg(result.msg, {icon: 2});
                    top.location.href = basePath + "/login";
                } else {
                    layer.msg(result.msg, {icon: 2});
                }
            }
            setTimeout(function () {
                //是否有赠送优惠券
                var isHasGiftCoupon = $('#giftCoupon').find('.coupon-box').length;
                if (isHasGiftCoupon <= 0) {
                    expireCoupons();
                }
            },500)

        });
    };

    //到期优惠券
    function expireCoupons() {
        var url = basePath + "/coupon/remindForExpireCommingSoon";
        $("#expireCoupon").load(url, function (response, status, xhr) {
            if (!response.match("^\{(.+:.+,*){1,}\}$")) {
            } else {
                var result = eval("(" + response + ")");
                if (result.code == -1) {
                    layer.msg(result.msg, {icon: 2});
                    top.location.href = basePath + "/login";
                } else {
                    layer.msg(result.msg, {icon: 2});
                }
            }
        });
    };

    //系统停服更新提示
    function dataJSON(res) {
        var nowTime = new Date();
        var isRemind = false;
        var notice = sessionStorage.getItem("notice");
        if (!!notice) {
            //存在,就说明保存过,然后对比时间
            notice = JSON.parse(notice);
            if (notice.getTime < nowTime.getTime()) {
                //说明时间已经超过了,再次提示
                isRemind = true;
            }
        } else {
            isRemind = true;
        }
        if (res.status == 400 && !!res.data && isRemind) {
            layer.open({
                shadeClose: true,
                shade: 0.3,
                area: ['400px', '300px'],
                title: '系统停服更新提示',//窗口名字
                content: res.data
            });
            var minutes = nowTime.getMinutes();
            nowTime.setMinutes(minutes + 1);
            var param = {getTime: nowTime.getTime()};
            sessionStorage.setItem('notice', JSON.stringify(param));
        }
    }

    getUpdateNotice();

    function getUpdateNotice() {
        $.getJSON(image_website + '/template/updateNotice.json?callback=?', function (result) {
        });
    }
    var userId = $('#userId').val();
    var isRemindAgain = localStorage.getItem('isRemindAgain' + userId);
    var isRemind = false;
    if (!isRemindAgain) {
        isRemind = true;
    } else {
        var nowTime = new Date();
        if (nowTime.getTime() - parseInt(isRemindAgain) > 12 * 60 * 60 * 1000) {
            //过期
            isRemind = true;
        }
    }
    if (isRemind) {
        $.ajax({
            // 跳转的地址
            url: basePath + "/user/queryDueOrImminent",
            // 提交方式
            type: "post",
            // 从后台传递回来的参数类型
            dataType: "json",
            // 响应成功
            success: function (result) {
                if (result.code === "SUCCESS") {
                    if (JSON.stringify(result.data) !== "{}" && JSON.stringify(result.data) !== "undefined") {
                        //localStorage.setItem('isRemindAgain',true);
                        console.log('result.data.content', result.data);
                        $('.dialog').removeClass('hide');
                        if (result.data.isShow === 1) {
                            $('.check-wrap').addClass('hide');
                            $('.dialog .box-content .title').html("资质到期提示");
                        } else {
                            $('.dialog .box-content .title').html("资质临期提示");
                        }
                        $('.dialog .box-content .middle li').html(result.data.content);
                        // result.data.isShow 验证是否显示不再提示复选框 1不显示 0显示

                        // 传不再提示标识默认传0 选中传1  isRemindAgain
                        // 和商家端参数一样
                        //window.location.href = "user/certificatelist?isRemindAgain=0";
                        //存储时间
                        var nowTime = new Date();
                        localStorage.setItem('isRemindAgain' + userId, nowTime.getTime());
                    }
                }
            }
        });
        $('#updateBtn').on('click', function () {
            var isRemindAgain = 0;
            if ($('#noRemind').is(":checked")) {
                //不显示
                isRemindAgain = 1;
            }
            $('.dialog').addClass('hide');
            window.location.href = basePath + "/user/certificatelist?isRemindAgain=" + isRemindAgain;
        });
    }

    // 获取首页订单数量
    function getOrderNum() {
        $.ajax({
            url: '/newOrder/getOrderCountForHome',
            type: 'get',
            headers: {'Content-Type': 'application/json;charset=utf8'},
            dataType: 'json',
            success: function (rsp) {
                if (!!rsp.data && rsp.data.length > 0) {
                    rsp.data.forEach(function (item) {
                        if (item.orderStatus == 'WAIT_PAY') { //待支付
                            $('.WAIT_PAY').text(+item.totalNum > 99 ? '99' : item.totalNum);
                        } else if (item.orderStatus == 'WAIT_SHIP') { //待发货
                            $('.WAIT_SHIP').text(+item.totalNum > 99 ? '99' : item.totalNum);
                        } else if (item.orderStatus == 'WAIT_RECEIPT') {//待收货
                            $('.WAIT_RECEIPT').text(+item.totalNum > 99 ? '99' : item.totalNum);
                        } else if (item.orderStatus == 'WAIT_COMMENT') { //待评价
                            $('.WAIT_COMMENT').text(+item.totalNum > 99 ? '99' : item.totalNum);
                        }
                    })
                }
            }
        })
    }

    getOrderNum() // 获取首页订单数量

    // 查询业务员信息
    function getSalesman() {
        $.ajax({
            url: basePath + '/user/findSalesmanInfo',
            type: 'get',
            dataType: 'json',
            success: function (rsp) {
                if (rsp.code == 1) {
                    var name = '', phone = ''
                    if (rsp.data.status == null) {
                        name = '暂无业务员'
                        $('#salesman_names').style.lineHeight = "42px"
                    } else {
                        if (rsp.data.status) {
                            name = rsp.data.name
                            phone = rsp.data.phone
                        } else {
                            name = '业务员已离职'
                            $('#salesman_names').style.lineHeight = "42px"
                        }
                    }
                    $('#salesman_names').html(name)
                    $('#salesman_phones').html(phone)
                }
            },
            error: function (error) {

            }
        })
    }

    function openSignIn() {
        window.open('/web/html/signIn/signIn.html?' + new Date().valueOf(), '签到')
    }

    //签到页面弹窗跳转
    function closeShuangshiyiBox () {
        $('.shuagnshiyiBox').addClass('hide');
    }
    function openSignInBox() {
        $('.shuagnshiyiBox').removeClass('hide');
    }
    function gotoShuangshiyi () {
        openSignIn()
    }
    //强制公告内容中的操作方法
    function finishReady (obj,id) {
        if (!$(obj).hasClass('nomal')) {
            //说明已经过了10S,可以点击了
            //调接口保存阅读强制公告记录信息接口
            $('#notice').addClass('hide')
            console.log('id',id);
            $.ajax({
                url: '/announcement/saveAnnouncementRecord?id='+id,
                type: 'post',
                dataType: 'json',
                contentType: "application/json",
                success: function (res) {
                }, error: function () {
                    layer.close(index);
                }
            });
        }
    }
    //点击我已知晓的倒计时
    function countTime () {
        var countTime = 10
        var setInterValIdx = setInterval(function () {
            if (countTime > 0) {
                countTime -= 1
                $('#notice .countime').text('('+countTime+'S)')
            } else {
                $('#notice .countime').text('')
                $('#notice .btn').removeClass('nomal')
                $('#notice .btn').addClass('active')
                clearInterval(setInterValIdx)
            }
        },1000)
    }
    // countTime()
    // 打开链接

    // 下载附件
    function downloadF(url) {
        var temp = document.createElement("a")
        temp.style.display = "none"
        temp.href = 'https://ossprod.dyaod.com/' + url
        temp.setAttribute("target", '_blank')
        temp.setAttribute("download", '')
        document.body.appendChild(temp)
        temp.click()
        document.body.removeChild(temp)
    }
    // 附件下载、打开链接、点赞数统计,不处理返回
    function staticNumber(id, type) {
        $.ajax({
            url: '/announcement/updateNum',
            type: 'post',
            dataType: 'json',
            data: {id: id, sign: type}, //sign标记更新类型:1-点赞数、2-附件下载数、3-链接点击数
        })
    }


    $().ready(function () {
        var startTime = $('.startTime');
        var endTime = $('.endTime');
        var nowTime = $('.nowTime');
        var listStatus = $('.listStatus');

        $('.seckillContentList ul li:nth-of-type(5n)').css('marginRight','0px')
        var timeCha = [],//时间差
                statuss = [],//状态
                list = $('.seckillContentList ul li'),
                listNum = list.length;
        for (var i = 1; i < listNum; i++) {
            statuss.push(list.eq(i).find('.listStatus').eq(0).val())
            switch (list.eq(i).find('.listStatus').eq(0).val()) {
                case '0':
                    timeCha.push(list.eq(i).find('.startTime').eq(0).val() * 1 - list.eq(i).find('.nowTime').eq(0).val() * 1)

                    break;
                case '1':
                    timeCha.push(list.eq(i).find('.endTime').eq(0).val() * 1 - list.eq(i).find('.nowTime').eq(0).val() * 1)
                    break;
            }

            //console.log(timeCha);
        }

        setInterval(function () {
            for (var i = 0; i < listNum-1; i++) {
                if (timeCha[i] <= 0) {
                    var activityId = list.eq(i).find('.pskuId').eq(0).val() * 1;
                    updateProduct(activityId, statuss[i]);
                    statuss[i]++;
                    if (statuss[i] == 1) {
                        timeCha[i] = list.eq(i).find('.endTime').eq(0).val() * 1 - list.eq(i).find('.startTime').eq(0).val() * 1
                    }
                } else {
                    var day, house, minute, second;
                    day = Math.floor(timeCha[i] / 1000 / 60 / 60 / 24);
                    house = Math.floor(timeCha[i] / 1000 / 60 / 60 % 24);
                    minute = Math.floor(timeCha[i] / 1000 / 60 % 60);
                    second = Math.floor(timeCha[i] / 1000 % 60);
                    var text = day + '天' + house + '时' + minute + '分' + second + '秒';
                    if (statuss[i] == 0) {

                        list.eq(i+1).find('.remainingTime').html(text);

                        list.eq(i+1).find('.listTopTimecountdown').removeClass('hide');
                        list.eq(i+1).find('.listTopTimeSurplus').addClass('hide');
                        list.eq(i+1).find('.listActivityEnd').addClass('hide');

                    } else if (statuss[i] == 1) {
                        list.eq(i+1).find('.remainingTime').html(text);
                        list.eq(i+1).find('.listTopTimecountdown').addClass('hide');
                        list.eq(i+1).find('.listTopTimeSurplus').removeClass('hide');
                        list.eq(i+1).find('.listActivityEnd').addClass('hide');
                        // if(){
                        //     list.eq(i+1).find('.listActivityEnd').addClass('hide');
                        // }

                    }
                    timeCha[i] -= 1000
                }

            }
        }, 1000)

    })

    function updateProduct(activityId, status) {
        var url = basePath + "/seckill/cancelSeckill",
                loadData = {
                    "id": activityId,
                    "status": status
                };
        $.post(url, loadData, function () {
        }, "text");
    }

    // 统计活动中组合商品
    function getHomeProductCombinedCount() {
        $.ajax({
            type: "POST",
            url: basePath + "/combined/getHomeProductCombinedCount",
            dataType: "JSON",
            success: function (data) {
                console.log('统计活动中组合商品获取成功:', data);
                if(data.code === 'SUCCESS' && data.data > 0 ){
                    $('.group-goods-list').removeClass('hide');
                }
            },
            error: function (error) {
                console.log('统计活动中组合商品获取失败:', error);
            }
        })
    }
    getHomeProductCombinedCount();

</script>

</body>
</html>
                               

Alan adının whois bilgisi

Domain Name: DYAOD.COM
Registry Domain ID: 2885642187_DOMAIN_COM-VRSN
Registrar WHOIS Server: grs-whois.hichina.com
Registrar URL: http://wanwang.aliyun.com
Updated Date: 2024-07-19T07:57:13Z
Creation Date: 2024-05-29T08:29:08Z
Registry Expiry Date: 2027-05-29T08:29:08Z
Registrar: Alibaba Cloud Computing Ltd. d/b/a HiChina (www.net.cn)
Registrar IANA ID: 1599
Registrar Abuse Contact Email: [email protected]
Registrar Abuse Contact Phone: +86.95187
Domain Status: ok https://icann.org/epp#ok
Name Server: DNS13.HICHINA.COM
Name Server: DNS14.HICHINA.COM
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
>>> Last update of whois database: 2025-05-24T02:05:26Z <<<
For more information on Whois status codes, please visit https://icann.org/epp
NOTICE: The expiration date displayed in this record is the date the
TERMS OF USE: You are not authorized to access or query our Whois
by the following terms of use: You agree that you may use this Data only
to: (1) allow, enable, or otherwise support the transmission of mass