sunlupeng преди 1 година
родител
ревизия
34a3698ed9
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 3 3
      public/drawCarousel.html
  2. 1 1
      src/views/HomeView/WelfareList.vue

+ 3 - 3
public/drawCarousel.html

@@ -67,9 +67,9 @@
     }
 
     .prize-item img {
-      width: 30%;
-      height: 20%;
-      margin: 40px auto 10px;
+      width: 25%;
+      height: 25%;
+      margin: 25px auto 10px;
       display: block;
     }
 

+ 1 - 1
src/views/HomeView/WelfareList.vue

@@ -88,7 +88,7 @@ export default {
             receiveWelfare({actId:id}).then(response => {
                 if(response.data.errno==0){
                     this.goodsList.forEach(element => {
-                        if(element.id==id){
+                        if(element.actId==id){
                             this.imgUrl = element.imgUrl;
                             this.title = element.title;
                         }