xuqiang 4 lat temu
rodzic
commit
b4922dbd40

+ 3 - 7
src/main/h5/src/views/programme/programmeDetail.vue

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

+ 3 - 0
src/main/h5/src/views/programme/programmeList.vue

@@ -92,6 +92,9 @@ export default {
   .table {
   .table {
     margin-top: 50px;
     margin-top: 50px;
   }
   }
+  .empty {
+    text-align: center;
+  }
   .add {
   .add {
     width: 90%;
     width: 90%;
     margin: 0 auto;
     margin: 0 auto;