소스 검색

Merge branch 'master' of http://git.ycjcjy.com/honghe/h5-draw-lots into master

张延森 3 년 전
부모
커밋
ea8971df78
3개의 변경된 파일21개의 추가작업 그리고 13개의 파일을 삭제
  1. 13
    10
      src/components/MyWinning.vue
  2. 4
    0
      src/components/Popup.vue
  3. 4
    3
      src/pages/Honghe.vue

+ 13
- 10
src/components/MyWinning.vue 파일 보기

@@ -7,6 +7,16 @@
7 7
         @click="cancelPopupts"
8 8
       ></div>
9 9
       <div>
10
+        <div v-if="PrizeState==2" style="overflow: auto;height:100vh;">
11
+          <div class="page flex-col">
12
+            <div class="group1 flex-col">
13
+              <div class="wrap3 flex-col">
14
+                <img src="../assets/prizeImg/activityOver.jpg" class="subhaibao" />
15
+                <!-- 活动结束 -->
16
+              </div>
17
+            </div>
18
+          </div>
19
+        </div>
10 20
         <div v-if="Prize!=undefined">
11 21
           <!-- 领取屏保 -->
12 22
           <div class="outer3 flex-col">
@@ -30,16 +40,6 @@
30 40
             </div>
31 41
           </div>
32 42
         </div>
33
-        <div v-if="PrizeState===2" style="overflow: auto;height:100vh;">
34
-          <div class="page flex-col">
35
-            <div class="group1 flex-col">
36
-              <div class="wrap3 flex-col">
37
-                <img src="../assets/prizeImg/activityOver.jpg" class="subhaibao" />
38
-                <!-- 活动结束 -->
39
-              </div>
40
-            </div>
41
-          </div>
42
-        </div>
43 43
       </div>
44 44
     </div>
45 45
   </div>
@@ -74,6 +74,9 @@ export default {
74 74
     Prize: {
75 75
       type: Object
76 76
       // default: () => ({})
77
+    },
78
+    prizeList: {
79
+      type: Array
77 80
     }
78 81
   },
79 82
 

+ 4
- 0
src/components/Popup.vue 파일 보기

@@ -14,6 +14,7 @@
14 14
       :current-month="currentMonth"
15 15
       :PrizeState="PrizeState"
16 16
       :Prize="isPrize"
17
+      :prizeList="prizeList"
17 18
     />
18 19
     <div class="dialog-mark" @click.self="closeMyself">
19 20
       <div v-show="myShareShow" class="sharetiptxt" style>
@@ -96,6 +97,9 @@ export default {
96 97
     },
97 98
     PrizeState: {
98 99
       type: Number
100
+    },
101
+    prizeList: {
102
+      type: Array
99 103
     }
100 104
     // LoadingShow: {
101 105
     //   type: Boolean,

+ 4
- 3
src/pages/Honghe.vue 파일 보기

@@ -7,6 +7,7 @@
7 7
       :current-month="currentMonth"
8 8
       :is-prize="myPrize"
9 9
       :PrizeState="PrizeState"
10
+      :prizeList="prizeList"
10 11
     />
11 12
 
12 13
     <WinningPopup
@@ -258,9 +259,9 @@ export default {
258 259
 
259 260
       // 如果点击可以抽奖
260 261
       if (month.id === this.bingoId && !this.noPrize) {
261
-        if (this.person.prizeId) {
262
-          this.PrizeState = 0
263
-        }
262
+        // if (!this.noPrize) {
263
+        //   this.PrizeState = 2
264
+        // }
264 265
 
265 266
         if (!this.person.personId) {
266 267
           // 报错, 提示刷新页面