Commit 2a504a51 authored by zhengke's avatar zhengke

修改

parent 92e5566f
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
}" :autoplay="autoplay" :current="current" @change="onchange" :skip-hidden-item-layout="true"> }" :autoplay="autoplay" :current="current" @change="onchange" :skip-hidden-item-layout="true">
<swiper-item v-if="sortIndex != 1"></swiper-item> <swiper-item v-if="sortIndex != 1"></swiper-item>
<swiper-item v-for="(item1, index1) in data.DetailsList" :key="index1"> <swiper-item v-for="(item1, index1) in data.DetailsList" :key="index1">
<view class="item1"> <audio style="text-align: left"
poster="https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/7fbf26a0-4f4a-11eb-b680-7980c8a877b8.png"
:src="item1.Src" name="日语听力" :action="audioAction" controls></audio>
<view class="item1" :style="{height: `calc(100vh - 540rpx - ${statusBarHeight}px)`}">
<view class="flex flex_start_center"> <view class="flex flex_start_center">
<audio style="text-align: left"
poster="https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/7fbf26a0-4f4a-11eb-b680-7980c8a877b8.png"
:src="item1.Src" name="日语听力" :action="audioAction" controls></audio>
<!-- <view <!-- <view
class="audioBox flex flex_center_center" class="audioBox flex flex_center_center"
@click="audioManage(item1.Src)" @click="audioManage(item1.Src)"
...@@ -40,9 +40,7 @@ ...@@ -40,9 +40,7 @@
/> />
</view> --> </view> -->
</view> </view>
<view class="questionView" :style="{ <view class="questionView">
height: `calc(100vh - 549rpx)`,
}">
<view v-for="(item2, index2) in item1.QuestionContentObj" :key="index2" class="item2"> <view v-for="(item2, index2) in item1.QuestionContentObj" :key="index2" class="item2">
<view class="flex questionTitle"> <view class="flex questionTitle">
<view>{{ index2 + 1 }}、({{ <view>{{ index2 + 1 }}、({{
...@@ -151,11 +149,11 @@ ...@@ -151,11 +149,11 @@
</template> </template>
</view> </view>
</view> </view>
</view> <view class="AnswerContent" v-if="!isOperate && item1.AnswerParse">
<view class="AnswerContent" v-if="!isOperate && item1.AnswerParse"> <view style="word-wrap: break-word">
<view style="word-wrap: break-word"> <text style="color: #8c8a94">解析:</text>
<text style="color: #8c8a94">解析:</text> <view style="color: #000; display: inline-block" v-html="item1.AnswerParse"></view>
<view style="color: #000; display: inline-block" v-html="item1.AnswerParse"></view> </view>
</view> </view>
</view> </view>
<view class="AnswerBtn clear"> <view class="AnswerBtn clear">
...@@ -487,6 +485,8 @@ ...@@ -487,6 +485,8 @@
.item1 { .item1 {
/* margin: 25rpx 0; */ /* margin: 25rpx 0; */
align-items: center; align-items: center;
overflow-y: auto;
margin-top:30rpx;
} }
.questionView { .questionView {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment