|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
<view class="threeExam">
|
|
|
- <view class="topad">
|
|
|
+ <!-- <view class="topad">
|
|
|
<ad class="wxad" :ad-intervals="100" unit-id="adunit-f9ac1a546be5b3f0"></ad>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="problem">
|
|
|
<!-- <text class="problem-type"> 判断题 </text> -->
|
|
|
<!-- <text class="problem-issue"
|
|
@@ -15,6 +15,13 @@
|
|
|
'、' +
|
|
|
problemList[problemListIndex].question
|
|
|
"></rich-text>
|
|
|
+
|
|
|
+<view class="problem-media">
|
|
|
+ <image mode="widthFix" v-if="getFileType(problemList[problemListIndex].mediaUrl) == 'image'"
|
|
|
+ :src="problemList[problemListIndex].mediaUrl"></image>
|
|
|
+ <video :controls="false" autoplay loop v-if="getFileType(problemList[problemListIndex].mediaUrl) == 'video'"
|
|
|
+ :src="problemList[problemListIndex].mediaUrl"></video>
|
|
|
+ </view>
|
|
|
<view class="problem-radio">
|
|
|
<van-radio-group v-if="!problemList[problemListIndex].isComplete" @change="changeUserAnswer"
|
|
|
:value="problemList[problemListIndex].userAnswer">
|
|
@@ -182,12 +189,7 @@
|
|
|
</view>
|
|
|
</van-radio-group>
|
|
|
</view>
|
|
|
- <view class="problem-media">
|
|
|
- <image mode="widthFix" v-if="getFileType(problemList[problemListIndex].mediaUrl) == 'image'"
|
|
|
- :src="problemList[problemListIndex].mediaUrl"></image>
|
|
|
- <video :controls="false" autoplay loop v-if="getFileType(problemList[problemListIndex].mediaUrl) == 'video'"
|
|
|
- :src="problemList[problemListIndex].mediaUrl"></video>
|
|
|
- </view>
|
|
|
+
|
|
|
</view>
|
|
|
<view class="bottom">
|
|
|
<view class="switch">
|