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.
@@ -1487,7 +1487,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tree-select__option.el-select-dropdow
1487
1487
 
1488
1488
  /***/ }),
1489
1489
 
1490
- /***/ 7207:
1490
+ /***/ 1465:
1491
1491
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1492
1492
 
1493
1493
  "use strict";
@@ -1501,14 +1501,14 @@ __webpack_require__.r(__webpack_exports__);
1501
1501
 
1502
1502
  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()));
1503
1503
  // Module
1504
- ___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}", ""]);
1504
+ ___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}", ""]);
1505
1505
  // Exports
1506
1506
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1507
1507
 
1508
1508
 
1509
1509
  /***/ }),
1510
1510
 
1511
- /***/ 9427:
1511
+ /***/ 477:
1512
1512
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1513
1513
 
1514
1514
  "use strict";
@@ -1529,7 +1529,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".ai-custom-dialog.el-dialog{background
1529
1529
 
1530
1530
  /***/ }),
1531
1531
 
1532
- /***/ 7384:
1532
+ /***/ 1758:
1533
1533
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1534
1534
 
1535
1535
  "use strict";
@@ -1543,7 +1543,7 @@ __webpack_require__.r(__webpack_exports__);
1543
1543
 
1544
1544
  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()));
1545
1545
  // Module
1546
- ___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}", ""]);
1546
+ ___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}", ""]);
1547
1547
  // Exports
1548
1548
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1549
1549
 
@@ -32977,51 +32977,51 @@ var update = add("bf17ce54", content, true, {"sourceMap":false,"shadowMode":fals
32977
32977
 
32978
32978
  /***/ }),
32979
32979
 
32980
- /***/ 3555:
32980
+ /***/ 565:
32981
32981
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32982
32982
 
32983
32983
  // style-loader: Adds some css to the DOM by adding a <style> tag
32984
32984
 
32985
32985
  // load the styles
32986
- var content = __webpack_require__(7207);
32986
+ var content = __webpack_require__(1465);
32987
32987
  if(content.__esModule) content = content.default;
32988
32988
  if(typeof content === 'string') content = [[module.id, content, '']];
32989
32989
  if(content.locals) module.exports = content.locals;
32990
32990
  // add the styles to the DOM
32991
32991
  var add = (__webpack_require__(258)/* ["default"] */ .A)
32992
- var update = add("7efc1c1e", content, true, {"sourceMap":false,"shadowMode":false});
32992
+ var update = add("6b630cf5", content, true, {"sourceMap":false,"shadowMode":false});
32993
32993
 
32994
32994
  /***/ }),
32995
32995
 
32996
- /***/ 5311:
32996
+ /***/ 1593:
32997
32997
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32998
32998
 
32999
32999
  // style-loader: Adds some css to the DOM by adding a <style> tag
33000
33000
 
33001
33001
  // load the styles
33002
- var content = __webpack_require__(9427);
33002
+ var content = __webpack_require__(477);
33003
33003
  if(content.__esModule) content = content.default;
33004
33004
  if(typeof content === 'string') content = [[module.id, content, '']];
33005
33005
  if(content.locals) module.exports = content.locals;
33006
33006
  // add the styles to the DOM
33007
33007
  var add = (__webpack_require__(258)/* ["default"] */ .A)
33008
- var update = add("0e93aea7", content, true, {"sourceMap":false,"shadowMode":false});
33008
+ var update = add("43bba0aa", content, true, {"sourceMap":false,"shadowMode":false});
33009
33009
 
33010
33010
  /***/ }),
33011
33011
 
33012
- /***/ 4764:
33012
+ /***/ 8418:
33013
33013
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
33014
33014
 
33015
33015
  // style-loader: Adds some css to the DOM by adding a <style> tag
33016
33016
 
33017
33017
  // load the styles
33018
- var content = __webpack_require__(7384);
33018
+ var content = __webpack_require__(1758);
33019
33019
  if(content.__esModule) content = content.default;
33020
33020
  if(typeof content === 'string') content = [[module.id, content, '']];
33021
33021
  if(content.locals) module.exports = content.locals;
33022
33022
  // add the styles to the DOM
33023
33023
  var add = (__webpack_require__(258)/* ["default"] */ .A)
33024
- var update = add("571750bc", content, true, {"sourceMap":false,"shadowMode":false});
33024
+ var update = add("715831b4", content, true, {"sourceMap":false,"shadowMode":false});
33025
33025
 
