Baozhangchao 3 лет назад
Родитель
Сommit
005cbf2f75
2 измененных файлов: 44 добавлений и 89 удалений
  1. 0
    45
      src/components/MyWinning.vue
  2. 44
    44
      src/components/ShaerPopup.vue

+ 0
- 45
src/components/MyWinning.vue Просмотреть файл

@@ -1,18 +1,11 @@
1 1
 <template>
2 2
   <div v-if="show" class="dialog-my">
3 3
     <div style=" height:100vh; width:100%;">
4
-      <!-- 弹窗 -->
5
-      <!-- <ShaerPopup :show="shaerShow" @closeMyself="cancelPopup" /> -->
6
-      <!-- 弹窗 -->
7
-
8
-      <!-- <router-link :to="{path:'/'}"> -->
9 4
       <div
10 5
         class="backhome"
11 6
         :style="`background:url('${backimg}');background-size: 100% auto;`"
12 7
         @click="cancelPopupts"
13 8
       ></div>
14
-      <!-- </router-link> -->
15
-
16 9
       <div>
17 10
         <div v-if="PrizeState===0">
18 11
           <!-- 领取屏保 -->
@@ -34,14 +27,6 @@
34 27
               <div class="wrap3 flex-col">
35 28
                 <img src="../assets/prizeImg/activityOver.jpg" class="subhaibao" />
36 29
               </div>
37
-              <!-- <div class="wrap5 flex-col">
38
-                <span class="txt1" :style="`background-image: url(${pressLucky});`"></span>
39
-                <div
40
-                  class="main5 flex-col"
41
-                  :style="`background-image: url(${shaerButRed});`"
42
-                  @click="()=>{this.shaerShow=true}"
43
-                ></div>
44
-              </div>-->
45 30
             </div>
46 31
           </div>
47 32
         </div>
@@ -112,7 +97,6 @@ export default {
112 97
     /** 取消按钮操作 */
113 98
     cancelPopupts() {
114 99
       // this.shaerShow = false
115
-      // console.log(22222222222222222222222)
116 100
       this.$emit('cancelPopus', true)
117 101
     },
118 102
 
@@ -284,35 +268,6 @@ export default {
284 268
           top: 0;
285 269
         }
286 270
       }
287
-      .wrap5 {
288
-        height: 137px;
289
-        background-color: #efe9e0;
290
-        width: 100vw;
291
-        justify-content: center;
292
-        align-items: center;
293
-        display: flex;
294
-        .txt1 {
295
-          background-size: 100% auto;
296
-          background-repeat: no-repeat;
297
-          width: 112px;
298
-          height: 18px;
299
-          margin-bottom: 80px;
300
-        }
301
-      }
302
-
303
-      .main5 {
304
-        background-size: 100% auto;
305
-        background-repeat: no-repeat;
306
-        height: 48px;
307
-        border-radius: 8px;
308
-        margin-top: 11px;
309
-        width: 343px;
310
-        background-color: #b12b32;
311
-        border: 0;
312
-        position: fixed;
313
-        z-index: 15;
314
-        bottom: 5vh;
315
-      }
316 271
     }
317 272
   }
318 273
 }

+ 44
- 44
src/components/ShaerPopup.vue Просмотреть файл

@@ -149,6 +149,50 @@ export default {
149 149
       animation: tipup 1s ease infinite;
150 150
     }
151 151
   }
152
+
153
+  .dialog-sprite {
154
+    width: 100vw;
155
+    display: flex;
156
+    justify-content: center;
157
+    position: relative;
158
+    .dialog-body {
159
+      flex: 1;
160
+      overflow-x: hidden;
161
+      overflow-y: scroll;
162
+      padding: 0 15px 20px 15px;
163
+      //中间卡片
164
+      .bd2 {
165
+        z-index: 33;
166
+        width: 100%;
167
+        justify-content: flex-start;
168
+        align-items: center;
169
+        margin-top: 20px;
170
+
171
+        .pic1 {
172
+          z-index: 45;
173
+          width: 280px;
174
+          height: 464px;
175
+        }
176
+      }
177
+      //底部按钮
178
+      .bd1 {
179
+        width: 100%;
180
+        background-size: 100% auto;
181
+        margin: 10px auto 0;
182
+        .btn {
183
+          z-index: 42;
184
+          width: 180px;
185
+          height: 52px;
186
+          display: block;
187
+          text-align: center;
188
+          align-self: center;
189
+          margin-top: 12px;
190
+          background-size: 100% auto;
191
+          background-repeat: no-repeat;
192
+        }
193
+      }
194
+    }
195
+  }
152 196
 }
153 197
 @keyframes tipup {
154 198
   0% {
@@ -161,49 +205,5 @@ export default {
161 205
     transform: translateY(0%);
162 206
   }
163 207
 }
164
-
165
-.dialog-sprite {
166
-  width: 100vw;
167
-  display: flex;
168
-  justify-content: center;
169
-  position: relative;
170
-  .dialog-body {
171
-    flex: 1;
172
-    overflow-x: hidden;
173
-    overflow-y: scroll;
174
-    padding: 0 15px 20px 15px;
175
-    //中间卡片
176
-    .bd2 {
177
-      z-index: 33;
178
-      width: 100%;
179
-      justify-content: flex-start;
180
-      align-items: center;
181
-      margin-top: 20px;
182
-
183
-      .pic1 {
184
-        z-index: 45;
185
-        width: 280px;
186
-        height: 464px;
187
-      }
188
-    }
189
-    //底部按钮
190
-    .bd1 {
191
-      width: 100%;
192
-      background-size: 100% auto;
193
-      margin: 10px auto 0;
194
-      .btn {
195
-        z-index: 42;
196
-        width: 180px;
197
-        height: 52px;
198
-        display: block;
199
-        text-align: center;
200
-        align-self: center;
201
-        margin-top: 12px;
202
-        background-size: 100% auto;
203
-        background-repeat: no-repeat;
204
-      }
205
-    }
206
-  }
207
-}
208 208
 </style>
209 209