parent
5837d193bb
commit
8e67ef00de
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67138,53396,62531,31594,28943,98150,24064,72469,32810,17714,94797,52141,31701,17244,95318,51253,15963,23997,90935,69909,94598,15141,28244,58838,31556,96004,23003,6572,32405,93600,26314],{
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67138,53396,62531,31594,28943,98150,24064,72469,49124,32810,17714,94797,52141,31701,17244,95318,51253,15963,23997,90935,69909,94598,15141,28244,58838,31556,96004,23003,6572,32405,93600,26314],{
|
||||
|
||||
/***/ 87169:
|
||||
/*!*******************************************************************************************************************!*\
|
||||
@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[72469,53396,62531,31594,28943,98150,24064,67138,32810,17714,94797,52141,31701,17244,95318,51253,15963,23997,90935,69909,94598,15141,28244,58838,31556,96004,23003,6572,32405,93600,26314],{
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[72469,53396,62531,31594,28943,98150,24064,67138,49124,32810,17714,94797,52141,31701,17244,95318,51253,15963,23997,90935,69909,94598,15141,28244,58838,31556,96004,23003,6572,32405,93600,26314],{
|
||||
|
||||
/***/ 87169:
|
||||
/*!*******************************************************************************************************************!*\
|
||||
@ -0,0 +1,763 @@
|
||||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Magazinejor/component/MonthlyDetailamins/prview/index.less?modules ***!
|
||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.wrap___xERCh {
|
||||
background: #B2BDF9;
|
||||
border-radius: 4px;
|
||||
padding: 40px;
|
||||
width: 100%;
|
||||
}
|
||||
.wrap___xERCh .back_style____aiuT {
|
||||
color: #999;
|
||||
margin: 10px 0 15px 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.wrap___xERCh .back_style____aiuT:hover {
|
||||
color: #165DFF;
|
||||
}
|
||||
.wrap___xERCh .header___i3DWk {
|
||||
background: #FFFFFF;
|
||||
border-radius: 4px;
|
||||
padding: 30px 30px 30px 30px;
|
||||
}
|
||||
.wrap___xERCh .header___i3DWk .header_form___kzjes .guize_select___Ac5Hb {
|
||||
width: 96px;
|
||||
height: 32px;
|
||||
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
|
||||
border-radius: 2px;
|
||||
border: 1px solid #BACFFE;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #3061D0;
|
||||
line-height: 30px;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
margin-top: 4px;
|
||||
}
|
||||
.wrap___xERCh .header___i3DWk .header_form___kzjes .guize_update___Kfm9g {
|
||||
width: 48px;
|
||||
height: 22px;
|
||||
background: #3061D0;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
|
||||
border-radius: 2px;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
color: #FFFFFF;
|
||||
line-height: 22px;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
margin-top: 9px;
|
||||
}
|
||||
.wrap___xERCh .header___i3DWk .header_form___kzjes .shangchuan_button___oMSQz {
|
||||
width: 146px;
|
||||
height: 32px;
|
||||
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
|
||||
border-radius: 2px;
|
||||
border: 1px solid #BACFFE;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #3061D0;
|
||||
line-height: 32px;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
margin-top: 4px;
|
||||
}
|
||||
.wrap___xERCh .header___i3DWk .header_form___kzjes .shangchuan_img___k5hkk {
|
||||
width: 300px;
|
||||
height: 156px;
|
||||
background: #F5F5F5;
|
||||
border-radius: 1px;
|
||||
position: relative;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.wrap___xERCh .header___i3DWk .header_form___kzjes .shangchuan_close___vD0eu {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 10px;
|
||||
color: #FF5555;
|
||||
cursor: pointer;
|
||||
}
|
||||
.wrap___xERCh .header___i3DWk .header_form___kzjes [class~='ant-form-item'] [class~='ant-form-item-label'] {
|
||||
text-align: right !important;
|
||||
}
|
||||
.wrap___xERCh .header___i3DWk .header_form___kzjes [class~='ant-form-item'] [class~='ant-form-item-label'] label {
|
||||
color: #666 !important;
|
||||
display: block !important;
|
||||
line-height: 32px !important;
|
||||
padding-right: 5px !important;
|
||||
}
|
||||
.wrap___xERCh .header___i3DWk .header_form___kzjes [class~='ant-upload'] {
|
||||
margin-top: 5px !important;
|
||||
}
|
||||
.wrap___xERCh .header___i3DWk .close_button___Lf6fY {
|
||||
width: 64px;
|
||||
height: 32px;
|
||||
background: #F8F9FC;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #C3CFE0;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #464F66;
|
||||
line-height: 32px;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
margin-left: auto;
|
||||
}
|
||||
.wrap___xERCh .header___i3DWk .submit_button___PGv1y {
|
||||
width: 64px;
|
||||
height: 32px;
|
||||
background: #3061D0;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
|
||||
border-radius: 2px;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
line-height: 32px;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
margin-left: 20px;
|
||||
}
|
||||
.add_button___gztNy {
|
||||
width: 116px;
|
||||
height: 32px;
|
||||
background: #3061D0;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
|
||||
border-radius: 2px;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
line-height: 32px;
|
||||
font-style: normal;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 0;
|
||||
}
|
||||
.root___Ee3Fc {
|
||||
background: linear-gradient(180deg, #0B2D73 0%, #5463C5 100%);
|
||||
height: 100vh;
|
||||
overflow: auto;
|
||||
}
|
||||
.reportContent___c_Suo {
|
||||
margin: 40px 30px 0 30px;
|
||||
background-repeat: round;
|
||||
background: 100% auto;
|
||||
min-height: 90vh;
|
||||
background: linear-gradient(180deg, #224392 0%, #5263C6 100%);
|
||||
box-shadow: 0px 2px 4px 0px #435FCC;
|
||||
border-radius: 8px;
|
||||
border: 1px solid;
|
||||
border-image: linear-gradient(135deg, #4363dd, rgba(44, 44, 166, 0.66)) 1 1;
|
||||
padding: 30px;
|
||||
}
|
||||
.addbutton___PN8yO {
|
||||
width: 118px;
|
||||
height: 32px;
|
||||
background: linear-gradient(90deg, #4A6FFE 0%, #374DCF 100%);
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
line-height: 32px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.imagename___bKckG {
|
||||
font-weight: 600;
|
||||
font-size: 24px;
|
||||
color: #20232B;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.hoverimg___hG4vD .bottom___H3wBr {
|
||||
display: none;
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
.hoverimg___hG4vD:hover .bottom___H3wBr {
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
background: linear-gradient(180deg, #4140CA 0%, #475BBA 100%);
|
||||
left: 0px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/HeaderNav/index.less?modules ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.nav_bg___pTE1T {
|
||||
height: 45px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background: #163B88;
|
||||
position: relative;
|
||||
}
|
||||
.nav_bg___pTE1T .nav_left___tT9dm {
|
||||
height: 45px;
|
||||
width: 30vw;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 1.5vw;
|
||||
}
|
||||
.nav_bg___pTE1T .nav_time___ZYsoD {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
color: #FFFFFF;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.nav_bg___pTE1T .nav_title___VcKTB {
|
||||
height: 60px;
|
||||
width: 460px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
right: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.nav_bg___pTE1T .nav_right___GdTJz {
|
||||
height: 45px;
|
||||
width: 30vw;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
margin-right: 1.5vw;
|
||||
}
|
||||
.nav_bg___pTE1T .nav_right___GdTJz img {
|
||||
cursor: pointer;
|
||||
}
|
||||
.nav_bg___pTE1T .nav_right___GdTJz .user_info___pLgXu {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.nav_bg___pTE1T .nav_right___GdTJz .user_info___pLgXu .user_name___El8Wz {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 500;
|
||||
font-size: 1.6vh;
|
||||
color: #FFFFFF;
|
||||
font-style: normal;
|
||||
margin: 0 1vh;
|
||||
}
|
||||
.nav_bg___pTE1T .message_warp___f0kKB {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
margin-left: 2vh;
|
||||
}
|
||||
.nav_bg___pTE1T .message_warp___f0kKB .new_message___s9oui {
|
||||
position: absolute;
|
||||
top: 0.4vh;
|
||||
right: 0vh;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: red;
|
||||
}
|
||||
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/AuthModal/index.less?modules ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.tilte___IfiMG {
|
||||
color: #333333;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
.flexRow___pQP78 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 30px;
|
||||
}
|
||||
.flexColumn___xrBZQ {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.footerWrap___C5kCC {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.img___GoWZu {
|
||||
width: 40px;
|
||||
height: 37px;
|
||||
vertical-align: middle;
|
||||
border-style: none;
|
||||
}
|
||||
.content___pumTK {
|
||||
font-size: 14px;
|
||||
color: #979797;
|
||||
margin-top: 15px;
|
||||
}
|
||||
.modalContent___XvHiZ {
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
color: #333333;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/Join/index.less?modules ***!
|
||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___cltIf {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___fKr_O {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center____QfiA {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___ysqmH {
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
-webkit-justify-content: flex-end;
|
||||
-webkit-align-items: center;
|
||||
-webkit-box-align: center;
|
||||
-webkit-box-pack: end;
|
||||
box-align: center;
|
||||
box-pack: end;
|
||||
}
|
||||
.flex_box_column___CfE8K {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
button:active {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.flex-col___q69Kn {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flex-row___HYZQR {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.justify-start___hl1ma {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.justify-center___DYm_O {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.justify-end___qddUn {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.justify-evenly___uhKut {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.justify-around___lWRCW {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.justify-between___Fizuh {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.align-start___HDyjH {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.align-center___Z1RIH {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.align-end___TqRle {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
button:active {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.flex-col___q69Kn {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flex-row___HYZQR {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.justify-start___hl1ma {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.justify-center___DYm_O {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.justify-end___qddUn {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.justify-evenly___uhKut {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.justify-around___lWRCW {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.justify-between___Fizuh {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.align-start___HDyjH {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.align-center___Z1RIH {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.align-end___TqRle {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.rightMenu___ADTOX {
|
||||
width: 120px;
|
||||
text-align: center;
|
||||
}
|
||||
.rightMenu___ADTOX li {
|
||||
padding: 0 15px;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
background: none !important;
|
||||
}
|
||||
.rightMenu___ADTOX li:hover {
|
||||
background: #0152d9 !important;
|
||||
}
|
||||
.rightMenu___ADTOX li:hover a {
|
||||
color: white !important;
|
||||
}
|
||||
.rightMenu___ADTOX li a {
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.joinMenu___aRGsf {
|
||||
padding: 0 0;
|
||||
width: 240px;
|
||||
}
|
||||
.joinMenu___aRGsf a {
|
||||
color: #323232;
|
||||
}
|
||||
.joinBoard___AeUvr {
|
||||
border: 1px solid #eee;
|
||||
width: 1px;
|
||||
height: 100%;
|
||||
}
|
||||
.joinCol___fV4uL {
|
||||
width: 48%;
|
||||
}
|
||||
.hidden___TkCJZ {
|
||||
display: none;
|
||||
}
|
||||
.w140___Vx5lp {
|
||||
width: 140px !important;
|
||||
}
|
||||
.w100___yYRaC {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/User/index.less?modules ***!
|
||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___YbxYn {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___Atwkg {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center____I6AC {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___LrYPg {
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
-webkit-justify-content: flex-end;
|
||||
-webkit-align-items: center;
|
||||
-webkit-box-align: center;
|
||||
-webkit-box-pack: end;
|
||||
box-align: center;
|
||||
box-pack: end;
|
||||
}
|
||||
.flex_box_column___j7QNF {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
button:active {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.flex-col___FjWL1 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flex-row___VfJkb {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.justify-start___kCHdk {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.justify-center___lxZ9q {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.justify-end___bVseE {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.justify-evenly___tH11C {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.justify-around___RNnQY {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.justify-between___HFF9Q {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.align-start___C1sHu {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.align-center___Ow7vB {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.align-end___dpCs7 {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
button:active {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.flex-col___FjWL1 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flex-row___VfJkb {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.justify-start___kCHdk {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.justify-center___lxZ9q {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.justify-end___bVseE {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.justify-evenly___tH11C {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.justify-around___RNnQY {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.justify-between___HFF9Q {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.align-start___C1sHu {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.align-center___Ow7vB {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.align-end___dpCs7 {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.userPic___a46Uz {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 34px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.rightMenu___y_nqk {
|
||||
text-align: center;
|
||||
}
|
||||
.rightMenu___y_nqk li {
|
||||
padding: 0;
|
||||
}
|
||||
.rightMenu___y_nqk li:hover {
|
||||
background: #0152d9;
|
||||
}
|
||||
.rightMenu___y_nqk li:hover a {
|
||||
color: white;
|
||||
}
|
||||
.rightMenu___y_nqk li a {
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
}
|
||||
[id="educoder"] .menuWrap___iwlZB {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
[id="educoder"] .menuWrap___iwlZB li {
|
||||
height: 35px;
|
||||
padding: 0 !important;
|
||||
}
|
||||
[id="educoder"] .menuWrap___iwlZB li [class~='ant-dropdown-menu-title-content'] {
|
||||
flex: none !important;
|
||||
}
|
||||
[id="educoder"] .menuWrap___iwlZB li a {
|
||||
margin: 0px;
|
||||
color: #323232;
|
||||
text-align: left;
|
||||
padding: 0px 15px;
|
||||
line-height: 35px;
|
||||
}
|
||||
.exit___MOREW {
|
||||
border-top: 1px solid #eeeeee;
|
||||
}
|
||||
.classromediv___crYsO {
|
||||
width: 60px;
|
||||
height: 50px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
animation: glow___jMGk7 200ms ease-out infinite alternate;
|
||||
}
|
||||
@keyframes glow___jMGk7 {
|
||||
0% {
|
||||
border-color: #00fff9;
|
||||
text-align: center;
|
||||
box-shadow: 0 0 5px rgba(0, 255, 249, 0.2);
|
||||
}
|
||||
100% {
|
||||
border-color: #00fff9;
|
||||
text-align: center;
|
||||
box-shadow: 0 0 8px rgba(0, 255, 249, 0.6);
|
||||
}
|
||||
}
|
||||
.height67___asp2E {
|
||||
height: 40px;
|
||||
}
|
||||
.login___WGEW9 {
|
||||
width: 90px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
text-align: center;
|
||||
background: linear-gradient(135deg, #6c7bfd 0%, #3a45fa 100%);
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
color: #ffffff;
|
||||
}
|
||||
.login___WGEW9 > span {
|
||||
padding: 0 !important;
|
||||
}
|
||||
.icon___HABAt {
|
||||
font-size: 12px;
|
||||
display: inline-block;
|
||||
transform: translateY(3px) scale(0.6);
|
||||
color: #979797;
|
||||
}
|
||||
.new_style___VRLKt {
|
||||
width: 3vh;
|
||||
height: 3vh;
|
||||
margin: 0 1.5vh 0 2vh;
|
||||
}
|
||||
.zzxy_user___LLqzL {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.zzxy_user___LLqzL span {
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
}
|
||||
.zzxy_user___LLqzL .icon_img___WwVKf {
|
||||
margin-left: 1.5vh;
|
||||
height: 7px;
|
||||
}
|
||||
.new_style_header___V65v3 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 45px;
|
||||
}
|
||||
.height6_vh___T2Kph {
|
||||
height: 45px;
|
||||
}
|
||||
|
||||
@ -0,0 +1,565 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[26952],{
|
||||
|
||||
/***/ 94178:
|
||||
/*!*****************************************************************************************!*\
|
||||
!*** ./src/pages/Magazinejor/component/MonthlyDetailamins/prview/index.tsx + 3 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 */ prview; }
|
||||
});
|
||||
|
||||
// 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);
|
||||
// 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__(5841);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/date-picker/index.js + 12 modules
|
||||
var date_picker = __webpack_require__(47119);
|
||||
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetailamins/prview/index.less?modules
|
||||
// extracted by mini-css-extract-plugin
|
||||
/* harmony default export */ var prviewmodules = ({"wrap":"wrap___xERCh","back_style":"back_style____aiuT","header":"header___i3DWk","header_form":"header_form___kzjes","guize_select":"guize_select___Ac5Hb","guize_update":"guize_update___Kfm9g","shangchuan_button":"shangchuan_button___oMSQz","shangchuan_img":"shangchuan_img___k5hkk","shangchuan_close":"shangchuan_close___vD0eu","close_button":"close_button___Lf6fY","submit_button":"submit_button___PGv1y","add_button":"add_button___gztNy","root":"root___Ee3Fc","reportContent":"reportContent___c_Suo","addbutton":"addbutton___PN8yO","imagename":"imagename___bKckG","hoverimg":"hoverimg___hG4vD","bottom":"bottom___H3wBr"});
|
||||
// EXTERNAL MODULE: ./src/components/HeaderNav/index.tsx + 4 modules
|
||||
var HeaderNav = __webpack_require__(21458);
|
||||
// EXTERNAL MODULE: ./src/pages/Magazinejor/img/logo.png
|
||||
var logo = __webpack_require__(4847);
|
||||
// EXTERNAL MODULE: ./src/utils/fetch.ts
|
||||
var fetch = __webpack_require__(43391);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js
|
||||
var toConsumableArray = __webpack_require__(37205);
|
||||
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules
|
||||
var es_form = __webpack_require__(78241);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
|
||||
var message = __webpack_require__(8591);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
|
||||
var modal = __webpack_require__(43418);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/upload/index.js
|
||||
var upload = __webpack_require__(60028);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
|
||||
var es_button = __webpack_require__(3113);
|
||||
// EXTERNAL MODULE: ./node_modules/_react-beautiful-dnd@13.0.0@react-beautiful-dnd/dist/react-beautiful-dnd.esm.js + 27 modules
|
||||
var react_beautiful_dnd_esm = __webpack_require__(78113);
|
||||
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
|
||||
var env = __webpack_require__(43873);
|
||||
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetailamins/prview/img/titleimg.png
|
||||
var titleimg_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAgCAYAAABU1PscAAAAAXNSR0IArs4c6QAAAoVJREFUWEfVmM9rU0EQxz+T0GeKImhRpHiS4qGIN8Fje1IkiXjoqX+BBS9exYoRr17Eeq1gezCHSqFWUZMiFAoiPVQq/kAFa5QIiq0xadL3RjY2IdG0TTYqbq7Zz+x8d+fNzI7Q5G/gqXrFLP1BiLgqvSjdInQbXJUMQkaExVDApLeXdPKQFGtND1xQ78tr+v2AONArSrfykxfIqJABFsMhJncdIJ28WM9v5KZs5f9AWvcVlGGFQWDnVuvX/18WGIsIidwNKBQZRhhUbY4XYRllLOKRuDMqHzfbc0MBZ17qtjfvOAecBbY36Xh1mfqwNk+xtADq47XKl29GyIlyxevi8vRVWW1ko6GA8qnDhCpHbTbWPBTuQ5C1oRswwlxnB6ca3cZvAuKP9HDgM4Wy32b74DMU7oHmbOhNGGEpDCcejMlC7ao6Aebk8/DY1nlz8vnbf8H5isfCUmcHR2pvoirAxPzbJWasw8aHwtQfDJuN085cZDd9lW+iKiCa0gRw3vbiS0+gOG9Lt8aF4NLDcRleT8FQDh3llU22KdcBEzq3QEutOWK72mSnSAc9JpTKNxBL6YjCaVuDxVkoPbOl7TiB66lxGRJTYfNZPrVQpOp3DOD7TdC6umvnVCuUKXZdPeyRkyk95sPdVuDatf57KEzb0u1x4TDHJTaj1zRgyNbU6iys/ePwqfoqjEg0rWmUPlsBJnX6H2zpNjlhRqIpfQ4ctDWVT0Lw1ZZujxN4IbG0rqiyw9ZUbhRYs6Xb5r65LUBYcT+EnP+InU+jzhcy51sJ55s5I8D5dtqIcPpBYwQ4/6SshpKrj/pKV+L0WKUiwunBVkWE06PF2ibX2eHur536/zpe/wE1T7TGqaTs3QAAAABJRU5ErkJggg==";
|
||||
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules
|
||||
var CloseCircleFilled = __webpack_require__(19248);
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
||||
var jsx_runtime = __webpack_require__(37712);
|
||||
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetailamins/prview/imgaelist.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var DragQuestions = function DragQuestions(_ref) {
|
||||
var data = _ref.data,
|
||||
datalist = _ref.datalist,
|
||||
setdatalist = _ref.setdatalist,
|
||||
index = _ref.index;
|
||||
var _useState = (0,_react_17_0_2_react.useState)([]),
|
||||
_useState2 = slicedToArray_default()(_useState, 2),
|
||||
list = _useState2[0],
|
||||
setList = _useState2[1];
|
||||
var _useState3 = (0,_react_17_0_2_react.useState)(),
|
||||
_useState4 = slicedToArray_default()(_useState3, 2),
|
||||
selectindex = _useState4[0],
|
||||
setselectindex = _useState4[1];
|
||||
var _useState5 = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState6 = slicedToArray_default()(_useState5, 2),
|
||||
upimg = _useState6[0],
|
||||
setupimg = _useState6[1];
|
||||
var _Form$useForm = es_form/* default */.Z.useForm(),
|
||||
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
|
||||
myForm = _Form$useForm2[0];
|
||||
var _useState7 = (0,_react_17_0_2_react.useState)(undefined),
|
||||
_useState8 = slicedToArray_default()(_useState7, 2),
|
||||
attachId = _useState8[0],
|
||||
setattachId = _useState8[1];
|
||||
var _useState9 = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState10 = slicedToArray_default()(_useState9, 2),
|
||||
imgLoading = _useState10[0],
|
||||
setImgLoading = _useState10[1];
|
||||
|
||||
//过滤函数
|
||||
var reorder = function reorder(list, startIndex, endIndex) {
|
||||
var result = Array.from(list);
|
||||
var _result$splice = result.splice(startIndex, 1),
|
||||
_result$splice2 = slicedToArray_default()(_result$splice, 1),
|
||||
removed = _result$splice2[0];
|
||||
result.splice(endIndex, 0, removed);
|
||||
return result;
|
||||
};
|
||||
(0,_react_17_0_2_react.useEffect)(function () {
|
||||
var _data$images;
|
||||
console.log('---', 111);
|
||||
if ((data === null || data === void 0 || (_data$images = data.images) === null || _data$images === void 0 ? void 0 : _data$images.length) > 0) {
|
||||
setList(toConsumableArray_default()(data === null || data === void 0 ? void 0 : data.images) || []);
|
||||
}
|
||||
}, [data]);
|
||||
var handleDragEnd = /*#__PURE__*/function () {
|
||||
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(result, list) {
|
||||
var items;
|
||||
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
||||
while (1) switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
if (result.destination) {
|
||||
_context.next = 2;
|
||||
break;
|
||||
}
|
||||
return _context.abrupt("return");
|
||||
case 2:
|
||||
items = reorder(list, result.source.index, result.destination.index);
|
||||
datalist[index].images = items;
|
||||
setdatalist(toConsumableArray_default()(datalist));
|
||||
setList(items);
|
||||
|
||||
// if (res.status === 0) {
|
||||
// getdata({ id: list?.[result.source.index].question_id });
|
||||
// }
|
||||
case 6:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}));
|
||||
return function handleDragEnd(_x, _x2) {
|
||||
return _ref2.apply(this, arguments);
|
||||
};
|
||||
}();
|
||||
var handleChange = function handleChange(info) {
|
||||
if (info.file.status === 'uploading') {
|
||||
setImgLoading(true);
|
||||
return;
|
||||
}
|
||||
if (info.file.status === 'done') {
|
||||
var _info$file, _info$file3;
|
||||
setImgLoading(false);
|
||||
if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) {
|
||||
var _info$file2;
|
||||
message/* default */.ZP.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message);
|
||||
return;
|
||||
}
|
||||
var items = {
|
||||
is_new: true,
|
||||
category: 'image',
|
||||
url: "/api/attachments/" + (info === null || info === void 0 || (_info$file3 = info.file) === null || _info$file3 === void 0 || (_info$file3 = _info$file3.response) === null || _info$file3 === void 0 ? void 0 : _info$file3.id),
|
||||
article_id: data === null || data === void 0 ? void 0 : data.article_id
|
||||
};
|
||||
// console.log('0----', [...list, items])
|
||||
datalist[index].images = [].concat(toConsumableArray_default()(list), [items]);
|
||||
setList([].concat(toConsumableArray_default()(list), [items]));
|
||||
setdatalist(toConsumableArray_default()(datalist));
|
||||
setupimg(false);
|
||||
}
|
||||
};
|
||||
var renderImg = function renderImg() {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
style: {
|
||||
position: 'relative',
|
||||
backgroundColor: '#f4f3f4',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center'
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
||||
src: env/* default */.Z.API_SERVER + "/api/attachments/" + attachId,
|
||||
alt: "avatar",
|
||||
style: {
|
||||
width: 288
|
||||
}
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
style: {
|
||||
position: 'absolute',
|
||||
right: '-6px',
|
||||
top: '-6px',
|
||||
cursor: 'pointer',
|
||||
backgroundColor: '#fff',
|
||||
width: '16px',
|
||||
height: '16px',
|
||||
borderRadius: '50%'
|
||||
},
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(CloseCircleFilled/* default */.Z, {
|
||||
onClick: function onClick() {
|
||||
return setattachId(undefined);
|
||||
},
|
||||
style: {
|
||||
fontSize: '16px',
|
||||
color: 'red'
|
||||
}
|
||||
})
|
||||
})]
|
||||
});
|
||||
};
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
style: {
|
||||
display: 'flex',
|
||||
justifyContent: 'space-between'
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: prviewmodules.imagename,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
||||
style: {
|
||||
width: 24,
|
||||
height: 16,
|
||||
marginRight: 20
|
||||
},
|
||||
src: titleimg_namespaceObject
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
children: data === null || data === void 0 ? void 0 : data.name
|
||||
}), " "]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: prviewmodules.addbutton,
|
||||
onClick: function onClick() {
|
||||
setupimg(true);
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
onClick: function onClick() {},
|
||||
className: "iconfont icon-danceng-shangchuanwenjian"
|
||||
}), " \u4E0A\u4F20\u56FE\u7247"]
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* DragDropContext */.Z5, {
|
||||
onDragEnd: function onDragEnd(result) {
|
||||
return handleDragEnd(result, list);
|
||||
},
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Droppable */.bK, {
|
||||
droppableId: "droppable",
|
||||
direction: "horizontal",
|
||||
children: function children(provided, snapshot) {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({
|
||||
ref: provided.innerRef
|
||||
}, provided.droppableProps), {}, {
|
||||
style: {
|
||||
display: "flex",
|
||||
// 设置水平布局
|
||||
// padding: "8px",
|
||||
overflow: "auto",
|
||||
flexWrap: 'wrap',
|
||||
gap: 20
|
||||
}
|
||||
// style={{ width: '100%', height: list?.length * 38 }}
|
||||
,
|
||||
children: [list.map(function (item, k) {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Draggable */._l, {
|
||||
draggableId: k.toString(),
|
||||
index: k,
|
||||
children: function children(provided, snapshot) {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({
|
||||
className: prviewmodules.hoverimg,
|
||||
ref: provided.innerRef
|
||||
}, provided.draggableProps), provided.dragHandleProps), {}, {
|
||||
style: objectSpread2_default()({
|
||||
margin: "8px",
|
||||
backgroundColor: "#f4f4f4",
|
||||
border: "1px solid #ddd",
|
||||
borderRadius: "4px",
|
||||
width: '23%',
|
||||
position: 'relative'
|
||||
}, provided.draggableProps.style),
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: prviewmodules.bottom,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
onClick: function onClick() {},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-chakan3"
|
||||
}), " \u67E5\u770B"]
|
||||
}), (item === null || item === void 0 ? void 0 : item.category) !== 'directory' && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
style: {
|
||||
marginLeft: 20
|
||||
},
|
||||
onClick: function onClick() {
|
||||
setselectindex(item);
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-shanchu13"
|
||||
}), " \u5220\u9664"]
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
||||
onClick: function onClick() {
|
||||
selectindex(item);
|
||||
},
|
||||
src: env/* default */.Z.IMG_SERVER + (item === null || item === void 0 ? void 0 : item.url),
|
||||
style: {
|
||||
height: 500,
|
||||
objectFit: 'cover',
|
||||
width: '100%'
|
||||
}
|
||||
})]
|
||||
}));
|
||||
}
|
||||
}, k);
|
||||
}), provided.placeholder]
|
||||
}));
|
||||
}
|
||||
})
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
|
||||
title: "\u4E0A\u4F20\u56FE\u7247",
|
||||
className: "modalXazy",
|
||||
open: upimg,
|
||||
onCancel: function onCancel() {
|
||||
setupimg(false);
|
||||
},
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, {
|
||||
form: myForm,
|
||||
className: prviewmodules.header_form,
|
||||
labelCol: {
|
||||
span: 3
|
||||
},
|
||||
wrapperCol: {
|
||||
span: 21
|
||||
},
|
||||
onFinish: ( /*#__PURE__*/function () {
|
||||
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(value) {
|
||||
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
|
||||
while (1) switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}, _callee2);
|
||||
}));
|
||||
return function (_x3) {
|
||||
return _ref3.apply(this, arguments);
|
||||
};
|
||||
}()),
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
||||
name: "cover_image_id"
|
||||
// valuePropName="fileList"
|
||||
,
|
||||
label: "",
|
||||
rules: [{
|
||||
required: false,
|
||||
message: ''
|
||||
}],
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, {
|
||||
withCredentials: true,
|
||||
name: "file",
|
||||
showUploadList: false,
|
||||
action: "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"),
|
||||
onChange: handleChange,
|
||||
accept: "image/*",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
||||
loading: imgLoading,
|
||||
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-shangchuantupian2"
|
||||
}),
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
marginLeft: "3px"
|
||||
},
|
||||
children: "\u4E0A\u4F20\u56FE\u7247"
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
|
||||
title: "\u5220\u9664\u56FE\u7247",
|
||||
className: "modalXazy",
|
||||
open: selectindex,
|
||||
onOk: function onOk() {
|
||||
var items = list.filter(function (item) {
|
||||
return (item === null || item === void 0 ? void 0 : item.url) !== (selectindex === null || selectindex === void 0 ? void 0 : selectindex.url);
|
||||
});
|
||||
datalist[index].images = items;
|
||||
setList(toConsumableArray_default()(items));
|
||||
setdatalist(toConsumableArray_default()(datalist));
|
||||
},
|
||||
onCancel: function onCancel() {
|
||||
setselectindex('');
|
||||
},
|
||||
children: "\u5728\u8BE5\u5904\u5220\u9664\u5185\u5BB9\uFF0C\u5E76\u4E0D\u4F1A\u540C\u6B65\u5C06\u8BE5\u6587\u7AE0\u7684\u5185\u5BB9\u8FDB\u884C\u5220\u9664\uFF0C\u4EC5\u5728\u672C\u6708\u520A\u4E2D\u4E0D\u5C55\u793A\uFF0C\u786E\u5B9A\u662F\u5426\u5220\u9664\u8BE5\u5185\u5BB9\uFF0C \u5220\u9664\u540E\u65E0\u6CD5\u6062\u590D\u3002"
|
||||
})]
|
||||
});
|
||||
};
|
||||
/* harmony default export */ var imgaelist = (DragQuestions);
|
||||
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetailamins/prview/index.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// import XazyHeader from '@/components/HeaderNav';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var RangePicker = date_picker["default"].RangePicker;
|
||||
var Navigation = function Navigation(_ref) {
|
||||
var loading = _ref.loading,
|
||||
user = _ref.user,
|
||||
dispatch = _ref.dispatch,
|
||||
account = _ref.account,
|
||||
classroomList = _ref.classroomList;
|
||||
var params = (0,_umi_production_exports.useParams)();
|
||||
var _useSearchParams = (0,_umi_production_exports.useSearchParams)(),
|
||||
_useSearchParams2 = slicedToArray_default()(_useSearchParams, 1),
|
||||
select = _useSearchParams2[0];
|
||||
var _useState = (0,_react_17_0_2_react.useState)([]),
|
||||
_useState2 = slicedToArray_default()(_useState, 2),
|
||||
datalist = _useState2[0],
|
||||
setdatalist = _useState2[1];
|
||||
(0,_react_17_0_2_react.useEffect)(function () {
|
||||
getdata();
|
||||
}, []);
|
||||
function getdata() {
|
||||
return _getdata.apply(this, arguments);
|
||||
}
|
||||
function _getdata() {
|
||||
_getdata = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
|
||||
var _select$get;
|
||||
var res;
|
||||
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
|
||||
while (1) switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.next = 2;
|
||||
return (0,fetch/* default */.ZP)("/api/monthly_magazines/preview.json", {
|
||||
method: 'Post',
|
||||
body: {
|
||||
magazine_id: 1,
|
||||
monthly_magazine_id: (params === null || params === void 0 ? void 0 : params.id) || '',
|
||||
cover_image_id: select.get('cover_image_id'),
|
||||
article_ids: (_select$get = select.get('article_ids')) === null || _select$get === void 0 ? void 0 : _select$get.split(',')
|
||||
}
|
||||
});
|
||||
case 2:
|
||||
res = _context2.sent;
|
||||
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
|
||||
setdatalist(res === null || res === void 0 ? void 0 : res.data);
|
||||
}
|
||||
case 4:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}, _callee2);
|
||||
}));
|
||||
return _getdata.apply(this, arguments);
|
||||
}
|
||||
(0,_react_17_0_2_react.useEffect)(function () {
|
||||
console.log('---', datalist);
|
||||
}, [datalist]);
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: prviewmodules.root,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(HeaderNav/* default */.Z, {
|
||||
title: "\u5B9E\u9A8C\u5BA4\u7BA1\u7406",
|
||||
goBackUrl: '/magazinever/monthlyadmins',
|
||||
imgUrl: logo
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: prviewmodules.reportContent,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
style: {
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between'
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: prviewmodules.back_style,
|
||||
style: {
|
||||
color: '#fff'
|
||||
},
|
||||
onClick: function onClick() {
|
||||
_umi_production_exports.history.push('/magazinever/monthlyadmins');
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-fanhui2 font12 mr5"
|
||||
}), "\u8FD4\u56DE"]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
style: {
|
||||
display: 'flex',
|
||||
alignItems: 'center'
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
color: 'red',
|
||||
marginRight: 20
|
||||
},
|
||||
children: "\u8C03\u6574\u540E\u7684\u5185\u5BB9\u9700\u70B9\u51FB\u53F3\u4E0A\u89D2\u4FDD\u5B58\u6309\u94AE\u8FDB\u884C\u4FDD\u5B58"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: prviewmodules.addbutton,
|
||||
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
|
||||
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
||||
while (1) switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}, _callee);
|
||||
})),
|
||||
children: "\u4FDD\u5B58"
|
||||
})]
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: prviewmodules.wrap,
|
||||
style: {
|
||||
marginTop: 10
|
||||
},
|
||||
children: datalist === null || datalist === void 0 ? void 0 : datalist.map(function (item, index) {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(imgaelist, {
|
||||
data: item,
|
||||
index: index,
|
||||
datalist: datalist,
|
||||
setdatalist: setdatalist
|
||||
})
|
||||
});
|
||||
})
|
||||
})]
|
||||
})]
|
||||
});
|
||||
};
|
||||
/* harmony default export */ var prview = ((0,_umi_production_exports.connect)(function (_ref3) {
|
||||
var loading = _ref3.loading,
|
||||
user = _ref3.user,
|
||||
engineeringNavigtion = _ref3.engineeringNavigtion,
|
||||
dispatch = _ref3.dispatch,
|
||||
account = _ref3.account,
|
||||
classroomList = _ref3.classroomList;
|
||||
return objectSpread2_default()(objectSpread2_default()({
|
||||
loading: loading,
|
||||
user: user
|
||||
}, engineeringNavigtion), {}, {
|
||||
dispatch: dispatch,
|
||||
account: account,
|
||||
classroomList: classroomList
|
||||
});
|
||||
})(Navigation));
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
|
Before Width: | Height: | Size: 198 KiB |
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue