ai-question-pro 0.0.21 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1477,7 +1477,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tree-select__option.el-select-dropdow
1477
1477
 
1478
1478
  /***/ }),
1479
1479
 
1480
- /***/ 4199:
1480
+ /***/ 2105:
1481
1481
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1482
1482
 
1483
1483
  "use strict";
@@ -1491,14 +1491,14 @@ __webpack_require__.r(__webpack_exports__);
1491
1491
 
1492
1492
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
1493
1493
  // Module
1494
- ___CSS_LOADER_EXPORT___.push([module.id, ".ai_contain[data-v-598246f8]{display:inline-block;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-598246f8] .el-drawer.rtl{border-radius:15px 0 0 15px;width:720px!important}.ai_contain[data-v-598246f8] .el-icon-close:before{color:#0e0e0e;font-weight:700;font-size:24px}.ai_contain[data-v-598246f8] .el-drawer__header{padding-top:0;height:64px;background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff),linear-gradient(90deg,#bcb9f4,#d5c6f8,#e6c6f9);margin-bottom:0}.ai_contain[data-v-598246f8] .el-drawer__body{padding:0 30px;display:flex;flex-direction:column;justify-content:space-between}.ai_contain[data-v-598246f8] .el-checkbox__inner{width:20px;height:20px;border-radius:4px}.ai_contain[data-v-598246f8] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#7c4dff;border-color:#7c4dff}.ai_contain[data-v-598246f8] .el-checkbox__inner:after{width:4px;height:9px;border:3px solid #fff;border-left:0;border-top:0;left:6px;top:2px}.ai_contain[data-v-598246f8] .el-slider__runway{height:6px;background-color:#e5e5e5;border-radius:3px}.ai_contain[data-v-598246f8] .el-slider__button{width:20px;height:20px;border:1px solid #7c4dff;background-color:#7c4dff}.ai_contain[data-v-598246f8] .el-slider__bar{background-color:#7c4dff}.ai_contain[data-v-598246f8] .el-input__inner{border-radius:12px;height:48px;border:1px solid #e0e0e0}.ai_contain[data-v-598246f8] .el-textarea__inner{border-radius:16px;border:1px solid #e0e0e0;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-598246f8] .el-loading-mask{border-radius:8px}.ai_contain .ai_button[data-v-598246f8]{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:9px 6px;position:relative;color:#fff;background-color:#456bea;border-radius:4px;border:1px solid #456bea}.ai_contain .add_question_title[data-v-598246f8]{display:flex;align-items:center;font-size:18px;color:#333;font-weight:700;gap:7px}.ai_contain .add_question_body .question-type-header[data-v-598246f8]{margin-bottom:20px}.ai_contain .add_question_body .question-type-header .required-mark[data-v-598246f8]{color:#f45;margin-right:4px}.ai_contain .add_question_body .question-type-header .section-title[data-v-598246f8]{font-size:14px;color:#303040}.ai_contain .add_question_body .question-type-header .tip-text[data-v-598246f8]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .question-type-list[data-v-598246f8]{margin-bottom:30px}.ai_contain .add_question_body .question-type-list .question-type-item[data-v-598246f8]{display:flex;align-items:center;padding:5px 10px;margin-bottom:12px;transition:all .3s ease}.ai_contain .add_question_body .question-type-list .question-type-item .type-left[data-v-598246f8]{display:flex;align-items:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-checkbox[data-v-598246f8]{margin-right:12px}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name[data-v-598246f8]{font-size:14px;font-weight:700;border-radius:54px;color:#fff;height:40px;width:80px;display:flex;align-items:center;justify-content:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-single[data-v-598246f8]{background:rgba(128,96,240,.161);color:#6040f0}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-multiple[data-v-598246f8]{background:rgba(0,144,240,.161);color:#0090ff}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-gapfilling[data-v-598246f8]{background:rgba(96,192,144,.161);color:#60c090}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-judge[data-v-598246f8]{background:rgba(240,160,0,.161);color:#f0a000}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-shortanswer[data-v-598246f8]{background:rgba(224,96,192,.161);color:#e060c0}.ai_contain .add_question_body .question-type-list .question-type-item .type-right[data-v-598246f8]{display:flex;align-items:center;gap:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-598246f8]{width:160px;margin-left:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-598246f8] .el-input__inner{height:42px;border-radius:56px;text-align:center;font-size:12px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container[data-v-598246f8]{width:240px;margin-left:10px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container.disabled[data-v-598246f8] .el-slider__button{background-color:#fff;border:1px solid #797979}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .difficulty-label[data-v-598246f8]{font-size:14px;color:#6040e0;min-width:80px;font-weight:700}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .difficulty-label.disabled[data-v-598246f8]{color:#ccc}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .placeholder-text[data-v-598246f8]{font-size:12px;color:#dddde0;width:160px;border:1px solid #dddde0;border-radius:56px;height:40px;text-align:center;margin-left:20px;display:flex;align-items:center;justify-content:center}.ai_contain .add_question_body .knowledge-section[data-v-598246f8],.ai_contain .add_question_body .prompt-section[data-v-598246f8]{margin-bottom:24px}.ai_contain .add_question_body .knowledge-section .section-header[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header[data-v-598246f8]{margin-bottom:12px}.ai_contain .add_question_body .knowledge-section .section-header .required-mark[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header .required-mark[data-v-598246f8]{color:#f45;margin-right:4px}.ai_contain .add_question_body .knowledge-section .section-header .section-title[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header .section-title[data-v-598246f8]{font-size:14px;color:#303040}.ai_contain .add_question_body .knowledge-section .section-header .tip-text[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header .tip-text[data-v-598246f8]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .knowledge-section .knowledge-input[data-v-598246f8],.ai_contain .add_question_body .prompt-section .knowledge-input[data-v-598246f8]{position:relative}.ai_contain .add_question_body .knowledge-section .knowledge-input .knowledge-icon[data-v-598246f8],.ai_contain .add_question_body .prompt-section .knowledge-input .knowledge-icon[data-v-598246f8]{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#999;font-size:16px;width:24px;height:24px}.ai_contain .add_question_body .prompt-textarea .el-textarea__inner[data-v-598246f8]{min-height:120px!important;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain .add_question_footer[data-v-598246f8]{padding-bottom:30px;display:flex;justify-content:center;align-items:center;gap:30px}.ai_contain .add_question_footer .button-handle[data-v-598246f8]{width:168px;height:48px;font-size:14px;border-radius:25px;border:none;color:#fff;cursor:pointer;transition:all .3s ease}.ai_contain .add_question_footer .button-handle[data-v-598246f8]:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.ai_contain .add_question_footer .button-generate-question[data-v-598246f8]{background:linear-gradient(180deg,#7050d0 0,#2828e0);width:280px;display:flex;justify-content:center;align-items:center;gap:10px}.ai_contain .add_question_footer .button-cancel[data-v-598246f8]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .ai-bot-switch[data-v-598246f8]{display:flex;align-items:center;background:transparent;justify-content:center;border-radius:49px;-webkit-user-select:none;-moz-user-select:none;user-select:none;height:40px;width:144px;cursor:pointer;z-index:2;border:1px solid rgba(96,64,224,.639);font-size:12px;color:#182028}.ai_contain .ai-bot-label[data-v-598246f8]{font-weight:500;margin-right:2px;margin-left:5px;width:72px}.ai_contain .ai-bot-dropdown[data-v-598246f8]{background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.08);border:1px solid #e0e0ff;padding:4px 0}.ai_contain .ai-bot-dropdown-item[data-v-598246f8]{padding:8px 20px;cursor:pointer;font-size:14px;color:#333;transition:background .2s}.ai_contain .ai-bot-dropdown-item.active[data-v-598246f8],.ai_contain .ai-bot-dropdown-item[data-v-598246f8]:hover{background:#f0f2f8;color:#3830e0}.ai_contain .question-result-drawer[data-v-598246f8] .el-drawer__body{padding:0;height:100%;display:flex;flex-direction:column}.ai_contain .question-result-drawer .drawer_content_wrapper[data-v-598246f8]{display:flex;flex-direction:column;height:100%;padding:0 20px}.ai_contain .question-result-drawer .question_summary_warp[data-v-598246f8]{display:flex;justify-content:space-between;margin-bottom:20px}.ai_contain .question-result-drawer .question_summary_warp .question_summary .summary_text[data-v-598246f8]{color:#6040e0;font-size:14px;font-weight:700}.ai_contain .question-result-drawer .question_summary_warp .question_summary .question_types_summary .type_item[data-v-598246f8]{font-size:12px;color:rgba(24,32,40,.639)}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button[data-v-598246f8]{display:flex;gap:15px;margin-right:15px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-handle[data-v-598246f8]{width:96px;height:40px;font-size:14px;border-radius:25px;border:none;color:#fff;cursor:pointer;transition:all .3s ease}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-generate-question[data-v-598246f8]{background:linear-gradient(180deg,#7050d0 0,#2828e0);display:flex;justify-content:center;align-items:center;gap:10px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-cancel[data-v-598246f8]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .question-result-drawer .question_body[data-v-598246f8]{flex:1;overflow-y:auto;padding-right:10px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar{width:6px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar-track{background:hsla(0,0%,100%,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar-thumb{background:rgba(124,77,255,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar-thumb:hover{background:rgba(124,77,255,.5)}.ai_contain .question-result-drawer .question_footer_fixed[data-v-598246f8]{flex-shrink:0;padding:0 0 10px 0;background:hsla(0,0%,100%,.9);border-top:1px solid hsla(0,0%,100%,.3);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning[data-v-598246f8]{display:flex;align-items:center;gap:8px}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .el-icon-info[data-v-598246f8]{width:24px;height:24px;flex-shrink:0}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .question_remind[data-v-598246f8]{font-size:12px;color:#797979;line-height:1.4}", ""]);
1494
+ ___CSS_LOADER_EXPORT___.push([module.id, ".ai_contain[data-v-58718089]{display:inline-block;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-58718089] .el-drawer.rtl{border-radius:20px;width:720px!important}.ai_contain[data-v-58718089] .el-icon-close:before{color:#0e0e0e;font-weight:700;font-size:24px}.ai_contain[data-v-58718089] .el-drawer__header{padding-top:0;height:64px;background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff),linear-gradient(90deg,#bcb9f4,#d5c6f8,#e6c6f9);margin-bottom:0;border-radius:20px}.ai_contain[data-v-58718089] .el-drawer__body{padding:0 30px;display:flex;flex-direction:column;justify-content:space-between}.ai_contain[data-v-58718089] .el-checkbox__inner{width:20px;height:20px;border-radius:4px}.ai_contain[data-v-58718089] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#7c4dff;border-color:#7c4dff}.ai_contain[data-v-58718089] .el-checkbox__inner:after{width:4px;height:9px;border:3px solid #fff;border-left:0;border-top:0;left:6px;top:2px}.ai_contain[data-v-58718089] .el-slider__runway{height:6px;background-color:#e5e5e5;border-radius:3px}.ai_contain[data-v-58718089] .el-slider__button{width:20px;height:20px;border:1px solid #7c4dff;background-color:#7c4dff}.ai_contain[data-v-58718089] .el-slider__bar{background-color:#7c4dff}.ai_contain[data-v-58718089] .el-input__inner{border-radius:12px;height:48px!important;border:1px solid #e0e0e0}.ai_contain[data-v-58718089] .el-textarea__inner{border-radius:16px;border:1px solid #e0e0e0;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-58718089] .el-loading-mask{border-radius:8px}.ai_contain .ai_button[data-v-58718089]{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:9px 6px;position:relative;color:#fff;background-color:#456bea;border-radius:4px;border:1px solid #456bea}.ai_contain .add_question_title[data-v-58718089]{display:flex;align-items:center;font-size:18px;color:#333;font-weight:700;gap:7px}.ai_contain .add_question_body .question-type-header[data-v-58718089]{margin-bottom:20px}.ai_contain .add_question_body .question-type-header .required-mark[data-v-58718089]{color:#f45;margin-right:4px}.ai_contain .add_question_body .question-type-header .section-title[data-v-58718089]{font-size:14px;color:#303040}.ai_contain .add_question_body .question-type-header .tip-text[data-v-58718089]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .question-type-list[data-v-58718089]{margin-bottom:30px}.ai_contain .add_question_body .question-type-list .question-type-item[data-v-58718089]{display:flex;align-items:center;padding:5px 10px;margin-bottom:12px;transition:all .3s ease}.ai_contain .add_question_body .question-type-list .question-type-item .type-left[data-v-58718089]{display:flex;align-items:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-checkbox[data-v-58718089]{margin-right:12px}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name[data-v-58718089]{font-size:14px;font-weight:700;border-radius:54px;color:#fff;height:40px;width:80px;display:flex;align-items:center;justify-content:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-single[data-v-58718089]{background:rgba(128,96,240,.161);color:#6040f0}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-multiple[data-v-58718089]{background:rgba(0,144,240,.161);color:#0090ff}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-gapfilling[data-v-58718089]{background:rgba(96,192,144,.161);color:#60c090}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-judge[data-v-58718089]{background:rgba(240,160,0,.161);color:#f0a000}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-shortanswer[data-v-58718089]{background:rgba(224,96,192,.161);color:#e060c0}.ai_contain .add_question_body .question-type-list .question-type-item .type-right[data-v-58718089]{display:flex;align-items:center;gap:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-58718089]{width:160px;margin-left:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-58718089] .el-input__inner{height:42px!important;border-radius:56px;text-align:center;font-size:12px;padding:0!important}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container[data-v-58718089]{width:240px;margin-left:10px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container.disabled[data-v-58718089] .el-slider__button{background-color:#fff;border:1px solid #797979}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .difficulty-label[data-v-58718089]{font-size:14px;color:#6040e0;min-width:80px;font-weight:700}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .difficulty-label.disabled[data-v-58718089]{color:#ccc}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .placeholder-text[data-v-58718089]{font-size:12px;color:#dddde0;width:160px;border:1px solid #dddde0;border-radius:56px;height:40px;text-align:center;margin-left:20px;display:flex;align-items:center;justify-content:center}.ai_contain .add_question_body .knowledge-section[data-v-58718089],.ai_contain .add_question_body .prompt-section[data-v-58718089]{margin-bottom:24px}.ai_contain .add_question_body .knowledge-section .section-header[data-v-58718089],.ai_contain .add_question_body .prompt-section .section-header[data-v-58718089]{margin-bottom:12px}.ai_contain .add_question_body .knowledge-section .section-header .required-mark[data-v-58718089],.ai_contain .add_question_body .prompt-section .section-header .required-mark[data-v-58718089]{color:#f45;margin-right:4px}.ai_contain .add_question_body .knowledge-section .section-header .section-title[data-v-58718089],.ai_contain .add_question_body .prompt-section .section-header .section-title[data-v-58718089]{font-size:14px;color:#303040}.ai_contain .add_question_body .knowledge-section .section-header .tip-text[data-v-58718089],.ai_contain .add_question_body .prompt-section .section-header .tip-text[data-v-58718089]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .knowledge-section .knowledge-input[data-v-58718089],.ai_contain .add_question_body .prompt-section .knowledge-input[data-v-58718089]{position:relative}.ai_contain .add_question_body .knowledge-section .knowledge-input .knowledge-icon[data-v-58718089],.ai_contain .add_question_body .prompt-section .knowledge-input .knowledge-icon[data-v-58718089]{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#999;font-size:16px;width:24px;height:24px}.ai_contain .add_question_body .prompt-textarea .el-textarea__inner[data-v-58718089]{min-height:120px!important;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain .add_question_footer[data-v-58718089]{padding-bottom:30px;display:flex;justify-content:center;align-items:center;gap:30px}.ai_contain .add_question_footer .button-handle[data-v-58718089]{width:168px;height:48px;font-size:14px;border-radius:25px;border:none;color:#fff;cursor:pointer;transition:all .3s ease}.ai_contain .add_question_footer .button-handle[data-v-58718089]:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.ai_contain .add_question_footer .button-generate-question[data-v-58718089]{background:linear-gradient(180deg,#7050d0 0,#2828e0);width:280px;display:flex;justify-content:center;align-items:center;gap:10px}.ai_contain .add_question_footer .button-cancel[data-v-58718089]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .ai-bot-switch[data-v-58718089]{display:flex;align-items:center;background:transparent;justify-content:center;border-radius:49px;-webkit-user-select:none;-moz-user-select:none;user-select:none;height:40px;width:144px;cursor:pointer;z-index:2;border:1px solid rgba(96,64,224,.639);font-size:12px;color:#182028}.ai_contain .ai-bot-label[data-v-58718089]{font-weight:500;margin-right:2px;margin-left:5px;width:72px}.ai_contain .ai-bot-dropdown[data-v-58718089]{background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.08);border:1px solid #e0e0ff;padding:4px 0}.ai_contain .ai-bot-dropdown-item[data-v-58718089]{padding:8px 20px;cursor:pointer;font-size:14px;color:#333;transition:background .2s}.ai_contain .ai-bot-dropdown-item.active[data-v-58718089],.ai_contain .ai-bot-dropdown-item[data-v-58718089]:hover{background:#f0f2f8;color:#3830e0}.ai_contain .question-result-drawer[data-v-58718089] .el-drawer__body{padding:0;height:100%;display:flex;flex-direction:column}.ai_contain .question-result-drawer .generating-loading[data-v-58718089]{display:flex;justify-content:center;align-items:center;height:200px}.ai_contain .question-result-drawer .generating-loading .loading-content[data-v-58718089]{display:flex;flex-direction:column;align-items:center;gap:16px}.ai_contain .question-result-drawer .generating-loading .loading-content .loading-spinner[data-v-58718089]{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #7c4dff;border-radius:50%;animation:spin-58718089 1s linear infinite}.ai_contain .question-result-drawer .generating-loading .loading-content .loading-text[data-v-58718089]{font-size:14px;color:#7c4dff;font-weight:500}@keyframes spin-58718089{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ai_contain .question-result-drawer .drawer_content_wrapper[data-v-58718089]{display:flex;flex-direction:column;height:100%;padding:0 20px}.ai_contain .question-result-drawer .question_summary_warp[data-v-58718089]{display:flex;justify-content:space-between;margin-bottom:20px}.ai_contain .question-result-drawer .question_summary_warp .question_summary .summary_text[data-v-58718089]{color:#6040e0;font-size:14px;font-weight:700}.ai_contain .question-result-drawer .question_summary_warp .question_summary .question_types_summary .type_item[data-v-58718089]{font-size:12px;color:rgba(24,32,40,.639)}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button[data-v-58718089]{display:flex;gap:15px;margin-right:15px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-handle[data-v-58718089]{width:96px;height:40px;font-size:14px;border-radius:25px;border:none;color:#fff;cursor:pointer;transition:all .3s ease}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-generate-question[data-v-58718089]{background:linear-gradient(180deg,#7050d0 0,#2828e0);display:flex;justify-content:center;align-items:center;gap:10px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-cancel[data-v-58718089]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .question-result-drawer .question_body[data-v-58718089]{flex:1;overflow-y:auto;padding-right:10px}.ai_contain .question-result-drawer .question_body[data-v-58718089]::-webkit-scrollbar{width:6px}.ai_contain .question-result-drawer .question_body[data-v-58718089]::-webkit-scrollbar-track{background:hsla(0,0%,100%,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-58718089]::-webkit-scrollbar-thumb{background:rgba(124,77,255,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-58718089]::-webkit-scrollbar-thumb:hover{background:rgba(124,77,255,.5)}.ai_contain .question-result-drawer .question_footer_fixed[data-v-58718089]{flex-shrink:0;padding:0 0 10px 0;background:hsla(0,0%,100%,.9);border-top:1px solid hsla(0,0%,100%,.3);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning[data-v-58718089]{display:flex;align-items:center;gap:8px}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .el-icon-info[data-v-58718089]{width:24px;height:24px;flex-shrink:0}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .question_remind[data-v-58718089]{font-size:12px;color:#797979;line-height:1.4}", ""]);
1495
1495
  // Exports
