|
|
|
|
@ -5765,8 +5765,9 @@ var IndexPage = function IndexPage(_ref) {
|
|
|
|
|
}
|
|
|
|
|
}), homePage.images_url && /*#__PURE__*/(0,jsx_runtime.jsx)(carousel/* default */.Z, {
|
|
|
|
|
className: isMainSite ? Indexmodules.mainSite : '',
|
|
|
|
|
ref: Carousels,
|
|
|
|
|
autoplay: true,
|
|
|
|
|
ref: Carousels
|
|
|
|
|
// autoplay
|
|
|
|
|
,
|
|
|
|
|
pauseOnDotsHover: true,
|
|
|
|
|
children: homePage.images_url.length > 0 ? (_homePage$images_url = homePage.images_url) === null || _homePage$images_url === void 0 ? void 0 : _homePage$images_url.map(function (v, k) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
@ -5778,18 +5779,12 @@ var IndexPage = function IndexPage(_ref) {
|
|
|
|
|
display: 'block',
|
|
|
|
|
width: '100%',
|
|
|
|
|
height: '400px',
|
|
|
|
|
position: 'relative'
|
|
|
|
|
position: 'relative',
|
|
|
|
|
background: "url(".concat(env/* default */.Z.IMG_SERVER + v.image_url, ") no-repeat"),
|
|
|
|
|
backgroundPosition: "center center",
|
|
|
|
|
backgroundSize: "auto 100%"
|
|
|
|
|
},
|
|
|
|
|
href: v.path,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
style: {
|
|
|
|
|
height: '100%',
|
|
|
|
|
position: 'absolute',
|
|
|
|
|
left: '50%',
|
|
|
|
|
transform: 'translateX(-50%)'
|
|
|
|
|
},
|
|
|
|
|
src: env/* default */.Z.IMG_SERVER + v.image_url
|
|
|
|
|
})
|
|
|
|
|
href: v.path
|
|
|
|
|
})
|
|
|
|
|
}, k);
|
|
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
@ -5801,18 +5796,12 @@ var IndexPage = function IndexPage(_ref) {
|
|
|
|
|
display: 'block',
|
|
|
|
|
width: '100%',
|
|
|
|
|
height: '400px',
|
|
|
|
|
position: 'relative'
|
|
|
|
|
position: 'relative',
|
|
|
|
|
background: "url(".concat(banner_namespaceObject, ") no-repeat"),
|
|
|
|
|
backgroundPosition: "center center",
|
|
|
|
|
backgroundSize: "auto 100%"
|
|
|
|
|
},
|
|
|
|
|
href: '/',
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
style: {
|
|
|
|
|
height: '100%',
|
|
|
|
|
position: 'absolute',
|
|
|
|
|
left: '50%',
|
|
|
|
|
transform: 'translateX(-50%)'
|
|
|
|
|
},
|
|
|
|
|
src: banner_namespaceObject
|
|
|
|
|
})
|
|
|
|
|
href: '/'
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
|