|
@@ -25,7 +25,17 @@
|
|
|
<view style="color: #666; font-size: 28rpx">{{
|
|
<view style="color: #666; font-size: 28rpx">{{
|
|
|
countdown(lastTime)
|
|
countdown(lastTime)
|
|
|
}}</view>
|
|
}}</view>
|
|
|
- <view class="leftLetters"></view>
|
|
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="leftLetters"
|
|
|
|
|
+ @click="collect(collectList[bankIndex], bankIndex)"
|
|
|
|
|
+ style="justify-content: flex-end"
|
|
|
|
|
+ >
|
|
|
|
|
+ <image
|
|
|
|
|
+ v-if="collectList[bankIndex]"
|
|
|
|
|
+ src="/static/icon_star_sel.png"
|
|
|
|
|
+ ></image>
|
|
|
|
|
+ <image v-else src="/static/icon_star.png"></image>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="titles">
|
|
<view class="titles">
|
|
|
<rich-text :nodes="bank.content"></rich-text>
|
|
<rich-text :nodes="bank.content"></rich-text>
|
|
@@ -662,44 +672,16 @@
|
|
|
</template>
|
|
</template>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
-
|
|
|
|
|
- <view class="footer_btn">
|
|
|
|
|
- <!-- <view class="collect">
|
|
|
|
|
- <view v-if="collectList[bankIndex]">
|
|
|
|
|
- <image src="/static/icon/collected.png" mode=""></image>
|
|
|
|
|
- <view>取消收藏</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view> -->
|
|
|
|
|
- <view
|
|
|
|
|
- class="collect show"
|
|
|
|
|
- @click="collect(collectList[bankIndex], bankIndex)"
|
|
|
|
|
- >
|
|
|
|
|
- <view v-if="collectList[bankIndex]">
|
|
|
|
|
- <image src="/static/icon/collected.png" mode=""></image>
|
|
|
|
|
- <view>取消收藏</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view v-if="!collectList[bankIndex]">
|
|
|
|
|
- <image src="/static/icon/collect.png" mode=""></image>
|
|
|
|
|
- <view>收藏</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="flex_center" @click="openFooterTab">
|
|
|
|
|
- <view class="up-icon">
|
|
|
|
|
- <image src="/static/up.png"></image>
|
|
|
|
|
- </view>
|
|
|
|
|
- 答题卡
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="collect show" @click="pdsubmit">
|
|
|
|
|
- <view>
|
|
|
|
|
- <image src="/static/jj.png" mode=""></image>
|
|
|
|
|
- <view>交卷</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
</swiper-item>
|
|
</swiper-item>
|
|
|
</swiper>
|
|
</swiper>
|
|
|
-
|
|
|
|
|
|
|
+ <bank-bom
|
|
|
|
|
+ v-if="questionList.length"
|
|
|
|
|
+ :questionList="questionList"
|
|
|
|
|
+ :bankType="bankType"
|
|
|
|
|
+ :current.sync="current"
|
|
|
|
|
+ @submit="pdsubmit"
|
|
|
|
|
+ ></bank-bom>
|
|
|
<u-popup v-model="show" mode="bottom" border-radius="14" height="680rpx">
|
|
<u-popup v-model="show" mode="bottom" border-radius="14" height="680rpx">
|
|
|
<view class="popupView">
|
|
<view class="popupView">
|
|
|
<view class="popupTops">
|
|
<view class="popupTops">
|
|
@@ -911,9 +893,11 @@
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import PopupPhoto from "@/components/popup/index.vue";
|
|
import PopupPhoto from "@/components/popup/index.vue";
|
|
|
|
|
+import BankBom from "../../components/common/BankBom.vue";
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
PopupPhoto,
|
|
PopupPhoto,
|
|
|
|
|
+ BankBom,
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -983,7 +967,7 @@ export default {
|
|
|
async onLoad(option) {
|
|
async onLoad(option) {
|
|
|
this.examType = option.type;
|
|
this.examType = option.type;
|
|
|
this.id = option.id;
|
|
this.id = option.id;
|
|
|
- this.goodsId = option.goodsid;
|
|
|
|
|
|
|
+ this.goodsId = option.goodsid || "";
|
|
|
this.chapterId = option.chapterId;
|
|
this.chapterId = option.chapterId;
|
|
|
this.courseId = option.courseId;
|
|
this.courseId = option.courseId;
|
|
|
this.sectionId = option.sectionId;
|
|
this.sectionId = option.sectionId;
|
|
@@ -3135,6 +3119,11 @@ export default {
|
|
|
color: #007aff;
|
|
color: #007aff;
|
|
|
margin-right: 15rpx;
|
|
margin-right: 15rpx;
|
|
|
}
|
|
}
|
|
|
|
|
+ image {
|
|
|
|
|
+ width: 40rpx;
|
|
|
|
|
+ height: 40rpx;
|
|
|
|
|
+ padding-right: 8rpx;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.firstLetter {
|
|
.firstLetter {
|
|
@@ -3239,33 +3228,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- .collect {
|
|
|
|
|
- visibility: hidden;
|
|
|
|
|
- width: 100rpx;
|
|
|
|
|
-
|
|
|
|
|
- &.show {
|
|
|
|
|
- visibility: visible;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- > view {
|
|
|
|
|
- display: flex;
|
|
|
|
|
- flex-direction: column;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
- justify-content: center;
|
|
|
|
|
-
|
|
|
|
|
- image {
|
|
|
|
|
- width: 32rpx;
|
|
|
|
|
- height: 32rpx;
|
|
|
|
|
- margin-bottom: 6rpx;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- view {
|
|
|
|
|
- font-size: 24rpx;
|
|
|
|
|
- color: #999999;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.boxSty {
|
|
.boxSty {
|