Baozhangchao 3 years ago
parent
commit
86e63f0b42
2 changed files with 9 additions and 7 deletions
  1. 8
    3
      src/components/Popup.vue
  2. 1
    4
      src/pages/Honghe.vue

+ 8
- 3
src/components/Popup.vue View File

@@ -2,6 +2,9 @@
2 2
   <div v-if="showSelf" class="dialog">
3 3
     <CalendarPoster :show="showPopupCalendarPoster" @cancelPopus="canckle" :stater="stater" />
4 4
 
5
+    <!-- 我的奖品 -->
6
+    <MyWinning :show="MyWinningShow" @cancel="()=>this.MyWinningShow=false" />
7
+
5 8
     <div class="dialog-mark" @click.self="closeMyself">
6 9
       <div v-show="myShareShow" class="sharetiptxt" style>
7 10
         <img style="width:100%; height:100%;" src="../assets/popupImg/myShare.png" alt />
@@ -32,7 +35,7 @@
32 35
           </div>
33 36
           <!-- 右侧 -->
34 37
           <div class="section-box">
35
-            <div class="section-box-share" @click="()=>{this.myShareShow=true}">
38
+            <div class="section-box-share" @click="()=>{this.MyWinningShow=true}">
36 39
               <img src="../assets/popupImg/shareImage.png" alt />
37 40
             </div>
38 41
             <div
@@ -58,7 +61,8 @@
58 61
 export default {
59 62
   name: 'Popup',
60 63
   components: {
61
-    CalendarPoster: () => import('@/components/CalendarPoster.vue')
64
+    CalendarPoster: () => import('@/components/CalendarPoster.vue'),
65
+    MyWinning: () => import('@/components/MyWinning.vue')
62 66
   },
63 67
   props: {
64 68
     show: {
@@ -83,7 +87,8 @@ export default {
83 87
       classDivAA: false,
84 88
       myShareShow: false,
85 89
       showPopupCalendarPoster: false,
86
-      stater: null
90
+      stater: null,
91
+      MyWinningShow: false
87 92
     }
88 93
   },
89 94
   watch: {

+ 1
- 4
src/pages/Honghe.vue View File

@@ -2,8 +2,6 @@
2 2
   <div class="index-box">
3 3
     <popup :show="showPopup" @cancel="cancelFrom" :current-month="currentMonth" />
4 4
 
5
-    <!-- <MyWinning :show="showPopup" @cancel="cancelFrom" /> -->
6
-
7 5
     <div>
8 6
       <div>
9 7
         <img class="topImage" src="../assets/hareTop.png" alt />
@@ -134,8 +132,7 @@ const monthList = [
134 132
 export default {
135 133
   name: 'Honghe',
136 134
   components: {
137
-    Popup: () => import('@/components/Popup.vue'),
138
-    MyWinning: () => import('@/components/MyWinning.vue')
135
+    Popup: () => import('@/components/Popup.vue')
139 136
   },
140 137
   data() {
141 138
     return {