You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
966 lines
60 KiB
966 lines
60 KiB
"use strict";
|
|
(self["webpackChunk"] = self["webpackChunk"] || []).push([[95762],{
|
|
|
|
/***/ 44652:
|
|
/*!********************************************************!*\
|
|
!*** ./src/pages/OfficialNotice/index.tsx + 4 modules ***!
|
|
\********************************************************/
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
// ESM COMPAT FLAG
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
// EXPORTS
|
|
__webpack_require__.d(__webpack_exports__, {
|
|
"default": function() { return /* binding */ pages_OfficialNotice; }
|
|
});
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
|
|
var regeneratorRuntime = __webpack_require__(7557);
|
|
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
|
|
var asyncToGenerator = __webpack_require__(41498);
|
|
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
|
|
var slicedToArray = __webpack_require__(79800);
|
|
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
|
var _react_17_0_2_react = __webpack_require__(59301);
|
|
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
|
|
var _umi_production_exports = __webpack_require__(88271);
|
|
;// CONCATENATED MODULE: ./src/pages/OfficialNotice/index.less?modules
|
|
// extracted by mini-css-extract-plugin
|
|
/* harmony default export */ var OfficialNoticemodules = ({"officialNotice":"officialNotice___U4fbC","nav_add":"nav_add___ROXeS","content":"content___LX49u","yaowen":"yaowen___iN8Xr","yaowen_left":"yaowen_left___wZVcF","yaowen_left_img":"yaowen_left_img___sWIOc","yaowen_left_text":"yaowen_left_text___Zo8bf","yaowen_right":"yaowen_right___h3hFJ","yaowen_right_item":"yaowen_right_item___aI7VH","yaowen_right_img":"yaowen_right_img___pRfeO","yaowen_right_text_list":"yaowen_right_text_list___tUrJM","yaowen_right_title":"yaowen_right_title___YH9NR","yaowen_right_text":"yaowen_right_text___ZTdDX","dongtai":"dongtai___Kihud","dongtai_list":"dongtai_list___W0HP3","dongtai_item":"dongtai_item___ztqLi","dongtai_img":"dongtai_img___swwSk","dongtai_text":"dongtai_text___NEOjJ","gonggao":"gonggao___IR3zD","gonggao_list":"gonggao_list___GqTOO","gonggao_item":"gonggao_item___SImpc","gonggao_img":"gonggao_img___oxHlO","gonggao_text":"gonggao_text___C7lpv","div_title":"div_title___XTyme","title_name":"title_name___HonuY","title_more":"title_more___vf6Za"});
|
|
;// CONCATENATED MODULE: ./src/pages/OfficialNotice/img/yw.svg
|
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
var __defProp = Object.defineProperty;
|
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
var __defNormalProp = function __defNormalProp(obj, key, value) {
|
|
return key in obj ? __defProp(obj, key, {
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true,
|
|
value: value
|
|
}) : obj[key] = value;
|
|
};
|
|
var __spreadValues = function __spreadValues(a, b) {
|
|
for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
|
|
if (__getOwnPropSymbols) {
|
|
var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)),
|
|
_step;
|
|
try {
|
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
var prop = _step.value;
|
|
if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
|
|
}
|
|
} catch (err) {
|
|
_iterator.e(err);
|
|
} finally {
|
|
_iterator.f();
|
|
}
|
|
}
|
|
return a;
|
|
};
|
|
|
|
var SvgYw = function SvgYw(props) {
|
|
return /* @__PURE__ */React.createElement("svg", __spreadValues({
|
|
width: 24,
|
|
height: 24,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
}, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4"), /* @__PURE__ */React.createElement("defs", null, /* @__PURE__ */React.createElement("filter", {
|
|
x: "-17.5%",
|
|
y: "-12.5%",
|
|
width: "135%",
|
|
height: "135%",
|
|
filterUnits: "objectBoundingBox",
|
|
id: "yw_svg__a"
|
|
}, /* @__PURE__ */React.createElement("feOffset", {
|
|
dy: 1,
|
|
"in": "SourceAlpha",
|
|
result: "shadowOffsetOuter1"
|
|
}), /* @__PURE__ */React.createElement("feGaussianBlur", {
|
|
stdDeviation: 1,
|
|
"in": "shadowOffsetOuter1",
|
|
result: "shadowBlurOuter1"
|
|
}), /* @__PURE__ */React.createElement("feColorMatrix", {
|
|
values: "0 0 0 0 0.124523369 0 0 0 0 0.394649215 0 0 0 0 0.77063519 0 0 0 1 0",
|
|
"in": "shadowBlurOuter1"
|
|
})), /* @__PURE__ */React.createElement("filter", {
|
|
x: "-17.5%",
|
|
y: "-12.5%",
|
|
width: "135%",
|
|
height: "135%",
|
|
filterUnits: "objectBoundingBox",
|
|
id: "yw_svg__d"
|
|
}, /* @__PURE__ */React.createElement("feGaussianBlur", {
|
|
stdDeviation: 1,
|
|
"in": "SourceAlpha",
|
|
result: "shadowBlurInner1"
|
|
}), /* @__PURE__ */React.createElement("feOffset", {
|
|
dy: 1,
|
|
"in": "shadowBlurInner1",
|
|
result: "shadowOffsetInner1"
|
|
}), /* @__PURE__ */React.createElement("feComposite", {
|
|
"in": "shadowOffsetInner1",
|
|
in2: "SourceAlpha",
|
|
operator: "arithmetic",
|
|
k2: -1,
|
|
k3: 1,
|
|
result: "shadowInnerInner1"
|
|
}), /* @__PURE__ */React.createElement("feColorMatrix", {
|
|
values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0",
|
|
"in": "shadowInnerInner1"
|
|
})), /* @__PURE__ */React.createElement("linearGradient", {
|
|
x1: "29.44%",
|
|
y1: "0%",
|
|
x2: "77.793%",
|
|
y2: "80.489%",
|
|
id: "yw_svg__c"
|
|
}, /* @__PURE__ */React.createElement("stop", {
|
|
stopColor: "#E7F0FF",
|
|
offset: "1.594%"
|
|
}), /* @__PURE__ */React.createElement("stop", {
|
|
stopColor: "#98BFFF",
|
|
offset: "32.96%"
|
|
}), /* @__PURE__ */React.createElement("stop", {
|
|
stopColor: "#298BF4",
|
|
offset: "100%"
|
|
})), /* @__PURE__ */React.createElement("path", {
|
|
d: "M14.877 11.512V6.355l-4.396-2.93V1.916h3.91V0H9.937v3.424L5.483 6.513v5H0V20h8.085v-3.26c0-.966.883-1.75 1.972-1.75 1.112 0 2.014.8 2.014 1.788V20H20v-8.488h-5.123Zm-4.768-1.276c-1.09 0-1.973-.783-1.973-1.75s.884-1.751 1.973-1.751c1.09 0 1.972.784 1.972 1.75 0 .968-.883 1.751-1.972 1.751Z",
|
|
id: "yw_svg__b"
|
|
})), /* @__PURE__ */React.createElement("g", {
|
|
transform: "translate(2 1)",
|
|
fillRule: "nonzero",
|
|
fill: "none"
|
|
}, /* @__PURE__ */React.createElement("use", {
|
|
fill: "#000",
|
|
filter: "url(#yw_svg__a)",
|
|
xlinkHref: "#yw_svg__b"
|
|
}), /* @__PURE__ */React.createElement("use", {
|
|
fill: "url(#yw_svg__c)",
|
|
xlinkHref: "#yw_svg__b"
|
|
}), /* @__PURE__ */React.createElement("use", {
|
|
fill: "#000",
|
|
filter: "url(#yw_svg__d)",
|
|
xlinkHref: "#yw_svg__b"
|
|
})));
|
|
};
|
|
|
|
/* harmony default export */ var yw = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTE3LjUlIiB5PSItMTIuNSUiIHdpZHRoPSIxMzUlIiBoZWlnaHQ9IjEzNSUiIGZpbHRlclVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgaWQ9ImEiPjxmZU9mZnNldCBkeT0iMSIgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVy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9wIHN0b3AtY29sb3I9IiM5OEJGRkYiIG9mZnNldD0iMzIuOTYlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzI5OEJGNCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBkPSJNMTQuODc3IDExLjUxMlY2LjM1NWwtNC4zOTYtMi45M1YxLjkxNmgzLjkxVjBIOS45Mzd2My40MjRMNS40ODMgNi41MTN2NUgwVjIwaDguMDg1di0zLjI2YzAtLjk2Ni44ODMtMS43NSAxLjk3Mi0xLjc1IDEuMTEyIDAgMi4wMTQuOCAyLjAxNCAxLjc4OFYyMEgyMHYtOC40ODhoLTUuMTIzWm0tNC43NjgtMS4yNzZjLTEuMDkgMC0xLjk3My0uNzgzLTEuOTczLTEuNzVzLjg4NC0xLjc1MSAxLjk3My0xLjc1MWMxLjA5IDAgMS45NzIuNzg0IDEuOTcyIDEuNzUgMCAuOTY4LS44ODMgMS43NTEtMS45NzIgMS43NTFaIiBpZD0iYiIvPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyIDEpIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9Im5vbmUiPjx1c2UgZmlsbD0iIzAwMCIgZmlsdGVyPSJ1cmwoI2EpIiB4bGluazpocmVmPSIjYiIvPjx1c2UgZmlsbD0idXJsKCNjKSIgeGxpbms6aHJlZj0iI2IiLz48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNkKSIgeGxpbms6aHJlZj0iI2IiLz48L2c+PC9zdmc+");
|
|
;// CONCATENATED MODULE: ./src/pages/OfficialNotice/img/dt.svg
|
|
function dt_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = dt_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
function dt_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return dt_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return dt_arrayLikeToArray(o, minLen); }
|
|
function dt_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
var dt_defProp = Object.defineProperty;
|
|
var dt_getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
var dt_hasOwnProp = Object.prototype.hasOwnProperty;
|
|
var dt_propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
var dt_defNormalProp = function __defNormalProp(obj, key, value) {
|
|
return key in obj ? dt_defProp(obj, key, {
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true,
|
|
value: value
|
|
}) : obj[key] = value;
|
|
};
|
|
var dt_spreadValues = function __spreadValues(a, b) {
|
|
for (var prop in b || (b = {})) if (dt_hasOwnProp.call(b, prop)) dt_defNormalProp(a, prop, b[prop]);
|
|
if (dt_getOwnPropSymbols) {
|
|
var _iterator = dt_createForOfIteratorHelper(dt_getOwnPropSymbols(b)),
|
|
_step;
|
|
try {
|
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
var prop = _step.value;
|
|
if (dt_propIsEnum.call(b, prop)) dt_defNormalProp(a, prop, b[prop]);
|
|
}
|
|
} catch (err) {
|
|
_iterator.e(err);
|
|
} finally {
|
|
_iterator.f();
|
|
}
|
|
}
|
|
return a;
|
|
};
|
|
|
|
var SvgDt = function SvgDt(props) {
|
|
return /* @__PURE__ */React.createElement("svg", dt_spreadValues({
|
|
width: 24,
|
|
height: 24,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
}, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4"), /* @__PURE__ */React.createElement("defs", null, /* @__PURE__ */React.createElement("filter", {
|
|
x: "-17.5%",
|
|
y: "-12.5%",
|
|
width: "135%",
|
|
height: "135%",
|
|
filterUnits: "objectBoundingBox",
|
|
id: "dt_svg__a"
|
|
}, /* @__PURE__ */React.createElement("feOffset", {
|
|
dy: 1,
|
|
"in": "SourceAlpha",
|
|
result: "shadowOffsetOuter1"
|
|
}), /* @__PURE__ */React.createElement("feGaussianBlur", {
|
|
stdDeviation: 1,
|
|
"in": "shadowOffsetOuter1",
|
|
result: "shadowBlurOuter1"
|
|
}), /* @__PURE__ */React.createElement("feColorMatrix", {
|
|
values: "0 0 0 0 0.124523369 0 0 0 0 0.394649215 0 0 0 0 0.77063519 0 0 0 1 0",
|
|
"in": "shadowBlurOuter1"
|
|
})), /* @__PURE__ */React.createElement("filter", {
|
|
x: "-17.5%",
|
|
y: "-12.5%",
|
|
width: "135%",
|
|
height: "135%",
|
|
filterUnits: "objectBoundingBox",
|
|
id: "dt_svg__d"
|
|
}, /* @__PURE__ */React.createElement("feGaussianBlur", {
|
|
stdDeviation: 1,
|
|
"in": "SourceAlpha",
|
|
result: "shadowBlurInner1"
|
|
}), /* @__PURE__ */React.createElement("feOffset", {
|
|
dy: 1,
|
|
"in": "shadowBlurInner1",
|
|
result: "shadowOffsetInner1"
|
|
}), /* @__PURE__ */React.createElement("feComposite", {
|
|
"in": "shadowOffsetInner1",
|
|
in2: "SourceAlpha",
|
|
operator: "arithmetic",
|
|
k2: -1,
|
|
k3: 1,
|
|
result: "shadowInnerInner1"
|
|
}), /* @__PURE__ */React.createElement("feColorMatrix", {
|
|
values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0",
|
|
"in": "shadowInnerInner1"
|
|
})), /* @__PURE__ */React.createElement("linearGradient", {
|
|
x1: "29.44%",
|
|
y1: "0%",
|
|
x2: "77.793%",
|
|
y2: "80.489%",
|
|
id: "dt_svg__c"
|
|
}, /* @__PURE__ */React.createElement("stop", {
|
|
stopColor: "#E7F0FF",
|
|
offset: "1.594%"
|
|
}), /* @__PURE__ */React.createElement("stop", {
|
|
stopColor: "#98BFFF",
|
|
offset: "32.96%"
|
|
}), /* @__PURE__ */React.createElement("stop", {
|
|
stopColor: "#298BF4",
|
|
offset: "100%"
|
|
})), /* @__PURE__ */React.createElement("path", {
|
|
d: "M17.057 12.5h-6.471v1.871h6.471V12.5Zm0-3.757h-6.471v1.886h6.471V8.743Zm0-4.372H2.943v1.872h14.114V4.37Zm-14.114 10h5.286V8.743H2.943v5.628ZM17.543 20c-.243-.729-.9-1.243-1.657-1.243-.772 0-1.415.514-1.657 1.243h-2.572c-.243-.729-.886-1.243-1.657-1.243S8.586 19.271 8.343 20H5.77c-.242-.729-.885-1.243-1.657-1.243-.757 0-1.414.514-1.657 1.243H0V1.243C0 .557.529 0 1.171 0H18.83C19.47 0 20 .557 20 1.243V20h-2.457Z",
|
|
id: "dt_svg__b"
|
|
})), /* @__PURE__ */React.createElement("g", {
|
|
transform: "translate(2 1)",
|
|
fillRule: "nonzero",
|
|
fill: "none"
|
|
}, /* @__PURE__ */React.createElement("use", {
|
|
fill: "#000",
|
|
filter: "url(#dt_svg__a)",
|
|
xlinkHref: "#dt_svg__b"
|
|
}), /* @__PURE__ */React.createElement("use", {
|
|
fill: "url(#dt_svg__c)",
|
|
xlinkHref: "#dt_svg__b"
|
|
}), /* @__PURE__ */React.createElement("use", {
|
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YxLjI0M0MwIC41NTcuNTI5IDAgMS4xNzEgMEgxOC44M0MxOS40NyAwIDIwIC41NTcgMjAgMS4yNDNWMjBoLTIuNDU3WiIgaWQ9ImIiLz48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMiAxKSIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNhKSIgeGxpbms6aHJlZj0iI2IiLz48dXNlIGZpbGw9InVybCgjYykiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjZCkiIHhsaW5rOmhyZWY9IiNiIi8+PC9nPjwvc3ZnPg==");
|
|
;// CONCATENATED MODULE: ./src/pages/OfficialNotice/img/gg.svg
|
|
function gg_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = gg_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
function gg_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return gg_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return gg_arrayLikeToArray(o, minLen); }
|
|
function gg_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
var gg_defProp = Object.defineProperty;
|
|
var gg_getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
var gg_hasOwnProp = Object.prototype.hasOwnProperty;
|
|
var gg_propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
var gg_defNormalProp = function __defNormalProp(obj, key, value) {
|
|
return key in obj ? gg_defProp(obj, key, {
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true,
|
|
value: value
|
|
}) : obj[key] = value;
|
|
};
|
|
var gg_spreadValues = function __spreadValues(a, b) {
|
|
for (var prop in b || (b = {})) if (gg_hasOwnProp.call(b, prop)) gg_defNormalProp(a, prop, b[prop]);
|
|
if (gg_getOwnPropSymbols) {
|
|
var _iterator = gg_createForOfIteratorHelper(gg_getOwnPropSymbols(b)),
|
|
_step;
|
|
try {
|
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
var prop = _step.value;
|
|
if (gg_propIsEnum.call(b, prop)) gg_defNormalProp(a, prop, b[prop]);
|
|
}
|
|
} catch (err) {
|
|
_iterator.e(err);
|
|
} finally {
|
|
_iterator.f();
|
|
}
|
|
}
|
|
return a;
|
|
};
|
|
|
|
var SvgGg = function SvgGg(props) {
|
|
return /* @__PURE__ */React.createElement("svg", gg_spreadValues({
|
|
width: 24,
|
|
height: 24,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
}, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4"), /* @__PURE__ */React.createElement("defs", null, /* @__PURE__ */React.createElement("filter", {
|
|
x: "-17.5%",
|
|
y: "-12.5%",
|
|
width: "135%",
|
|
height: "135%",
|
|
filterUnits: "objectBoundingBox",
|
|
id: "gg_svg__a"
|
|
}, /* @__PURE__ */React.createElement("feOffset", {
|
|
dy: 1,
|
|
"in": "SourceAlpha",
|
|
result: "shadowOffsetOuter1"
|
|
}), /* @__PURE__ */React.createElement("feGaussianBlur", {
|
|
stdDeviation: 1,
|
|
"in": "shadowOffsetOuter1",
|
|
result: "shadowBlurOuter1"
|
|
}), /* @__PURE__ */React.createElement("feColorMatrix", {
|
|
values: "0 0 0 0 0.124523369 0 0 0 0 0.394649215 0 0 0 0 0.77063519 0 0 0 1 0",
|
|
"in": "shadowBlurOuter1"
|
|
})), /* @__PURE__ */React.createElement("filter", {
|
|
x: "-17.5%",
|
|
y: "-12.5%",
|
|
width: "135%",
|
|
height: "135%",
|
|
filterUnits: "objectBoundingBox",
|
|
id: "gg_svg__d"
|
|
}, /* @__PURE__ */React.createElement("feGaussianBlur", {
|
|
stdDeviation: 1,
|
|
"in": "SourceAlpha",
|
|
result: "shadowBlurInner1"
|
|
}), /* @__PURE__ */React.createElement("feOffset", {
|
|
dy: 1,
|
|
"in": "shadowBlurInner1",
|
|
result: "shadowOffsetInner1"
|
|
}), /* @__PURE__ */React.createElement("feComposite", {
|
|
"in": "shadowOffsetInner1",
|
|
in2: "SourceAlpha",
|
|
operator: "arithmetic",
|
|
k2: -1,
|
|
k3: 1,
|
|
result: "shadowInnerInner1"
|
|
}), /* @__PURE__ */React.createElement("feColorMatrix", {
|
|
values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0",
|
|
"in": "shadowInnerInner1"
|
|
})), /* @__PURE__ */React.createElement("linearGradient", {
|
|
x1: "29.44%",
|
|
y1: "0%",
|
|
x2: "77.793%",
|
|
y2: "80.489%",
|
|
id: "gg_svg__c"
|
|
}, /* @__PURE__ */React.createElement("stop", {
|
|
stopColor: "#E7F0FF",
|
|
offset: "1.594%"
|
|
}), /* @__PURE__ */React.createElement("stop", {
|
|
stopColor: "#98BFFF",
|
|
offset: "32.96%"
|
|
}), /* @__PURE__ */React.createElement("stop", {
|
|
stopColor: "#298BF4",
|
|
offset: "100%"
|
|
})), /* @__PURE__ */React.createElement("path", {
|
|
d: "m8.933 11.731-.98 3.888a.513.513 0 0 0 .126.479c.41.436.621 1.002.597 1.595l-.015.303a2.167 2.167 0 0 1-.735 1.537l-.393.35a.457.457 0 0 1-.575.031L5.1 18.587a2.198 2.198 0 0 1-.929-1.885l.148-3.295-1.608-1.714a.434.434 0 0 1 .029-.626.461.461 0 0 1 .643.029l.308.327 4.342.185.022-.085a.458.458 0 0 1 .548-.325.44.44 0 0 1 .33.533Zm11.045-2.719c-.191 4.293-1.669 8.8-4.027 8.7-2.358-.102-3.428-4.717-3.236-9.01.192-4.294 1.67-8.8 4.027-8.7 2.358.102 3.428 4.72 3.236 9.01Zm-3.927 6.932c-.437-.145-1.725-2.572-1.519-7.164a.449.449 0 0 0-.434-.462.448.448 0 0 0-.473.424c-.206 4.558 1.08 8.029 2.365 8.083a.46.46 0 0 0 .485-.422.44.44 0 0 0-.424-.46Zm1.247-9.224a.46.46 0 0 0-.64.026c-.17.18-.159.46.026.626.386.348.599.917.572 1.524-.026.571-.267 1.102-.645 1.422a.436.436 0 0 0-.046.626.472.472 0 0 0 .323.154.469.469 0 0 0 .317-.106c.573-.484.922-1.23.961-2.053.034-.87-.289-1.698-.868-2.22Zm-1.8-5.016c-1.024 1.377-1.742 4.075-1.876 7.038-.014.334-.019.659-.019.979a20.2 20.2 0 0 0 .049 1.399c.004.075.012.149.019.225.153 1.903.565 3.553 1.191 4.57a.438.438 0 0 1-.087.56.46.46 0 0 1-.578.019l-5.87-4.431-4.85-.206C1.474 11.77-.083 10.112.004 8.159.09 6.205 1.79 4.686 3.793 4.77l4.85.206 6.24-3.909a.465.465 0 0 1 .576.07c.15.156.167.393.039.566ZM6.025 5.755l-2.271-.097C2.252 5.594.976 6.732.91 8.197a.449.449 0 0 0 .434.462.448.448 0 0 0 .473-.424c.044-.977.893-1.736 1.895-1.693l2.27.097a.448.448 0 0 0 .473-.424.44.44 0 0 0-.431-.46Z",
|
|
id: "gg_svg__b"
|
|
})), /* @__PURE__ */React.createElement("g", {
|
|
transform: "translate(2 1)",
|
|
fillRule: "nonzero",
|
|
fill: "none"
|
|
}, /* @__PURE__ */React.createElement("use", {
|
|
fill: "#000",
|
|
filter: "url(#gg_svg__a)",
|
|
xlinkHref: "#gg_svg__b"
|
|
}), /* @__PURE__ */React.createElement("use", {
|
|
fill: "url(#gg_svg__c)",
|
|
xlinkHref: "#gg_svg__b"
|
|
}), /* @__PURE__ */React.createElement("use", {
|
|
fill: "#000",
|
|
filter: "url(#gg_svg__d)",
|
|
xlinkHref: "#gg_svg__b"
|
|
})));
|
|
};
|
|
|
|
/* harmony default export */ var gg = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTE3LjUlIiB5PSItMTIuNSUiIHdpZHRoPSIxMzUlIiBoZWlnaHQ9IjEzNSUiIGZpbHRlclVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgaWQ9ImEiPjxmZU9mZnNldCBkeT0iMSIgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEiIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIvPjxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAwLjEyNDUyMzM2OSAwIDAgMCAwIDAuMzk0NjQ5MjE1IDAgMCAwIDAgMC43NzA2MzUxOSAwIDAgMCAxIDAiIGluPSJzaGFkb3dCbHVyT3V0ZXIxIi8+PC9maWx0ZXI+PGZpbHRlciB4PSItMTcuNSUiIHk9Ii0xMi41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
|
var OfficialModal = __webpack_require__(73961);
|
|
// EXTERNAL MODULE: ./src/service/broadcast.ts
|
|
var broadcast = __webpack_require__(27895);
|
|
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
|
|
var env = __webpack_require__(69423);
|
|
// EXTERNAL MODULE: ./src/utils/util.tsx
|
|
var util = __webpack_require__(95972);
|
|
// EXTERNAL MODULE: ./src/components/HeaderNav/index.tsx + 4 modules
|
|
var HeaderNav = __webpack_require__(59827);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
|
|
var tooltip = __webpack_require__(6848);
|
|
// EXTERNAL MODULE: ./src/utils/authority.ts
|
|
var authority = __webpack_require__(64118);
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
|
var jsx_runtime = __webpack_require__(37712);
|
|
;// CONCATENATED MODULE: ./src/pages/OfficialNotice/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var OfficialNotice = function OfficialNotice(_ref) {
|
|
var _broadData$news2, _broadData$news3, _broadData$news4, _broadData$news5, _broadData$news7, _broadData$news8, _broadData$news9, _broadData$news10, _broadData$news11, _broadData$news12, _broadData$news14, _broadData$news15, _broadData$news16, _broadData$news17, _broadData$news18, _broadData$news19, _broadData$developmen, _broadData$notices;
|
|
var user = _ref.user,
|
|
dispatch = _ref.dispatch,
|
|
globalSetting = _ref.globalSetting;
|
|
var _useState = (0,_react_17_0_2_react.useState)({}),
|
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
broadData = _useState2[0],
|
|
setBroadData = _useState2[1];
|
|
var _useSearchParams = (0,_umi_production_exports.useSearchParams)(),
|
|
_useSearchParams2 = slicedToArray_default()(_useSearchParams, 1),
|
|
searchParams = _useSearchParams2[0];
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
getData();
|
|
}, []);
|
|
var getData = /*#__PURE__*/function () {
|
|
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
|
|
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
|
while (1) switch (_context.prev = _context.next) {
|
|
case 0:
|
|
_context.next = 2;
|
|
return (0,broadcast/* broadcasts_homepage */.xq)({}).then(function (res) {
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
setBroadData(res === null || res === void 0 ? void 0 : res.data);
|
|
}
|
|
});
|
|
case 2:
|
|
case "end":
|
|
return _context.stop();
|
|
}
|
|
}, _callee);
|
|
}));
|
|
return function getData() {
|
|
return _ref2.apply(this, arguments);
|
|
};
|
|
}();
|
|
var addDom = function addDom() {
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.nav_add,
|
|
onClick: function onClick() {
|
|
dispatch({
|
|
type: 'account/setActionTabs',
|
|
payload: {
|
|
key: '发布公告'
|
|
}
|
|
});
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
src: __webpack_require__(/*! ./img/fabu.png */ 457),
|
|
style: {
|
|
width: '2.5vh',
|
|
height: '2.5vh'
|
|
}
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
marginLeft: '0.6vw',
|
|
fontSize: '1.4vh',
|
|
color: '#fff'
|
|
},
|
|
children: "\u53D1\u5E03\u516C\u544A"
|
|
})]
|
|
});
|
|
};
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.officialNotice,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(HeaderNav/* default */.Z, {
|
|
addDom: (0,authority/* isSuperAdmins */.Ny)() ? addDom : null,
|
|
goBackUrl: "/defendCloud?indexType=".concat(searchParams.get("indexType") || 'left'),
|
|
imgUrl: __webpack_require__(/*! ./img/biaoti.png */ 50801)
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.content,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.yaowen,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.div_title,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
src: yw,
|
|
style: {
|
|
width: '1.4vw',
|
|
height: '2.2vh'
|
|
}
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
className: OfficialNoticemodules.title_name,
|
|
children: "\u5B66\u9662\u8981\u95FB"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
className: OfficialNoticemodules.title_more,
|
|
onClick: function onClick() {
|
|
_umi_production_exports.history.push('/officialList?indexType=news');
|
|
},
|
|
children: ["\u67E5\u770B\u66F4\u591A ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
className: "iconfont icon-xiaojiantou",
|
|
style: {
|
|
fontSize: '1.2vh'
|
|
}
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
style: {
|
|
display: 'flex'
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.yaowen_left,
|
|
onClick: function onClick() {
|
|
var _broadData$news;
|
|
return (0,util/* openNewWindow */.xg)("/broadcast/".concat(broadData === null || broadData === void 0 || (_broadData$news = broadData.news) === null || _broadData$news === void 0 || (_broadData$news = _broadData$news[0]) === null || _broadData$news === void 0 ? void 0 : _broadData$news.id, "/detail"));
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
src: broadData !== null && broadData !== void 0 && (_broadData$news2 = broadData.news) !== null && _broadData$news2 !== void 0 && (_broadData$news2 = _broadData$news2[0]) !== null && _broadData$news2 !== void 0 && (_broadData$news2 = _broadData$news2.bg) !== null && _broadData$news2 !== void 0 && _broadData$news2.url ? env/* default */.Z.API_SERVER + (broadData === null || broadData === void 0 || (_broadData$news3 = broadData.news) === null || _broadData$news3 === void 0 || (_broadData$news3 = _broadData$news3[0]) === null || _broadData$news3 === void 0 || (_broadData$news3 = _broadData$news3.bg) === null || _broadData$news3 === void 0 ? void 0 : _broadData$news3.url) : __webpack_require__(/*! ./img/mock_img.png */ 86738),
|
|
className: OfficialNoticemodules.yaowen_left_img
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
placement: "topLeft",
|
|
title: broadData === null || broadData === void 0 || (_broadData$news4 = broadData.news) === null || _broadData$news4 === void 0 || (_broadData$news4 = _broadData$news4[0]) === null || _broadData$news4 === void 0 ? void 0 : _broadData$news4.name,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: OfficialNoticemodules.yaowen_left_text,
|
|
children: broadData === null || broadData === void 0 || (_broadData$news5 = broadData.news) === null || _broadData$news5 === void 0 || (_broadData$news5 = _broadData$news5[0]) === null || _broadData$news5 === void 0 ? void 0 : _broadData$news5.name
|
|
})
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.yaowen_right,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.yaowen_right_item,
|
|
onClick: function onClick() {
|
|
var _broadData$news6;
|
|
return (0,util/* openNewWindow */.xg)("/broadcast/".concat(broadData === null || broadData === void 0 || (_broadData$news6 = broadData.news) === null || _broadData$news6 === void 0 || (_broadData$news6 = _broadData$news6[1]) === null || _broadData$news6 === void 0 ? void 0 : _broadData$news6.id, "/detail"));
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
src: broadData !== null && broadData !== void 0 && (_broadData$news7 = broadData.news) !== null && _broadData$news7 !== void 0 && (_broadData$news7 = _broadData$news7[1]) !== null && _broadData$news7 !== void 0 && (_broadData$news7 = _broadData$news7.bg) !== null && _broadData$news7 !== void 0 && _broadData$news7.url ? env/* default */.Z.API_SERVER + (broadData === null || broadData === void 0 || (_broadData$news8 = broadData.news) === null || _broadData$news8 === void 0 || (_broadData$news8 = _broadData$news8[1]) === null || _broadData$news8 === void 0 || (_broadData$news8 = _broadData$news8.bg) === null || _broadData$news8 === void 0 ? void 0 : _broadData$news8.url) : __webpack_require__(/*! ./img/mock_img.png */ 86738),
|
|
className: OfficialNoticemodules.yaowen_right_img
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.yaowen_right_text_list,
|
|
style: {
|
|
marginLeft: '1vw'
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
placement: "topLeft",
|
|
title: broadData === null || broadData === void 0 || (_broadData$news9 = broadData.news) === null || _broadData$news9 === void 0 || (_broadData$news9 = _broadData$news9[1]) === null || _broadData$news9 === void 0 ? void 0 : _broadData$news9.name,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: OfficialNoticemodules.yaowen_right_title,
|
|
children: broadData === null || broadData === void 0 || (_broadData$news10 = broadData.news) === null || _broadData$news10 === void 0 || (_broadData$news10 = _broadData$news10[1]) === null || _broadData$news10 === void 0 ? void 0 : _broadData$news10.name
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
placement: "topLeft",
|
|
title: broadData === null || broadData === void 0 || (_broadData$news11 = broadData.news) === null || _broadData$news11 === void 0 || (_broadData$news11 = _broadData$news11[1]) === null || _broadData$news11 === void 0 ? void 0 : _broadData$news11.subtitle,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: OfficialNoticemodules.yaowen_right_text,
|
|
children: broadData === null || broadData === void 0 || (_broadData$news12 = broadData.news) === null || _broadData$news12 === void 0 || (_broadData$news12 = _broadData$news12[1]) === null || _broadData$news12 === void 0 ? void 0 : _broadData$news12.subtitle
|
|
})
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.yaowen_right_item,
|
|
style: {
|
|
marginTop: '1.06vw'
|
|
},
|
|
onClick: function onClick() {
|
|
var _broadData$news13;
|
|
return (0,util/* openNewWindow */.xg)("/broadcast/".concat(broadData === null || broadData === void 0 || (_broadData$news13 = broadData.news) === null || _broadData$news13 === void 0 || (_broadData$news13 = _broadData$news13[2]) === null || _broadData$news13 === void 0 ? void 0 : _broadData$news13.id, "/detail"));
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.yaowen_right_text_list,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
placement: "topLeft",
|
|
title: broadData === null || broadData === void 0 || (_broadData$news14 = broadData.news) === null || _broadData$news14 === void 0 || (_broadData$news14 = _broadData$news14[2]) === null || _broadData$news14 === void 0 ? void 0 : _broadData$news14.name,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: OfficialNoticemodules.yaowen_right_title,
|
|
children: broadData === null || broadData === void 0 || (_broadData$news15 = broadData.news) === null || _broadData$news15 === void 0 || (_broadData$news15 = _broadData$news15[2]) === null || _broadData$news15 === void 0 ? void 0 : _broadData$news15.name
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
placement: "topLeft",
|
|
title: broadData === null || broadData === void 0 || (_broadData$news16 = broadData.news) === null || _broadData$news16 === void 0 || (_broadData$news16 = _broadData$news16[2]) === null || _broadData$news16 === void 0 ? void 0 : _broadData$news16.subtitle,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: OfficialNoticemodules.yaowen_right_text,
|
|
children: broadData === null || broadData === void 0 || (_broadData$news17 = broadData.news) === null || _broadData$news17 === void 0 || (_broadData$news17 = _broadData$news17[2]) === null || _broadData$news17 === void 0 ? void 0 : _broadData$news17.subtitle
|
|
})
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
src: broadData !== null && broadData !== void 0 && (_broadData$news18 = broadData.news) !== null && _broadData$news18 !== void 0 && (_broadData$news18 = _broadData$news18[2]) !== null && _broadData$news18 !== void 0 && (_broadData$news18 = _broadData$news18.bg) !== null && _broadData$news18 !== void 0 && _broadData$news18.url ? env/* default */.Z.API_SERVER + (broadData === null || broadData === void 0 || (_broadData$news19 = broadData.news) === null || _broadData$news19 === void 0 || (_broadData$news19 = _broadData$news19[2]) === null || _broadData$news19 === void 0 || (_broadData$news19 = _broadData$news19.bg) === null || _broadData$news19 === void 0 ? void 0 : _broadData$news19.url) : __webpack_require__(/*! ./img/mock_img.png */ 86738),
|
|
className: OfficialNoticemodules.yaowen_right_img,
|
|
style: {
|
|
marginLeft: '1vw'
|
|
}
|
|
})]
|
|
})]
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.dongtai,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.div_title,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
src: dt,
|
|
style: {
|
|
width: '1.4vw',
|
|
height: '2.4vh'
|
|
}
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
className: OfficialNoticemodules.title_name,
|
|
children: "\u5B66\u9662\u52A8\u6001"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
className: OfficialNoticemodules.title_more,
|
|
onClick: function onClick() {
|
|
_umi_production_exports.history.push('/officialList?indexType=developments');
|
|
},
|
|
children: ["\u67E5\u770B\u66F4\u591A ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
className: "iconfont icon-xiaojiantou",
|
|
style: {
|
|
fontSize: '1.2vh'
|
|
}
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: OfficialNoticemodules.dongtai_list,
|
|
children: broadData === null || broadData === void 0 || (_broadData$developmen = broadData.developments) === null || _broadData$developmen === void 0 ? void 0 : _broadData$developmen.map(function (item, index) {
|
|
var _item$bg, _item$bg2;
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.dongtai_item,
|
|
onClick: function onClick() {
|
|
return (0,util/* openNewWindow */.xg)("/broadcast/".concat(item === null || item === void 0 ? void 0 : item.id, "/detail"));
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
src: item !== null && item !== void 0 && (_item$bg = item.bg) !== null && _item$bg !== void 0 && _item$bg.url ? env/* default */.Z.API_SERVER + (item === null || item === void 0 || (_item$bg2 = item.bg) === null || _item$bg2 === void 0 ? void 0 : _item$bg2.url) : __webpack_require__(/*! ./img/mock_img.png */ 86738),
|
|
className: OfficialNoticemodules.dongtai_img
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
placement: "topLeft",
|
|
title: item === null || item === void 0 ? void 0 : item.name,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: OfficialNoticemodules.dongtai_text,
|
|
children: item === null || item === void 0 ? void 0 : item.name
|
|
})
|
|
})]
|
|
}, index);
|
|
})
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.gonggao,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.div_title,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
src: gg,
|
|
style: {
|
|
width: '1.4vw',
|
|
height: '2.4vh'
|
|
}
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
className: OfficialNoticemodules.title_name,
|
|
children: "\u901A\u77E5\u516C\u544A"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
className: OfficialNoticemodules.title_more,
|
|
onClick: function onClick() {
|
|
_umi_production_exports.history.push('/officialList?indexType=notice');
|
|
},
|
|
children: ["\u67E5\u770B\u66F4\u591A ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
className: "iconfont icon-xiaojiantou",
|
|
style: {
|
|
fontSize: '1.2vh'
|
|
}
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: OfficialNoticemodules.gonggao_list,
|
|
children: broadData === null || broadData === void 0 || (_broadData$notices = broadData.notices) === null || _broadData$notices === void 0 ? void 0 : _broadData$notices.map(function (item, index) {
|
|
var _item$bg3, _item$bg4;
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: OfficialNoticemodules.gonggao_item,
|
|
onClick: function onClick() {
|
|
return (0,util/* openNewWindow */.xg)("/broadcast/".concat(item === null || item === void 0 ? void 0 : item.id, "/detail"));
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
src: item !== null && item !== void 0 && (_item$bg3 = item.bg) !== null && _item$bg3 !== void 0 && _item$bg3.url ? env/* default */.Z.API_SERVER + (item === null || item === void 0 || (_item$bg4 = item.bg) === null || _item$bg4 === void 0 ? void 0 : _item$bg4.url) : __webpack_require__(/*! ./img/mock_img.png */ 86738),
|
|
className: OfficialNoticemodules.gonggao_img
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
placement: "topLeft",
|
|
title: item === null || item === void 0 ? void 0 : item.name,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: OfficialNoticemodules.gonggao_text,
|
|
children: item === null || item === void 0 ? void 0 : item.name
|
|
})
|
|
})]
|
|
}, index);
|
|
})
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(OfficialModal/* default */.Z, {
|
|
getData: getData
|
|
})]
|
|
});
|
|
};
|
|
/* harmony default export */ var pages_OfficialNotice = ((0,_umi_production_exports.connect)(function (_ref3) {
|
|
var user = _ref3.user,
|
|
globalSetting = _ref3.globalSetting;
|
|
return {
|
|
user: user,
|
|
globalSetting: globalSetting
|
|
};
|
|
})(OfficialNotice));
|
|
|
|
/***/ }),
|
|
|
|
/***/ 56762:
|
|
/*!************************************************************************!*\
|
|
!*** ./node_modules/_antd@5.9.0@antd/es/_util/hooks/useForceUpdate.js ***!
|
|
\************************************************************************/
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ Z: function() { return /* binding */ useForceUpdate; }
|
|
/* harmony export */ });
|
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
|
|
|
|
function useForceUpdate() {
|
|
const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(x => x + 1, 0);
|
|
return forceUpdate;
|
|
}
|
|
|
|
/***/ }),
|
|
|
|
/***/ 57809:
|
|
/*!**********************************************************!*\
|
|
!*** ./node_modules/_antd@5.9.0@antd/es/select/index.js ***!
|
|
\**********************************************************/
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310);
|
|
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var rc_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-select */ 77861);
|
|
/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rc-util/es/omit */ 2738);
|
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301);
|
|
/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../_util/PurePanel */ 53487);
|
|
/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_util/motion */ 62892);
|
|
/* harmony import */ var _util_statusUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_util/statusUtils */ 19080);
|
|
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355);
|
|
/* harmony import */ var _config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/DisabledContext */ 1684);
|
|
/* harmony import */ var _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider/defaultRenderEmpty */ 93891);
|
|
/* harmony import */ var _config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../config-provider/hooks/useSize */ 19716);
|
|
/* harmony import */ var _form_context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../form/context */ 32441);
|
|
/* harmony import */ var _space_Compact__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../space/Compact */ 33234);
|
|
/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 14154);
|
|
/* harmony import */ var _useBuiltinPlacements__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./useBuiltinPlacements */ 58582);
|
|
/* harmony import */ var _useShowArrow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./useShowArrow */ 84443);
|
|
/* harmony import */ var _utils_iconUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/iconUtil */ 66339);
|
|
"use client";
|
|
|
|
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
var t = {};
|
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
}
|
|
return t;
|
|
};
|
|
// TODO: 4.0 - codemod should help to change `filterOption` to support node props.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE';
|
|
const InternalSelect = (_a, ref) => {
|
|
var _b;
|
|
var {
|
|
prefixCls: customizePrefixCls,
|
|
bordered = true,
|
|
className,
|
|
rootClassName,
|
|
getPopupContainer,
|
|
popupClassName,
|
|
dropdownClassName,
|
|
listHeight = 256,
|
|
placement,
|
|
listItemHeight = 24,
|
|
size: customizeSize,
|
|
disabled: customDisabled,
|
|
notFoundContent,
|
|
status: customStatus,
|
|
builtinPlacements,
|
|
dropdownMatchSelectWidth,
|
|
popupMatchSelectWidth,
|
|
direction: propDirection,
|
|
style,
|
|
allowClear
|
|
} = _a,
|
|
props = __rest(_a, ["prefixCls", "bordered", "className", "rootClassName", "getPopupContainer", "popupClassName", "dropdownClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "builtinPlacements", "dropdownMatchSelectWidth", "popupMatchSelectWidth", "direction", "style", "allowClear"]);
|
|
const {
|
|
getPopupContainer: getContextPopupContainer,
|
|
getPrefixCls,
|
|
renderEmpty,
|
|
direction: contextDirection,
|
|
virtual,
|
|
popupMatchSelectWidth: contextPopupMatchSelectWidth,
|
|
popupOverflow,
|
|
select
|
|
} = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_);
|
|
const prefixCls = getPrefixCls('select', customizePrefixCls);
|
|
const rootPrefixCls = getPrefixCls();
|
|
const direction = propDirection !== null && propDirection !== void 0 ? propDirection : contextDirection;
|
|
const {
|
|
compactSize,
|
|
compactItemClassnames
|
|
} = (0,_space_Compact__WEBPACK_IMPORTED_MODULE_4__/* .useCompactItemContext */ .ri)(prefixCls, direction);
|
|
const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls);
|
|
const mode = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
|
|
const {
|
|
mode: m
|
|
} = props;
|
|
if (m === 'combobox') {
|
|
return undefined;
|
|
}
|
|
if (m === SECRET_COMBOBOX_MODE_DO_NOT_USE) {
|
|
return 'combobox';
|
|
}
|
|
return m;
|
|
}, [props.mode]);
|
|
const isMultiple = mode === 'multiple' || mode === 'tags';
|
|
const showSuffixIcon = (0,_useShowArrow__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props.suffixIcon, props.showArrow);
|
|
const mergedPopupMatchSelectWidth = (_b = popupMatchSelectWidth !== null && popupMatchSelectWidth !== void 0 ? popupMatchSelectWidth : dropdownMatchSelectWidth) !== null && _b !== void 0 ? _b : contextPopupMatchSelectWidth;
|
|
// ===================== Form Status =====================
|
|
const {
|
|
status: contextStatus,
|
|
hasFeedback,
|
|
isFormItemInput,
|
|
feedbackIcon
|
|
} = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_form_context__WEBPACK_IMPORTED_MODULE_7__/* .FormItemInputContext */ .aM);
|
|
const mergedStatus = (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_8__/* .getMergedStatus */ .F)(contextStatus, customStatus);
|
|
// ===================== Empty =====================
|
|
let mergedNotFound;
|
|
if (notFoundContent !== undefined) {
|
|
mergedNotFound = notFoundContent;
|
|
} else if (mode === 'combobox') {
|
|
mergedNotFound = null;
|
|
} else {
|
|
mergedNotFound = (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Select')) || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, {
|
|
componentName: "Select"
|
|
});
|
|
}
|
|
// ===================== Icons =====================
|
|
const {
|
|
suffixIcon,
|
|
itemIcon,
|
|
removeIcon,
|
|
clearIcon
|
|
} = (0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(Object.assign(Object.assign({}, props), {
|
|
multiple: isMultiple,
|
|
hasFeedback,
|
|
feedbackIcon,
|
|
showSuffixIcon,
|
|
prefixCls,
|
|
showArrow: props.showArrow,
|
|
componentName: 'Select'
|
|
}));
|
|
const mergedAllowClear = allowClear === true ? {
|
|
clearIcon
|
|
} : allowClear;
|
|
const selectProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(props, ['suffixIcon', 'itemIcon']);
|
|
const rcSelectRtlDropdownClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()(popupClassName || dropdownClassName, {
|
|
[`${prefixCls}-dropdown-${direction}`]: direction === 'rtl'
|
|
}, rootClassName, hashId);
|
|
const mergedSize = (0,_config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(ctx => {
|
|
var _a;
|
|
return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx;
|
|
});
|
|
// ===================== Disabled =====================
|
|
const disabled = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z);
|
|
const mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;
|
|
const mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()({
|
|
[`${prefixCls}-lg`]: mergedSize === 'large',
|
|
[`${prefixCls}-sm`]: mergedSize === 'small',
|
|
[`${prefixCls}-rtl`]: direction === 'rtl',
|
|
[`${prefixCls}-borderless`]: !bordered,
|
|
[`${prefixCls}-in-form-item`]: isFormItemInput
|
|
}, (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_8__/* .getStatusClassNames */ .Z)(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, select === null || select === void 0 ? void 0 : select.className, className, rootClassName, hashId);
|
|
// ===================== Placement =====================
|
|
const memoPlacement = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
|
|
if (placement !== undefined) {
|
|
return placement;
|
|
}
|
|
return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';
|
|
}, [placement, direction]);
|
|
const mergedBuiltinPlacements = (0,_useBuiltinPlacements__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z)(builtinPlacements, popupOverflow);
|
|
// ====================== Warning ======================
|
|
if (false) {}
|
|
// ====================== Render =======================
|
|
return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP, Object.assign({
|
|
ref: ref,
|
|
virtual: virtual,
|
|
showSearch: select === null || select === void 0 ? void 0 : select.showSearch
|
|
}, selectProps, {
|
|
style: Object.assign(Object.assign({}, select === null || select === void 0 ? void 0 : select.style), style),
|
|
dropdownMatchSelectWidth: mergedPopupMatchSelectWidth,
|
|
builtinPlacements: mergedBuiltinPlacements,
|
|
transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_15__/* .getTransitionName */ .m)(rootPrefixCls, 'slide-up', props.transitionName),
|
|
listHeight: listHeight,
|
|
listItemHeight: listItemHeight,
|
|
mode: mode,
|
|
prefixCls: prefixCls,
|
|
placement: memoPlacement,
|
|
direction: direction,
|
|
suffixIcon: suffixIcon,
|
|
menuItemSelectedIcon: itemIcon,
|
|
removeIcon: removeIcon,
|
|
allowClear: mergedAllowClear,
|
|
notFoundContent: mergedNotFound,
|
|
className: mergedClassName,
|
|
getPopupContainer: getPopupContainer || getContextPopupContainer,
|
|
dropdownClassName: rcSelectRtlDropdownClassName,
|
|
disabled: mergedDisabled
|
|
})));
|
|
};
|
|
if (false) {}
|
|
const Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalSelect);
|
|
// We don't care debug panel
|
|
/* istanbul ignore next */
|
|
const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)(Select);
|
|
Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE;
|
|
Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx;
|
|
Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo;
|
|
Select._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;
|
|
if (false) {}
|
|
/* harmony default export */ __webpack_exports__["default"] = (Select);
|
|
|
|
/***/ })
|
|
|
|
}]); |