dev_local_v9_haigongda
helinfeng 2 years ago
parent ce75ec37f9
commit a827f0eed3

@ -84,7 +84,7 @@ html {--antd-wave-shadow-color: @primary-color;}
.zoom-right-enter, .zoom-right-appear {animation-fill-mode: both;}
.zoom-right-leave {animation-fill-mode: both;}
.ant-alert {color: @text-color;border-radius: 2px;}
.ant-alert-success {background-color: color(~`colorPalette("@{success-color}", 1)`);border: 1px solid color(~`colorPalette("@{success-color}", 3)`);}
.ant-alert-success {background-color: color(~`colorPalette("@{modal-heading-color}", 1)`);border: 1px solid color(~`colorPalette("@{success-color}", 3)`);}
.ant-alert-success .ant-alert-icon {color: @success-color;}
.ant-alert-info {background-color: color(~`colorPalette("@{primary-color}", 1)`);border: 1px solid color(~`colorPalette("@{primary-color}", 3)`);}
.ant-alert-info .ant-alert-icon {color: @primary-color;}
@ -727,42 +727,42 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-form-item-has-success.ant-form-item-has-feedback .ant-form-item-children-icon {color: @success-color;}
.ant-form-item-has-warning .ant-form-item-explain, .ant-form-item-has-warning .ant-form-item-split {color: @warning-color;}
.ant-form-item-has-warning .ant-input, .ant-form-item-has-warning .ant-input-affix-wrapper, .ant-form-item-has-warning .ant-input:hover, .ant-form-item-has-warning .ant-input-affix-wrapper:hover {border-color: @warning-color;}
.ant-form-item-has-warning .ant-input:focus, .ant-form-item-has-warning .ant-input-affix-wrapper:focus, .ant-form-item-has-warning .ant-input-focused, .ant-form-item-has-warning .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(180, 6, 189, 0.2);}
.ant-form-item-has-warning .ant-input:focus, .ant-form-item-has-warning .ant-input-affix-wrapper:focus, .ant-form-item-has-warning .ant-input-focused, .ant-form-item-has-warning .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(7, 159, 11, 0.2);}
.ant-form-item-has-warning .ant-input:not(.ant-form-item-has-warning .ant-input-disabled) {background-color: #fff;}
.ant-form-item-has-warning .ant-input-affix-wrapper:not(.ant-form-item-has-warning .ant-input-affix-wrapper-disabled) {background-color: #fff;}
.ant-form-item-has-warning .ant-input-affix-wrapper input:focus {box-shadow: none !important;}
.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(180, 6, 189, 0.2);}
.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(7, 159, 11, 0.2);}
.ant-form-item-has-warning .ant-input-prefix {color: @warning-color;}
.ant-form-item-has-warning .ant-input-group-addon {color: @warning-color;border-color: @warning-color;}
.ant-form-item-has-warning .has-feedback {color: @warning-color;}
.ant-form-item-has-warning.ant-form-item-has-feedback .ant-form-item-children-icon {color: @warning-color;}
.ant-form-item-has-warning .ant-select:not(.ant-select-borderless) .ant-select-selector {border-color: @warning-color !important;}
.ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(180, 6, 189, 0.2);}
.ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(7, 159, 11, 0.2);}
.ant-form-item-has-warning .ant-input-number, .ant-form-item-has-warning .ant-picker {border-color: @warning-color;}
.ant-form-item-has-warning .ant-input-number-focused, .ant-form-item-has-warning .ant-picker-focused, .ant-form-item-has-warning .ant-input-number:focus, .ant-form-item-has-warning .ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(180, 6, 189, 0.2);}
.ant-form-item-has-warning .ant-input-number-focused, .ant-form-item-has-warning .ant-picker-focused, .ant-form-item-has-warning .ant-input-number:focus, .ant-form-item-has-warning .ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(7, 159, 11, 0.2);}
.ant-form-item-has-warning .ant-input-number:not([disabled]):hover, .ant-form-item-has-warning .ant-picker:not([disabled]):hover {border-color: @warning-color;}
.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(180, 6, 189, 0.2);}
.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(7, 159, 11, 0.2);}
.ant-form-item-has-error .ant-form-item-explain, .ant-form-item-has-error .ant-form-item-split {color: @error-color;}
.ant-form-item-has-error .ant-input, .ant-form-item-has-error .ant-input-affix-wrapper, .ant-form-item-has-error .ant-input:hover, .ant-form-item-has-error .ant-input-affix-wrapper:hover {border-color: @error-color;}
.ant-form-item-has-error .ant-input:focus, .ant-form-item-has-error .ant-input-affix-wrapper:focus, .ant-form-item-has-error .ant-input-focused, .ant-form-item-has-error .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(100, 180, 21, 0.2);}
.ant-form-item-has-error .ant-input:focus, .ant-form-item-has-error .ant-input-affix-wrapper:focus, .ant-form-item-has-error .ant-input-focused, .ant-form-item-has-error .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(45, 148, 229, 0.2);}
.ant-form-item-has-error .ant-input:not(.ant-form-item-has-error .ant-input-disabled) {background-color: #fff;}
.ant-form-item-has-error .ant-input-affix-wrapper:not(.ant-form-item-has-error .ant-input-affix-wrapper-disabled) {background-color: #fff;}
.ant-form-item-has-error .ant-input-affix-wrapper input:focus {box-shadow: none !important;}
.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(100, 180, 21, 0.2);}
.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(45, 148, 229, 0.2);}
.ant-form-item-has-error .ant-input-prefix {color: @error-color;}
.ant-form-item-has-error .ant-input-group-addon {color: @error-color;border-color: @error-color;}
.ant-form-item-has-error .has-feedback {color: @error-color;}
.ant-form-item-has-error.ant-form-item-has-feedback .ant-form-item-children-icon {color: @error-color;}
.ant-form-item-has-error .ant-select:not(.ant-select-borderless) .ant-select-selector {border-color: @error-color !important;}
.ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(100, 180, 21, 0.2);}
.ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(45, 148, 229, 0.2);}
.ant-form-item-has-error .ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {border: 0;}
.ant-form-item-has-error .ant-select.ant-select-auto-complete .ant-input:focus {border-color: @error-color;}
.ant-form-item-has-error .ant-input-number, .ant-form-item-has-error .ant-picker {border-color: @error-color;}
.ant-form-item-has-error .ant-input-number-focused, .ant-form-item-has-error .ant-picker-focused, .ant-form-item-has-error .ant-input-number:focus, .ant-form-item-has-error .ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(100, 180, 21, 0.2);}
.ant-form-item-has-error .ant-input-number-focused, .ant-form-item-has-error .ant-picker-focused, .ant-form-item-has-error .ant-input-number:focus, .ant-form-item-has-error .ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(45, 148, 229, 0.2);}
.ant-form-item-has-error .ant-input-number:not([disabled]):hover, .ant-form-item-has-error .ant-picker:not([disabled]):hover {border-color: @error-color;}
.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover {border-color: @error-color;}
.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(100, 180, 21, 0.2);}
.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(100, 180, 21, 0.2);}
.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(45, 148, 229, 0.2);}
.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(45, 148, 229, 0.2);}
.ant-form-item-has-error .ant-transfer-list {border-color: @error-color;}
.ant-form-item-has-error .ant-transfer-list-search:not([disabled]) {border-color: @border-color-base;}
.ant-form-item-has-error .ant-transfer-list-search:not([disabled]):hover {border-color: color(~`colorPalette("@{primary-color}", 5)`);border-right-width: 1px !important;}
@ -1477,14 +1477,14 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;}
.ant-tag-lime-inverse {color: #fff;background: #a0d911;border-color: #a0d911;}
.ant-tag-green {color: #52c41a;background: #f6ffed;border-color: #b7eb8f;}
.ant-tag-green-inverse {color: #fff;background: #52c41a;border-color: #52c41a;}
.ant-tag-blue {color: #1890ff;background: color(~`colorPalette("@{border-color-base}", 1)`);border-color: #91d5ff;}
.ant-tag-blue {color: #1890ff;background: #e6f7ff;border-color: #91d5ff;}
.ant-tag-blue-inverse {color: #fff;background: #1890ff;border-color: #1890ff;}
.ant-tag-geekblue {color: #2f54eb;background: color(~`colorPalette("@{modal-close-color}", 3)`);border-color: #adc6ff;}
.ant-tag-geekblue {color: #2f54eb;background: #f0f5ff;border-color: #adc6ff;}
.ant-tag-geekblue-inverse {color: #fff;background: #2f54eb;border-color: #2f54eb;}
.ant-tag-purple {color: #722ed1;background: color(~`colorPalette("@{modal-mask-bg}", 4)`);border-color: #d3adf7;}
.ant-tag-purple {color: #722ed1;background: #f9f0ff;border-color: #d3adf7;}
.ant-tag-purple-inverse {color: #fff;background: #722ed1;border-color: #722ed1;}
.ant-tag-success {color: #52c41a;background: #f6ffed;border-color: #b7eb8f;}
.ant-tag-processing {color: #1890ff;background: color(~`colorPalette("@{border-color-base}", 1)`);border-color: #91d5ff;}
.ant-tag-processing {color: #1890ff;background: #e6f7ff;border-color: #91d5ff;}
.ant-tag-error {color: #f5222d;background: #fff1f0;border-color: #ffa39e;}
.ant-tag-warning {color: #fa8c16;background: #fff7e6;border-color: #ffd591;}
.ant-timeline {color: @text-color;}
@ -1685,7 +1685,7 @@ a.ant-typography[disabled], .ant-typography a[disabled] {color: @disabled-color;
.ant-upload-list-picture .ant-upload-list-item-error, .ant-upload-list-picture-card .ant-upload-list-item-error {border-color: @error-color;}
.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info, .ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info {background: transparent;}
.ant-upload-list-picture .ant-upload-list-item-uploading, .ant-upload-list-picture-card .ant-upload-list-item-uploading {border-style: dashed;}
.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='color(~`colorPalette("@{border-color-base}", 1)`)'], .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='color(~`colorPalette("@{border-color-base}", 1)`)'] {fill: color(~`colorPalette("@{error-color}", 1)`);}
.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#e6f7ff'], .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#e6f7ff'] {fill: color(~`colorPalette("@{error-color}", 1)`);}
.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#1890ff'], .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#1890ff'] {fill: @error-color;}
.ant-upload-list-picture-card .ant-upload-list-item-info::before {background-color: rgba(0, 0, 0, 0.5);}
.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye, .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download, .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete {color: rgba(255, 255, 255, 0.85);}

@ -148,7 +148,7 @@
</script> -->
<script src="/react/build/antdesign.901d8ec3.async.js"></script>
<script src="/react/build/vendors.394ac42b.async.js"></script>
<script src="/react/build/umi.cab9d92c.js"></script>
<script src="/react/build/vendors.926d8303.async.js"></script>
<script src="/react/build/umi.61ba58c0.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{y3wM:function(d,t,e){"use strict";e.r(t);var r=e("0Owb"),n=e("q1tI"),s=e.n(n),a=e("m3rI");t.default=function(l){var o=Object(r.a)({},l);return Object(n.useEffect)(function(){window.location.href=a.a.API_SERVER+o.location.pathname+o.location.search},[o.location.pathname]),s.a.createElement("div",null)}}}]);

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{BS0W:function(l,m,e){l.exports={flex_box_center:"flex_box_center___3KW-j",flex_space_between:"flex_space_between___2xKlQ",flex_box_vertical_center:"flex_box_vertical_center___3wCgD",flex_box_center_end:"flex_box_center_end___1WnfF",flex_box_column:"flex_box_column___4FKPz",example:"example___3oOn3",bg:"bg___3WNgM",banner:"banner___3hr4N",link:"link___1FjUb",name:"name___z9vsO",case:"case___Gk5Gq",li:"li___5RWHA",des:"des___28JmI"}},VHPi:function(l,m,e){"use strict";e.r(m);var K=e("cWXX"),v=e("/ezw"),h=e("9og8"),d=e("tJVT"),O=e("PpiC"),D=e("WmNS"),c=e.n(D),n=e("q1tI"),_=e.n(n),E=e("9kvl"),M=e("BS0W"),t=e.n(M),R=e("d4rn"),a=e.n(R),U=e("ErOA"),x=e("m3rI"),C=function(i){var L=i.user,S=Object(O.a)(i,["user"]),y=Object(n.useState)(!0),b=Object(d.a)(y,2),W=b[0],P=b[1],j=Object(n.useState)(0),f=Object(d.a)(j,2),N=f[0],F=f[1],A=Object(n.useState)([]),g=Object(d.a)(A,2),T=g[0],B=g[1];Object(n.useEffect)(function(){I()},[]);var I=function(){var s=Object(h.a)(c.a.mark(function u(){var o;return c.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return P(!0),r.next=3,Object(U.a)("/api/home/base_case.json",{method:"get"});case 3:o=r.sent,o.status===0&&B((o==null?void 0:o.cases)||[]),P(!1);case 6:case"end":return r.stop()}},u)}));return function(){return s.apply(this,arguments)}}(),G=[{img:a.a,title:"\u8BA1\u7B97\u673A\u53D1\u5C55\u53F2",intro:"\u901A\u8FC7\u5C55\u5385\u6A21\u62DF\uFF0C\u8BA9\u5B66\u751F\u4E86\u89E3\u975E\u7535\u5B50\u8BA1\u7B97\u88C5\u7F6E\u7684\u53D1\u5C55\u5386\u53F2"},{img:a.a,title:"\u8BA1\u7B97\u673A\u53D1\u5C55\u53F2",intro:"\u901A\u8FC7\u5C55\u5385\u6A21\u62DF\uFF0C\u8BA9\u5B66\u751F\u4E86\u89E3\u975E\u7535\u5B50\u8BA1\u7B97\u88C5\u7F6E\u7684\u53D1\u5C55\u5386\u53F2"},{img:a.a,title:"\u8BA1\u7B97\u673A\u53D1\u5C55\u53F2",intro:"\u901A\u8FC7\u5C55\u5385\u6A21\u62DF\uFF0C\u8BA9\u5B66\u751F\u4E86\u89E3\u975E\u7535\u5B50\u8BA1\u7B97\u88C5\u7F6E\u7684\u53D1\u5C55\u5386\u53F2"},{img:a.a,title:"\u8BA1\u7B97\u673A\u53D1\u5C55\u53F2",intro:"\u901A\u8FC7\u5C55\u5385\u6A21\u62DF\uFF0C\u8BA9\u5B66\u751F\u4E86\u89E3\u975E\u7535\u5B50\u8BA1\u7B97\u88C5\u7F6E\u7684\u53D1\u5C55\u5386\u53F2"},{img:a.a,title:"\u8BA1\u7B97\u673A\u53D1\u5C55\u53F2",intro:"\u901A\u8FC7\u5C55\u5385\u6A21\u62DF\uFF0C\u8BA9\u5B66\u751F\u4E86\u89E3\u975E\u7535\u5B50\u8BA1\u7B97\u88C5\u7F6E\u7684\u53D1\u5C55\u5386\u53F2"},{img:a.a,title:"\u8BA1\u7B97\u673A\u53D1\u5C55\u53F2",intro:"\u901A\u8FC7\u5C55\u5385\u6A21\u62DF\uFF0C\u8BA9\u5B66\u751F\u4E86\u89E3\u975E\u7535\u5B50\u8BA1\u7B97\u88C5\u7F6E\u7684\u53D1\u5C55\u5386\u53F2"},{img:a.a,title:"\u8BA1\u7B97\u673A\u53D1\u5C55\u53F2",intro:"\u901A\u8FC7\u5C55\u5385\u6A21\u62DF\uFF0C\u8BA9\u5B66\u751F\u4E86\u89E3\u975E\u7535\u5B50\u8BA1\u7B97\u88C5\u7F6E\u7684\u53D1\u5C55\u5386\u53F2"},{img:a.a,title:"\u8BA1\u7B97\u673A\u53D1\u5C55\u53F2",intro:"\u901A\u8FC7\u5C55\u5385\u6A21\u62DF\uFF0C\u8BA9\u5B66\u751F\u4E86\u89E3\u975E\u7535\u5B50\u8BA1\u7B97\u88C5\u7F6E\u7684\u53D1\u5C55\u5386\u53F2"}];return _.a.createElement("section",{className:t.a.example},_.a.createElement(v.a,{loading:W,active:!0,paragraph:{rows:5}},_.a.createElement("div",{className:t.a.bg},_.a.createElement("div",{className:t.a.banner},_.a.createElement("div",{className:t.a.link},_.a.createElement("span",{className:"current",onClick:function(){return E.d.push("/")}},"\u9996\u9875"),">\u6C89\u6D78\u5F0F\u6559\u5B66\u73AF\u5883"),_.a.createElement("div",{className:t.a.name},"\u6C89\u6D78\u5F0F\u6559\u5B66\u73AF\u5883"))),_.a.createElement("div",{className:t.a.case},_.a.createElement("div",{className:t.a.name},_.a.createElement("span",null,"\u5178\u578B\u6848\u4F8B"),_.a.createElement("span",null,"CLASSIC CASE")),_.a.createElement("aside",null,T.map(function(s,u){return _.a.createElement("a",{href:s.url,target:"_blank",className:t.a.li,key:u},_.a.createElement("img",{src:"".concat(x.a.IMG_SERVER).concat(s.pic_url)}),_.a.createElement("div",{className:t.a.des},_.a.createElement("h4",null,s.title),_.a.createElement("h6",null,s.sub_title)))})))))};m.default=Object(E.a)(function(p){var i=p.user;return{user:i}})(C)},d4rn:function(l,m,e){l.exports=e.p+"static/a.16be6077.png"}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[64],{"55Ip":function(G,U,t){"use strict";t.d(U,"a",function(){return H});var b=t("Ty5D"),K=t("dI71"),re=t("q1tI"),c=t.n(re),w=t("YS25"),Q=t("17x9"),le=t.n(Q),d=t("wx14"),I=t("zLVn"),S=t("9R94"),N=function(e){Object(K.a)(a,e);function a(){for(var s,u=arguments.length,l=new Array(u),n=0;n<u;n++)l[n]=arguments[n];return s=e.call.apply(e,[this].concat(l))||this,s.history=Object(w.a)(s.props),s}var o=a.prototype;return o.render=function(){return c.a.createElement(b.c,{history:this.history,children:this.props.children})},a}(c.a.Component),oe=function(e){Object(K.a)(a,e);function a(){for(var s,u=arguments.length,l=new Array(u),n=0;n<u;n++)l[n]=arguments[n];return s=e.call.apply(e,[this].concat(l))||this,s.history=Object(w.b)(s.props),s}var o=a.prototype;return o.render=function(){return c.a.createElement(b.c,{history:this.history,children:this.props.children})},a}(c.a.Component),D=function(a,o){return typeof a=="function"?a(o):a},h=function(a,o){return typeof a=="string"?Object(w.c)(a,null,null,o):a},r=function(a){return a},f=c.a.forwardRef;typeof f=="undefined"&&(f=r);function M(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var X=f(function(e,a){var o=e.innerRef,s=e.navigate,u=e.onClick,l=Object(I.a)(e,["innerRef","navigate","onClick"]),n=l.target,i=Object(d.a)({},l,{onClick:function(_){try{u&&u(_)}catch(m){throw _.preventDefault(),m}!_.defaultPrevented&&_.button===0&&(!n||n==="_self")&&!M(_)&&(_.preventDefault(),s())}});return r!==f?i.ref=a||o:i.ref=o,c.a.createElement("a",i)}),H=f(function(e,a){var o=e.component,s=o===void 0?X:o,u=e.replace,l=e.to,n=e.innerRef,i=Object(I.a)(e,["component","replace","to","innerRef"]);return c.a.createElement(b.e.Consumer,null,function(E){E||Object(S.a)(!1);var _=E.history,m=h(D(l,E.location),E.location),j=m?_.createHref(m):"",R=Object(d.a)({},i,{href:j,navigate:function(){var A=D(l,E.location),g=u?_.replace:_.push;g(A)}});return r!==f?R.ref=a||n:R.innerRef=n,c.a.createElement(s,R)})});if(!1)var ne,se;var P=function(a){return a},L=c.a.forwardRef;typeof L=="undefined"&&(L=P);function Z(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return a.filter(function(s){return s}).join(" ")}var $=L(function(e,a){var o=e["aria-current"],s=o===void 0?"page":o,u=e.activeClassName,l=u===void 0?"active":u,n=e.activeStyle,i=e.className,E=e.exact,_=e.isActive,m=e.location,j=e.sensitive,R=e.strict,T=e.style,A=e.to,g=e.innerRef,F=Object(I.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return c.a.createElement(b.e.Consumer,null,function(J){J||Object(S.a)(!1);var y=m||J.location,v=h(D(A,y),y),V=v.pathname,z=V&&V.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),B=z?Object(b.f)(y.pathname,{path:z,exact:E,sensitive:j,strict:R}):null,p=!!(_?_(B,y):B),Y=p?Z(i,l):i,k=p?Object(d.a)({},T,{},n):T,x=Object(d.a)({"aria-current":p&&s||null,className:Y,style:k,to:v},F);return P!==L?x.ref=a||g:x.innerRef=g,c.a.createElement(H,x)})});if(!1)var C},CVpU:function(G,U,t){"use strict";t.r(U);var b=t("cWXX"),K=t("/ezw"),re=t("14J3"),c=t("BMrR"),w=t("jCWc"),Q=t("kPKH"),le=t("sPJy"),d=t("bE4q"),I=t("k1fw"),S=t("9og8"),N=t("tJVT"),oe=t("WmNS"),D=t.n(oe),h=t("q1tI"),r=t.n(h),f=t("Ty5D"),M=t("55Ip"),X=t("9kvl"),H=t("jhfD"),ne=t("ZW9T"),se=t("VEjw"),P=t.n(se),L=t("ErOA"),Z=function(C){var e,a,o=C.exercise,s=C.user,u=C.dispatch,l=(e=window.location.pathname)===null||e===void 0?void 0:e.includes("exercise"),n=l?"exercise":"shixun_homework",i=Object(f.i)(),E=Object(f.h)(),_=s.userInfo,m=E.query,j=m.name,R=m.rule_id,T=m.uuid,A=m.language,g=m.rowNumber,F=m.issueId,J=Object(h.useState)({}),y=Object(N.a)(J,2),v=y[0],V=y[1],z=Object(h.useState)({value:"",language:A.toLowerCase(),theme:"vs",options:{readOnly:!0},errorContent:"",errorLine:parseInt(g)}),B=Object(N.a)(z,2),p=B[0],Y=B[1],k=Object(h.useState)(!0),x=Object(N.a)(k,2),ue=x[0],ie=x[1];Object(h.useEffect)(function(){ce()},[]);var ce=function(){var me=Object(S.a)(D.a.mark(function _e(){var O,q,ee,te,ae;return D.a.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return ie(!0),W.next=3,Object(L.a)("/api/code_analyses_detail/code_detail.json",{method:"get",params:{rule_id:R,uuid:T,issue_id:F}});case 3:O=W.sent,O.status===0&&(p.value=(q=O.data)===null||q===void 0||((ee=q.codes)===null||ee===void 0)?void 0:ee.map(function(de){return de.code}).join(`
`),ae=document.createElement("div"),ae.innerHTML=p.value,p.value=ae.innerText,p.errorContent=O==null||((te=O.data)===null||te===void 0)?void 0:te.errMessage,Y(Object(I.a)({},p)),V(O.data)),ie(!1);case 6:case"end":return W.stop()}},_e)}));return function(){return me.apply(this,arguments)}}();return r.a.createElement("section",{className:"edu-container"},r.a.createElement("section",{className:"animated fadeIn"},r.a.createElement("aside",{className:"mt10"},_&&r.a.createElement(d.a,{separator:">"},r.a.createElement(d.a.Item,null,r.a.createElement(M.a,{to:"/classrooms/".concat(i.coursesId,"/").concat(n)},_==null||((a=_.course)===null||a===void 0)?void 0:a.course_name)),r.a.createElement(d.a.Item,null,r.a.createElement(M.a,{to:"/classrooms/".concat(i.coursesId,"/").concat(n)},l?"\u8003\u8BD5":"\u5B9E\u8BAD","\u5217\u8868")),r.a.createElement(d.a.Item,null,r.a.createElement(M.a,{to:"/classrooms/".concat(i.coursesId,"/").concat(n,"/").concat(i==null?void 0:i.exerciseId,"/detail")},l?"\u8BD5\u5377":"\u4F5C\u4E1A","\u8BE6\u60C5")),r.a.createElement(d.a.Item,null,j))),r.a.createElement("aside",{className:[P.a.title,"mt20"].join(" ")},r.a.createElement(c.a,{style:{width:"100%"}},r.a.createElement(Q.a,{flex:"1",style:{lineHeight:"24px"}},r.a.createElement(M.a,{to:"/classrooms/".concat(i.coursesId,"/").concat(n,"/").concat(i.exerciseId,"/analysis/").concat(i.studentId)},r.a.createElement(H.a,{className:"font16 c-black"})),r.a.createElement("strong",{className:"font20 ml5"},"\u4EE3\u7801\u8BE6\u60C5"))))),r.a.createElement("section",{className:P.a.wrap},r.a.createElement(K.a,{loading:ue,active:!0,paragraph:{rows:5}},r.a.createElement("div",{className:P.a.title},v==null?void 0:v.title),r.a.createElement("div",{className:P.a.code},r.a.createElement(ne.b,p)),r.a.createElement("div",{className:P.a.error,dangerouslySetInnerHTML:{__html:(v==null?void 0:v.example)||""}}))))};U.default=Object(X.a)(function($){var C=$.exercise,e=$.user;return{exercise:C,user:e}})(Z)},VEjw:function(G,U,t){G.exports={flex_box_center:"flex_box_center___28Zqn",flex_space_between:"flex_space_between___1P-0f",flex_box_vertical_center:"flex_box_vertical_center___3p8EQ",flex_box_center_end:"flex_box_center_end___6RABf",flex_box_column:"flex_box_column___2FnmJ",title:"title___1sj1Q",wrap:"wrap___3w47E",code:"code___OcBpb",error:"error___3J5po"}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save