111
This commit is contained in:
commit
d842848254
2278 files changed
+362039
No files matched your search
@@ -0,0 +1,43 @@
|
||||
window.env = 'product';
|
||||
window.tenant={"bossProductInstance":"NEW2024022811514060793","cdnFlag":"0","cusId":"1414666","domainStatus":10,"flag":1,"foreign":true,"language":"zh_CN","domain":"www.haihofoods.com","makeDomain":"2402285024.p.make.dcloud.portal1.portal.thefastmake.com","mobileMakeDomain":"2402285024.m.make.dcloud.portal1.portal.thefastmake.com","mobileProductDomain":"2402285024.m.oper.dcloud.portal1.portal.fastoper.com","mobilePublishTime":1765874462000,"mobileStatus":8,"ningkerDomain":"FOREIGN_TRADE","pcPublishTime":1765874462000,"productDomain":"2402285024.p.oper.dcloud.portal1.portal.fastoper.com","siteType":"oper","status":6,"tenantId":355435,"unittype":"portal-saas","viewType":"p","code":"2402285024","productGroupId":"PG2024022811514093430","productVersion":"20240101"};
|
||||
window.pageObj={"instanceId":"new2024022811514060793","pageId":"34ece8a7-edcf-4657-b195-6ba54e976249","name":"新闻动态","filename":"news","pageAddress":null,"appId":"60003","pageMotherSetIdList":["footer","head"],"pageMotherSetList":[{"instanceId":"new2024022811514060793","motherSetId":"footer","motherSetName":"默认底部","motherViewType":null,"motherOperStatus":null,"motherSetImageUrl":"/productimg/mother/p/footer.png","motherSetDel":1,"motherSetLocation":1,"pageIds":null,"createTime":1655459795000,"updateTime":1655459795000,"version":0},{"instanceId":"new2024022811514060793","motherSetId":"head","motherSetName":"默认头部","motherViewType":null,"motherOperStatus":null,"motherSetImageUrl":"/productimg/mother/p/head.png","motherSetDel":1,"motherSetLocation":0,"pageIds":null,"createTime":1655459795000,"updateTime":1655459795000,"version":0}],"children":null,"batchCacheTPageList":null,"pageType":"2","contentType":"972205","viewType":null,"imageUrl":null,"previewImg":null,"showOrder":2,"parentId":"0","bindId":null,"operStatus":"BUSINESS","del":0,"pageTypeName":null,"isHomePage":0,"isLoginPage":0,"isRegisterPage":null,"isDeafault":0,"isLoginCheck":null,"isSpecialPage":0,"isErrorPage":0,"isPermissionPage":null,"isShopPage":0,"isNavigation":null,"isFlowpage":0,"createTime":1734487384000,"updateTime":1734487384000,"_detailId":"1775059412908568576","renderInfo":{"host":"2402285024.p.oper.dcloud.portal1.portal.fastoper.com","realhost":"2402285024.p.oper.dcloud.portal1.portal.fastoper.com"}};
|
||||
/*__INLINE_SPLIT__*/
|
||||
setTimeout(function(){$(".loadingBox").addClass("loadingOut");},3000);
|
||||
/*__INLINE_SPLIT__*/
|
||||
$(function () {
|
||||
var urlName = window.location.pathname;
|
||||
$('.e_container-1 .p_list .p_loopitem .s_title a').each(function () {
|
||||
var urlHref = $(this).attr('href');
|
||||
if (urlName.indexOf(urlHref) >= 0) {
|
||||
$(this).addClass('on');
|
||||
$(this).parent().parent("div").addClass('active');
|
||||
}
|
||||
});
|
||||
if ($(window).width() < 769) {
|
||||
if ($('.e_container-1 .p_list .p_loopitem.active').length > 0) {
|
||||
var left = $('.e_container-1 .p_list .p_loopitem.active').offset().left;
|
||||
console.log(left)
|
||||
console.log($(window).width() / 2)
|
||||
if (left > ($(window).width() / 2)) {
|
||||
$(".e_container-1 .p_list").scrollLeft(left / 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$(function () {
|
||||
$('.e_bottomNav-47 .p_level1Box .p_level1Item').find('.p_level2Box').parents('.p_level1Item').addClass('open');
|
||||
});
|
||||
|
||||
$(() => {
|
||||
|
||||
$("saf-loopitem.backTop").click(function() {
|
||||
$("body, html").stop().animate({
|
||||
"scrollTop": 0
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
$("img").attr("alt","闽鑫食品");
|
||||
$("img").attr("title","闽鑫食品");
|
||||
Reference in new issue
Block a user