From 0bbc91dbf3a58da857ef098b34f9d2f86361c766 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 11 四月 2024 17:56:46 +0800 Subject: [PATCH] 答题器图标替换,图书分类页骨架屏样式修改 --- packageBookService/pages/bookServices/examination/examination.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/examination.js b/packageBookService/pages/bookServices/examination/examination.js index ba4d21c..2c5d010 100644 --- a/packageBookService/pages/bookServices/examination/examination.js +++ b/packageBookService/pages/bookServices/examination/examination.js @@ -873,6 +873,14 @@ '<img style="max-width: 300rpx !important;object-fit: contain;" class="stem-rich-img" ' ); } + // 鍚姏棰樹慨鏀� + if (questionObj.questionType == 'singleChoiceArr') { + questionObj.stem.stemTxt = questionObj.stem.stemTxt + .replace( + /\<audio/gi, + '<audio @play="play" ' + ) + } // 鑾峰彇鍥剧墖 if ( questionObj.stemStyle == "Image" || -- Gitblit v1.9.1