64 lines
1.8 KiB
JavaScript
64 lines
1.8 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: fb331b08bcf9fa6e.3b67e0d42a.js
|
|
* Module id: 948390
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e) => {
|
|
"use strict";
|
|
var t = e.i(462214),
|
|
r = e.i(358379);
|
|
function o({ match: e, onUpgrade: o }) {
|
|
let n,
|
|
i = (0, r.useCallback)(
|
|
(t) => {
|
|
t.stopPropagation(), o(e.activityEndTime);
|
|
},
|
|
[e.activityEndTime, o],
|
|
);
|
|
return (0, t.jsxs)("div", {
|
|
className: "flex flex-col gap-[2px]",
|
|
children: [
|
|
(0, t.jsxs)("div", {
|
|
className: "flex items-center gap-2",
|
|
children: [
|
|
(0, t.jsx)("span", {
|
|
className: "text-[12px] text-[#f7f7f7] leading-normal",
|
|
children: e.missRemark,
|
|
}),
|
|
(0, t.jsx)("button", {
|
|
className:
|
|
"shrink-0 h-6 px-2 rounded-lg bg-white text-[#141414] text-[11px] leading-normal cursor-pointer border-none hover:bg-white/80",
|
|
onClick: i,
|
|
children: "升级",
|
|
}),
|
|
],
|
|
}),
|
|
(0, t.jsxs)("span", {
|
|
className: "text-[12px] text-[#a8a8a8] leading-normal",
|
|
children: [
|
|
"活动截止",
|
|
((n = new Date(e.activityEndTime)),
|
|
`${n.getMonth() + 1}月${n.getDate()}日`),
|
|
],
|
|
}),
|
|
],
|
|
});
|
|
}
|
|
e.s([
|
|
"ACTIVITY_BENEFIT_TOOLTIP_OVERLAY_STYLE",
|
|
0,
|
|
{
|
|
backgroundColor: "#141414",
|
|
borderRadius: 8,
|
|
border: "0.5px solid #363636",
|
|
boxShadow: "0px 2px 6px 0px rgba(0,0,0,0.08)",
|
|
padding: 8,
|
|
},
|
|
"ActivityBenefitTooltip",
|
|
() => o,
|
|
]);
|
|
};
|
|
|
|
export default moduleFactory;
|