|
|
@@ -89,6 +89,7 @@
|
|
|
提交评分
|
|
|
</van-button>
|
|
|
<van-button
|
|
|
+ style="margin-right:20px"
|
|
|
v-if="nowActive !== 0"
|
|
|
@click="pre"
|
|
|
round
|
|
|
@@ -195,17 +196,12 @@ export default {
|
|
|
.then(res => {
|
|
|
this.relatedList = res.content;
|
|
|
this.empty = res.empty;
|
|
|
- // this.nowActive = res.content.findIndex(item => {
|
|
|
- // console.log(item.id);
|
|
|
- // return item.id === this.info.id;
|
|
|
- // });
|
|
|
- // console.log(this.info.id);
|
|
|
- // console.log(this.nowActive);
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
next() {
|
|
|
this.nowActive = this.nowActive + 1;
|
|
|
+ console.log(this.nowActive);
|
|
|
this.getInfo(
|
|
|
this.relatedList[this.nowActive % this.relatedList.length].id,
|
|
|
true
|
|
|
@@ -479,7 +475,7 @@ export default {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
- padding: 6px 48px calc(env(safe-area-inset-bottom) + 6px);
|
|
|
+ padding: 6px 8px calc(env(safe-area-inset-bottom) + 6px);
|
|
|
bottom: 0;
|
|
|
left: 0;
|
|
|
right: 0;
|