33026
33026
  /***/ }),
33027
33027
 
@@ -33333,22 +33333,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAoCAYAAABd
33333
33333
 
33334
33334
  /***/ }),
33335
33335
 
33336
- /***/ 1017:
33337
- /***/ (function(module) {
33338
-
33339
- "use strict";
33340
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAASdJREFUOE+lkr1KA0EUhc+d3QxiY6WgTbTZV7CIm9JCEHwHwdZCm+xapMgsWPgEithpZyl2cRZFxCfQLpAujbBgYta9sjtmEfFnmdximIFzPuZyDmHKodzvB6NHglgsWMRL/zAHTAjijjwu5PnRDN9YK1neK3wqEf3+fPdsZWgLAAOrsZIP1gAwtnUkT6cBHOlI7tsDQFda1TbsAYyejmTdGsAMjiMpTA/C8QuBLz7j26kQYy6500o2CsBaa+jBcT3TIzigbIEYAYDlEsZ4yoTYM29OXNe977bJ9OCnabRefUc4N5OyAZTomjuHNmVf9b8CTENH1wCtTwzvaVq/PZztVQb4B+kWcXZZGijzdGfmuTIAYGqG43MGNgk40Urufl/3zxWqpPEBUMWCERMCTlcAAAAASUVORK5CYII=";
33341
-
33342
- /***/ }),
33343
-
33344
- /***/ 342:
33345
- /***/ (function(module) {
33346
-
33347
- "use strict";
33348
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAXhJREFUOE+lk79Lw0AUx9+71NK5/qAVREToXyAu4qBuUsFZTEoXcycFBRXX+wccBJsmLRTaVCo4OrnpZosOukoXB83iIDiINHmStF20lRq/w/GF4z733r3vIfxT6J8vFKq3jGHS90QwiQjPg7ie5++gFGKzFDh/MU2bOFd/+H6QfL48pSiRB8dxk1JmP/4M6F54R+QJITLNsIAKkXctRKYcCmAY9iEijQuh7YcCFAqVNGNsW9fV1VCAUqk647p4xbk6HQogpWSJxOwn52qkB3gDgLPu2LaI8Igx71zXtUbn1atrAJjujZUIRgEgKYS6EACKxUrKdZVUEAxEhYgmEOmg3SY1l9MapllbASCDCPc6EHqPxdo32Ww3B/0CYxj2ImNw7DituXh8fiQafX1xnNaYlDLIYk9BBYNkmvYlAJ1wrl1Yln0PQGu6rj0NDbAse93zaFcIdck0a02A9gbn2cehAUSElnVaJ/KWAaAuhLbzvdpfWxjmp38BKRvIESbEF9cAAAAASUVORK5CYII=";
33349
-
33350
- /***/ }),
33351
-
33352
33336
  /***/ 1421:
33353
33337
  /***/ (function(module) {
33354
33338
 
@@ -33357,22 +33341,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
33357
33341
 
33358
33342
  /***/ }),
33359
33343
 
