|
@@ -503,10 +503,21 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="rightBox" v-if="this.steps == 3">
|
|
|
+ <div class="rightBox" v-if="this.steps == 3" ref="rightboxR">
|
|
|
<div class="basic_box">
|
|
|
<div
|
|
|
- style="display: flex; flex-direction: row; align-items: center;position: sticky;top: 0;background: #fff;z-index: 99;width: 100%;padding: 0 20px 0 20px;box-sizing: border-box;"
|
|
|
+ style="
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
+ position: sticky;
|
|
|
+ top: 0;
|
|
|
+ background: #fff;
|
|
|
+ z-index: 99;
|
|
|
+ width: 100%;
|
|
|
+ padding: 0 20px 0 20px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ "
|
|
|
>
|
|
|
<div class="cru_selectBox">
|
|
|
<div
|
|
@@ -532,7 +543,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
|
- style="margin: 0 0 40px 0;padding: 0 20px 0 20px;"
|
|
|
+ style="margin: 0 0 40px 0; padding: 0 20px 0 20px"
|
|
|
v-for="(item, index) in unitJson[unitIndex].chapterInfo"
|
|
|
:key="index"
|
|
|
>
|
|
@@ -2975,6 +2986,9 @@ export default {
|
|
|
},
|
|
|
unitSet(i) {
|
|
|
this.unitIndex = i;
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$refs.rightboxR.scrollTop = 0;
|
|
|
+ }, 0);
|
|
|
},
|
|
|
time() {
|
|
|
if (!this.now) {
|