1496
1496
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1497
1497
 
1498
1498
 
1499
1499
  /***/ }),
1500
1500
 
1501
- /***/ 7328:
1501
+ /***/ 5997:
1502
1502
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1503
1503
 
1504
1504
  "use strict";
@@ -1519,7 +1519,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".ai-custom-dialog.el-dialog{background
1519
1519
 
1520
1520
  /***/ }),
1521
1521
 
1522
- /***/ 2536:
1522
+ /***/ 3262:
1523
1523
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1524
1524
 
1525
1525
  "use strict";
@@ -1533,7 +1533,7 @@ __webpack_require__.r(__webpack_exports__);
1533
1533
 
1534
1534
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
1535
1535
  // Module
1536
- ___CSS_LOADER_EXPORT___.push([module.id, ".ai_question_contain[data-v-088e6bea]{margin-bottom:20px;padding:20px;background:hsla(0,0%,100%,.6);border:1px solid #dadce0;border-radius:24px;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_question_contain .question_header[data-v-088e6bea]{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.ai_question_contain .question_header .question_header_left[data-v-088e6bea]{display:flex;align-items:center;gap:12px}.ai_question_contain .question_contain_title[data-v-088e6bea]{margin-bottom:15px;display:flex;justify-content:space-between}.ai_question_contain .question_contain_title .question_contain_title_left[data-v-088e6bea]{color:#333;font-weight:700;font-size:16px;width:100%;line-height:28px}.ai_question_contain .question_contain_title .question_contain_title_left .difficult[data-v-088e6bea]{margin:0 6px;font-weight:700;padding:5px 7px;color:#333;font-size:12px;border-radius:24px;border:1px solid rgba(40,40,224,.478);background:transparent}.ai_question_contain .question_contain_title .question_contain_title_reght[data-v-088e6bea]{display:flex;align-items:center}.ai_question_contain .question_contain_title .question_contain_title_reght img[data-v-088e6bea]{margin:0 5px;cursor:pointer}.ai_question_contain .question_contain_question[data-v-088e6bea]{margin-bottom:16px;font-size:14px;padding-left:5px}.ai_question_contain .question_contain_question div[data-v-088e6bea]{margin:5px 0}.ai_question_contain .question_answer_info[data-v-088e6bea]{border-radius:15px;padding:20px;background-color:rgba(64,48,240,.08)}.ai_question_contain .question_contain_answer[data-v-088e6bea]{margin-bottom:16px;font-size:13px;color:#6040e0;font-weight:700}.ai_question_contain .question_contain_parse[data-v-088e6bea]{margin-bottom:16px;display:flex;justify-content:space-between}.ai_question_contain .question_contain_parse .question_contain_parse_analysis[data-v-088e6bea]{width:100%;font-size:13px;color:#262626}.ai_question_contain .type-name[data-v-088e6bea]{font-size:14px;font-weight:700;border-radius:54px;color:#fff;height:40px;width:72px;display:flex;align-items:center;justify-content:center}.ai_question_contain .type-name.type-single[data-v-088e6bea]{background:rgba(128,96,240,.161);color:#6040f0}.ai_question_contain .type-name.type-multiple[data-v-088e6bea]{background:rgba(0,144,240,.161);color:#0090ff}.ai_question_contain .type-name.type-gapfilling[data-v-088e6bea]{background:rgba(96,192,144,.161);color:#60c090}.ai_question_contain .type-name.type-judge[data-v-088e6bea]{background:rgba(240,160,0,.161);color:#f0a000}.ai_question_contain .type-name.type-shortanswer[data-v-088e6bea]{background:rgba(224,96,192,.161);color:#e060c0}.ai_question_contain .join[data-v-088e6bea]{align-self:self-end;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;font-weight:700;color:#6040e0;font-size:14px;line-height:32px}.ai_question_contain .ai_warning_tip[data-v-088e6bea]{margin-top:16px;padding:12px 16px;background:rgba(124,77,255,.05);border:1px solid rgba(124,77,255,.15);border-radius:12px;display:flex;align-items:center;gap:8px}.ai_question_contain .ai_warning_tip .el-icon-info[data-v-088e6bea]{color:#7c4dff;font-size:14px;flex-shrink:0}.ai_question_contain .ai_warning_tip span[data-v-088e6bea]{font-size:12px;color:#666;line-height:1.4}", ""]);
1536
+ ___CSS_LOADER_EXPORT___.push([module.id, ".ai_question_contain[data-v-cc89a654]{margin-bottom:20px;padding:20px;background:hsla(0,0%,100%,.6);border:1px solid #dadce0;border-radius:24px;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_question_contain .question_header[data-v-cc89a654]{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.ai_question_contain .question_header .question_header_left[data-v-cc89a654]{display:flex;align-items:center;gap:12px}.ai_question_contain .question_contain_title[data-v-cc89a654]{margin-bottom:15px;display:flex;justify-content:space-between}.ai_question_contain .question_contain_title .question_contain_title_left[data-v-cc89a654]{color:#333;font-weight:700;font-size:16px;width:100%;line-height:28px}.ai_question_contain .question_contain_title .question_contain_title_left .difficult[data-v-cc89a654]{margin:0 6px;font-weight:700;padding:5px 7px;color:#333;font-size:12px;border-radius:24px;border:1px solid rgba(40,40,224,.478);background:transparent}.ai_question_contain .question_contain_title .question_contain_title_reght[data-v-cc89a654]{display:flex;align-items:center}.ai_question_contain .question_contain_title .question_contain_title_reght img[data-v-cc89a654]{margin:0 5px;cursor:pointer}.ai_question_contain .question_contain_question[data-v-cc89a654]{margin-bottom:16px;font-size:14px;padding-left:5px}.ai_question_contain .question_contain_question div[data-v-cc89a654]{margin:5px 0}.ai_question_contain .question_answer_info[data-v-cc89a654]{border-radius:15px;padding:20px;background-color:rgba(64,48,240,.08)}.ai_question_contain .question_contain_answer[data-v-cc89a654]{margin-bottom:16px;font-size:13px;color:#6040e0;font-weight:700}.ai_question_contain .question_contain_parse[data-v-cc89a654]{margin-bottom:16px;display:flex;justify-content:space-between}.ai_question_contain .question_contain_parse .question_contain_parse_analysis[data-v-cc89a654]{width:100%;font-size:13px;color:#262626}.ai_question_contain .type-name[data-v-cc89a654]{font-size:14px;font-weight:700;border-radius:54px;color:#fff;height:40px;width:72px;display:flex;align-items:center;justify-content:center}.ai_question_contain .type-name.type-single[data-v-cc89a654]{background:rgba(128,96,240,.161);color:#6040f0}.ai_question_contain .type-name.type-multiple[data-v-cc89a654]{background:rgba(0,144,240,.161);color:#0090ff}.ai_question_contain .type-name.type-gapfilling[data-v-cc89a654]{background:rgba(96,192,144,.161);color:#60c090}.ai_question_contain .type-name.type-judge[data-v-cc89a654]{background:rgba(240,160,0,.161);color:#f0a000}.ai_question_contain .type-name.type-shortanswer[data-v-cc89a654]{background:rgba(224,96,192,.161);color:#e060c0}.ai_question_contain .join[data-v-cc89a654]{align-self:self-end;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;font-weight:700;color:#6040e0;font-size:14px;line-height:32px}.ai_question_contain .ai_warning_tip[data-v-cc89a654]{margin-top:16px;padding:12px 16px;background:rgba(124,77,255,.05);border:1px solid rgba(124,77,255,.15);border-radius:12px;display:flex;align-items:center;gap:8px}.ai_question_contain .ai_warning_tip .el-icon-info[data-v-cc89a654]{color:#7c4dff;font-size:14px;flex-shrink:0}.ai_question_contain .ai_warning_tip span[data-v-cc89a654]{font-size:12px;color:#666;line-height:1.4}", ""]);
1537
1537
  // Exports