33360
- /***/ 2356:
33361
- /***/ (function(module) {
33362
-
33363
- "use strict";
33364
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAASFJREFUOE+l0r1KxEAUBeBzJ+MoNlYK2qw2eQWLNSktBMFnsLC10GaTLbZIAhY+gYJ22lmK3TpREfEJtFvYzkYIuD9xrhhjEIUYslPNMOd+U5whTLiofJ7J9cdnDGwScKxDtfs7Xwo47XSL2FwUQ2RsHcw8/0RKAdcfXgG0/j3wnqaN24PZXiWg2XpzLGFdA8gfoURPyTl0yPwB1loDG5a0Py+IYYHMAjE8AMtFmPFkhNj7OnMipbzvdmiQ6Y4/fiXweR7eqVjMnQ5VMwNcf8Q6VMW+CsAMjiMlJgF6caQatQGAL3U4vVEfYBzqSO3XBgyJ7ZtAntQGGFiNQ/VQF0hEvz/fPV3J/4E3fCSIxaw+4qV/anxhghcH6iiLV+m8LPMBU6CEEQ0lMS4AAAAASUVORK5CYII=";
33365
-
33366
- /***/ }),
33367
-
33368
- /***/ 5089:
33369
- /***/ (function(module) {
33370
-
33371
- "use strict";
33372
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAWtJREFUOE+l0zFLw0AUAOD3Lm3pXFTagggK/QXiIg7qJi04i4lkMXdSUFBxvT/gILTJBaHSptDB0clJR1t00FW6OGgWF3EQqXlqLCiWFk1vevDufcfjvUMY8uCgeiJC1/UaRLAAAA0hjM3f9wcCrustBwFtCaHPK1VvAXRWODdvfyIDAaW8UwAqcW6cuK53DUAFyzLu/gTYtjfHGBz4fns6lZqJJxKPD77fHpFSBj1AqVTNaZqW+0wgokZEY4i02+mQXiwaTaXqiwBkE+H2VzE9J5OdC9M0X8IWlKo9AWCjK68T4T5jwbFlGc1uvgCA+e+XMUVEWSH02S7gEed6T9xvQlJKlk5PvXKuxyIBtl2ZZCx+xrk+EQlwnHoegDaE0JciAbbt7SHSqBDGTiRAKa8KAOcfLRxFBa6IAiHEWuvfQLlcGde02I3vv2Wk7O6B49QuGcNMuCIEWUS47zfCINxDlEKsHobRkL8Z3gGP/MIR9xXEfwAAAABJRU5ErkJggg==";
33373
-
33374
- /***/ }),
33375
-
33376
33344
  /***/ 9274:
33377
33345
  /***/ (function(module) {
33378
33346
 
@@ -33522,7 +33490,7 @@ if (typeof window !== 'undefined') {
33522
33490
  // Indicate to webpack that this file can be concatenated
33523
33491
  /* harmony default export */ var setPublicPath = (null);
33524
33492
 
33525
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
33493
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
33526
33494
  var render = function render() {
33527
33495
  var _vm = this,
33528
33496
  _c = _vm._self._c;
@@ -33841,7 +33809,15 @@ var render = function render() {
33841
33809
  }, [_vm._v(" 加入题库 ")])])]), _c('div', {
33842
33810
  ref: "generateDiv",
33843
33811
  staticClass: "question_body"
33844
- }, _vm._l(_vm.aiResponse.questions, function (item, idx) {
33812
+ }, [_vm.isGenerating ? _c('div', {
33813
+ staticClass: "generating-loading"
33814
+ }, [_c('div', {
33815
+ staticClass: "loading-content"
33816
+ }, [_c('div', {
33817
+ staticClass: "loading-spinner"
33818
+ }), _c('div', {
33819
+ staticClass: "loading-text"
33820
+ }, [_vm._v("AI生成中...")])])]) : _vm._e(), _vm._l(_vm.aiResponse.questions, function (item, idx) {
33845
33821
  return _vm.aiResponse.questions && _vm.aiResponse.questions.length > 0 ? _c('questionItem', {
33846
33822
  key: idx,
33847
33823
  ref: `questionItem_${idx}`,
@@ -33857,7 +33833,7 @@ var render = function render() {
33857
33833
  "selectionChange": _vm.handleQuestionSelection
33858
33834
  }
33859
33835
  }) : _vm._e();
33860
- }), 1), _c('div', {
33836
+ })], 2), _c('div', {
33861
33837
  staticClass: "question_footer_fixed"
33862
33838
  }, [_c('div', {
33863
33839
  staticClass: "footer_warning"
@@ -33873,10 +33849,10 @@ var render = function render() {
33873
33849
  };
33874
33850
  var staticRenderFns = [];
33875
33851
 
33876
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=598246f8&scoped=true
33852
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=58718089&scoped=true
33877
33853
 
33878
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
33879
- var questionItemvue_type_template_id_088e6bea_scoped_true_render = function render() {
33854
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
33855
+ var questionItemvue_type_template_id_cc89a654_scoped_true_render = function render() {
33880
33856
  var _vm = this,
33881
33857
  _c = _vm._self._c;
33882
33858
  return _c('div', {
@@ -33913,35 +33889,7 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_render = function rend
33913
33889
  staticClass: "question_contain_title_left"
33914
33890
  }, [_c('span', [_vm._v(_vm._s(_vm.index + 1) + ".")]), _c('span', {
33915
33891
  staticClass: "difficult"
33916
- }, [_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', {
33917
- staticClass: "question_contain_title_reght"
33918
- }, [_vm.detail.evaluate == 0 || _vm.detail.evaluate == 2 ? _c('img', {
33919
- attrs: {
33920
- "src": __webpack_require__(5089)
33921
- },
33922
- on: {
33923
- "click": function ($event) {
33924
- return _vm.agree(1);
33925
- }
33926
- }
33927
- }) : _vm._e(), _vm.detail.evaluate == 1 ? _c('img', {
33928
- attrs: {
33929
- "src": __webpack_require__(2356)
33930
- }
33931
- }) : _vm._e(), _vm.detail.evaluate == 0 || _vm.detail.evaluate == 1 ? _c('img', {
33932
- attrs: {
33933
- "src": __webpack_require__(342)
33934
- },
33935
- on: {
33936
- "click": function ($event) {
33937
- return _vm.agree(2);
33938
- }
33939
- }
33940
- }) : _vm._e(), _vm.detail.evaluate == 2 ? _c('img', {
33941
- attrs: {
33942
- "src": __webpack_require__(1017)
33943
- }
33944
- }) : _vm._e()])]), _vm.detail.type == 'single' || _vm.detail.type == 'multiple' ? _c('div', {
33892
+ }, [_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', {
33945
33893
  staticClass: "question_contain_question"
33946
33894
  }, _vm._l(_vm.detail.options, function (item, idx) {
33947
33895
  return _c('div', {
@@ -33965,9 +33913,7 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_render = function rend
33965
33913
  }
33966
33914
  }, [_vm._v("题目解析:")]), _vm._v(" " + _vm._s(_vm.detail.analysis))])])])]);
