Browse Source

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

Baozhangchao 3 years ago
parent
commit
591a0ff9da
3 changed files with 7 additions and 9 deletions
  1. BIN
      src/assets/index.jpg
  2. 5
    7
      src/components/imgbox.vue
  3. 2
    2
      src/pages/SaveShare.vue

BIN
src/assets/index.jpg View File


+ 5
- 7
src/components/imgbox.vue View File

24
       state: 1,
24
       state: 1,
25
       classList: ["card"],
25
       classList: ["card"],
26
       fristFontImg:undefined,
26
       fristFontImg:undefined,
27
-      nowFontImg: require('../assets/popupImg/backImag.jpg'),
28
-      // nowBackImg: require('../assets/popupImg/popuBody.jpg'),
29
-      openImg: require('../assets/popupImg/redBack.jpg'),
27
+      nowFontImg: require('../assets/screenImg/3.jpg'),
30
       isFrist:true,
28
       isFrist:true,
31
     };
29
     };
32
   },
30
   },
33
   computed: {
31
   computed: {
34
     poster() {
32
     poster() {
35
-      return this.mode === 1 ? this.nowFontImg : '';
33
+      return this.mode === 1 ? require('../assets/index.jpg') : this.mode === 3?this.prize.posterImg:'';
36
     },    
34
     },    
37
     mode() {
35
     mode() {
38
       return this.prize.mode;
36
       return this.prize.mode;
39
     },
37
     },
40
     nowBackImg() {
38
     nowBackImg() {
41
-      return this.mode === 3 ? require('../assets/popupImg/popuBody.jpg') : '';
39
+      return this.mode === 3 ? this.prize.popImg : '';
42
     }
40
     }
43
   },
41
   },
44
 };
42
 };
52
 .card {
50
 .card {
53
   position: relative;
51
   position: relative;
54
   width: 22vw;
52
   width: 22vw;
55
-  height: 60.5vw;
53
+  height: 49.5vw;
56
   transform-style: preserve-3d;
54
   transform-style: preserve-3d;
57
   transition: all 1.6s ease;
55
   transition: all 1.6s ease;
58
   transform: rotateY(-180deg) scale(2);
56
   transform: rotateY(-180deg) scale(2);
75
 
73
 
76
 .nowimage {
74
 .nowimage {
77
   width: 22vw;
75
   width: 22vw;
78
-  height: 60.5vw;
76
+  height: 49.5vw;
79
 }
77
 }
80
 
78
 
81
 .card .back {
79
 .card .back {

+ 2
- 2
src/pages/SaveShare.vue View File

13
         <!-- 领取屏保 -->
13
         <!-- 领取屏保 -->
14
         <div class="outer3 flex-col">
14
         <div class="outer3 flex-col">
15
           <div class="haibao">
15
           <div class="haibao">
16
-            <!-- <img class="haibao" src="~@/assets/saverShaerImg/haibao.jpg" alt /> -->
16
+            <img class="haibao" src="~@/assets/buttonImg/saveHaibao.png" alt />
17
           </div>
17
           </div>
18
           <div class="mod2 flex-col">
18
           <div class="mod2 flex-col">
19
             <div class="block1 flex-col">
19
             <div class="block1 flex-col">
32
         <div class="page flex-col">
32
         <div class="page flex-col">
33
           <div class="group1 flex-col">
33
           <div class="group1 flex-col">
34
             <div class="wrap3 flex-col">
34
             <div class="wrap3 flex-col">
35
-              <!-- <img src="../assets/saverShaerImg/calendar.jpg" class="subhaibao" /> -->
35
+              <img src="../assets/buttonImg/saveMonth.png" class="subhaibao" />
36
             </div>
36
             </div>
37
             <div class="wrap5 flex-col">
37
             <div class="wrap5 flex-col">
38
               <span class="txt1" :style="`background-image: url(${pressLucky});`"></span>
38
               <span class="txt1" :style="`background-image: url(${pressLucky});`"></span>