1538
1538
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1539
1539
 
@@ -32967,51 +32967,51 @@ var update = add("f22f6454", content, true, {"sourceMap":false,"shadowMode":fals
32967
32967
 
32968
32968
  /***/ }),
32969
32969
 
32970
- /***/ 49:
32970
+ /***/ 9555:
32971
32971
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32972
32972
 
32973
32973
  // style-loader: Adds some css to the DOM by adding a <style> tag
32974
32974
 
32975
32975
  // load the styles
32976
- var content = __webpack_require__(4199);
32976
+ var content = __webpack_require__(2105);
32977
32977
  if(content.__esModule) content = content.default;
32978
32978
  if(typeof content === 'string') content = [[module.id, content, '']];
32979
32979
  if(content.locals) module.exports = content.locals;
32980
32980
  // add the styles to the DOM
32981
32981
  var add = (__webpack_require__(8459)/* ["default"] */ .A)
32982
- var update = add("0b58a6f1", content, true, {"sourceMap":false,"shadowMode":false});
32982
+ var update = add("938c7c16", content, true, {"sourceMap":false,"shadowMode":false});
32983
32983
 
32984
32984
  /***/ }),
32985
32985
 
32986
- /***/ 913:
32986
+ /***/ 9323:
32987
32987
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32988
32988
 