33967
33915
  };
33968
- var questionItemvue_type_template_id_088e6bea_scoped_true_staticRenderFns = [];
33969
-
33970
- ;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=template&id=088e6bea&scoped=true
33916
+ var questionItemvue_type_template_id_cc89a654_scoped_true_staticRenderFns = [];
33971
33917
 
33972
33918
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=script&lang=js
33973
33919
  /* harmony default export */ var questionItemvue_type_script_lang_js = ({
@@ -34086,9 +34032,9 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_staticRenderFns = [];
34086
34032
  });
34087
34033
  ;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=script&lang=js
34088
34034
  /* harmony default export */ var src_questionItemvue_type_script_lang_js = (questionItemvue_type_script_lang_js);
34089
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
34090
- var questionItemvue_type_style_index_0_id_088e6bea_prod_lang_scss_scoped_true = __webpack_require__(4764);
34091
- ;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=style&index=0&id=088e6bea&prod&lang=scss&scoped=true
34035
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
34036
+ var questionItemvue_type_style_index_0_id_cc89a654_prod_lang_scss_scoped_true = __webpack_require__(8418);
34037
+ ;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=style&index=0&id=cc89a654&prod&lang=scss&scoped=true
34092
34038
 
34093
34039
  ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
34094
34040
  /* globals __VUE_SSR_CONTEXT__ */
@@ -34199,11 +34145,11 @@ function normalizeComponent(
34199
34145
 
34200
34146
  var component = normalizeComponent(
34201
34147
  src_questionItemvue_type_script_lang_js,
34202
- questionItemvue_type_template_id_088e6bea_scoped_true_render,
34203
- questionItemvue_type_template_id_088e6bea_scoped_true_staticRenderFns,
34148
+ questionItemvue_type_template_id_cc89a654_scoped_true_render,
34149
+ questionItemvue_type_template_id_cc89a654_scoped_true_staticRenderFns,
34204
34150
  false,
34205
34151
  null,
34206
- "088e6bea",
34152
+ "cc89a654",
34207
34153
  null
34208
34154
 
34209
34155
  )
@@ -38208,7 +38154,11 @@ const createBurial = data => {
38208
38154
  currentBot: 'tongyi',
38209
38155
  selectedQuestions: [],
38210
38156
  // 存储选中的题目
38211
- joinedQuestions: [] // 存储已加入题库的题目索引
38157
+ joinedQuestions: [],
38158
+ // 存储已加入题库的题目索引
38159
+ retryCountMap: {},
38160
+ // 存储每个题目的重试次数
38161
+ isGenerating: false // 内部loading状态
38212
38162
  };
38213
38163
  },
