|
|
|
|
@ -1167,6 +1167,10 @@ var AccountPage = function AccountPage(_ref) {
|
|
|
|
|
}();
|
|
|
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
|
|
|
getData();
|
|
|
|
|
laborList.forEach(function (item) {
|
|
|
|
|
var preloadedImage = new Image(); // 创建一个新的 Image 对象
|
|
|
|
|
preloadedImage.src = item.img; // 设置图片路径,开始加载图片
|
|
|
|
|
});
|
|
|
|
|
}, []);
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
|
|
|
|
|
spinning: pageLoading,
|
|
|
|
|
@ -1259,6 +1263,7 @@ var AccountPage = function AccountPage(_ref) {
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml10",
|
|
|
|
|
children: "\u5B66\u4E60\u4EBA\u6570"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml10",
|
|
|
|
|
@ -1295,6 +1300,7 @@ var AccountPage = function AccountPage(_ref) {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: HomeVer2modules.imgSty,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
className: HomeVer2modules.cover,
|
|
|
|
|
src: "".concat(env/* default */.Z.IMG_SERVER, "/").concat(item === null || item === void 0 ? void 0 : item.image_url) || "".concat(env/* default */.Z.IMG_SERVER, "/").concat(item === null || item === void 0 ? void 0 : item.pic)
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
@ -1313,6 +1319,7 @@ var AccountPage = function AccountPage(_ref) {
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml10",
|
|
|
|
|
children: "\u5B66\u4E60\u4EBA\u6570"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml10",
|
|
|
|
|
@ -1395,7 +1402,9 @@ var AccountPage = function AccountPage(_ref) {
|
|
|
|
|
_umi_production_exports.history.push(laborList[index].link);
|
|
|
|
|
},
|
|
|
|
|
onMouseEnter: function onMouseEnter() {
|
|
|
|
|
setActiveLaborId(index);
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
setActiveLaborId(index);
|
|
|
|
|
}, 100); // 延迟状态更新,避免频繁更新
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: HomeVer2modules.title,
|