* [bug#55109] Hide close button and disabled page when finish tutorial.

This commit is contained in:
xieqiyu
2024-09-13 13:26:22 +08:00
committed by 胡方舟
parent 7912ed7408
commit 3fb86e531c
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -31,3 +31,5 @@
.pick-container {z-index: 1780;}
.tutorial-has-mask #iframeWrapper {pointer-events: none;}
.tutorial-has-mask #iframeWrapper::after {content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 1479;}
.modal-dialog .modal-actions button[data-dismiss="modal"] {display: none;}
+1 -1
View File
@@ -425,7 +425,7 @@ function activeNextStep(step)
const actions = [];
if(nextTask) actions.push({type: 'confirm', btnType: 'primary', text: `${lang.nextTask}${lang.colon}${nextTask.title}`, onClick: () => activeTask(step.guide.name, nextTask.name)}, {key: 'cancel', onClick: () => unactiveTask()});
else if(nextGuideTask) actions.push({type: 'confirm', btnType: 'primary', text: `${lang.nextGuide}${lang.colon}${nextGuide.title}`, onClick: () => activeTask(nextGuide.name, nextGuideTask.name)}, {key: 'cancel', onClick: () => unactiveTask()});
else actions.push('confirm');
else actions.push({type: 'confirm', btnType: 'primary', text: lang.finish, onClick: () => unactiveTask()});
zui.Modal.alert(
{
content: lang.congratulateTask.replace('<span class="task-name-current"></span>', step.task.title),