38214
38164
  watch: {
@@ -38380,6 +38330,7 @@ const createBurial = data => {
38380
38330
  if (this.generateCount == totalCount) {
38381
38331
  this.$message.success('题目(' + totalCount + '道)全部生成完毕!');
38382
38332
  this.rebuildFlag = false;
38333
+ this.isGenerating = false;
38383
38334
  } else {
38384
38335
  this.$message.success('生成' + this.generateCount + '道题目成功');
38385
38336
  }
@@ -38389,11 +38340,7 @@ const createBurial = data => {
38389
38340
  });
38390
38341
  },
38391
38342
  reSend() {
38392
- this.loading && this.loading.close();
38393
- this.loading = this.$loading({
38394
- target: '.el-dialog',
38395
- text: 'AI生成中...'
38396
- });
38343
+ this.isGenerating = true;
38397
38344
  const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
38398
38345
  const questionTypes = selectedTypes;
38399
38346
  const difficultys = selectedTypes.map(type => this.form.typeDifficulties[type]);
@@ -38415,25 +38362,36 @@ const createBurial = data => {
38415
38362
  if (res.success) {
38416
38363
  this.loading && this.loading.close();
38417
38364
  if (res.data && res.data.questions && res.data.questions.length > 0) {
38365
+ const newQuestion = res.data.questions[0];
38366
+ const questionType = newQuestion.type;
38367
+ // 检查是否有重复的题目标题和题型
38368
+ const isDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
38369
+ if (isDuplicate) {
38370
+ const repetitionQuestions = this.getGeneratedQuestionsByType(questionType);
38371
+ this.regenerateWithRepetitionForReSend(obj, repetitionQuestions, questionType);
38372
+ return;
38373
+ }
38418
38374
  if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
38419
- this.aiResponse.questions.push(res.data.questions[0]);
38375
+ this.aiResponse.questions.push(newQuestion);
38420
38376
  } else {
38421
38377
  this.aiResponse = res.data;
38422
38378
  }
38423
- this.$set(res.data.questions[0], 'evaluate', 0);
38379
+ this.$set(newQuestion, 'evaluate', 0);
38380
+ // 设置题目类型,便于后续统计
38381
+ this.$set(newQuestion, 'type', questionType);
38424
38382
  this.showGenerateResult();
38425
38383
  } else {
38426
38384
  this.$message.warning('题目获取失败,重新生成中...');
38427
38385
  return this.reSend();
38428
38386
  }
38429
38387
  } else {
38430
- this.loading && this.loading.close();
38388
+ this.isGenerating = false;
38431
38389
  this.$message.warning('题目获取失败');
38432
38390
  this.rebuildFlag = false;
38433
38391
  }
38434
38392
  }).catch(error => {
38435
38393
  console.log("error:" + error);
38436
- this.loading && this.loading.close();
38394
+ this.isGenerating = false;
38437
38395
  this.$message.warning('题目获取失败');
38438
38396
  this.rebuildFlag = false;
38439
38397
  });
@@ -38453,11 +38411,7 @@ const createBurial = data => {
38453
38411
  this.rebuildFlag = true;
38454
38412
  this.generateCount = 0;
38455
38413
  this.aiResponse = {};
38456
- this.loading && this.loading.close();
38457
- this.loading = this.$loading({
38458
- target: '.el-dialog',
38459
- text: 'AI生成中...'
38460
- });
38414
+ this.isGenerating = true;
38461
38415
  const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
38462
38416
 
38463
38417
  // 按题型分别生成题目
@@ -38485,29 +38439,38 @@ const createBurial = data => {
38485
38439
  };
38486
38440
  getAiQuestion(obj).then(res => {
38487
38441
  if (res.success) {
38488
- this.loading && this.loading.close();
38489
38442
  if (res.data && res.data.questions && res.data.questions.length > 0) {
38443
+ const newQuestion = res.data.questions[0];
38444
+
38445
+ // 检查是否有重复的题目标题和题型
38446
+ const isDuplicate = this.checkDuplicateQuestion(newQuestion, type);
38447
+ if (isDuplicate) {
38448
+ // 只传递当前题型
38449
+ const repetitionQuestions = this.getGeneratedQuestionsByType(type);
38450
+ this.regenerateWithRepetition(obj, repetitionQuestions, type);
38451
+ return;
38452
+ }
38490
38453
  if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
38491
- this.aiResponse.questions.push(res.data.questions[0]);
38454
+ this.aiResponse.questions.push(newQuestion);
38492
38455
  } else {
38493
38456
  this.aiResponse = res.data;
38494
38457
  }
38495
- this.$set(res.data.questions[0], 'evaluate', 0);
38458
+ this.$set(newQuestion, 'evaluate', 0);
38496
38459
  // 设置题目类型,便于后续统计
38497
- this.$set(res.data.questions[0], 'type', type);
38460
+ this.$set(newQuestion, 'type', type);
38498
38461
  this.showGenerateResult();
38499
38462
  } else {
38500
38463
  this.$message.warning('题目获取失败,重新生成中...');
38501
38464
  return this.reSend();
38502
38465
  }
38503
38466
  } else {
38504
- this.loading && this.loading.close();
38467
+ this.isGenerating = false;
38505
38468
  this.$message.warning('题目获取失败');
38506
38469
  this.rebuildFlag = false;
38507
38470
  }
38508
38471
  }).catch(error => {
38509
38472
  console.log("error:" + error);
38510
- this.loading && this.loading.close();
38473
+ this.isGenerating = false;
38511
38474
  this.$message.warning('题目获取失败');
38512
38475
  this.rebuildFlag = false;
38513
38476
  });
