Baozhangchao 3 年前
父节点
当前提交
ecba71e5ee
共有 2 个文件被更改,包括 7 次插入8 次删除
  1. 2
    2
      src/components/WinningPopup.vue
  2. 5
    6
      src/pages/Honghe.vue

+ 2
- 2
src/components/WinningPopup.vue 查看文件

@@ -11,7 +11,7 @@
11 11
           <div class="dialog-body">
12 12
             <div class="card-wrapper">
13 13
               <div :class="`dialog-popuImag ${classDivAA?'flipped':''}`">
14
-                <div class="back" :style="`background-image: url(${backimg});`">
14
+                <div class="back">
15 15
                   <img style="width: 48vw; height:492px " src="../assets/index.jpg" />
16 16
                 </div>
17 17
 
@@ -229,7 +229,7 @@ export default {
229 229
         .back {
230 230
           position: absolute;
231 231
           transform: rotateY(-180deg);
232
-          width: 180px;
232
+          // width: 180px;
233 233
           height: 492px;
234 234
           background-size: 100% auto;
235 235
           background-repeat: no-repeat;

+ 5
- 6
src/pages/Honghe.vue 查看文件

@@ -253,13 +253,12 @@ export default {
253 253
       this.binggo = false
254 254
     },
255 255
     handleMonthClick(month) {
256
-      if (!this.person || !this.person.personId) {
257
-        alert('为了您能够正常参与抽奖,请刷新页面并同意授权微信昵称!')
258
-        return
259
-      }
260
-      
256
+      this.list.map((item) => {
257
+        if (item.id == month.id) {
258
+          item.mode = 2
259
+        }
260
+      })
261 261
       this.currentMonth = month
262
-      this.currentMonth.mode = 2
263 262
 
264 263
       // 如果点击可以抽奖
265 264
       if (month.id === this.bingoId && !this.noPrize) {