32989
32989
  // style-loader: Adds some css to the DOM by adding a <style> tag
32990
32990
 
32991
32991
  // load the styles
32992
- var content = __webpack_require__(7328);
32992
+ var content = __webpack_require__(5997);
32993
32993
  if(content.__esModule) content = content.default;
32994
32994
  if(typeof content === 'string') content = [[module.id, content, '']];
32995
32995
  if(content.locals) module.exports = content.locals;
32996
32996
  // add the styles to the DOM
32997
32997
  var add = (__webpack_require__(8459)/* ["default"] */ .A)
32998
- var update = add("f3dc38b2", content, true, {"sourceMap":false,"shadowMode":false});
32998
+ var update = add("55a064ab", content, true, {"sourceMap":false,"shadowMode":false});
32999
32999
 
33000
33000
  /***/ }),
33001
33001
 
33002
- /***/ 3846:
33002
+ /***/ 8536:
33003
33003
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
33004
33004
 
33005
33005
  // style-loader: Adds some css to the DOM by adding a <style> tag
33006
33006
 
33007
33007
  // load the styles
33008
- var content = __webpack_require__(2536);
33008
+ var content = __webpack_require__(3262);
33009
33009
  if(content.__esModule) content = content.default;
33010
33010
  if(typeof content === 'string') content = [[module.id, content, '']];
