sunlupeng 1 year ago
parent
commit
fc40fd4927
1 changed files with 15 additions and 9 deletions
  1. 15 9
      public/drawCarousel.html

+ 15 - 9
public/drawCarousel.html

@@ -123,18 +123,18 @@
 
     .btn {
       width: 80px;
-      height: 80px;
-      background: url('https://xiaoyou.dgtis.com/images/image/2023/08/15/wwn4p7lua9t5h0rx8tlz.png') no-repeat center / 100% 100%;
+      height: 110px;
+      background: url('https://xiaoyou.dgtis.com/images/image/2023/09/12/xvtwunkntyc65fngc9pb.png') no-repeat center / 100% 100%;
       position: absolute;
       left: 0;
       right: 0;
-      top: 0;
+      top: -5%;
       bottom: 0;
       margin: auto;
       cursor: pointer;
     }
 
-    .btn::before {
+    /* .btn::before {
       content: "";
       width: 41px;
       height: 39px;
@@ -144,9 +144,9 @@
       right: 0;
       top: -30px;
       margin: auto;
-      /* -webkit-transform: rotate(-5deg);
-      transform: rotate(-5deg); */
-    }
+      -webkit-transform: rotate(-5deg);
+      transform: rotate(-5deg);
+    } */
     .recordListBox{
       max-height: 200px;
       overflow: auto;
@@ -321,9 +321,9 @@
             console.log("接收值:", e.data)
             state.token = e.data.token;
             state.actId = e.data.actId;
-            // ElementPlus.ElLoading.service();
+            ElementPlus.ElLoading.service();
             getTurntableInfo();
-            // ElementPlus.ElLoading.service().close();
+            ElementPlus.ElLoading.service().close();
           })
         })
         
@@ -498,6 +498,12 @@
               message: "恭喜抽中了" + state.prizeList[state.prizeId].prizeName + "," + "请到个人中心查看。",
               type: 'success',
             })
+          }else{
+            ElementPlus.ElMessage({
+              showClose: true,
+              message: "很遗憾未中奖!",
+              type: 'error',
+            })
           }
         }