+ [task#129807] add a display of option content for think3c widget.

This commit is contained in:
wangzemei
2024-10-10 11:24:50 +08:00
committed by 孙浩
parent 15838fe17f
commit 3a7e4ea7ef
+8
View File
@@ -80,6 +80,14 @@ class think3c extends thinkModel
$className = "card-{$step->options->questionType}";
$resultCard = $this->buildQuestionItem($step);
}
elseif($step->link['showMethod'] == '1')
{
$resultCard = $this->buildMulticolumnContent($step, $key);
}
else
{
$resultCard = $this->buildOptionsContent($step, $key);
}
if(!empty($resultCard)) $questionList[] = div(setClass('w-64 bg-canvas overflow-y-auto scrollbar-thin p-2 shadow card hidden absolute', "in_area-{$key}", $className), $resultCard);
}
return $questionList;