33011
33011
  if(content.locals) module.exports = content.locals;
33012
33012
  // add the styles to the DOM
33013
33013
  var add = (__webpack_require__(8459)/* ["default"] */ .A)
33014
- var update = add("4fe405bc", content, true, {"sourceMap":false,"shadowMode":false});
33014
+ var update = add("6a24e6b4", content, true, {"sourceMap":false,"shadowMode":false});
33015
33015
 
33016
33016
  /***/ }),
33017
33017
 
@@ -33323,22 +33323,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAoCAYAAABd
33323
33323
 
33324
33324
  /***/ }),
33325
33325
 
33326
- /***/ 1017:
33327
- /***/ (function(module) {
33328
-
33329
- "use strict";
33330
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAASdJREFUOE+lkr1KA0EUhc+d3QxiY6WgTbTZV7CIm9JCEHwHwdZCm+xapMgsWPgEithpZyl2cRZFxCfQLpAujbBgYta9sjtmEfFnmdximIFzPuZyDmHKodzvB6NHglgsWMRL/zAHTAjijjwu5PnRDN9YK1neK3wqEf3+fPdsZWgLAAOrsZIP1gAwtnUkT6cBHOlI7tsDQFda1TbsAYyejmTdGsAMjiMpTA/C8QuBLz7j26kQYy6500o2CsBaa+jBcT3TIzigbIEYAYDlEsZ4yoTYM29OXNe977bJ9OCnabRefUc4N5OyAZTomjuHNmVf9b8CTENH1wCtTwzvaVq/PZztVQb4B+kWcXZZGijzdGfmuTIAYGqG43MGNgk40Urufl/3zxWqpPEBUMWCERMCTlcAAAAASUVORK5CYII=";
33331
-
33332
- /***/ }),
33333
-
33334
- /***/ 342:
33335
- /***/ (function(module) {
33336
-
33337
- "use strict";
33338
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAXhJREFUOE+lk79Lw0AUx9+71NK5/qAVREToXyAu4qBuUsFZTEoXcycFBRXX+wccBJsmLRTaVCo4OrnpZosOukoXB83iIDiINHmStF20lRq/w/GF4z733r3vIfxT6J8vFKq3jGHS90QwiQjPg7ie5++gFGKzFDh/MU2bOFd/+H6QfL48pSiRB8dxk1JmP/4M6F54R+QJITLNsIAKkXctRKYcCmAY9iEijQuh7YcCFAqVNGNsW9fV1VCAUqk647p4xbk6HQogpWSJxOwn52qkB3gDgLPu2LaI8Igx71zXtUbn1atrAJjujZUIRgEgKYS6EACKxUrKdZVUEAxEhYgmEOmg3SY1l9MapllbASCDCPc6EHqPxdo32Ww3B/0CYxj2ImNw7DituXh8fiQafX1xnNaYlDLIYk9BBYNkmvYlAJ1wrl1Yln0PQGu6rj0NDbAse93zaFcIdck0a02A9gbn2cehAUSElnVaJ/KWAaAuhLbzvdpfWxjmp38BKRvIESbEF9cAAAAASUVORK5CYII=";
33339
-
33340
- /***/ }),
33341
-
33342
33326
  /***/ 1421:
33343
33327
  /***/ (function(module) {
33344
33328
 
@@ -33347,22 +33331,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
33347
33331
 
33348
33332
  /***/ }),
33349
33333
 
33350
- /***/ 2356:
33351
- /***/ (function(module) {
33352
-
33353
- "use strict";
33354
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAASFJREFUOE+l0r1KxEAUBeBzJ+MoNlYK2qw2eQWLNSktBMFnsLC10GaTLbZIAhY+gYJ22lmK3TpREfEJtFvYzkYIuD9xrhhjEIUYslPNMOd+U5whTLiofJ7J9cdnDGwScKxDtfs7Xwo47XSL2FwUQ2RsHcw8/0RKAdcfXgG0/j3wnqaN24PZXiWg2XpzLGFdA8gfoURPyTl0yPwB1loDG5a0Py+IYYHMAjE8AMtFmPFkhNj7OnMipbzvdmiQ6Y4/fiXweR7eqVjMnQ5VMwNcf8Q6VMW+CsAMjiMlJgF6caQatQGAL3U4vVEfYBzqSO3XBgyJ7ZtAntQGGFiNQ/VQF0hEvz/fPV3J/4E3fCSIxaw+4qV/anxhghcH6iiLV+m8LPMBU6CEEQ0lMS4AAAAASUVORK5CYII=";
33355
-
33356
- /***/ }),
33357
-
33358
- /***/ 5089:
33359
- /***/ (function(module) {
33360
-
33361
- "use strict";
33362
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAWtJREFUOE+l0zFLw0AUAOD3Lm3pXFTagggK/QXiIg7qJi04i4lkMXdSUFBxvT/gILTJBaHSptDB0clJR1t00FW6OGgWF3EQqXlqLCiWFk1vevDufcfjvUMY8uCgeiJC1/UaRLAAAA0hjM3f9wcCrustBwFtCaHPK1VvAXRWODdvfyIDAaW8UwAqcW6cuK53DUAFyzLu/gTYtjfHGBz4fns6lZqJJxKPD77fHpFSBj1AqVTNaZqW+0wgokZEY4i02+mQXiwaTaXqiwBkE+H2VzE9J5OdC9M0X8IWlKo9AWCjK68T4T5jwbFlGc1uvgCA+e+XMUVEWSH02S7gEed6T9xvQlJKlk5PvXKuxyIBtl2ZZCx+xrk+EQlwnHoegDaE0JciAbbt7SHSqBDGTiRAKa8KAOcfLRxFBa6IAiHEWuvfQLlcGde02I3vv2Wk7O6B49QuGcNMuCIEWUS47zfCINxDlEKsHobRkL8Z3gGP/MIR9xXEfwAAAABJRU5ErkJggg==";
33363
-
33364
- /***/ }),
33365
-
33366
33334
  /***/ 4100:
