|
|
|
|
@ -18,6 +18,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
|
|
|
|
|
var objectSpread2 = __webpack_require__(82242);
|
|
|
|
|
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
|
|
|
|
|
// 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);
|
|
|
|
|
@ -27,7 +33,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
|
|
|
|
|
var _umi_production_exports = __webpack_require__(88271);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Counselling/MyConsultation/index.less?modules
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
/* harmony default export */ var MyConsultationmodules = ({"container":"container___s3L99","topright":"topright___pSsIb","top":"top___x017z","superiorTabs":"superiorTabs___jqTFN","content":"content___X1drf","messageList":"messageList___P95qU","messageItem":"messageItem___qcCyh","newMessage":"newMessage___eJvEu","messageStatus":"messageStatus___PjWyV","status":"status___XhKbQ","resolved":"resolved___b1gfl","unresolved":"unresolved___TvaxR","messageTitle":"messageTitle___T4tLX","messageInfo":"messageInfo___XsGEe","text":"text___DoINi","search":"search___X3Tv1","searchIcon":"searchIcon___FTJph"});
|
|
|
|
|
/* harmony default export */ var MyConsultationmodules = ({"container":"container___s3L99","topright":"topright___pSsIb","top":"top___x017z","superiorTabs":"superiorTabs___jqTFN","content":"content___X1drf","messageList":"messageList___P95qU","messageItem":"messageItem___qcCyh","newMessage":"newMessage___eJvEu","messageStatus":"messageStatus___PjWyV","status":"status___XhKbQ","resolved":"resolved___b1gfl","unresolved":"unresolved___TvaxR","messageTitle":"messageTitle___T4tLX","messageInfo":"messageInfo___XsGEe","text":"text___DoINi","search":"search___X3Tv1","searchIcon":"searchIcon___FTJph","cardname":"cardname___Q7FvF","cardlist":"cardlist___EMXYz"});
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules
|
|
|
|
|
var input = __webpack_require__(92832);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
|
|
|
|
|
@ -41,6 +47,10 @@ var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
|
|
|
|
|
var NoData = __webpack_require__(63017);
|
|
|
|
|
// EXTERNAL MODULE: ./src/components/ui-customization/index.tsx + 50 modules
|
|
|
|
|
var ui_customization = __webpack_require__(1003);
|
|
|
|
|
// EXTERNAL MODULE: ./src/utils/fetch.ts
|
|
|
|
|
var fetch = __webpack_require__(82710);
|
|
|
|
|
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
|
|
|
|
|
var env = __webpack_require__(69423);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
|
|
|
|
var jsx_runtime = __webpack_require__(37712);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Counselling/MyConsultation/index.tsx
|
|
|
|
|
@ -56,6 +66,10 @@ var jsx_runtime = __webpack_require__(37712);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Navigation = function Navigation(_ref) {
|
|
|
|
|
var loading = _ref.loading;
|
|
|
|
|
var _useState = (0,_react_17_0_2_react.useState)(),
|
|
|
|
|
@ -92,6 +106,10 @@ var Navigation = function Navigation(_ref) {
|
|
|
|
|
_useState16 = slicedToArray_default()(_useState15, 2),
|
|
|
|
|
tableData = _useState16[0],
|
|
|
|
|
setTableData = _useState16[1];
|
|
|
|
|
var _useState17 = (0,_react_17_0_2_react.useState)([]),
|
|
|
|
|
_useState18 = slicedToArray_default()(_useState17, 2),
|
|
|
|
|
zjlist = _useState18[0],
|
|
|
|
|
setzjlist = _useState18[1];
|
|
|
|
|
var tabsMenu = [{
|
|
|
|
|
name: '全部',
|
|
|
|
|
id: ''
|
|
|
|
|
@ -104,6 +122,7 @@ var Navigation = function Navigation(_ref) {
|
|
|
|
|
}];
|
|
|
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
|
|
|
getData();
|
|
|
|
|
getdata();
|
|
|
|
|
}, [page, limit, isAnswered, activeKey]);
|
|
|
|
|
var getData = function getData() {
|
|
|
|
|
setIsLoading(true);
|
|
|
|
|
@ -123,122 +142,213 @@ var Navigation = function Navigation(_ref) {
|
|
|
|
|
var onChangeTabs = function onChangeTabs(key) {
|
|
|
|
|
setActiveKey(key);
|
|
|
|
|
};
|
|
|
|
|
function getdata() {
|
|
|
|
|
return _getdata.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function _getdata() {
|
|
|
|
|
_getdata = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
|
|
|
|
|
var res, _res$data3;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
|
|
|
|
while (1) switch (_context.prev = _context.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context.next = 2;
|
|
|
|
|
return (0,fetch/* default */.ZP)("/api/online_consults/user_chat_records.json", {
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 1000
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
case 2:
|
|
|
|
|
res = _context.sent;
|
|
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
|
|
|
|
|
setzjlist(res === null || res === void 0 || (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.list);
|
|
|
|
|
}
|
|
|
|
|
case 4:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee);
|
|
|
|
|
}));
|
|
|
|
|
return _getdata.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
var onShowSizeChange = function onShowSizeChange(page, size) {
|
|
|
|
|
setPage(page);
|
|
|
|
|
setLimit(size);
|
|
|
|
|
};
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.container,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.top,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* SuperiorTabs */.tp, {
|
|
|
|
|
dataSource: tabsMenu,
|
|
|
|
|
value: activeKey,
|
|
|
|
|
onChange: onChangeTabs,
|
|
|
|
|
className: MyConsultationmodules.superiorTabs
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
|
|
|
|
|
placeholder: "\u8BF7\u8F93\u5165\u95EE\u9898\u8FDB\u884C\u641C\u7D22",
|
|
|
|
|
size: "large",
|
|
|
|
|
className: MyConsultationmodules.search,
|
|
|
|
|
value: keyword,
|
|
|
|
|
onChange: function onChange(e) {
|
|
|
|
|
setkeyword(e.target.value);
|
|
|
|
|
},
|
|
|
|
|
onSearch: function onSearch(value) {
|
|
|
|
|
getData();
|
|
|
|
|
},
|
|
|
|
|
suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-sousuo font14 ".concat(MyConsultationmodules.searchIcon),
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: MyConsultationmodules.cardlist,
|
|
|
|
|
style: {
|
|
|
|
|
padding: 30,
|
|
|
|
|
display: 'flex',
|
|
|
|
|
overflow: 'auto',
|
|
|
|
|
flexDirection: 'unset'
|
|
|
|
|
},
|
|
|
|
|
children: zjlist === null || zjlist === void 0 ? void 0 : zjlist.map(function (item, index) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
setkeyword(keyword);
|
|
|
|
|
getData();
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: MyConsultationmodules.content,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.messageList,
|
|
|
|
|
children: [total > 0 && tableData.map(function (item) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.messageItem,
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
_umi_production_exports.history.push("/counselling/expertList/null/Detail/".concat(item === null || item === void 0 ? void 0 : item.id, "?backType=2&backUrl=/counselling/myConsultation"));
|
|
|
|
|
_umi_production_exports.history.push("/counselling/expertList?id=".concat(item === null || item === void 0 ? void 0 : item.id));
|
|
|
|
|
},
|
|
|
|
|
className: MyConsultationmodules.cardname,
|
|
|
|
|
style: {
|
|
|
|
|
marginLeft: index > 0 && 50,
|
|
|
|
|
cursor: 'pointer'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
style: {
|
|
|
|
|
width: 180,
|
|
|
|
|
height: 180
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
src: env/* default */.Z.IMG_SERVER + '/images/' + (item === null || item === void 0 ? void 0 : item.image_url)
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
marginTop: 20
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
marginBottom: '30rem'
|
|
|
|
|
color: '#fff',
|
|
|
|
|
fontSize: 18
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: MyConsultationmodules.messageStatus,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "".concat(MyConsultationmodules.status, " ").concat(item.is_answered ? MyConsultationmodules.resolved : MyConsultationmodules.unresolved),
|
|
|
|
|
children: item.is_answered ? '已解答' : '待解答'
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: MyConsultationmodules.messageTitle,
|
|
|
|
|
children: item.question
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.messageInfo,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
children: ["\u89E3\u7B54\u4E13\u5BB6", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: MyConsultationmodules.text,
|
|
|
|
|
children: item.specialist || '--'
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
children: ["\u63D0\u95EE\u65F6\u95F4", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: MyConsultationmodules.text,
|
|
|
|
|
children: item !== null && item !== void 0 && item.created_at ? dayjs_min_default()(item === null || item === void 0 ? void 0 : item.created_at).format('YYYY-MM-DD HH:mm') : '--'
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
}), item.unread_replies_count > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.newMessage,
|
|
|
|
|
children: [item.unread_replies_count, " \u6761\u672A\u8BFB\u6D88\u606F"]
|
|
|
|
|
children: item === null || item === void 0 ? void 0 : item.username
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#fff',
|
|
|
|
|
marginLeft: 10,
|
|
|
|
|
fontSize: 14
|
|
|
|
|
},
|
|
|
|
|
children: item === null || item === void 0 ? void 0 : item.user_identity
|
|
|
|
|
})]
|
|
|
|
|
}, item.id);
|
|
|
|
|
}), total == 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
|
|
|
|
|
customText: "\u6682\u65E0\u6570\u636E"
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
marginTop: 10
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: "#fff",
|
|
|
|
|
fontSize: 12
|
|
|
|
|
},
|
|
|
|
|
children: (item === null || item === void 0 ? void 0 : item.description) || '暂无描述'
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.container,
|
|
|
|
|
style: {
|
|
|
|
|
marginBottom: '30rem',
|
|
|
|
|
padding: '0 40rem'
|
|
|
|
|
marginTop: 30
|
|
|
|
|
},
|
|
|
|
|
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
justifyContent: 'space-between',
|
|
|
|
|
padding: '15rem 7rem 0rem 7rem'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#c5d3f4'
|
|
|
|
|
},
|
|
|
|
|
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "c-white",
|
|
|
|
|
children: total
|
|
|
|
|
}), "\u6761\u6570\u636E"]
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.top,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* SuperiorTabs */.tp, {
|
|
|
|
|
dataSource: tabsMenu,
|
|
|
|
|
value: activeKey,
|
|
|
|
|
onChange: onChangeTabs,
|
|
|
|
|
className: MyConsultationmodules.superiorTabs
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
|
|
|
|
|
placeholder: "\u8BF7\u8F93\u5165\u95EE\u9898\u8FDB\u884C\u641C\u7D22",
|
|
|
|
|
size: "large",
|
|
|
|
|
className: MyConsultationmodules.search,
|
|
|
|
|
value: keyword,
|
|
|
|
|
onChange: function onChange(e) {
|
|
|
|
|
setkeyword(e.target.value);
|
|
|
|
|
},
|
|
|
|
|
onSearch: function onSearch(value) {
|
|
|
|
|
getData();
|
|
|
|
|
},
|
|
|
|
|
suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-sousuo font14 ".concat(MyConsultationmodules.searchIcon),
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
setkeyword(keyword);
|
|
|
|
|
getData();
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
|
|
|
|
|
showSizeChanger: true,
|
|
|
|
|
showQuickJumper: true,
|
|
|
|
|
onChange: onShowSizeChange,
|
|
|
|
|
defaultCurrent: 1,
|
|
|
|
|
pageSizeOptions: ['15', '30', '45', '60', '90'],
|
|
|
|
|
current: page || 1,
|
|
|
|
|
pageSize: limit || 15,
|
|
|
|
|
defaultPageSize: 15,
|
|
|
|
|
total: total
|
|
|
|
|
})]
|
|
|
|
|
}) : ''
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: MyConsultationmodules.topright
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: MyConsultationmodules.content,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.messageList,
|
|
|
|
|
children: [total > 0 && tableData.map(function (item) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.messageItem,
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
_umi_production_exports.history.push("/counselling/expertList/null/Detail/".concat(item === null || item === void 0 ? void 0 : item.id, "?backType=2&backUrl=/counselling/myConsultation"));
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
marginBottom: '30rem'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: MyConsultationmodules.messageStatus,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "".concat(MyConsultationmodules.status, " ").concat(item.is_answered ? MyConsultationmodules.resolved : MyConsultationmodules.unresolved),
|
|
|
|
|
children: item.is_answered ? '已解答' : '待解答'
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: MyConsultationmodules.messageTitle,
|
|
|
|
|
children: item.question
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.messageInfo,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
children: ["\u89E3\u7B54\u4E13\u5BB6", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: MyConsultationmodules.text,
|
|
|
|
|
children: item.specialist || '--'
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
children: ["\u63D0\u95EE\u65F6\u95F4", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: MyConsultationmodules.text,
|
|
|
|
|
children: item !== null && item !== void 0 && item.created_at ? dayjs_min_default()(item === null || item === void 0 ? void 0 : item.created_at).format('YYYY-MM-DD HH:mm') : '--'
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
}), item.unread_replies_count > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: MyConsultationmodules.newMessage,
|
|
|
|
|
children: [item.unread_replies_count, " \u6761\u672A\u8BFB\u6D88\u606F"]
|
|
|
|
|
})]
|
|
|
|
|
}, item.id);
|
|
|
|
|
}), total == 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
|
|
|
|
|
customText: "\u6682\u65E0\u6570\u636E"
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
style: {
|
|
|
|
|
marginBottom: '30rem',
|
|
|
|
|
padding: '0 40rem'
|
|
|
|
|
},
|
|
|
|
|
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
justifyContent: 'space-between',
|
|
|
|
|
padding: '15rem 7rem 0rem 7rem'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#c5d3f4'
|
|
|
|
|
},
|
|
|
|
|
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "c-white",
|
|
|
|
|
children: total
|
|
|
|
|
}), "\u6761\u6570\u636E"]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
|
|
|
|
|
showSizeChanger: true,
|
|
|
|
|
showQuickJumper: true,
|
|
|
|
|
onChange: onShowSizeChange,
|
|
|
|
|
defaultCurrent: 1,
|
|
|
|
|
pageSizeOptions: ['15', '30', '45', '60', '90'],
|
|
|
|
|
current: page || 1,
|
|
|
|
|
pageSize: limit || 15,
|
|
|
|
|
defaultPageSize: 15,
|
|
|
|
|
total: total
|
|
|
|
|
})]
|
|
|
|
|
}) : ''
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: MyConsultationmodules.topright
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
};
|