From 3a7e4ea7efcc4155599d0bdc7a96be97f41405e9 Mon Sep 17 00:00:00 2001 From: wangzemei Date: Thu, 10 Oct 2024 11:15:04 +0800 Subject: [PATCH] + [task#129807] add a display of option content for think3c widget. --- lib/zin/wg/think3c/v1.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/zin/wg/think3c/v1.php b/lib/zin/wg/think3c/v1.php index 87caa11ceb..cfba6182d5 100644 --- a/lib/zin/wg/think3c/v1.php +++ b/lib/zin/wg/think3c/v1.php @@ -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;