@@ -38643,18 +38606,140 @@ const createBurial = data => {
38643
38606
 
38644
38607
  // 清空选中状态
38645
38608
  this.selectedQuestions = [];
38609
+ },
38610
+ // 检查题目是否重复
38611
+ checkDuplicateQuestion(newQuestion, questionType) {
38612
+ if (!this.aiResponse.questions || this.aiResponse.questions.length === 0) {
38613
+ return false;
38614
+ }
38615
+ return this.aiResponse.questions.some(existingQuestion => {
38616
+ return existingQuestion.title === newQuestion.title && existingQuestion.type === questionType;
38617
+ });
38618
+ },
38619
+ // 获取指定题型的已生成题目信息
38620
+ getGeneratedQuestionsByType(questionType) {
38621
+ if (!this.aiResponse.questions || this.aiResponse.questions.length === 0) {
38622
+ return [];
38623
+ }
38624
+ return this.aiResponse.questions.filter(question => question.type === questionType).map(question => ({
38625
+ title: question.title,
38626
+ type: question.type
38627
+ }));
38628
+ },
38629
+ // 重复题目信息重新生成
38630
+ regenerateWithRepetition(originalObj, repetitionQuestions, questionType, retryCount = 0) {
38631
+ console.log('检测到重复题目,重新生成,已生成题目:', repetitionQuestions, '重试次数:', retryCount);
38632
+
38633
+ // 如果重试次数超过3次,跳过此题目
38634
+ if (retryCount >= 3) {
38635
+ console.log('重试次数超过3次,跳过此题目');
38636
+ this.isGenerating = false;
38637
+ this.$message.warning('AI生成重复题目超过3次,已跳过该题目');
38638
+ return;
38639
+ }
38640
+ const newObj = {
38641
+ ...originalObj,
38642
+ repetitionQuestions: repetitionQuestions // 传递所有已生成的题目信息
38643
+ };
38644
+ getAiQuestion(newObj).then(res => {
38645
+ if (res.success) {
38646
+ this.loading && this.loading.close();
38647
+ if (res.data && res.data.questions && res.data.questions.length > 0) {
38648
+ const newQuestion = res.data.questions[0];
38649
+ // 再次检查是否还有重复
38650
+ const isStillDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
38651
+ if (isStillDuplicate) {
38652
+ console.log('重新生成后仍有重复,继续重试,当前重试次数:', retryCount + 1);
38653
+ // 递归调用,增加重试次数,重新获取最新的当前题型已生成题目列表
38654
+ const updatedRepetitionQuestions = this.getGeneratedQuestionsByType(questionType);
38655
+ this.regenerateWithRepetition(originalObj, updatedRepetitionQuestions, questionType, retryCount + 1);
38656
+ return;
38657
+ }
38658
+ if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
38659
+ this.aiResponse.questions.push(newQuestion);
38660
+ } else {
38661
+ this.aiResponse = res.data;
38662
+ }
38663
+ this.$set(newQuestion, 'evaluate', 0);
38664
+ // 设置题目类型,便于后续统计
38665
+ this.$set(newQuestion, 'type', questionType);
38666
+ this.showGenerateResult();
38667
+ } else {
38668
+ this.$message.warning('重新生成题目失败');
38669
+ }
38670
+ } else {
38671
+ this.$message.warning('重新生成题目失败');
38672
+ }
38673
+ }).catch(error => {
38674
+ console.log("重新生成题目错误:" + error);
38675
+ this.$message.warning('重新生成题目失败');
38676
+ });
38677
+ },
38678
+ // 重新生成的重复检测重新生成
38679
+ regenerateWithRepetitionForReSend(originalObj, repetitionQuestions, questionType, retryCount = 0) {
38680
+ console.log('reSend检测到重复题目,重新生成,已生成题目:', repetitionQuestions, '重试次数:', retryCount);
38681
+ // 如果重试次数超过3次,跳过此题目
38682
+ if (retryCount >= 3) {
38683
+ console.log('reSend重试次数超过3次,跳过此题目');
38684
+ this.isGenerating = false;
38685
+ this.$message.warning('AI生成重复题目超过3次,已跳过该题目');
38686
+ return;
38687
+ }
38688
+ const newObj = {
38689
+ ...originalObj,
38690
+ repetitionQuestions: repetitionQuestions
38691
+ };
38692
+ getAiQuestion(newObj).then(res => {
38693
+ if (res.success) {
38694
+ this.loading && this.loading.close();
38695
+ if (res.data && res.data.questions && res.data.questions.length > 0) {
38696
+ const newQuestion = res.data.questions[0];
38697
+
38698
+ // 再次检查是否还有重复
38699
+ const isStillDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
38700
+ if (isStillDuplicate) {
38701
+ console.log('reSend重新生成后仍有重复,继续重试,当前重试次数:', retryCount + 1);
38702
+ // 递归调用,增加重试次数,重新获取最新的当前题型已生成题目列表
38703
+ const updatedRepetitionQuestions = this.getGeneratedQuestionsByType(questionType);
38704
+ this.regenerateWithRepetitionForReSend(originalObj, updatedRepetitionQuestions, questionType, retryCount + 1);
38705
+ return;
38706
+ }
38707
+ if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
38708
+ this.aiResponse.questions.push(newQuestion);
38709
+ } else {
38710
+ this.aiResponse = res.data;
38711
+ }
38712
+ this.$set(newQuestion, 'evaluate', 0);
38713
+ // 设置题目类型,便于后续统计
38714
+ this.$set(newQuestion, 'type', questionType);
38715
+ this.showGenerateResult();
38716
+ } else {
38717
+ this.$message.warning('重新生成题目失败,重新生成中...');
38718
+ return this.reSend();
38719
+ }
38720
+ } else {
38721
+ this.loading && this.loading.close();
38722
+ this.$message.warning('重新生成题目失败');
38723
+ this.rebuildFlag = false;
38724
+ }
38725
+ }).catch(error => {
38726
+ console.log("reSend重新生成题目错误:" + error);
38727
+ this.loading && this.loading.close();
38728
+ this.$message.warning('重新生成题目失败');
38729
+ this.rebuildFlag = false;
38730
+ });
38646
38731
  }
38647
38732
  }
38648
38733
  });
38649
38734
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=script&lang=js
38650
38735
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
38651
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
38652
- var mainvue_type_style_index_0_id_598246f8_prod_lang_scss_scoped_true = __webpack_require__(3555);
38653
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=598246f8&prod&lang=scss&scoped=true
38736
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
38737
+ var mainvue_type_style_index_0_id_58718089_prod_lang_scss_scoped_true = __webpack_require__(565);
38738
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=58718089&prod&lang=scss&scoped=true
38654
38739
 
38655
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
38656
- var mainvue_type_style_index_1_id_598246f8_prod_lang_scss = __webpack_require__(5311);
38657
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=598246f8&prod&lang=scss
38740
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
38741
+ var mainvue_type_style_index_1_id_58718089_prod_lang_scss = __webpack_require__(1593);
38742
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=58718089&prod&lang=scss
38658
38743
 
38659
38744
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue
38660
38745
 
@@ -38672,7 +38757,7 @@ var main_component = normalizeComponent(
38672
38757
  staticRenderFns,
38673
38758
  false,
38674
38759
  null,
38675
- "598246f8",
38760
+ "58718089",
38676
38761
  null
38677
38762
 
38678
38763
  )