Baozhangchao 3 anos atrás
pai
commit
86e63f0b42
2 arquivos alterados com 9 adições e 7 exclusões
  1. 8
    3
      src/components/Popup.vue
  2. 1
    4
      src/pages/Honghe.vue

+ 8
- 3
src/components/Popup.vue Ver arquivo

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

+ 1
- 4
src/pages/Honghe.vue Ver arquivo

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