33367
33335
  /***/ (function(module) {
33368
33336
 
@@ -33512,7 +33480,7 @@ if (typeof window !== 'undefined') {
33512
33480
  // Indicate to webpack that this file can be concatenated
33513
33481
  /* harmony default export */ var setPublicPath = (null);
33514
33482
 
33515
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=template&id=598246f8&scoped=true
33483
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=template&id=58718089&scoped=true
33516
33484
  var render = function render() {
33517
33485
  var _vm = this,
33518
33486
  _c = _vm._self._c;
@@ -33831,7 +33799,15 @@ var render = function render() {
33831
33799
  }, [_vm._v(" 加入题库 ")])])]), _c('div', {
33832
33800
  ref: "generateDiv",
33833
33801
  staticClass: "question_body"
33834
- }, _vm._l(_vm.aiResponse.questions, function (item, idx) {
33802
+ }, [_vm.isGenerating ? _c('div', {
33803
+ staticClass: "generating-loading"
33804
+ }, [_c('div', {
33805
+ staticClass: "loading-content"
33806
+ }, [_c('div', {
33807
+ staticClass: "loading-spinner"
33808
+ }), _c('div', {
33809
+ staticClass: "loading-text"
33810
+ }, [_vm._v("AI生成中...")])])]) : _vm._e(), _vm._l(_vm.aiResponse.questions, function (item, idx) {
33835
33811
  return _vm.aiResponse.questions && _vm.aiResponse.questions.length > 0 ? _c('questionItem', {
33836
33812
  key: idx,
33837
33813
  ref: `questionItem_${idx}`,
@@ -33847,7 +33823,7 @@ var render = function render() {
33847
33823
  "selectionChange": _vm.handleQuestionSelection
33848
33824
  }
33849
33825
  }) : _vm._e();
33850
- }), 1), _c('div', {
33826
+ })], 2), _c('div', {
33851
33827
  staticClass: "question_footer_fixed"
33852
33828
  }, [_c('div', {
33853
33829
  staticClass: "footer_warning"
@@ -33863,10 +33839,10 @@ var render = function render() {
33863
33839
  };
33864
33840
  var staticRenderFns = [];
33865
33841
 
33866
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=598246f8&scoped=true
33842
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=58718089&scoped=true
33867
33843
 
33868
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=template&id=088e6bea&scoped=true
33869
- var questionItemvue_type_template_id_088e6bea_scoped_true_render = function render() {
33844
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=template&id=cc89a654&scoped=true
33845
+ var questionItemvue_type_template_id_cc89a654_scoped_true_render = function render() {
33870
33846
  var _vm = this,
33871
33847
  _c = _vm._self._c;
33872
33848
  return _c('div', {
@@ -33903,35 +33879,7 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_render = function rend
33903
33879
  staticClass: "question_contain_title_left"
33904
33880
  }, [_c('span', [_vm._v(_vm._s(_vm.index + 1) + ".")]), _c('span', {
33905
33881
  staticClass: "difficult"
33906
- }, [_vm._v(_vm._s(_vm.difficultyList.find(item => item.id == _vm.detail.difficulty).name))]), _c('span', [_vm._v(_vm._s(_vm.detail.title))])]), _c('span', {
33907
- staticClass: "question_contain_title_reght"
33908
- }, [_vm.detail.evaluate == 0 || _vm.detail.evaluate == 2 ? _c('img', {
33909
- attrs: {
33910
- "src": __webpack_require__(5089)
33911
- },
33912
- on: {
33913
- "click": function ($event) {
33914
- return _vm.agree(1);
33915
- }
33916
- }
33917
- }) : _vm._e(), _vm.detail.evaluate == 1 ? _c('img', {
33918
- attrs: {
33919
- "src": __webpack_require__(2356)
33920
- }
33921
- }) : _vm._e(), _vm.detail.evaluate == 0 || _vm.detail.evaluate == 1 ? _c('img', {
33922
- attrs: {
33923
- "src": __webpack_require__(342)
33924
- },
33925
- on: {
33926
- "click": function ($event) {
33927
- return _vm.agree(2);
33928
- }
33929
- }
33930
- }) : _vm._e(), _vm.detail.evaluate == 2 ? _c('img', {
33931
- attrs: {
33932
- "src": __webpack_require__(1017)
33933
- }
33934
- }) : _vm._e()])]), _vm.detail.type == 'single' || _vm.detail.type == 'multiple' ? _c('div', {
33882
+ }, [_vm._v(_vm._s(_vm.difficultyList.find(item => item.id == _vm.detail.difficulty).name))]), _c('span', [_vm._v(_vm._s(_vm.detail.title))])])]), _vm.detail.type == 'single' || _vm.detail.type == 'multiple' ? _c('div', {
33935
33883
  staticClass: "question_contain_question"
33936
33884
  }, _vm._l(_vm.detail.options, function (item, idx) {
33937
33885
  return _c('div', {
@@ -33955,9 +33903,7 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_render = function rend
33955
33903
  }
33956
33904
  }, [_vm._v("题目解析:")]), _vm._v(" " + _vm._s(_vm.detail.analysis))])])])]);
33957
33905
  };
33958
- var questionItemvue_type_template_id_088e6bea_scoped_true_staticRenderFns = [];
33959
-
33960
- ;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=template&id=088e6bea&scoped=true
33906
+ var questionItemvue_type_template_id_cc89a654_scoped_true_staticRenderFns = [];
33961
33907
 
33962
33908
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=script&lang=js
33963
33909
  /* harmony default export */ var questionItemvue_type_script_lang_js = ({
@@ -34076,9 +34022,9 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_staticRenderFns = [];
34076
34022
  });
34077
34023
  ;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=script&lang=js
34078
34024
  /* harmony default export */ var src_questionItemvue_type_script_lang_js = (questionItemvue_type_script_lang_js);
34079
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=style&index=0&id=088e6bea&prod&lang=scss&scoped=true
34080
- var questionItemvue_type_style_index_0_id_088e6bea_prod_lang_scss_scoped_true = __webpack_require__(3846);
34081
- ;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=style&index=0&id=088e6bea&prod&lang=scss&scoped=true
34025
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=style&index=0&id=cc89a654&prod&lang=scss&scoped=true
34026
+ var questionItemvue_type_style_index_0_id_cc89a654_prod_lang_scss_scoped_true = __webpack_require__(8536);
34027
+ ;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=style&index=0&id=cc89a654&prod&lang=scss&scoped=true
34082
34028
 
34083
34029
  ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
34084
34030
  /* globals __VUE_SSR_CONTEXT__ */
