|
@@ -3,11 +3,11 @@
|
|
<!-- 标题区域 -->
|
|
<!-- 标题区域 -->
|
|
<view class="danxuan-title"></view>
|
|
<view class="danxuan-title"></view>
|
|
<!-- 题干区域 -->
|
|
<!-- 题干区域 -->
|
|
- <view v-html="data.name" class="danxuan-question"></view>
|
|
|
|
|
|
+ <rich-text :nodes="data.name" class="danxuan-question"></rich-text>
|
|
<!-- 选项区域 -->
|
|
<!-- 选项区域 -->
|
|
<view v-for="(item,index) in data.contents" class="danxuan-option" :class="formatClass(index)" :key="index" @click="onSelect(index)">
|
|
<view v-for="(item,index) in data.contents" class="danxuan-option" :class="formatClass(index)" :key="index" @click="onSelect(index)">
|
|
<text>{{item.number}}.</text>
|
|
<text>{{item.number}}.</text>
|
|
- <text>{{item.label}}</text>
|
|
|
|
|
|
+ <rich-text :nodes="item.label" class="danxuan-question"></rich-text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|