李志伟 пре 3 година
родитељ
комит
6a2ae7ca3f
3 измењених фајлова са 0 додато и 103 уклоњено
  1. 0
    34
      src/components/Popup.vue
  2. 0
    46
      src/components/ShaerPopup.vue
  3. 0
    23
      src/components/WinningPopup.vue

+ 0
- 34
src/components/Popup.vue Прегледај датотеку

@@ -122,12 +122,6 @@ export default {
122 122
         this.myShareShow = false
123 123
       }
124 124
       this.transform()
125
-
126
-      // if (!val) {
127
-      //   this.closeMyself()
128
-      // } else {
129
-      //   this.showSelf = val
130
-      // }
131 125
     }
132 126
   },
133 127
   created() {
@@ -152,12 +146,6 @@ export default {
152 146
         query: { states: 0 }
153 147
       })
154 148
     },
155
-    saveClick() {
156
-      this.$router.replace({
157
-        path: 'SaveShare',
158
-        query: { states: 1 }
159
-      })
160
-    },
161 149
     transform() {
162 150
       setTimeout(() => {
163 151
         this.classDivAA = this.show
@@ -253,14 +241,6 @@ export default {
253 241
   display: flex;
254 242
   justify-content: center;
255 243
   position: relative;
256
-
257
-  .header {
258
-    padding: 15px;
259
-    text-align: center;
260
-    font-size: 18px;
261
-    font-weight: 700;
262
-    color: #333;
263
-  }
264 244
   .dialog-body {
265 245
     flex: 1;
266 246
     overflow-x: hidden;
@@ -279,25 +259,11 @@ export default {
279 259
         transform-style: preserve-3d;
280 260
         transition: all 1.2s ease;
281 261
 
282
-        // div {
283
-        //   // position: relative;
284
-        //   position: absolute;
285
-        //   width: 100%;
286
-        //   height: 100%;
287
-        //   /* 背面不显示 */
288
-        //   // backface-visibility: hidden;
289
-        // }
290 262
         .front {
291 263
         }
292 264
         .back {
293 265
           position: absolute;
294 266
           transform: rotateY(180deg);
295
-
296
-          // animation: change 0.8s linear forwards;
297
-        }
298
-
299
-        img {
300
-          width: 48vw;
301 267
         }
302 268
       }
303 269
       .flipped {

+ 0
- 46
src/components/ShaerPopup.vue Прегледај датотеку

@@ -57,14 +57,6 @@ export default {
57 57
     show(val) {
58 58
       console.log('🚀 ~ file: Popup.vue ~ line 78 ~ show ~ val', val)
59 59
       this.showSelf = val
60
-
61
-      // this.closeMyself()
62
-
63
-      // if (!val) {
64
-      //   this.closeMyself()
65
-      // } else {
66
-      //   this.showSelf = val
67
-      // }
68 60
     }
69 61
   },
70 62
   created() {
@@ -175,14 +167,6 @@ export default {
175 167
   display: flex;
176 168
   justify-content: center;
177 169
   position: relative;
178
-
179
-  .header {
180
-    padding: 15px;
181
-    text-align: center;
182
-    font-size: 18px;
183
-    font-weight: 700;
184
-    color: #333;
185
-  }
186 170
   .dialog-body {
187 171
     flex: 1;
188 172
     overflow-x: hidden;
@@ -200,36 +184,6 @@ export default {
200 184
         z-index: 45;
201 185
         width: 280px;
202 186
         height: 464px;
203
-        // div {
204
-        //   // position: relative;
205
-        //   position: absolute;
206
-        //   width: 100%;
207
-        //   height: 100%;
208
-        //   /* 背面不显示 */
209
-        //   // backface-visibility: hidden;
210
-        // }
211
-
212
-        img {
213
-          width: 48vw;
214
-        }
215
-      }
216
-      .flipped {
217
-        animation: change 0.8s linear forwards;
218
-      }
219
-    }
220
-    @keyframes change {
221
-      from {
222
-        top: -20vh;
223
-        left: -20vw;
224
-        opacity: 0;
225
-        transform: scale(0.5);
226
-      }
227
-      to {
228
-        top: -0;
229
-        left: -0;
230
-        opacity: 2;
231
-        transform: scale(1);
232
-        transform: rotateY(180deg);
233 187
       }
234 188
     }
235 189
     //底部按钮

+ 0
- 23
src/components/WinningPopup.vue Прегледај датотеку

@@ -41,7 +41,6 @@
41 41
 <script>
42 42
 export default {
43 43
   name: 'WinningPopup',
44
-  components: {},
45 44
   props: {
46 45
     show: {
47 46
       type: Boolean,
@@ -49,11 +48,6 @@ export default {
49 48
       required: true
50 49
     },
51 50
 
52
-    cancelText: {
53
-      type: String,
54
-      default: '取消',
55
-      required: false
56
-    },
57 51
     currentMonth: {
58 52
       type: Object
59 53
     }
@@ -68,13 +62,10 @@ export default {
68 62
       classDivAA: false,
69 63
       myShareShow: false,
70 64
       backimg: require('../assets/luckyImg/2.jpg'),
71
-
72
-      stater: null
73 65
     }
74 66
   },
75 67
   watch: {
76 68
     show(val) {
77
-      console.log('🚀 ~ file: Popup.vue ~ line 78 ~ show ~ val', val)
78 69
       this.showSelf = val
79 70
       if (this.show === false) {
80 71
         this.myShareShow = false
@@ -92,20 +83,6 @@ export default {
92 83
     }
93 84
   },
94 85
   methods: {
95
-    canckle() {
96
-    },
97
-    shareClick() {
98
-      this.$router.replace({
99
-        path: 'SaveShare',
100
-        query: { states: 0 }
101
-      })
102
-    },
103
-    saveClick() {
104
-      this.$router.replace({
105
-        path: 'SaveShare',
106
-        query: { states: 1 }
107
-      })
108
-    },
109 86
     transform() {
110 87
       setTimeout(() => {
111 88
         this.classDivAA = this.show