@@ -34189,11 +34135,11 @@ function normalizeComponent(
34189
34135
 
34190
34136
  var component = normalizeComponent(
34191
34137
  src_questionItemvue_type_script_lang_js,
34192
- questionItemvue_type_template_id_088e6bea_scoped_true_render,
34193
- questionItemvue_type_template_id_088e6bea_scoped_true_staticRenderFns,
34138
+ questionItemvue_type_template_id_cc89a654_scoped_true_render,
34139
+ questionItemvue_type_template_id_cc89a654_scoped_true_staticRenderFns,
34194
34140
  false,
34195
34141
  null,
34196
- "088e6bea",
34142
+ "cc89a654",
34197
34143
  null
34198
34144
 
34199
34145
  )
@@ -38198,7 +38144,11 @@ const createBurial = data => {
38198
38144
  currentBot: 'tongyi',
38199
38145
  selectedQuestions: [],
38200
38146
  // 存储选中的题目
38201
- joinedQuestions: [] // 存储已加入题库的题目索引
38147
+ joinedQuestions: [],
38148
+ // 存储已加入题库的题目索引
38149
+ retryCountMap: {},
38150
+ // 存储每个题目的重试次数
38151
+ isGenerating: false // 内部loading状态
38202
38152
  };
38203
38153
  },
38204
38154
  watch: {
@@ -38370,6 +38320,7 @@ const createBurial = data => {
38370
38320
  if (this.generateCount == totalCount) {
38371
38321
  this.$message.success('题目(' + totalCount + '道)全部生成完毕!');
38372
38322
  this.rebuildFlag = false;
38323
+ this.isGenerating = false;
38373
38324
  } else {
38374
38325
  this.$message.success('生成' + this.generateCount + '道题目成功');
38375
38326
  }
@@ -38379,11 +38330,7 @@ const createBurial = data => {
38379
38330
  });
38380
38331
  },
38381
38332
  reSend() {
38382
- this.loading && this.loading.close();
38383
- this.loading = this.$loading({
38384
- target: '.el-dialog',
38385
- text: 'AI生成中...'
38386
- });
38333
+ this.isGenerating = true;
38387
38334
  const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
38388
38335
  const questionTypes = selectedTypes;
38389
38336
  const difficultys = selectedTypes.map(type => this.form.typeDifficulties[type]);
@@ -38405,25 +38352,36 @@ const createBurial = data => {
38405
38352
  if (res.success) {
38406
38353
  this.loading && this.loading.close();
38407
38354
  if (res.data && res.data.questions && res.data.questions.length > 0) {
38355
+ const newQuestion = res.data.questions[0];
38356
+ const questionType = newQuestion.type;
38357
+ // 检查是否有重复的题目标题和题型
38358
+ const isDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
38359
+ if (isDuplicate) {
38360
+ const repetitionQuestions = this.getGeneratedQuestionsByType(questionType);
38361
+ this.regenerateWithRepetitionForReSend(obj, repetitionQuestions, questionType);
38362
+ return;
38363
+ }
38408
38364
  if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
38409
- this.aiResponse.questions.push(res.data.questions[0]);
38365
+ this.aiResponse.questions.push(newQuestion);
38410
38366
  } else {
38411
38367
  this.aiResponse = res.data;
38412
38368
  }
38413
- this.$set(res.data.questions[0], 'evaluate', 0);
38369
+ this.$set(newQuestion, 'evaluate', 0);
38370
+ // 设置题目类型,便于后续统计
38371
+ this.$set(newQuestion, 'type', questionType);
38414
38372
  this.showGenerateResult();
38415
38373
  } else {
38416
38374
  this.$message.warning('题目获取失败,重新生成中...');
38417
38375
  return this.reSend();
38418
38376
  }
38419
38377
  } else {
38420
- this.loading && this.loading.close();
38378
+ this.isGenerating = false;
38421
38379
  this.$message.warning('题目获取失败');
38422
38380
  this.rebuildFlag = false;
38423
38381
  }
38424
38382
  }).catch(error => {
38425
38383
  console.log("error:" + error);
38426
- this.loading && this.loading.close();
38384
+ this.isGenerating = false;
38427
38385
  this.$message.warning('题目获取失败');
38428
38386
  this.rebuildFlag = false;
38429
38387
  });
@@ -38443,11 +38401,7 @@ const createBurial = data => {
38443
38401
  this.rebuildFlag = true;
38444
38402
  this.generateCount = 0;
38445
38403
  this.aiResponse = {};
38446
- this.loading && this.loading.close();
38447
- this.loading = this.$loading({
38448
- target: '.el-dialog',
38449
- text: 'AI生成中...'
38450
- });
38404
+ this.isGenerating = true;
38451
38405
  const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
38452
38406
 
38453
38407
  // 按题型分别生成题目
@@ -38475,29 +38429,38 @@ const createBurial = data => {
38475
38429
  };
38476
38430
  getAiQuestion(obj).then(res => {
38477
38431
  if (res.success) {
38478
- this.loading && this.loading.close();
38479
38432
  if (res.data && res.data.questions && res.data.questions.length > 0) {
38433
+ const newQuestion = res.data.questions[0];
38434
+
38435
+ // 检查是否有重复的题目标题和题型
38436
+ const isDuplicate = this.checkDuplicateQuestion(newQuestion, type);
38437
+ if (isDuplicate) {
38438
+ // 只传递当前题型
38439
+ const repetitionQuestions = this.getGeneratedQuestionsByType(type);
38440
+ this.regenerateWithRepetition(obj, repetitionQuestions, type);
38441
+ return;
38442
+ }
38480
38443
  if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
38481
- this.aiResponse.questions.push(res.data.questions[0]);
38444
+ this.aiResponse.questions.push(newQuestion);
38482
38445
  } else {
38483
38446
  this.aiResponse = res.data;
38484
38447
  }
38485
- this.$set(res.data.questions[0], 'evaluate', 0);
38448
+ this.$set(newQuestion, 'evaluate', 0);
38486
38449
  // 设置题目类型,便于后续统计
38487
- this.$set(res.data.questions[0], 'type', type);
38450
+ this.$set(newQuestion, 'type', type);
38488
38451
  this.showGenerateResult();
38489
38452
  } else {
38490
38453
  this.$message.warning('题目获取失败,重新生成中...');
38491
38454
  return this.reSend();
38492
38455
  }
38493
38456
  } else {
38494
- this.loading && this.loading.close();
38457
+ this.isGenerating = false;
38495
38458
  this.$message.warning('题目获取失败');
38496
38459
  this.rebuildFlag = false;
38497
38460
  }
38498
38461
  }).catch(error => {
38499
38462
  console.log("error:" + error);
38500
- this.loading && this.loading.close();
38463
+ this.isGenerating = false;
38501
38464
  this.$message.warning('题目获取失败');
38502
38465
  this.rebuildFlag = false;
38503
38466
  });
