loading

B品牌正在带您去商城页面,请稍等

如果浏览器没有自动跳转, 美版嘉宝3段辅食香蕉味+草莓苹果味星星泡芙42g*4罐8个月以上宝宝-百强网 <script> if (document.documentMode < 8) { window.location="/web/public/ieError.html"; } </script> <script type="text/javascript" src="/public/js/ads.js?v=85155"></script> <script type="text/javascript" src="/public/js/common2.js?v=201908151600"></script> <script type="text/javascript" src="https://static3.qiang100.com/themes/baiqiang_v3/Public/js/jquery-1.12.1.min.js"></script> <script type="text/javascript" src="https://static3.qiang100.com/themes/baiqiang_v3/Public/js/jquery.cookie.js"></script> <script type="text/javascript" src="https://static1.qiang100.com/themes/baiqiang_v3/Public/bootstrap/js/bootstrap.min.js"></script> <script type="text/javascript" src="https://static1.qiang100.com/themes/baiqiang_v3/Public/bootstrap/js/bootstrap-dialog.min.js"></script> <script type="text/javascript" src="https://static1.qiang100.com/themes/baiqiang_v3/Public/js/bootstrap-popoverx.js"></script> <script type="text/javascript" src="https://static4.qiang100.com/themes/baiqiang_v3/Public/js/stickUp.min.js"></script> <script type="text/javascript" src="https://static5.qiang100.com/themes/baiqiang_v3/Public/js/common.js"></script> <script type="text/javascript" src="/public/js/evaluate.js?v=20161116"></script> <script language="javascript" src="https://static2.qiang100.com/themes/baiqiang_v3/Public/js/jquery.ae.image.resize.js"></script> <script language="javascript" src="https://static5.qiang100.com/themes/baiqiang_v3/Public/js/imagefit.js"></script> <script language="javascript" src="https://static3.qiang100.com/themes/baiqiang_v3/Public/js/jquery.actual.min.js"></script> <script language="javascript" src="https://static3.qiang100.com/themes/baiqiang_v3/Public/js/artDialog/dialog-plus-min.js"></script> <script language="javascript" src="https://static1.qiang100.com/themes/baiqiang_v3/Public/js/fixed-top.js"></script> <script language="javascript" src="https://static4.qiang100.com/themes/baiqiang_v3/Public/js/qy-form.js"></script> <script language="javascript" src="https://static1.qiang100.com/themes/baiqiang_v3/Public/js/autoShow.js"></script> <script language="javascript" src="https://static2.qiang100.com/themes/baiqiang_v3/Public/js/notie.js"></script> <script type="text/javascript" src="/public/js/cps.js?v=201907111600"></script> <script type="text/javascript"> //全局变量 var GV = { DIMAUB: "", JS_ROOT: "/public/js/", TOKEN: "" }; </script> <script> $.ajaxSetup({ xhrFields: { withCredentials: true }, data: { ajax: 1 } }); </script> <script type="text/javascript" src="/public/js/wind.js"></script> <script type="text/javascript" data-no-merge="1"> (function(w) { if (w['dontAutoRedirectToMobile'] == 1) { return; } var ua = w.navigator.userAgent.toLocaleLowerCase(); //var mobileUrl = "https://m.qiang100.comhttps://data.qiang100.com/zhi/29179216.html"; var mobileUrl = 'https://mdata.qiang100.com/zhi/29179216.html'; console.log(mobileUrl); if (mobileUrl.indexOf('index.php?g=Home&m=Special&a=top10&uuid=') > 0) { mobileUrl = w.location.href.replace('//www.', '//m.'); } var matchedRE = /iphone|android|symbianos|windows\sphone/g; //var matchedRE2 = /micromessenger|qq\/[\d.]+/i; if ( matchedRE.test(ua) && w.location.href != mobileUrl) { w.location.href = mobileUrl; return false; } })(window); </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "//hm.baidu.com/hm.js?a49e3a6f14cabbf51b6b5046313a3c4c"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> var baidu_event_prefix = ''; function addBaiduEvent(dataArray, with_xx) { if(_hmt && dataArray) { var prefix = baidu_event_prefix || ''; //用于转化统计 if (with_xx) { _hmt.push(['_trackEvent', 'xx_' + prefix + dataArray[0], dataArray[1], '-']); } //普通事件统计 dataArray.splice(0, 0, '_trackEvent'); dataArray[1] = prefix + dataArray[1]; _hmt.push(dataArray); } } </script> <script> window.track_keywords = "泡芙"; </script> <script type="text/javascript" data-no-merge="1"> var _tes = _tes || []; (function() { var ele = document.createElement('script'); ele.src = 'https://track.qiang100.com/ta.js?v=201908191630'; // ele.src = '/public/js/web-track/ta.js?v=201908191630'; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ele, s); })(); </script>
<script data-no-merge="1"> var _searchJumpTo = "zhi"; </script> <script type="text/javascript"> $(function($) { //更新导航栏的用户登录信息 $(window).on('bq.login.change', function(event, data) { if(data.status == 1) { $(".top-div .headicon").attr("src", getUserAvatarUrl(data.user.avatar)); $(".user-nicename").text(data.user.user_nicename!=""?data.user.user_nicename:data.user.user_login); //消息 $(".top-div .msg-num").text(data.message); //我的足迹 var history = data.history; var historyHtml = ''; $.each(history, function(index, val) { historyHtml += ''; }); $(historyHtml).appendTo('.footmark'); setTimeout(function(){ $('.js-size-control').each(function(){ $(this).imagefit({ ignore: '.ignore', mode: 'inside', force: 'true', halign: 'center', valign: 'middle', onStart: function (index, container, imagecontainer) { /* Some code */ }, onLoad: function (index, container, imagecontainer) { /* Some code */ }, onError: function (index, container, imagecontainer) { /* Some code */ } }); }); },100); $(".offline").hide(); $(".online").removeClass('hidden'); $('#my-baiqiang').popoverx({ animation: true, placement: 'bottom', fire_on: 'hover', hover_delay_close: 10000000, ensure_visiable: true, html: true, content: function() { return $("#my-baiqiang-popover-content").html(); }, template: $("#my-baiqiang-popover-template").html(), }); $(window).on('scroll',function(){ $('#my-baiqiang').add('#navbar-weixin').popoverx('resetPosition'); }) } }); // $(document).ready( function() { $('#top-navbar').stickUp(); //登录状态 $.post("https://www.qiang100.com/index.php?g=user&m=index&a=is_login",{},function(data){ if (window.Track4Me) { var _account = 0; if(data.status === 1 && data.user){ _account = data.user.id; } Track4Me.setAccount(_account); } $(window).trigger('bq.login.change', data); }); }); }); function userInfo(){ location.href = "https://www.qiang100.com/index.php?g=User&m=center&a=index"; } //搜索品牌框 function searchBrandEnter() { var keyword = $('#brand-search-keyword').val().trim(); if (keyword) { var form = $('#brand-search-form'); var url = form.attr('action'); if (url.indexOf('&') > -1) { url = url + "&tab=all&jump="+_searchJumpTo+"&keyword=" + keyword; } else { url = url + '?tab=all&jump='+_searchJumpTo+'&keyword=' + keyword; } form.attr('action', url); addBaiduEvent(['main-search-submit', '-', '-']); }else{ var d = window.artDialog({ content: '搜索内容不能为空', quickClose: true// 点击空白处快速关闭 }); d.show($('#brand-search-keyword').get(0)); return false; } } //登录和注册的url赋值处理 $(function(){ $('.nav-in-right .login a').click(function(){ var _thisUrl = window.location.href; var loginAndReobj = ($(this).hasClass('login-redirect-url'))?$('.login-redirect-url'):$('.register-redirect-url'); var _urlConnectSign = loginAndReobj.attr('href').indexOf('&') > -1 ? '&' : '?'; loginAndReobj.attr('href',loginAndReobj.attr('href')+_urlConnectSign+'redirectUrl='+encodeURIComponent(_thisUrl)); }); }); $('body').on('click','.doLogout',function(e){ e.preventDefault(); var url=$(this).attr('href'); if(url.indexOf('?')!==-1){ url = url+'&'; }else{ url = url+'?'; } url += 'randCode='+ (new Date()).getTime(); location.href = url; }); </script> <script src="https://static5.qiang100.com/themes/baiqiang_v3/Public/unslider/js/unslider.js"></script> <script> $(function(){ $("#zhi-header-ad-close").click(function(){ $('.zhi-header-ad').animate({ height:'0px',opacity:'0.0' },'slow', null, function () { $('.zhi-header-ad').addClass('hidden'); }); var zhiHeader; if("detail"=="nine"){ zhiHeader = '_nine_zhiHeaderAd'; }else{ zhiHeader = '_zhiHeaderAd'; } var zhiHeaderAdCookieKey = 'rSeDyn_' + $.cookie('rSeDyn_CXID') + zhiHeader; $.cookie( zhiHeaderAdCookieKey, 1, {expires:1, path:'/', domain: window.rootDomain} ); }); $('.zhi-header-ad').unslider({ animation: 'fade', autoplay: true, speed: 500, delay: 3000, dots: true, fluid: false, arrows:{ prev: '', next: '' } }); $('.zhi-header-ad').mouseover(function(){ $(this).siblings('.iconfont').show(); }).mouseout(function(){ $(this).siblings('.iconfont').hide(); }) $('.arrow-item').mouseover(function(){ $('.arrow-item').show(); return false; }).mouseout(function(){ $('.arrow-item').hide(); return false; }) ; }); </script>

【美国嘉宝】3段果味星星泡芙42g*4罐 90元

时间:46分钟前
类别:母婴儿童
品牌:嘉宝
商城:天猫
来源:2个来源
类型:历史新低
20元券 直达链接 >
app下载 app下载
app下载背景 <script type="text/javascript" src="/public/js/qrcode/qrcode.min.js"></script> <script> $(function() { new QRCode("app-qrcode-content", { text: "https://www.qiang100.com/public/app/site/index.html", width: 150, height: 150, colorDark : "#000000", colorLight : "#ffffff", correctLevel : QRCode.CorrectLevel.H }); }); </script>

商品介绍

【11号当天零点开抢】【前一小时省10元】【优惠券立减20元】各红包津贴均可叠加使用!【美国嘉宝】嘉宝多果味星星泡芙4罐装,五谷杂粮,口感蓬松,健康又安全!每口都有趣~【单罐19.7元】
品牌简介
雀巢(中国)有限公司,Gerber嘉宝,始于1927年,原美国嘉宝产品公司旗下,美国著名婴幼儿营养食品生产商,2007年正式成为雀巢公司的一员。
嘉宝,雀巢旗下著名配方米粉品牌。嘉宝特点:独特CHE+益生元,宝宝消化顺畅不上火听装全新上市,升级配方,优化营养,独特的CHE淀粉水解工艺,使口感更细腻,易于宝宝吞咽,更好消化吸收,添加足量的益生元,吃后不上火,让宝宝享受肠道舒畅的... 完整阅读
品牌:嘉宝
评分:7.9
类型:知名品牌
国别:美国
年龄:93岁
特价:1803条
  • 品牌:嘉宝
  • 类型:知名品牌
  • 年龄:93岁
  • 国别:美国
  • 评分:7.9
  • 特价:1803条
雀巢(中国)有限公司,Gerber嘉宝,始于1927年,原美国嘉宝产品公司旗下,美国著名婴幼儿营养食品生产商,2007年正式成为雀巢公司的一员。 完整阅读

相关推荐

全部评论
请先登录发表后评论(·ω·)
表情
发表
页,跳至
<script src="/public/js/layer/layer.js"></script> <script src="/public/js/evaluate2.js"></script> <script src="/public/js/sinaFaceAndEffec/sinaFaceAndEffec.js"></script> <script type="text/javascript" src="/public/js/ueditor/ueditor.config.js"></script> <script type="text/javascript" src="/public/js/ueditor/ueditor.all.js"></script> <script data-no-merge="1"> var type = "product"; var topicId = "14309402"; var isLogin = ""; var loginUrl = "https://www.qiang100.com/user/login"; var userAvatar = "/public/images/default.png"; var userName = ""; var commentPostUrl = "https://www.qiang100.com/index.php?g=Api&m=Comment&a=commentPost"; var commentLoadByAjaxUrl = "https://www.qiang100.com/index.php?g=Api&m=Comment&a=commentLoadByAjax"; var topicAndCommentVoteCountUrl = "https://www.qiang100.com/index.php?g=Api&m=Comment&a=topicAndCommentVoteCount"; var _comment_page = 1;//当前页面一级评论分页 //todo,要修改变量名称,防止冲突 var sort = 'new';//初始化排序为new var getMoreTwoLevelCommentUrl = "https://www.qiang100.com/index.php?g=Home&m=Forum&a=getMoreTwoLevelComment";//获取二级评论数据,并返回分页, var fromType = ""; var fromCommentId = ""; </script> <script> $(function () { if (type==='product') { var eventName = 'bq.login.change'; }else{ var eventName = 'nav.login.change'; } $(window).on(eventName, function (event, data) { // console.log(data); // 动态获取用户信息 if (data.status === 0) { isLogin = 0; $('#loginStatus1').remove(); } else { isLogin = 1; $('#loginStatus0').remove(); $('#loginStatus1').show(); userAvatar = getUserAvatarUrl(data.user.avatar); $('.comment-post-module img.avatar').attr('src',userAvatar); userName = data.user.user_nicename; } //首先获取一级评论框的样式 var oneLevelCommentModuleHtml = $("#comment-post-module1").prop("outerHTML"); //初始化编辑器 var optione = { toolbars: [ ['bold', 'titleh1', 'blockquote', 'insertunorderedlist', 'insertorderedlist', 'horizontal', 'insertimage', 'link', 'insertvideo', 'music', 'removeformat', 'undo', 'redo'] ], scaleEnabled: false,//设置不自动调整高度 initialFrameWidth: '100%', //设置编辑器宽度 initialFrameHeight: 120,//设置编辑器高度 elementPathEnabled: false,//关闭元素路径 enableAutoSave: false,//关闭自动保存 imageScaleEnabled: false, //图片禁止拉升 autoFloatEnabled: false }; if (!isLogin) { optione.readonly = true; } var ue = UE.getEditor('comment-post-ueditor', optione); var ue2; ue.ready(function () { if (isLogin) { // ue.setContent('   '); $('.face-icon').SinaEmotion($('#comment-post-ueditor'), 'pc', true, function (val) { var content = $.trim(ue.getContent()); if (content) { content = content.replace(/(<\/p>)$|(<\/h\d>)$/,function ($1) { return val+$1; }); content = content.replace(/

()?<\/p>/g,''); content = content.replace(/

()?<\/div>/g,''); content = content.replace(/()+/g,'
'); content = content.replace(/

/g,'

'); console.log(content) ue.setContent(content); }else { ue.execCommand('inserthtml', val); } // ue.focus(); }); // 绑定表情 } }); //标签过滤 ue.ready(function () { ue.addListener('blur', function (editor) { setTimeout(function () { clearOtherTag(); }, 200); }); }); function clearOtherTag() { var localHtml = ue.getContent(); if (localHtml) { //过滤处理 localHtml = localHtml.replace(/<.*?>/ig, function (tag) { if (tag === '

' || tag.indexOf('' || tag === '' || tag.indexOf('请先登录发表后评论(·ω·)'; } var commentPostHtml = '
' + '' + '
' + commentTextAreaHtml + '
表情
' + '
' + '
发表
' + '
'; //评论点击回复 $(document).on('click', '.comment-detail .reply-button', function () { var replyToUserName = $(this).attr('data-user'); replyToUserName = replyToUserName ? replyToUserName : ''; var replyToCommentId = $(this).attr('data-commentId'); $(this).parents('li').siblings('li').find('.comment-post-module').remove(); if ($(this).parents('ul').hasClass('default-comment-list')) { $('.hot-comment-list').find('.comment-post-module').remove(); } else if ($(this).parents('ul').hasClass('hot-comment-list')) { $('.default-comment-list').find('.comment-post-module').remove(); } var level = $(this).attr('data-level'); if (level && level == 'one') { if ($(this).parents('.comment-detail').find('.comment-post-module').length > 0) { //点击一级评论时,已经存在了评论模块,判断评论模块是原来的一级评论的还是原来二级评论的 if (parseInt(replyToCommentId) == parseInt($(this).parents('.comment-detail').find('.comment-post-module .comment-sub').attr('data-commentId'))) { $(this).parents('.comment-detail').find('.comment-post-module').remove(); } else if (isLogin) { $(this).parents('.comment-detail').find('.comment-post-module .form-control').html('').attr('placeholder', '请自觉遵守互联网相关的政策法规,严禁发布色情丶暴力丶反动的言论。'); } } else { $(this).parents('.comment-detail').append(commentPostHtml); $(this).parents('.comment-detail').find('.comment-post-module .form-control').attr('placeholder', '请自觉遵守互联网相关的政策法规,严禁发布色情丶暴力丶反动的言论。'); } } else { $(this).parents('.comment-detail').find('.comment-post-module').remove(); $(this).parents('.comment-detail').append(commentPostHtml); if (isLogin) { $(this).parents('.comment-detail').find('.comment-post-module .form-control').attr('placeholder', '回复 @' + replyToUserName); } } $(this).parents('.comment-detail').find('.comment-post-module .comment-sub').attr('data-commentId', replyToCommentId); $('.face-icon-hf').SinaEmotion($('.form-contro-hf'), 'pc'); }); //评论提交 var lastCommentTime = 0;//初始化最后一次提交评论时间 $(document).on('click', '.comment-post-module .comment-sub', function () { var thisObj = $(this); setTimeout(function () { var commentModuleId = thisObj.parent('.comment-post-module').attr('id'); if (commentModuleId) { var ueObj = (commentModuleId == 'comment-post-module1') ? ue : ue2; commentCont = ueObj.getContent(); } else { var commentCont = thisObj.parent('.comment-post-module').find('.form-control').val(); } if (!commentCont) { BootstrapDialog.alert('评论不能为空!'); return false; } var nowTime = new Date().getTime(); if ((nowTime - lastCommentTime) / 1000 < 10) { BootstrapDialog.alert('十秒内请勿重复评论!'); return false; } var fid = thisObj.attr('data-commentId'); var rcId = 0; if (fid) { rcId = thisObj.parents('li').attr('data-id'); } else { fid = 0; } var postData = { topicId: topicId, commentCont: commentCont, fid: fid,//上一级评论 rcId: rcId, doType: type }; $.post(commentPostUrl, postData, function (data) { if (data.status === 1) { thisObj.parent('.comment-post-module').find('.form-control').val(''); lastCommentTime = nowTime; //更新评论显示 if (rcId) { //二级评论显示方式待定,todo,有分页展开分页 var thisPage = thisObj.parents('li').attr('data-thisPage'); thisPage = thisPage ? parseInt(thisPage) : 1; var countNum = 0; thisObj.parents('li').find('.comment-to-user .comment-to-user-list').each(function () { countNum++; }); console.log(countNum); var commentNum = thisObj.parents('li').attr('data-numCount'); commentNum = commentNum ? commentNum : 0; if (countNum == 10 && thisPage * 10 == commentNum) { thisPage++;//当前页为最后一页,且共十条评论,跳转至下一页,否则停留至当前页 } else { //var lastPage = Math.ceil(commentNum/10); //lastPage = lastPage?lastPage:1; //thisPage = lastPage; //不确定是否跳转至最后一页 } getMoreTwoLevelComment(thisObj, rcId, thisPage); } else { var thisHtml = '
  • ' + '' + '
    ' + '
    ' + '
    ' + userName + '
    ' + '
    ' + AnalyticEmotion(commentCont) + '
    ' + '
    ' + '
    #' + data.info.thisFloor + '
    ' + '
    刚刚
    ' + '
     
    ' + '
     
    ' + '
    回复
    ' + '
    ' + '
    ' + '
    ' + '
    ' + '
    ' + '
  • '; $('.hot-comment-list').prepend(thisHtml); } //BootstrapDialog.alert('评论成功!'); layer.tips('提交成功!', thisObj, { tips: [2, '#f74645'], time: 2000 }); if (commentModuleId) { ueObj.setContent('   '); } } else { //BootstrapDialog.alert(data.info); layer.tips(data.info, thisObj, { tips: [2, '#f74645'], time: 2000 }); } }, 'json'); }, 300); }); /**** 动态加载评论 ****/ function commentLoadByAjax() { $('.comment-part .hot-comment-list').html('');//初始化 if (_comment_page > 1) { $('.moreHotCommentPrompt').css('display', 'none'); } $.post(commentLoadByAjaxUrl, { topicId: topicId, sort: sort, p: _comment_page, type: type }, function (data) { if (data.status === 1) { var info = data.info; if (info.hotComments.length > 0) { //处理热门评论 var hotCommentHtml = arrangeCommentHtml(info, 'hot'); $('.comment-part .hot-comment-list').html(hotCommentHtml); $('.comment-part .moreHotCommentPrompt').css('display', 'block'); if (info.hotComments.length < 3) { $('.moreHotCommentPrompt span').text('以上为热门评论'); } } else { $('.comment-part .moreHotCommentPrompt').css('display', 'none'); } //评论数据 var commentHtml = arrangeCommentHtml(info, 'default'); $('.comment-part .default-comment-list').html(commentHtml); //分页处理 $('.forum-detail .comment-part-top .left span:last').text(info.commentCount + '条'); if (parseInt(info.pageDetail.totalPages) > 1) { $('.forum-detail .comment-part-top .right').css('display', 'block').html('共 ' + info.pageDetail.totalPages + ' 页' + info.pageShow); $('.pageInputBox').css('display', 'block'); $('.pageInputBox .pageNum').text(info.pageDetail.totalPages); $('.comment-part').css({ 'margin-bottom': 0 }); } else { $('.forum-detail .comment-part-top .right').css('display', 'none').html(''); $('.pageInputBox').css('display', 'none'); $('.pageInputBox .pageNum').text(''); $('.comment-part').css({ 'margin-bottom': '40px' }); } $('.comment-part .pagination').html(info.pageShow); if ($.trim($('.comment-part .pagination div').text()) == '') { $('.comment-part .pagination').remove(); } arrangePageStyle('.forum-detail .comment-part-top .right'); arrangePageStyle('.pagination'); } //如果首次加载,获取从消息中心链接过来的参数 if (isFirstLoad && fromType && $.trim(fromType) != '') { if (fromCommentId && $.trim(fromCommentId) != '' && (fromType == 'msg3' || fromType == 'msg5')) { //评论回复,或者对评论点赞 scrollToTwoLevelComment($(".default-comment-list li[data-id=" + fromCommentId + "]").find('.comment-detail')[0]); } else { if (fromType == 'msg2') { scrollToOneLevelComment(); } else if (fromType == 'msg4') { scrollToArticleVote(); } } } isFirstLoad = false; }); } var isFirstLoad = true; commentLoadByAjax();//默认根据最新的排序 function arrangeCommentHtml(info, type) { var commentInfo = (type == 'hot') ? info.hotComments : info.comments; var twoLevelComments = info.twoLevelComments; var twoLevelCommentsCount = info.twoLevelCommentsCount; var commentIdAndUserRef = info.commentIdAndUserRef; var commentVoteCount = info.commentVoteCount; var myVoteDetail = info.myVoteDetail; var commentHtml = '';//一级评论html for (x in commentInfo) { var twoLevelCommentHtml = ''; var twoLevelNum = 0; if (twoLevelComments) { var thisTwoLevelArr = twoLevelComments[commentInfo[x]['id']]; for (y in thisTwoLevelArr) { twoLevelNum++; if (twoLevelNum > 3) { continue; } //var isHide2 = twoLevelNum>commentMaxForTwoLevel? 'hide':''; //整理二级评论公用html, twoLevelCommentHtml += arrangeTwoLevelCommentDetail(commentInfo[x]['id'], thisTwoLevelArr[y], commentVoteCount, commentIdAndUserRef, myVoteDetail); } } var isHide = ''; if (type == 'hot' && x > 2) { isHide = 'hide'; } //一级评论点赞显示 var thisVoteUpNum = commentVoteCount[1][commentInfo[x]['id']] ? commentVoteCount[1][commentInfo[x]['id']] : 0; var thisVoteDownNum = commentVoteCount[-1][commentInfo[x]['id']] ? commentVoteCount[-1][commentInfo[x]['id']] : 0; var showMoreReplyHtml = '';//显示查看更多回复 if (twoLevelCommentsCount) { if (twoLevelCommentsCount[commentInfo[x]['id']] && twoLevelCommentsCount[commentInfo[x]['id']] > commentMaxForTwoLevel) { showMoreReplyHtml = '
    ' + '共' + twoLevelCommentsCount[commentInfo[x]['id']] + '条回复,点击查看' + '
    '; } } var isVoteUpStyle = (myVoteDetail[commentInfo[x]['id']] == '1') ? 'voteStyle' : ''; var isVoteDownStyle = (myVoteDetail[commentInfo[x]['id']] == '-1') ? 'voteStyle' : ''; commentHtml += '
  • ' + '' + '
    ' + '
    ' + '
    ' + commentInfo[x]['userName'] + '
    ' + '
    ' + AnalyticEmotion(commentInfo[x]['content']) + '
    ' + '
    ' + '
    #' + commentInfo[x]['flcommentfloorid'] + '
    ' + '
    ' + commentInfo[x]['platform'] + '
    ' + '
    ' + commentInfo[x]['createat'] + '
    ' + '
     ' + thisVoteUpNum + '
    ' + '
     ' + thisVoteDownNum + '
    ' + '
    回复
    ' + '
    ' + '
    ' + '
    ' + twoLevelCommentHtml + showMoreReplyHtml + '
    ' + '
    ' + '
  • '; } return commentHtml; } //点击查看热门评论(按热度排序) $('.moreHotCommentPrompt .more-hot-comment').click(function () { sort = 'hot'; _comment_page = 1; commentLoadByAjax();//根据热度排序 $('.moreHotCommentPrompt').css('display', 'none'); }); //点击查看更多调用二级评论 $(document).on('click', '.comment-list .viewMoreLevelComment', function () { var rcId = $(this).parents('li').attr('data-id');//一级根评论, getMoreTwoLevelComment(this, rcId, 1); }); $(document).on('click', '.pageBtn2', function () { var tlPage = $(this).parents('li').attr('data-thisPage'); var rcId = $(this).parents('li').attr('data-id');//一级根评论, if ($(this).hasClass('prev')) { tlPage--; } else if ($(this).hasClass('next')) { tlPage++; } else if ($(this).hasClass('num')) { tlPage = $(this).attr('page'); } getMoreTwoLevelComment(this, rcId, tlPage); scrollToTwoLevelComment(this); }); function getMoreTwoLevelComment(obj, rcId, tlPage) { //一级评论id,和二级分页值 var postData = { topicId: topicId, rcId: rcId, p: tlPage }; $.post(getMoreTwoLevelCommentUrl, postData, function (data) { var data = data.info; var thisTwoLevelArr = data.comments; var commentVoteCount = data.commentVoteCount; var commentIdAndUserRef = data.commentIdAndUserRef; var twoLevelCommentsCount = data.twoLevelCommentsCount; var myVoteDetail = data.myVoteDetail; var twoLevelCommentHtml = ''; if (twoLevelCommentsCount && twoLevelCommentsCount > 0) { var parentObj = $(obj).parents('li'); for (y in thisTwoLevelArr) { twoLevelCommentHtml += arrangeTwoLevelCommentDetail(rcId, thisTwoLevelArr[y], commentVoteCount, commentIdAndUserRef, myVoteDetail); } parentObj.find('.comment-to-user').html(twoLevelCommentHtml); if (twoLevelCommentsCount > 10) { parentObj.find('.comment-detail .pageShow').remove(); parentObj.find('.comment-to-user').after("
    " + data.pageShow + "
    "); parentObj.find('.comment-detail .pageShow a').addClass('pageBtn2').attr('href', 'javascript:;').removeClass('current'); parentObj.find('.comment-detail .pageShow a').each(function () { if ($(this).attr('page') == tlPage) { $(this).addClass('current'); } }); parentObj.attr('data-thisPage', tlPage); } parentObj.attr('data-numCount', twoLevelCommentsCount); } }); } $(document).on('click', '.comment-list .viewMoreLevelComment .page', function () { //点击二级分页,获取当前的分页参数 var rcId = $(this).parents('li').attr('data-id');//一级根评论, tlPage = $(this).attr('data-page');//此处page值是需要附加到 getMoreTwoLevelComment(this, rcId, tlPage); }); //文章点赞,评论点赞提交 $(".vote-up").click(function () { var $this = $(this); // var doType = type==='public_test_report' ? 'public_test_report': 'forum_topic'; doVote(this, 'forum_topic', topicId, 1, '.vote-num-up', '.vote-up span', function () { // voteDataUpdate(topicId, 0, 'up', 1);//成功后执行数据更新 $('.forum-detail .share-good-detail-option .vote-up .vote-icon').attr('src', '/themes/baiqiang_v3/Public/images/forum/vote-up-selected-btn.png'); $('.forum-detail .share-good-detail-option .vote-up').addClass('voteStyleBox'); $this.addClass('on'); }); }); $(".vote-down").click(function () { // var doType = type==='public_test_report' ? 'public_test_report': 'forum_topic'; doVote(this, 'forum_topic', topicId, -1, '.vote-num-down', '.vote-down span', function () { // voteDataUpdate(topicId, 0, 'down', 1);//成功后执行数据更新 $('.forum-detail .share-good-detail-option .vote-down .vote-icon').attr('src', '/themes/baiqiang_v3/Public/images/forum/vote-down-selected-btn.png'); $('.forum-detail .share-good-detail-option .vote-down').addClass('voteStyleBox'); }); }); $(document).on('click', '.comment-vote-up', function () { var commentId = $(this).attr('data-commentId'); var thisRelateObj = ''; var thisRelateSonObj = ''; if (commentId == $(this).parents('li').attr('data-id')) { thisRelateObj = $(this).siblings('.comment-vote-down'); thisRelateSonObj = $(this).siblings('.comment-vote-down').find('span')[0]; } /*doVoteNew(this, 'product_comment', commentId, 1, $(this).find('span')[0], this, 'voteStyle', thisRelateObj, thisRelateSonObj, function (data) { voteDataUpdate(topicId, commentId, 'up', data);//成功后执行数据更新 });*/ doVote(this, 'product_comment', commentId, 1, $(this).find('span')[0], this, function (data) { // voteDataUpdate(topicId, commentId, 'up', data);//成功后执行数据更新 }); }); $(document).on('click', '.comment-vote-down', function () { var commentId = $(this).attr('data-commentId'); var thisRelateObj = ''; var thisRelateSonObj = ''; if (commentId == $(this).parents('li').attr('data-id')) { thisRelateObj = $(this).siblings('.comment-vote-up'); thisRelateSonObj = $(this).siblings('.comment-vote-up').find('span')[0]; } /*doVoteNew(this, 'product_comment', commentId, -1, $(this).find('span')[0], this, 'voteStyle', thisRelateObj, thisRelateSonObj, function (data) { voteDataUpdate(topicId, commentId, 'down', data);//成功后执行数据更新 });*/ doVote(this, 'product_comment', commentId, -1, $(this).find('span')[0], this, function (data) { // voteDataUpdate(topicId, commentId, 'up', data);//成功后执行数据更新 }); }); function voteDataUpdate(topicId, commentId, commentResult, statusVal) { postData = { topicId: topicId, commentId: commentId, commentResult: commentResult, statusVal: statusVal, doType: type }; $.post(topicAndCommentVoteCountUrl, postData, function (data) { //console.log(data);//点赞数据更新 }); } //整理评论分页 function arrangePageStyle(obj) { $(obj).find('a').addClass('pageBtn').attr('href', 'javascript:;').removeClass('current'); $(obj).find('a').each(function () { if ($(this).attr('page') == _comment_page) { $(this).addClass('current'); } }); } $(document).on('click', '.pageBtn', function () { if ($(this).hasClass('next')) { _comment_page++; } else if ($(this).hasClass('num')) { _comment_page = $(this).attr('page'); } else if ($(this).hasClass('prev')) { _comment_page--; } else { alert('error'); } commentLoadByAjax(); scrollToOneLevelComment(); }); var lastClickPageInputBox = Date.parse(new Date()); $(document).on('keypress', '.pageInputBox input', function (e) { e = e || event; if (e.keyCode == "13") { var nowTime = Date.parse(new Date()); //控制1秒内不能重复点击 if ((nowTime - lastClickPageInputBox) < 1000) { return false; } lastClickPageInputBox = nowTime; _comment_page = parseInt(Math.abs($(this).val())); if (!_comment_page || _comment_page < 1) { _comment_page = 1; } var pageCount = parseInt($('.pageInputBox .pageNum').text()); _comment_page = (_comment_page > pageCount) ? pageCount : _comment_page; commentLoadByAjax(); scrollToOneLevelComment(); } }); function arrangeTwoLevelCommentDetail(oneLevelCommentId, twoLevelComment, commentVoteCount, commentIdAndUserRef, myVoteDetail) { var isReplyOtherUserHtml = ''; if (twoLevelComment['fid'] && twoLevelComment['fid'] != oneLevelCommentId) { isReplyOtherUserHtml = '回复 @' + commentIdAndUserRef[twoLevelComment['fid']] + ''; } var isVoteUpStyle = (myVoteDetail[twoLevelComment['id']] == '1') ? 'voteStyle' : ''; //二级评论显示 var thisVoteUpNum = commentVoteCount[1][twoLevelComment['id']] ? commentVoteCount[1][twoLevelComment['id']] : 0; twoLevelCommentHtml = '
    ' + '' + '
    ' + '
    ' + '' + twoLevelComment['userName'] + '' + isReplyOtherUserHtml + ':' + AnalyticEmotion(twoLevelComment['content']) + '' + '
    ' + '
    ' + '
    ' + twoLevelComment['createat'] + '
    ' + '
     ' + thisVoteUpNum + '
    ' + '
    回复
    ' + '
    ' + '
    ' + '
    '; return twoLevelCommentHtml; } //快速定位 $('.topCommentCount').click(function () { scrollToOneLevelComment(); }); function scrollToOneLevelComment() { var offsetTop = $('.comment-part').offset().top; $("body,html").animate({ scrollTop: offsetTop }, 800); } function scrollToTwoLevelComment(obj) { var offsetTop = $(obj).parents('li').offset().top; $("body,html").animate({ scrollTop: offsetTop }, 800); } function scrollToArticleVote() { var offsetTop = $('.share-good-detail-option').offset().top; $("body,html").animate({ scrollTop: offsetTop }, 800); } $(document).on('click', '.edui-button', function () { setTimeout(function () { $(".edui-dialog-modalmask").prop("onclick", null).off("click"); }, 200); }); }); }); </script>
    <script type="text/javascript"> $(function () { $('.autoWH').each(function(){ $(this).aeImageResize({mode:2}); }) }); </script> <script id="async_component_21584728_x" data-no-merge="1"> (function(){ var compId = "async_component_21584728_x"; var asyncLoadUrl = "https://www.qiang100.com/index.php?g=Home&m=Helper&a=async_load_component&file=Public%2Fright%2Fright-bottom-float-1&source=%2Fzhi%2F29179216.html&ts=1579155707230&sign=740f45f138bee695ec7414bf6712a352"; var loadAsyncComp = function($) { $.get(asyncLoadUrl, function(r){ if(!r) { return; } $("#"+compId).after(r); $("#"+compId).remove(); }); }; if (typeof require != "undefined") { require(["jquery"], function($){ loadAsyncComp($); }); } else if (typeof $ != "undefined") { loadAsyncComp($); } else { console.log("no jquery, component async load failed"); } })(); </script>
    官方微信客服
    官方微信客服
    挑好品牌 找好东西
    返回顶部
    <script> $('body').on('click','.new-right-part-sub .go-top',function(){ $('html,body').animate({ scrollTop:0 }); }); $(window).on('scroll',function(){ if($(window).scrollTop() > 600){ $('.new-right-part-sub .go-top').slideDown(200); }else{ $('.new-right-part-sub .go-top').slideUp(100); } }) </script> <script language="javascript" src="https://static4.qiang100.com/themes/baiqiang_v3/Public/js/bottom_jquery.js" type="text/javascript"></script> <script src="/public/js/baidu_event.js?v=20161116" language="javascript" ></script> <script src="/public/js/log_click.js?v=20161116" language="javascript" ></script> <script type="text/javascript" data-no-merge="1"> (function(win, doc) { var hm = doc.createElement("script"); hm.src = "/public/js/tg_track.js?v=201906192015"; var s = doc.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(window, document); </script> <script type="text/javascript"> var cnzz_id = ''; cnzz_id = '1261416362'; var cnzz_s_tag = document.createElement('script'); cnzz_s_tag.type = 'text/javascript'; cnzz_s_tag.async = true; cnzz_s_tag.charset = 'utf-8'; cnzz_s_tag.src = 'https://w.cnzz.com/c.php?id=' + cnzz_id + '&async=1'; var root_s = document.getElementsByTagName('script')[0]; root_s.parentNode.insertBefore(cnzz_s_tag, root_s); </script> <script id="async_component_92120357_x" data-no-merge="1"> (function(){ var compId = "async_component_92120357_x"; var asyncLoadUrl = "https://www.qiang100.com/index.php?g=Home&m=Helper&a=async_load_component&file=Public%2Fright%2Fnine-right&source=%2Fzhi%2F29179216.html&ts=1579155707233&sign=b8b5f21af36565aa55fc9be7242b7f92"; var loadAsyncComp = function($) { $.get(asyncLoadUrl, function(r){ if(!r) { return; } $("#"+compId).after(r); $("#"+compId).remove(); }); }; if (typeof require != "undefined") { require(["jquery"], function($){ loadAsyncComp($); }); } else if (typeof $ != "undefined") { loadAsyncComp($); } else { console.log("no jquery, component async load failed"); } })(); </script> <script id="async_component_94653140_x" data-no-merge="1"> (function(){ var compId = "async_component_94653140_x"; var asyncLoadUrl = "https://www.qiang100.com/index.php?g=Home&m=Helper&a=async_load_component&file=Public%2Fleft%2Fleft-float-1%2Fmain&source=%2Fzhi%2F29179216.html&ts=1579155707233&sign=aa7ee6d49687b01722cb84f272c594ad"; var loadAsyncComp = function($) { $.get(asyncLoadUrl, function(r){ if(!r) { return; } $("#"+compId).after(r); $("#"+compId).remove(); }); }; if (typeof require != "undefined") { require(["jquery"], function($){ loadAsyncComp($); }); } else if (typeof $ != "undefined") { loadAsyncComp($); } else { console.log("no jquery, component async load failed"); } })(); </script> <script id="async_component_17380121_x" data-no-merge="1"> (function(){ var compId = "async_component_17380121_x"; var asyncLoadUrl = "https://www.qiang100.com/index.php?g=Home&m=Helper&a=async_load_component&file=Public%2Fleft%2Fleft-right-float-1%2Fmain&source=%2Fzhi%2F29179216.html&ts=1579155707234&sign=af2f6af845e656903e4c4167ee0373ec"; var loadAsyncComp = function($) { $.get(asyncLoadUrl, function(r){ if(!r) { return; } $("#"+compId).after(r); $("#"+compId).remove(); }); }; if (typeof require != "undefined") { require(["jquery"], function($){ loadAsyncComp($); }); } else if (typeof $ != "undefined") { loadAsyncComp($); } else { console.log("no jquery, component async load failed"); } })(); </script> <script id="async_component_31016191_x" data-no-merge="1"> (function(){ var compId = "async_component_31016191_x"; var asyncLoadUrl = "https://www.qiang100.com/index.php?g=Home&m=Helper&a=async_load_component&file=Public%2Fpop%2Fcommon%2Fmain&source=%2Fzhi%2F29179216.html&ts=1579155707235&sign=a7dff0861ed0ca14dbc79cd53ec7fcc3"; var loadAsyncComp = function($) { $.get(asyncLoadUrl, function(r){ if(!r) { return; } $("#"+compId).after(r); $("#"+compId).remove(); }); }; if (typeof require != "undefined") { require(["jquery"], function($){ loadAsyncComp($); }); } else if (typeof $ != "undefined") { loadAsyncComp($); } else { console.log("no jquery, component async load failed"); } })(); </script> <script language="JavaScript"> $(function(){ var nowPage =0; function linksShow(){ var linksCount = $(".friend-link-line a[data-key]").length; var pages = 12; var linksPage = Math.ceil(linksCount/pages); if(nowPage ==linksPage){ nowPage =0; } $(".friend-link-line a[data-key]").each(function(){ var dataKey =$(this).attr('data-key'); if(dataKey(nowPage+1)*pages-1){ $(this).hide(); }else{ $(this).show(); } }); nowPage++; } linksShow(); setInterval(linksShow,10000); }); </script> <script> (function(b,a,e,h,f,c,g,s){b[h]=b[h]||function(){(b[h].c=b[h].c||[]).push(arguments)}; b[h].s=!!c;g=a.getElementsByTagName(e)[0];s=a.createElement(e); s.src="//s.union.360.cn/"+f+".js";s.defer=!0;s.async=!0;g.parentNode.insertBefore(s,g) })(window,document,"script","_qha",245553,false); </script> <script> function changeFootShow(){ var windowHeight = $(window).height();//屏幕可用工作区高度 var bodyHeight = $(document.body).height()+20;    //浏览器时下窗口文档body的高度 if(bodyHeight < windowHeight){ $('#foot').css({'position':'fixed','bottom':'0'}); }else{ $('#foot').css({'position':'inherit'}); } } function isIE() { if(!!window.ActiveXObject || "ActiveXObject" in window) return true; else return false; } // if (!isIE){ $(document).ready(function () { var target = document.body; var config = { childList: true, subtree: true, attributes: true, characterData: true }; observer.observe(target, config); changeFootShow(); }); var observer = new MutationObserver(function (mutationRecords, observer) { mutationRecords.forEach(function (mutation) { changeFootShow(); }); }); // } changeFootShow(); </script> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> <script language="javascript" src="https://static2.qiang100.com/themes/baiqiang_v3/Public/js/jquery.ae.image.resize.js"></script> <script src="https://static1.qiang100.com/themes/baiqiang_v3/Public/js/jquery.form.min.js"></script> <script>$(function(){ /*表单提交*/ $("#loginForm").submit(function(){ $(this).ajaxSubmit({ type: 'post', dataType: 'json', beforeSend: function() { }, success: function(data) { if (data.status==1){ $(".form_info").html(''+data.info+''); window.location.href = data.url; }else{ if (typeof(loginFail) == "function") { loginFail(); } $(".form_info").html(''+data.info+''); } return false; }, error:function(){ $(".form_info").html('网络异常,请稍后再试!'); return false; } }); return false; }); /*验证码*/ $(document).on('change', '#verify', function(){ var verify = $(this).val(); $.ajax({ type: 'POST', url: 'https://www.qiang100.com/index.php?g=User&m=Login&a=checkVerifyCode', data: {verify:verify}, dataType:'json', success:function(data){ if(data.status==1) { $(".verify_info").html('验证码正确!'); }else{ $(".verify_info").html(''+data.info+''); } } }); }); //签到 $(".sign").on('click',function(){ sign(); }); //积分兑换 $(".exchange").on('click', function(){ window.open('https://www.qiang100.com/index.php?g=User&m=score&a=charge'); }); }); function dialog(dialogTitle, dialogMessage, dialogTime, url){ var arr = BootstrapDialog.confirm({ title: dialogTitle, message: dialogMessage, size: BootstrapDialog.SIZE_SMALL, type: BootstrapDialog.TYPE_WARNING, btnOKClass:'hidden', btnCancelClass:'hidden' }); if (!dialogTime) dialogTime = 1; var i = dialogTime - 1; var timer = setInterval(function(){ $('#miao').html(i); if(i == 0){ clearInterval(timer); arr.close(); if (url) { location.href = url; } } i--; }, 1000); } </script> <script type="text/javascript" data-no-merge="1"> window.loadTaoDianJinSdk = function() { if (window.loadTaoDianJinSdk_complete) { return; } window.loadTaoDianJinSdk_complete = true; // var pid = "mm_30276809_92700351_18510950352"; if (window.bq_page_tbPid) { pid = window.bq_page_tbPid; } (function(win,doc){ var s = doc.createElement("script"), h = doc.getElementsByTagName("head")[0]; if (!win.alimamatk_show) { s.charset = "gbk"; s.async = true; s.src = "//alimama.alicdn.com/tkapi.js"; h.insertBefore(s, h.firstChild); }; var o = { pid: pid,/*推广单元ID,用于区分不同的推广渠道*/ appkey: "",/*通过TOP平台申请的appkey,设置后引导成交会关联appkey*/ unid: "",/*自定义统计字段*/ type: "click" /* click 组件的入口标志 (使用click组件必设)*/ }; win.alimamatk_onload = win.alimamatk_onload || []; win.alimamatk_onload.push(o); })(window,document); }; //保险 setTimeout(function() { loadTaoDianJinSdk(); }, 2000); </script> <script type="text/javascript" data-no-merge="1"> var productId = "14309402"; var productUuid = "29179216"; var productName = "美版嘉宝3段辅食香蕉味+草莓苹果味星星泡芙42g*4罐8个月以上宝宝"; var sourceName = "天猫"; </script> <script type="text/javascript"> $(function () { // 图片按比例缩放 $('#zhi-detail-vote-down').popoverx({ animation: true, placement: 'top', fire_on: 'hover', hover_delay_close: 1, ensure_visiable: true, html: true, content: function() { return $("#zhi-detail-vote-select-content").html(); } }); // 加载评论 /*$.post( "https://www.qiang100.com/index.php?g=Comment&m=CommentShow&a=comments", { type:'product', type_prefix:'z_', post_title:productName, id:productId}, function(data){ $(".zhi-detail-comment").html(data); });*/ }); //筛选查询 function addShopFilter(condition){ var loc = "https://data.qiang100.com/zhi/"; if (loc.indexOf('&') > -1) { location.href = loc + "&" + condition; } else { location.href = loc + "?" + condition; } } //投票 function voteZhi(thisObj, uuid, value, numSel, highlightSel) { doVote(thisObj, 'zhi', uuid, value, numSel, highlightSel); } $(function(){ /*热门推荐商品*/ $.get('https://data.qiang100.com/index.php?g=Home&m=Zhi&a=hotProduct', {sourcename:sourceName}, function( data ){ var html1 = ''; if(data.recLists) { for(var i in data.recLists) { var vo = data.recLists[i]; html1 += ''; html1 += ''; html1 += '
    '+ vo['shortName'] +''+ vo['price'] +'
    '; html1 += '
    '; } } $("#hot-recommend .list-group").html(html1); $("#hot-recommend .list-group .autoWH").each(function(){ $(this).aeImageResize({mode:2}); }); /*var html2 = ''; if( data.mallHot ) { for(var i in data.mallHot ) { var vo = data.mallHot[i]; html2 += ''; html2 += ''; html2 += '
    '+ vo['shortName'] +''+ vo['price'] +'
    '; html2 += '
    '; } } $("#mall-hot .list-group").html(html2); $("#mall-hot .list-group .autoWH").each(function(){ $(this).aeImageResize({mode:2}); });*/ }); }); !function changeHtml( obj ){ console.log(obj.length); var re = /<[^>]*>/gi; var objNew = String( obj.text() ).replace(re,''); obj.html(objNew); }($('#j-phtml')); </script> <script type="text/javascript" data-no-merge="1"> var currency = 1; var huiHuiUrl = 'https://www.qiang100.com/index.php?g=Api&m=Product&a=getProductHistoryPrice&productId=588590020133&mall=%E5%A4%A9%E7%8C%AB&url=https%3A%2F%2Fdetail.tmall.com%2Fitem.htm%3Fid%3D588590020133'; </script> <script type="text/javascript" src="/public/js/highcharts.js"></script> <script type="text/javascript"> $(function () { $.ajax({ url: huiHuiUrl, dataType: "json", success: function (data) { if(data.code === 100){ var json = data.info; console.log(json); var priceHistoryData = json.priceHistoryData; if (priceHistoryData) { var curTime = json.priceHistoryData.curTime; //var curPrice = json.thisItem.price; var curPrice = json.today;//new var currencyName = ''; var currencySuffix = ''; var currencyPrefix = ''; var dataArray = json.priceHistoryData.list; var itemName = ''; if (json.thisItem && json.thisItem.name) { itemName = '商品 “' + json.thisItem.name + '” 的历史价格走势:'; } else { itemName = '该商品的历史价格走势:'; } var labelArray = []; var priceArray = []; if(json.priceunit && json.priceunitSymbol || json.priceunit == '日元'){ if(json.priceunit != '日元'){ currencyPrefix = json.priceunitSymbol;//前缀符号 } currencyName = json.priceunit;//单位名称 if($.inArray(currencyName,['元','人民币元','日元']) > -1){ currencySuffix = currencyName;//后缀符号 } }else{ if (currency == 2) { currencyName = '美元'; currencyPrefix = '$'; } else if (currency == 3) { currencyName = '日元'; currencySuffix = '日元'; } else if (currency == 4) { currencyName = '英镑'; currencyPrefix = '₤'; } else { currencyPrefix = '¥'; currencyName = '人民币元'; currencySuffix = '元'; } } for (var i in dataArray) { labelArray.push(dataArray[i].time); priceArray.push(dataArray[i].price); } labelArray.push(curTime); priceArray.push(curPrice); $('.zhi-detail-desc-image').after('
    '); Highcharts.setOptions({}); $('.zhi-detail-price-history').highcharts({ chart: { type: 'line' }, title: { text: '' }, subtitle: { text: itemName }, xAxis: { categories: labelArray }, yAxis: { title: { text: '价格(' + currencyName + ')' } }, tooltip: { crosshairs: true, shared: true, headerFormat: '{point.x}
    ', pointFormat: '' + currencyPrefix + '{point.y:.2f}' + currencySuffix + '' }, legend: { enabled: false }, plotOptions: { line: { dataLabels: { enabled: true }, enableMouseTracking: true } }, credits: { text: '上图由百强网(qiang100.com)制作。注意:百强收录的大多为刚刚降价的商品,上图往往不能及时反映最新的价格,仅作为历史数据供参考。', href: 'http://www.qiang100.com', position: { align: 'center', verticalAlign: 'bottom', }, style: { cursor: 'pointer', color: '#cccccc', fontSize: '10px', } }, series: [{ name: '当日价格', data: priceArray, lineWidth: 2, color: '#f74645' }] }); } } }, error: function () { console.log('fail'); } }); }); </script> <script type="text/javascript" data-no-merge="1"> var statisticsTouch = "https://www.qiang100.com/index.php?g=api&m=statistics&a=touch"; var zhiType = '0,0,1'; </script> <script> var fromurl = document.referrer.toLowerCase(); if(fromurl.indexOf('zhi') > -1 || fromurl == 'https://www.qiang100.com/'){ //console.log('11'); document.write('<script id="sts-js" data-type="product" data-key="visit_count" data-id="29179216" data-other="mall=天猫&zhiType='+zhiType+'"\ src="/public/js/touch_statistics.js" data-url="'+statisticsTouch+'" language="javascript"><\/script>'); }else{ //console.log('00'); } </script> " isconvert="1" style="color:#dd2727;" rel="nofollow">请点击这里