{"id":20173,"date":"2024-09-29T14:51:44","date_gmt":"2024-09-29T14:51:44","guid":{"rendered":"https:\/\/siruba.cn\/news\/"},"modified":"2025-01-22T09:26:05","modified_gmt":"2025-01-22T09:26:05","slug":"information-hub","status":"publish","type":"page","link":"https:\/\/siruba.cn\/cn\/information-hub\/","title":{"rendered":"Information Hub"},"content":{"rendered":"\n<div class=\"relative h-[200px] md:h-[400px] overflow-hidden mt-[50px] xl:mt-[68px] max-w-[1920px] mx-auto\">\n    <img src=https:\/\/siruba.cn\/wp-content\/uploads\/2024\/12\/Information-banner.png alt=\"Background image\" class=\"absolute inset-0 w-full h-full object-cover z-0\">\n    <img decoding=\"async\" src=\"https:\/\/siruba.cn\/wp-content\/themes\/siruba\/assets\/img\/pic-utility-heading-overlay.png\" alt=\"Overlay\" class=\"absolute inset-0 w-full h-full object-cover z-10\">\n    <div class=\"absolute inset-0 z-20 flex items-center justify-center\">\n        <div class=\"text-5xl text-white text-center\">\n            \u8d44\u8baf\u4e13\u533a        <\/div>\n    <\/div>\n<\/div>\n\n\n\n\n<p><\/p>\n\n\n\n<script>\n    window.getPosts = async function(page, per_page) {\n        var rs = [];\n        var params = {\n            page,\n            per_page\n            \/\/ lang: '{{ site.language }}'\n        }\n        \n        var res = await axios.get('https:\/\/siruba.cn\/cn\/\/wp-json\/wp\/v2\/posts?_embed',{ params })\n        console.log(res)\n\n        setTimeout(() => {\n            gsap.fromTo('.post-block',{ opacity: 0, y: 40 },{ opacity: 1, y: 0, stagger: .1 })\n        },50);\n        return {\n            posts: res.data,\n            total: parseInt(res.headers['x-wp-totalpages']) || 0\n        };\n    }\n<\/script>\n\n<div class=\"max-w-[1920px] mx-auto\">\n    <section class=\"w-full my-[60px]\">\n        <div x-data=\"{\n            loading: false,\n            res: {\n                posts: [],\n                total: 0\n            },\n            page: 1,\n            per_page: 8\n        }\" \n        x-init=\"\n            loading = true;\n            res = await getPosts(page,per_page);\n            loading = false;\n            $watch('page', async function(val){\n                loading = true;\n                res = await getPosts(page,per_page);\n                loading = false;\n            });\n        \">\n            <div x-show=\"loading\">\n                <div class=\"preloader-inner w-screen h-screen bg-grey-50 flex flex-col justify-center items-center relative\">\n                    <div class=\"preloader-icon\">\n                        <img decoding=\"async\" src=\"https:\/\/siruba.cn\/wp-content\/uploads\/2024\/09\/logo-utility-siruba.svg\" alt=\"preloader\" class=\"w-[146px] h-[24px]\" \/>\n                    <\/div>\n                    <div class=\"w-[120px] h-[4px] bg-green-10000 mt-[28px]\">\n                        <div class=\"flex items-center justify-center\">\n                            <div class=\"flex items-center space-x-[16px] loading-square-waves\">\n                            <div class=\"w-[16px] h-[16px] bg-black loading-square-waves__square\"><\/div>\n                            <div class=\"w-[16px] h-[16px] bg-black loading-square-waves__square\"><\/div>\n                            <div class=\"w-[16px] h-[16px] bg-black loading-square-waves__square\"><\/div>\n                            <div class=\"w-[16px] h-[16px] bg-black loading-square-waves__square\"><\/div>\n                            <div class=\"w-[16px] h-[16px] bg-black loading-square-waves__square\"><\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/div>\n            <div class=\"flex justify-center mx-[12px] md:mx-[40px]\">\n                <div class=\"grid grid-cols-1 md:grid-cols-2 2xl:grid-cols-4 gap-[20px] md:gap-[40px]\">\n                    <template x-for=\"(post, index) in res.posts\" :key=\"index\">\n                        <a :href=\"post.link\" class=\"max-w-[370px] group block overflow-hidden\">\n                            <div class=\"relative overflow-hidden\">\n                                <template x-if=\"post._embedded['wp:featuredmedia']\">\n                                    <img class=\"w-full transition-transform duration-300 group-hover:scale-110\" style=\"min-height: 208px\" :src=\"post._embedded['wp:featuredmedia'][0].source_url\" alt=\"Banner\">\n                                <\/template>\n                                <template x-if=\"!post._embedded['wp:featuredmedia']\">\n                                    <img decoding=\"async\" class=\"w-full transition-transform duration-300 group-hover:scale-110\" style=\"min-height: 208px\" src=\"https:\/\/siruba.cn\/wp-content\/themes\/siruba\/assets\/img\/pic-news-no-image.png\" alt=\"Banner\">\n                                <\/template>\n                            <\/div>\n                            <div class=\"mt-3 text-base text-grey-700\" x-text=\"dayjs(post.date).format('YYYY.MM.DD')\"><\/div>\n                            <div class=\"mt-2 text-lg text-black transition-colors duration-300\" x-text=\"post.title.rendered\"><\/div>\n                        <\/a>\n                    <\/template>\n                <\/div>\n            <\/div>\n\n            <div class=\"flex justify-center mt-[40px]\">\n                <button x-on:click=\"page--\" :disabled=\"page === 1\" class=\"\">\n                    <img data-src=\"https:\/\/siruba.cn\/wp-content\/themes\/siruba\/assets\/svg\/icon-utility-arrow-1.svg\" class=\"mx-[27px] h-[16px] w-[16px] transform rotate-90 text-primarylight svg-fill-current\" alt=\"arrow\">\n                <\/button>\n                <div class=\"relative\">\n                    <div class=\"absolute right-[10px] flex items-center justify-center h-full\">\n                        <img data-src=\"https:\/\/siruba.cn\/wp-content\/themes\/siruba\/assets\/svg\/icon-utility-arrow-1.svg\" class=\"transform rotate-0 svg-fill-current\" alt=\"Next\">  \n                    <\/div>\n                    <select x-model=\"page\" @change=\"function($event){ page = parseInt($event.target.value) }\" class=\"bg-grey-50 h-[48px] w-[47px] text-center appearance-none pr-[18px]\">\n                        <template x-for=\"page in res.total\" :key=\"page\">\n                            <option class=\"\" :value=\"page\" x-text=\"page\"><\/option>\n                        <\/template>\n                    <\/select>\n                <\/div>\n                <div class=\"mx-[10px] my-auto\">of<\/div>\n                <div class=\"my-auto\" x-text=\"res.total\"><\/div>\n                <button x-on:click=\"page++\" :disabled=\"page === res.total\" class=\"\">\n                    <img data-src=\"https:\/\/siruba.cn\/wp-content\/themes\/siruba\/assets\/svg\/icon-utility-arrow-1.svg\" class=\"mx-[27px] h-[16px] w-[16px] transform -rotate-90 text-primarylight svg-fill-current\" alt=\"Next\">\n                <\/button>\n            <\/div>\n        <\/div>\n    <\/section>\n<\/div>\n\n<script src=\"https:\/\/siruba.cn\/wp-content\/themes\/siruba\/assets\/js\/axios.min.js\"><\/script>\n<script src=\"https:\/\/siruba.cn\/wp-content\/themes\/siruba\/assets\/js\/dayjs.min.js\"><\/script>\n\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-20173","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Information Hub - SiRUBA Sewing Machine | KAULIN Official<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/siruba.cn\/cn\/information-hub\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Information Hub - SiRUBA Sewing Machine | KAULIN Official\" \/>\n<meta property=\"og:url\" content=\"https:\/\/siruba.cn\/cn\/information-hub\/\" \/>\n<meta property=\"og:site_name\" content=\"SiRUBA Sewing Machine | KAULIN Official\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-22T09:26:05+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/siruba.cn\/cn\/information-hub\/\",\"url\":\"https:\/\/siruba.cn\/cn\/information-hub\/\",\"name\":\"Information Hub - SiRUBA Sewing Machine | KAULIN Official\",\"isPartOf\":{\"@id\":\"https:\/\/siruba.cn\/#website\"},\"datePublished\":\"2024-09-29T14:51:44+00:00\",\"dateModified\":\"2025-01-22T09:26:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/siruba.cn\/cn\/information-hub\/#breadcrumb\"},\"inLanguage\":\"cn\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/siruba.cn\/cn\/information-hub\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/siruba.cn\/cn\/information-hub\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/siruba.cn\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Information Hub\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/siruba.cn\/#website\",\"url\":\"https:\/\/siruba.cn\/\",\"name\":\"SiRUBA Sewing Machine | KAULIN Official\",\"description\":\"KAULIN MFG. CO., LTD.,  found in 1965, and for half a century, we develop and manufacture industrial sewing machines, to provide service and solution all around the world for our customers and partners.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/siruba.cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"cn\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Information Hub - SiRUBA Sewing Machine | KAULIN Official","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/siruba.cn\/cn\/information-hub\/","og_locale":"en_US","og_type":"article","og_title":"Information Hub - SiRUBA Sewing Machine | KAULIN Official","og_url":"https:\/\/siruba.cn\/cn\/information-hub\/","og_site_name":"SiRUBA Sewing Machine | KAULIN Official","article_modified_time":"2025-01-22T09:26:05+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/siruba.cn\/cn\/information-hub\/","url":"https:\/\/siruba.cn\/cn\/information-hub\/","name":"Information Hub - SiRUBA Sewing Machine | KAULIN Official","isPartOf":{"@id":"https:\/\/siruba.cn\/#website"},"datePublished":"2024-09-29T14:51:44+00:00","dateModified":"2025-01-22T09:26:05+00:00","breadcrumb":{"@id":"https:\/\/siruba.cn\/cn\/information-hub\/#breadcrumb"},"inLanguage":"cn","potentialAction":[{"@type":"ReadAction","target":["https:\/\/siruba.cn\/cn\/information-hub\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/siruba.cn\/cn\/information-hub\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/siruba.cn\/cn\/"},{"@type":"ListItem","position":2,"name":"Information Hub"}]},{"@type":"WebSite","@id":"https:\/\/siruba.cn\/#website","url":"https:\/\/siruba.cn\/","name":"SiRUBA Sewing Machine | KAULIN Official","description":"KAULIN MFG. CO., LTD.,  found in 1965, and for half a century, we develop and manufacture industrial sewing machines, to provide service and solution all around the world for our customers and partners.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/siruba.cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"cn"}]}},"_links":{"self":[{"href":"https:\/\/siruba.cn\/cn\/wp-json\/wp\/v2\/pages\/20173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/siruba.cn\/cn\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/siruba.cn\/cn\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/siruba.cn\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/siruba.cn\/cn\/wp-json\/wp\/v2\/comments?post=20173"}],"version-history":[{"count":5,"href":"https:\/\/siruba.cn\/cn\/wp-json\/wp\/v2\/pages\/20173\/revisions"}],"predecessor-version":[{"id":29322,"href":"https:\/\/siruba.cn\/cn\/wp-json\/wp\/v2\/pages\/20173\/revisions\/29322"}],"wp:attachment":[{"href":"https:\/\/siruba.cn\/cn\/wp-json\/wp\/v2\/media?parent=20173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}