@@ -38633,18 +38596,140 @@ const createBurial = data => {
38633
38596
 
38634
38597
  // 清空选中状态
38635
38598
  this.selectedQuestions = [];
38599
+ },
38600
+ // 检查题目是否重复
38601
+ checkDuplicateQuestion(newQuestion, questionType) {
38602
+ if (!this.aiResponse.questions || this.aiResponse.questions.length === 0) {
38603
+ return false;
38604
+ }
38605
+ return this.aiResponse.questions.some(existingQuestion => {
38606
+ return existingQuestion.title === newQuestion.title && existingQuestion.type === questionType;
38607
+ });
38608
+ },
38609
+ // 获取指定题型的已生成题目信息
38610
+ getGeneratedQuestionsByType(questionType) {
38611
+ if (!this.aiResponse.questions || this.aiResponse.questions.length === 0) {
38612
+ return [];
38613
+ }
38614
+ return this.aiResponse.questions.filter(question => question.type === questionType).map(question => ({
38615
+ title: question.title,
38616
+ type: question.type
38617
+ }));
38618
+ },
38619
+ // 重复题目信息重新生成
38620
+ regenerateWithRepetition(originalObj, repetitionQuestions, questionType, retryCount = 0) {
38621
+ console.log('检测到重复题目,重新生成,已生成题目:', repetitionQuestions, '重试次数:', retryCount);
38622
+
38623
+ // 如果重试次数超过3次,跳过此题目
38624
+ if (retryCount >= 3) {
38625
+ console.log('重试次数超过3次,跳过此题目');
38626
+ this.isGenerating = false;
38627
+ this.$message.warning('AI生成重复题目超过3次,已跳过该题目');
38628
+ return;
38629
+ }
38630
+ const newObj = {
38631
+ ...originalObj,
38632
+ repetitionQuestions: repetitionQuestions // 传递所有已生成的题目信息
38633
+ };
38634
+ getAiQuestion(newObj).then(res => {
38635
+ if (res.success) {
38636
+ this.loading && this.loading.close();
38637
+ if (res.data && res.data.questions && res.data.questions.length > 0) {
38638
+ const newQuestion = res.data.questions[0];
38639
+ // 再次检查是否还有重复
38640
+ const isStillDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
38641
+ if (isStillDuplicate) {
38642
+ console.log('重新生成后仍有重复,继续重试,当前重试次数:', retryCount + 1);
38643
+ // 递归调用,增加重试次数,重新获取最新的当前题型已生成题目列表
38644
+ const updatedRepetitionQuestions = this.getGeneratedQuestionsByType(questionType);
38645
+ this.regenerateWithRepetition(originalObj, updatedRepetitionQuestions, questionType, retryCount + 1);
38646
+ return;
38647
+ }
38648
+ if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
38649
+ this.aiResponse.questions.push(newQuestion);
38650
+ } else {
38651
+ this.aiResponse = res.data;
38652
+ }
38653
+ this.$set(newQuestion, 'evaluate', 0);
38654
+ // 设置题目类型,便于后续统计
38655
+ this.$set(newQuestion, 'type', questionType);
38656
+ this.showGenerateResult();
38657
+ } else {
38658
+ this.$message.warning('重新生成题目失败');
38659
+ }
38660
+ } else {
38661
+ this.$message.warning('重新生成题目失败');
38662
+ }
38663
+ }).catch(error => {
38664
+ console.log("重新生成题目错误:" + error);
38665
+ this.$message.warning('重新生成题目失败');
38666
+ });
38667
+ },
38668
+ // 重新生成的重复检测重新生成
38669
+ regenerateWithRepetitionForReSend(originalObj, repetitionQuestions, questionType, retryCount = 0) {
38670
+ console.log('reSend检测到重复题目,重新生成,已生成题目:', repetitionQuestions, '重试次数:', retryCount);
38671
+ // 如果重试次数超过3次,跳过此题目
38672
+ if (retryCount >= 3) {
38673
+ console.log('reSend重试次数超过3次,跳过此题目');
38674
+ this.isGenerating = false;
38675
+ this.$message.warning('AI生成重复题目超过3次,已跳过该题目');
38676
+ return;
38677
+ }
38678
+ const newObj = {
38679
+ ...originalObj,
38680
+ repetitionQuestions: repetitionQuestions
38681
+ };
38682
+ getAiQuestion(newObj).then(res => {
38683
+ if (res.success) {
38684
+ this.loading && this.loading.close();
38685
+ if (res.data && res.data.questions && res.data.questions.length > 0) {
38686
+ const newQuestion = res.data.questions[0];
38687
+
38688
+ // 再次检查是否还有重复
38689
+ const isStillDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
38690
+ if (isStillDuplicate) {
38691
+ console.log('reSend重新生成后仍有重复,继续重试,当前重试次数:', retryCount + 1);
38692
+ // 递归调用,增加重试次数,重新获取最新的当前题型已生成题目列表
38693
+ const updatedRepetitionQuestions = this.getGeneratedQuestionsByType(questionType);
38694
+ this.regenerateWithRepetitionForReSend(originalObj, updatedRepetitionQuestions, questionType, retryCount + 1);
38695
+ return;
38696
+ }
38697
+ if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
38698
+ this.aiResponse.questions.push(newQuestion);
38699
+ } else {
38700
+ this.aiResponse = res.data;
38701
+ }
38702
+ this.$set(newQuestion, 'evaluate', 0);
38703
+ // 设置题目类型,便于后续统计
38704
+ this.$set(newQuestion, 'type', questionType);
38705
+ this.showGenerateResult();
38706
+ } else {
38707
+ this.$message.warning('重新生成题目失败,重新生成中...');
38708
+ return this.reSend();
38709
+ }
38710
+ } else {
38711
+ this.loading && this.loading.close();
38712
+ this.$message.warning('重新生成题目失败');
38713
+ this.rebuildFlag = false;
38714
+ }
38715
+ }).catch(error => {
38716
+ console.log("reSend重新生成题目错误:" + error);
38717
+ this.loading && this.loading.close();
38718
+ this.$message.warning('重新生成题目失败');
38719
+ this.rebuildFlag = false;
38720
+ });
38636
38721
  }
38637
38722
  }
38638
38723
  });
38639
38724
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=script&lang=js
38640
38725
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
38641
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=0&id=598246f8&prod&lang=scss&scoped=true
38642
- var mainvue_type_style_index_0_id_598246f8_prod_lang_scss_scoped_true = __webpack_require__(49);
38643
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=598246f8&prod&lang=scss&scoped=true
38726
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=0&id=58718089&prod&lang=scss&scoped=true
38727
+ var mainvue_type_style_index_0_id_58718089_prod_lang_scss_scoped_true = __webpack_require__(9555);
38728
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=58718089&prod&lang=scss&scoped=true
38644
38729
 
38645
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=1&id=598246f8&prod&lang=scss
38646
- var mainvue_type_style_index_1_id_598246f8_prod_lang_scss = __webpack_require__(913);
38647
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=598246f8&prod&lang=scss
38730
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=1&id=58718089&prod&lang=scss
38731
+ var mainvue_type_style_index_1_id_58718089_prod_lang_scss = __webpack_require__(9323);
38732
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=58718089&prod&lang=scss
38648
38733
 
38649
38734
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue
38650
38735
 
@@ -38662,7 +38747,7 @@ var main_component = normalizeComponent(
38662
38747
  staticRenderFns,
38663
38748
  false,
38664
38749
  null,
38665
- "598246f8",
38750
+ "58718089",
38666
38751
  null
38667
38752
 
38668
38753
  )