|
|
|
|
@ -696,7 +696,8 @@ var Experiment_CustomTabs = function CustomTabs(_ref) {
|
|
|
|
|
var _data$list;
|
|
|
|
|
var className = _ref.className,
|
|
|
|
|
_ref$style = _ref.style,
|
|
|
|
|
style = _ref$style === void 0 ? {} : _ref$style;
|
|
|
|
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
|
|
|
isTeacher = _ref.isTeacher;
|
|
|
|
|
var _useState = (0,_react_17_0_2_react.useState)({}),
|
|
|
|
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
|
|
|
data = _useState2[0],
|
|
|
|
|
@ -743,12 +744,12 @@ var Experiment_CustomTabs = function CustomTabs(_ref) {
|
|
|
|
|
children: "\u5F00\u653E\u5B9E\u9A8C"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Experimentmodules.btns,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: Experimentmodules.btn,
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return (0,util/* openNewWindow */.xg)('/laboratory/openReservation');
|
|
|
|
|
},
|
|
|
|
|
children: "\u53D1\u5E03\u5F00\u653E\u5B9E\u9A8C"
|
|
|
|
|
children: [isTeacher ? '发布' : '更多', "\u5F00\u653E\u5B9E\u9A8C"]
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
@ -1145,7 +1146,7 @@ var Classroom_CustomTabs = function CustomTabs(_ref) {
|
|
|
|
|
params: {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 8,
|
|
|
|
|
order: 'created_at'
|
|
|
|
|
order: 'mine'
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
case 2:
|
|
|
|
|
@ -1360,7 +1361,9 @@ var Board_Workbench = function Workbench(_ref) {
|
|
|
|
|
style: {
|
|
|
|
|
marginLeft: '10rem'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Experiment, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(Activity, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Experiment, {
|
|
|
|
|
isTeacher: isTeacher
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(Activity, {
|
|
|
|
|
style: {
|
|
|
|
|
marginTop: '10rem'
|
|
|
|
|
}
|
|
|
|
|
@ -1368,7 +1371,9 @@ var Board_Workbench = function Workbench(_ref) {
|
|
|
|
|
})]
|
|
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Experiment, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(Information, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Experiment, {
|
|
|
|
|
isTeacher: isTeacher
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(Information, {
|
|
|
|
|
style: {
|
|
|
|
|
marginTop: '10rem'
|
|
|
|
|
},
|