|
@@ -5,6 +5,8 @@
|
|
<!-- 题干区域 -->
|
|
<!-- 题干区域 -->
|
|
<rich-text :nodes="question.name"></rich-text>
|
|
<rich-text :nodes="question.name"></rich-text>
|
|
</view>
|
|
</view>
|
|
|
|
+ <!-- 提示消息 -->
|
|
|
|
+ <view class="yuedu-tip-box" v-if="data.content.length>1">本题有{{ data.content.length}}道小题,左右滑动切换小题</view>
|
|
<!-- 选项区域 -->
|
|
<!-- 选项区域 -->
|
|
<swiper class="yuedu-swiper-box" @change="onSwitchChange" :current="swiperDotIndex">
|
|
<swiper class="yuedu-swiper-box" @change="onSwitchChange" :current="swiperDotIndex">
|
|
<swiper-item v-for="(item,index) in data.content" :key="index" class="yuedu-swiper-content">
|
|
<swiper-item v-for="(item,index) in data.content" :key="index" class="yuedu-swiper-content">
|
|
@@ -29,10 +31,12 @@
|
|
<jianda :question="item" :key="item.stId"></jianda>
|
|
<jianda :question="item" :key="item.stId"></jianda>
|
|
</template>
|
|
</template>
|
|
</swiper-item>
|
|
</swiper-item>
|
|
|
|
+
|
|
</swiper>
|
|
</swiper>
|
|
- <view class="yuedu-left-jt" @click="handleRight" :class="{disable: swiperDotIndex == 0}"></view>
|
|
|
|
- <view class="yuedu-right-jt" @click="handleLeft" :class="{disable: swiperDotIndex == data.content.length-1}"></view>
|
|
|
|
- <view class="button-next-tip" v-if="showTishi">点击左右蓝色箭头,<br/>跳转阅读题上下小题</view>
|
|
|
|
|
|
+ <!-- <view class="yuedu-left-jt" @click="handleRight" :class="{disable: swiperDotIndex == 0}"></view>
|
|
|
|
+ <view class="yuedu-right-jt" @click="handleLeft" :class="{disable: swiperDotIndex == data.content.length-1}"></view>
|
|
|
|
+ <view class="button-next-tip" v-if="showTishi">点击左右蓝色箭头,<br/>跳转阅读题上下小题</view>-->
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|