|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class="fill-in-the-blank">
|
|
<div class="fill-in-the-blank">
|
|
<!-- 显示填空后的文本 -->
|
|
<!-- 显示填空后的文本 -->
|
|
- <view class="formatted-text" v-html="formattedText" :question="question" :change:question="TK.watchQuestionChange()"></view>
|
|
|
|
|
|
+ <view class="formatted-text" v-html="formattedText" :question="question" :change:question="TK.watchQuestionChange"></view>
|
|
<!-- 提供与占位符数量相匹配的输入框 -->
|
|
<!-- 提供与占位符数量相匹配的输入框 -->
|
|
<template v-for="(placeholder, index) in placeholders" :key="index">
|
|
<template v-for="(placeholder, index) in placeholders" :key="index">
|
|
<FillItem :value="question.reply[index]" :ref="`popup${index}Ref`" :index="index" @blur="onBlur"></FillItem>
|
|
<FillItem :value="question.reply[index]" :ref="`popup${index}Ref`" :index="index" @blur="onBlur"></FillItem>
|